ngx-techlify-core 14.7.0 → 14.8.0

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 (164) hide show
  1. package/esm2020/lib/access-control-config/access-control-config-form/access-control-config-form.component.mjs +127 -0
  2. package/esm2020/lib/access-control-config/access-control-config-routing.module.mjs +31 -0
  3. package/esm2020/lib/access-control-config/access-control-config.component.mjs +131 -0
  4. package/esm2020/lib/access-control-config/access-control-config.model.mjs +21 -0
  5. package/esm2020/lib/access-control-config/access-control-config.module.mjs +60 -0
  6. package/esm2020/lib/access-control-config/access-control-config.service.mjs +31 -0
  7. package/esm2020/lib/change-password/change-password-routing.module.mjs +24 -0
  8. package/esm2020/lib/change-password/change-password.component.mjs +87 -0
  9. package/esm2020/lib/change-password/change-password.module.mjs +48 -0
  10. package/esm2020/lib/entity-files/entity-files-view-all.component.mjs +7 -8
  11. package/esm2020/lib/forgot-password/forgot-password-routing.module.mjs +22 -0
  12. package/esm2020/lib/forgot-password/forgot-password.component.mjs +67 -0
  13. package/esm2020/lib/forgot-password/forgot-password.module.mjs +34 -0
  14. package/esm2020/lib/forgot-password/index.mjs +3 -0
  15. package/esm2020/lib/ip-address-selector/ip-address-selector.module.mjs +48 -0
  16. package/esm2020/lib/ip-address-selector/ip-range-selector/ip-range-selector.component.mjs +109 -0
  17. package/esm2020/lib/login/index.mjs +3 -0
  18. package/esm2020/lib/login/login-routing.module.mjs +23 -0
  19. package/esm2020/lib/login/login.component.mjs +153 -0
  20. package/esm2020/lib/login/login.module.mjs +50 -0
  21. package/esm2020/lib/ngx-techlify-users/ngx-techlify-users-routing.module.mjs +43 -0
  22. package/esm2020/lib/ngx-techlify-users/ngx-techlify-users.module.mjs +22 -0
  23. package/esm2020/lib/password-requirement-check/password-check-result.mjs +2 -0
  24. package/esm2020/lib/password-requirement-check/password-check.service.mjs +43 -0
  25. package/esm2020/lib/password-requirement-check/password-requirement-check/password-requirement-check.component.mjs +47 -0
  26. package/esm2020/lib/password-requirement-check/password-requirement-check.module.mjs +24 -0
  27. package/esm2020/lib/profile/index.mjs +3 -0
  28. package/esm2020/lib/profile/profile-edit.component.mjs +75 -0
  29. package/esm2020/lib/profile/profile-routing.module.mjs +23 -0
  30. package/esm2020/lib/profile/profile.module.mjs +36 -0
  31. package/esm2020/lib/restrictors/index.mjs +4 -0
  32. package/esm2020/lib/restrictors/restrictor-level-selector/restrictor-level-selector/restrictor-level-selector.component.mjs +91 -0
  33. package/esm2020/lib/restrictors/restrictor-level-selector/restrictor-level-selector.module.mjs +36 -0
  34. package/esm2020/lib/restrictors/restrictor-level-selector/restrictor-level.service.mjs +19 -0
  35. package/esm2020/lib/restrictors/restrictor-status-selector/restrictor-status-selector/restrictor-status-selector.component.mjs +91 -0
  36. package/esm2020/lib/restrictors/restrictor-status-selector/restrictor-status-selector.module.mjs +32 -0
  37. package/esm2020/lib/restrictors/restrictor-status-selector/restrictor-status.service.mjs +19 -0
  38. package/esm2020/lib/restrictors/restrictor-type-selector/restrictor-type-selector/restrictor-type-selector.component.mjs +92 -0
  39. package/esm2020/lib/restrictors/restrictor-type-selector/restrictor-type-selector.module.mjs +36 -0
  40. package/esm2020/lib/restrictors/restrictor-type-selector/restrictor-type.service.mjs +19 -0
  41. package/esm2020/lib/restrictors/restrictor.service.mjs +19 -0
  42. package/esm2020/lib/restrictors/restrictors-form/restrictors-form.component.mjs +102 -0
  43. package/esm2020/lib/restrictors/restrictors-form-page/restrictors-form-page.component.mjs +44 -0
  44. package/esm2020/lib/restrictors/restrictors-list-page/restrictors-list-page.component.mjs +145 -0
  45. package/esm2020/lib/restrictors/restrictors-routing.module.mjs +42 -0
  46. package/esm2020/lib/restrictors/restrictors.module.mjs +99 -0
  47. package/esm2020/lib/role/index.mjs +9 -0
  48. package/esm2020/lib/role/permission/permission.model.mjs +9 -0
  49. package/esm2020/lib/role/permission/permission.module.mjs +45 -0
  50. package/esm2020/lib/role/permission/permission.routes.mjs +26 -0
  51. package/esm2020/lib/role/permission/permissions-management.component.mjs +105 -0
  52. package/esm2020/lib/role/role-form.component.mjs +99 -0
  53. package/esm2020/lib/role/role-view/role-view.component.mjs +39 -0
  54. package/esm2020/lib/role/role.model.mjs +56 -0
  55. package/esm2020/lib/role/role.module.mjs +59 -0
  56. package/esm2020/lib/role/role.routes.mjs +28 -0
  57. package/esm2020/lib/role/role.service.mjs +26 -0
  58. package/esm2020/lib/role/roles-view-all.component.mjs +131 -0
  59. package/esm2020/lib/signup/index.mjs +3 -0
  60. package/esm2020/lib/signup/signup-routing.module.mjs +22 -0
  61. package/esm2020/lib/signup/signup.component.mjs +78 -0
  62. package/esm2020/lib/signup/signup.module.mjs +34 -0
  63. package/esm2020/lib/user/current-user.service.mjs +135 -0
  64. package/esm2020/lib/user/index.mjs +8 -0
  65. package/esm2020/lib/user/user-explore.component.mjs +50 -0
  66. package/esm2020/lib/user/user-form.component.mjs +219 -0
  67. package/esm2020/lib/user/user-view.component.mjs +68 -0
  68. package/esm2020/lib/user/user.model.mjs +30 -0
  69. package/esm2020/lib/user/user.module.mjs +99 -0
  70. package/esm2020/lib/user/user.routes.mjs +29 -0
  71. package/esm2020/lib/user/user.service.mjs +31 -0
  72. package/esm2020/lib/user/users-view-all.component.mjs +208 -0
  73. package/esm2020/lib/user-config/index.mjs +3 -0
  74. package/esm2020/lib/user-config/user-config.model.mjs +50 -0
  75. package/esm2020/lib/user-config/user-config.service.mjs +65 -0
  76. package/esm2020/lib/user-selector/index.mjs +3 -0
  77. package/esm2020/lib/user-selector/user-data.service.mjs +35 -0
  78. package/esm2020/lib/user-selector/user-selector.component.mjs +91 -0
  79. package/esm2020/lib/user-selector/user-selector.module.mjs +38 -0
  80. package/esm2020/public-api.mjs +24 -1
  81. package/fesm2015/ngx-techlify-core.mjs +3791 -170
  82. package/fesm2015/ngx-techlify-core.mjs.map +1 -1
  83. package/fesm2020/ngx-techlify-core.mjs +3759 -170
  84. package/fesm2020/ngx-techlify-core.mjs.map +1 -1
  85. package/lib/access-control-config/access-control-config-form/access-control-config-form.component.d.ts +44 -0
  86. package/lib/access-control-config/access-control-config-routing.module.d.ts +7 -0
  87. package/lib/access-control-config/access-control-config.component.d.ts +31 -0
  88. package/lib/access-control-config/access-control-config.model.d.ts +17 -0
  89. package/lib/access-control-config/access-control-config.module.d.ts +18 -0
  90. package/lib/access-control-config/access-control-config.service.d.ts +13 -0
  91. package/lib/change-password/change-password-routing.module.d.ts +7 -0
  92. package/lib/change-password/change-password.component.d.ts +27 -0
  93. package/lib/change-password/change-password.module.d.ts +14 -0
  94. package/lib/forgot-password/forgot-password-routing.module.d.ts +7 -0
  95. package/lib/forgot-password/forgot-password.component.d.ts +34 -0
  96. package/lib/forgot-password/forgot-password.module.d.ts +11 -0
  97. package/lib/forgot-password/index.d.ts +2 -0
  98. package/lib/ip-address-selector/ip-address-selector.module.d.ts +14 -0
  99. package/lib/ip-address-selector/ip-range-selector/ip-range-selector.component.d.ts +28 -0
  100. package/lib/login/index.d.ts +2 -0
  101. package/lib/login/login-routing.module.d.ts +7 -0
  102. package/lib/login/login.component.d.ts +53 -0
  103. package/lib/login/login.module.d.ts +15 -0
  104. package/lib/ngx-techlify-users/ngx-techlify-users-routing.module.d.ts +7 -0
  105. package/lib/ngx-techlify-users/ngx-techlify-users.module.d.ts +8 -0
  106. package/lib/password-requirement-check/password-check-result.d.ts +7 -0
  107. package/lib/password-requirement-check/password-check.service.d.ts +15 -0
  108. package/lib/password-requirement-check/password-requirement-check/password-requirement-check.component.d.ts +22 -0
  109. package/lib/password-requirement-check/password-requirement-check.module.d.ts +8 -0
  110. package/lib/profile/index.d.ts +2 -0
  111. package/lib/profile/profile-edit.component.d.ts +33 -0
  112. package/lib/profile/profile-routing.module.d.ts +7 -0
  113. package/lib/profile/profile.module.d.ts +11 -0
  114. package/lib/restrictors/index.d.ts +3 -0
  115. package/lib/restrictors/restrictor-level-selector/restrictor-level-selector/restrictor-level-selector.component.d.ts +34 -0
  116. package/lib/restrictors/restrictor-level-selector/restrictor-level-selector.module.d.ts +11 -0
  117. package/lib/restrictors/restrictor-level-selector/restrictor-level.service.d.ts +9 -0
  118. package/lib/restrictors/restrictor-status-selector/restrictor-status-selector/restrictor-status-selector.component.d.ts +34 -0
  119. package/lib/restrictors/restrictor-status-selector/restrictor-status-selector.module.d.ts +10 -0
  120. package/lib/restrictors/restrictor-status-selector/restrictor-status.service.d.ts +9 -0
  121. package/lib/restrictors/restrictor-type-selector/restrictor-type-selector/restrictor-type-selector.component.d.ts +34 -0
  122. package/lib/restrictors/restrictor-type-selector/restrictor-type-selector.module.d.ts +11 -0
  123. package/lib/restrictors/restrictor-type-selector/restrictor-type.service.d.ts +9 -0
  124. package/lib/restrictors/restrictor.service.d.ts +9 -0
  125. package/lib/restrictors/restrictors-form/restrictors-form.component.d.ts +30 -0
  126. package/lib/restrictors/restrictors-form-page/restrictors-form-page.component.d.ts +21 -0
  127. package/lib/restrictors/restrictors-list-page/restrictors-list-page.component.d.ts +51 -0
  128. package/lib/restrictors/restrictors-routing.module.d.ts +7 -0
  129. package/lib/restrictors/restrictors.module.d.ts +28 -0
  130. package/lib/role/index.d.ts +8 -0
  131. package/lib/role/permission/permission.model.d.ts +11 -0
  132. package/lib/role/permission/permission.module.d.ts +12 -0
  133. package/lib/role/permission/permission.routes.d.ts +7 -0
  134. package/lib/role/permission/permissions-management.component.d.ts +38 -0
  135. package/lib/role/role-form.component.d.ts +34 -0
  136. package/lib/role/role-view/role-view.component.d.ts +16 -0
  137. package/lib/role/role.model.d.ts +31 -0
  138. package/lib/role/role.module.d.ts +16 -0
  139. package/lib/role/role.routes.d.ts +7 -0
  140. package/lib/role/role.service.d.ts +11 -0
  141. package/lib/role/roles-view-all.component.d.ts +40 -0
  142. package/lib/signup/index.d.ts +2 -0
  143. package/lib/signup/signup-routing.module.d.ts +7 -0
  144. package/lib/signup/signup.component.d.ts +29 -0
  145. package/lib/signup/signup.module.d.ts +11 -0
  146. package/lib/user/current-user.service.d.ts +63 -0
  147. package/lib/user/index.d.ts +7 -0
  148. package/lib/user/user-explore.component.d.ts +26 -0
  149. package/lib/user/user-form.component.d.ts +52 -0
  150. package/lib/user/user-view.component.d.ts +31 -0
  151. package/lib/user/user.model.d.ts +29 -0
  152. package/lib/user/user.module.d.ts +26 -0
  153. package/lib/user/user.routes.d.ts +7 -0
  154. package/lib/user/user.service.d.ts +13 -0
  155. package/lib/user/users-view-all.component.d.ts +56 -0
  156. package/lib/user-config/index.d.ts +2 -0
  157. package/lib/user-config/user-config.model.d.ts +50 -0
  158. package/lib/user-config/user-config.service.d.ts +14 -0
  159. package/lib/user-selector/index.d.ts +2 -0
  160. package/lib/user-selector/user-data.service.d.ts +16 -0
  161. package/lib/user-selector/user-selector.component.d.ts +29 -0
  162. package/lib/user-selector/user-selector.module.d.ts +10 -0
  163. package/package.json +1 -1
  164. package/public-api.d.ts +23 -0
@@ -0,0 +1,44 @@
1
+ import { AccessControlConfigService } from '../access-control-config.service';
2
+ import { OnInit } from '@angular/core';
3
+ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
4
+ import { AlertService, FormValidatorService } from '../../core';
5
+ import { Location } from '@angular/common';
6
+ import * as i0 from "@angular/core";
7
+ export declare class AccessControlConfigFormComponent implements OnInit {
8
+ private fb;
9
+ private formValidatorService;
10
+ private alertService;
11
+ private accessControlConfigService;
12
+ private location;
13
+ configForm: UntypedFormGroup;
14
+ isWorking: boolean;
15
+ isSaving: boolean;
16
+ constructor(fb: UntypedFormBuilder, formValidatorService: FormValidatorService, alertService: AlertService, accessControlConfigService: AccessControlConfigService, location: Location);
17
+ /**
18
+ * Create the form instance.
19
+ *
20
+ * @private
21
+ */
22
+ private createForm;
23
+ ngOnInit(): void;
24
+ /**
25
+ * Save the access control configuration.
26
+ */
27
+ submit(): void;
28
+ resetFieldValue(field: string): void;
29
+ getFieldValue(field: string): any;
30
+ isFieldValid(field: string): any;
31
+ getErrorMessage(field: string): any;
32
+ /**
33
+ * Fetch access control config and update the form.
34
+ *
35
+ * @private
36
+ */
37
+ private fetchAccessControlConfig;
38
+ /**
39
+ * Redirect back to last page.
40
+ */
41
+ redirectBack(): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccessControlConfigFormComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccessControlConfigFormComponent, "app-access-control-config-form", never, {}, {}, never, never, false>;
44
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class AccessControlConfigRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccessControlConfigRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AccessControlConfigRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<AccessControlConfigRoutingModule>;
7
+ }
@@ -0,0 +1,31 @@
1
+ import { AccessControlConfigService } from './access-control-config.service';
2
+ import { UntypedFormBuilder } from '@angular/forms';
3
+ import { UntypedFormGroup } from '@angular/forms';
4
+ import { MatDialog } from '@angular/material/dialog';
5
+ import { OnInit } from '@angular/core';
6
+ import { AlertService } from '../core';
7
+ import * as i0 from "@angular/core";
8
+ export declare class AccessControlConfigComponent implements OnInit {
9
+ private dialog;
10
+ private alertService;
11
+ private fb;
12
+ private configService;
13
+ configs: any[];
14
+ displayedColumns: string[];
15
+ page: number;
16
+ lastPage: number;
17
+ perPage: number;
18
+ isWorking: boolean;
19
+ filterFormGroup: UntypedFormGroup;
20
+ constructor(dialog: MatDialog, alertService: AlertService, fb: UntypedFormBuilder, configService: AccessControlConfigService);
21
+ ngOnInit(): void;
22
+ listenChanges(): void;
23
+ ngOnDestroy(): void;
24
+ loadData(): Promise<void>;
25
+ reload(): void;
26
+ modifyTechlifyUpdate(model?: any): void;
27
+ deleteTechlifyUpdate(model: any): Promise<void>;
28
+ resetFieldValue(field: string): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccessControlConfigComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccessControlConfigComponent, "app-access-control-config", never, {}, {}, never, never, false>;
31
+ }
@@ -0,0 +1,17 @@
1
+ export declare class AccessControlConfiguration {
2
+ id?: number;
3
+ clientId?: number;
4
+ maxFailedConsecutiveLoginAttempts?: number | null;
5
+ isTrackOldPasswords?: boolean;
6
+ maxOldPasswordsBlock?: number;
7
+ minPasswordLength?: number;
8
+ isPasswordRequireNumber?: boolean;
9
+ isPasswordRequireSymbol?: boolean;
10
+ isPasswordRequireCapitalLetter?: boolean;
11
+ creatorId?: number | null;
12
+ createdAt?: Date;
13
+ updatedAt?: Date;
14
+ deletedAt?: Date | null;
15
+ constructor(id?: number, clientId?: number, maxFailedConsecutiveLoginAttempts?: number | null, isTrackOldPasswords?: boolean, maxOldPasswordsBlock?: number, minPasswordLength?: number, isPasswordRequireNumber?: boolean, isPasswordRequireSymbol?: boolean, isPasswordRequireCapitalLetter?: boolean, creatorId?: number | null, createdAt?: Date, updatedAt?: Date, deletedAt?: Date | null);
16
+ static fromObject(obj: any): AccessControlConfiguration;
17
+ }
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./access-control-config.component";
3
+ import * as i2 from "./access-control-config-form/access-control-config-form.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "ngx-infinite-scroll";
7
+ import * as i6 from "@angular/flex-layout";
8
+ import * as i7 from "./access-control-config-routing.module";
9
+ import * as i8 from "../material.module";
10
+ import * as i9 from "@angular/material/card";
11
+ import * as i10 from "@angular/material/button-toggle";
12
+ import * as i11 from "@angular/material/button";
13
+ import * as i12 from "@angular/material/progress-bar";
14
+ export declare class AccessControlConfigModule {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccessControlConfigModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AccessControlConfigModule, [typeof i1.AccessControlConfigComponent, typeof i2.AccessControlConfigFormComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.InfiniteScrollModule, typeof i6.FlexLayoutModule, typeof i7.AccessControlConfigRoutingModule, typeof i8.MaterialModule, typeof i9.MatCardModule, typeof i10.MatButtonToggleModule, typeof i11.MatButtonModule, typeof i12.MatProgressBarModule], never>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<AccessControlConfigModule>;
18
+ }
@@ -0,0 +1,13 @@
1
+ import { TechlifyServiceBaseClass } from '../base-model';
2
+ import { HttpService } from '../core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AccessControlConfigService extends TechlifyServiceBaseClass {
5
+ http: HttpService;
6
+ constructor(http: HttpService);
7
+ getConfigs(filters: any): Promise<Object>;
8
+ createConfig(config: any): Promise<Object>;
9
+ updateConfig(config: any): Promise<Object>;
10
+ deleteConfig(configId: any): Promise<Object>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccessControlConfigService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<AccessControlConfigService>;
13
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class ChangePasswordRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChangePasswordRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ChangePasswordRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<ChangePasswordRoutingModule>;
7
+ }
@@ -0,0 +1,27 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { HttpService, AlertService, ErrorHandlerService, FormValidatorService } from '../core';
4
+ import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
5
+ import { CurrentUserService, User } from '../user';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ChangePasswordComponent implements OnInit {
8
+ private http;
9
+ private alertService;
10
+ private router;
11
+ currentUserService: CurrentUserService;
12
+ private fb;
13
+ private errorHandler;
14
+ private formValidatorService;
15
+ passwordHide: boolean;
16
+ passwordConfirmationHide: boolean;
17
+ passwordResetForm: UntypedFormGroup;
18
+ user: User;
19
+ isWorking: boolean;
20
+ constructor(http: HttpService, alertService: AlertService, router: Router, currentUserService: CurrentUserService, fb: UntypedFormBuilder, errorHandler: ErrorHandlerService, formValidatorService: FormValidatorService);
21
+ ngOnInit(): void;
22
+ saveNewPassword(): void;
23
+ isFieldValid(field: string): any;
24
+ getErrorMessage(field: string): any;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChangePasswordComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChangePasswordComponent, "app-change-password", never, {}, {}, never, never, false>;
27
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./change-password.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "./change-password-routing.module";
5
+ import * as i4 from "../material.module";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "@angular/flex-layout";
8
+ import * as i7 from "@angular/material/input";
9
+ import * as i8 from "../password-requirement-check/password-requirement-check.module";
10
+ export declare class ChangePasswordModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChangePasswordModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ChangePasswordModule, [typeof i1.ChangePasswordComponent], [typeof i2.CommonModule, typeof i3.ChangePasswordRoutingModule, typeof i4.MaterialModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.FlexLayoutModule, typeof i7.MatInputModule, typeof i8.PasswordRequirementCheckModule], never>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<ChangePasswordModule>;
14
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class ForgotPasswordRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ForgotPasswordRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<ForgotPasswordRoutingModule>;
7
+ }
@@ -0,0 +1,34 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { AlertService, FormValidatorService } from '../core';
4
+ import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
5
+ import { UserConfigService } from '../user-config';
6
+ import { MultiUserConfig } from '../user-config';
7
+ import { CredentialsService, ErrorHandlerService, HttpService } from '../core';
8
+ import { User } from '../user';
9
+ import { CurrentUserService } from '../user';
10
+ import * as i0 from "@angular/core";
11
+ export declare class ForgotPasswordComponent implements OnInit {
12
+ private http;
13
+ private alerter;
14
+ private router;
15
+ currentUserService: CurrentUserService;
16
+ private errorService;
17
+ private credentialService;
18
+ private fb;
19
+ private formValidatorService;
20
+ userConfigService: UserConfigService;
21
+ user: User;
22
+ isWorking: boolean;
23
+ forgotPasswordForm: UntypedFormGroup;
24
+ userConfig: MultiUserConfig;
25
+ constructor(http: HttpService, alerter: AlertService, router: Router, currentUserService: CurrentUserService, errorService: ErrorHandlerService, credentialService: CredentialsService, fb: UntypedFormBuilder, formValidatorService: FormValidatorService, userConfigService: UserConfigService);
26
+ ngOnInit(): void;
27
+ sendOtp(): void;
28
+ /** Method to evaluate form fields*/
29
+ isFieldValid(field: string): any;
30
+ /** Method to find error in form fields*/
31
+ getErrorMessage(field: string): any;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "forgot-password", never, {}, {}, never, never, false>;
34
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./forgot-password.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../material.module";
6
+ import * as i5 from "./forgot-password-routing.module";
7
+ export declare class ForgotPasswordModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ForgotPasswordModule, [typeof i1.ForgotPasswordComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MaterialModule, typeof i5.ForgotPasswordRoutingModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ForgotPasswordModule>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export * from './forgot-password.component';
2
+ export * from './forgot-password-routing.module';
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ip-range-selector/ip-range-selector.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/flex-layout";
5
+ import * as i4 from "@angular/material/form-field";
6
+ import * as i5 from "@angular/material/input";
7
+ import * as i6 from "@angular/material/core";
8
+ import * as i7 from "@angular/material/select";
9
+ import * as i8 from "@angular/forms";
10
+ export declare class IpAddressSelectorModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<IpAddressSelectorModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IpAddressSelectorModule, [typeof i1.IpRangeSelectorComponent], [typeof i2.CommonModule, typeof i3.FlexModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.MatOptionModule, typeof i7.MatSelectModule, typeof i8.ReactiveFormsModule], [typeof i1.IpRangeSelectorComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<IpAddressSelectorModule>;
14
+ }
@@ -0,0 +1,28 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor, FormControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class IpRangeSelectorComponent implements OnInit, ControlValueAccessor {
5
+ constructor();
6
+ label: string;
7
+ subnetOptions: {
8
+ value: number;
9
+ range: number;
10
+ }[];
11
+ disabled: boolean;
12
+ ipAddressControl: FormControl<string>;
13
+ subnetControl: FormControl<number>;
14
+ onChange: (value: any) => void;
15
+ onTouched: () => void;
16
+ ngOnInit(): void;
17
+ registerOnChange(fn: any): void;
18
+ writeValue(val: string): void;
19
+ registerOnTouched(fn: any): void;
20
+ setDisabledState?(isDisabled: boolean): void;
21
+ /**
22
+ * Update the control value.
23
+ * @private
24
+ */
25
+ private updateValue;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<IpRangeSelectorComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<IpRangeSelectorComponent, "techlify-ip-range-selector", never, { "label": "label"; }, {}, never, never, false>;
28
+ }
@@ -0,0 +1,2 @@
1
+ export * from './login.component';
2
+ export * from './login-routing.module';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class LoginRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoginRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LoginRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<LoginRoutingModule>;
7
+ }
@@ -0,0 +1,53 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Router, ActivatedRoute } from '@angular/router';
3
+ import { ConfigService, FormValidatorService } from '../core';
4
+ import { AlertService } from '../core';
5
+ import { StorageService } from '../core';
6
+ import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
7
+ import { UserConfigService } from '../user-config';
8
+ import { MultiUserConfig } from '../user-config';
9
+ import { AuthenticationService, CredentialsService, ErrorHandlerService, HttpService } from '../core';
10
+ import { User } from '../user';
11
+ import { CurrentUserService } from '../user';
12
+ import * as i0 from "@angular/core";
13
+ export declare class LoginComponent implements OnInit {
14
+ private http;
15
+ private alerter;
16
+ private router;
17
+ private authService;
18
+ private config;
19
+ currentUserService: CurrentUserService;
20
+ private errorService;
21
+ private storage;
22
+ private credentialService;
23
+ private fb;
24
+ private formValidatorService;
25
+ private route;
26
+ userConfigService: UserConfigService;
27
+ user: User;
28
+ isWorking: boolean;
29
+ loginForm: UntypedFormGroup;
30
+ userConfig: MultiUserConfig;
31
+ loginError: {
32
+ type: string;
33
+ message: string;
34
+ };
35
+ constructor(http: HttpService, alerter: AlertService, router: Router, authService: AuthenticationService, config: ConfigService, currentUserService: CurrentUserService, errorService: ErrorHandlerService, storage: StorageService, credentialService: CredentialsService, fb: UntypedFormBuilder, formValidatorService: FormValidatorService, route: ActivatedRoute, userConfigService: UserConfigService);
36
+ ngOnInit(): void;
37
+ login(): void;
38
+ loadUser(): void;
39
+ redirect(provider: any): void;
40
+ /** Method to evaluate form fields*/
41
+ isFieldValid(field: string): any;
42
+ /** Method to find error in form fields*/
43
+ getErrorMessage(field: string): any;
44
+ /**
45
+ * Handle the login errors.
46
+ *
47
+ * @param errorObj
48
+ * @private
49
+ */
50
+ private handleLoginErrors;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "login", never, {}, {}, never, never, false>;
53
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./login.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../material.module";
6
+ import * as i5 from "./login-routing.module";
7
+ import * as i6 from "@angular/material/form-field";
8
+ import * as i7 from "@angular/material/button";
9
+ import * as i8 from "@angular/flex-layout";
10
+ import * as i9 from "@angular/material/card";
11
+ export declare class LoginModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoginModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LoginModule, [typeof i1.LoginComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MaterialModule, typeof i5.LoginRoutingModule, typeof i6.MatFormFieldModule, typeof i7.MatButtonModule, typeof i8.FlexModule, typeof i9.MatCardModule], never>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<LoginModule>;
15
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class NgxTechlifyUsersRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxTechlifyUsersRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgxTechlifyUsersRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgxTechlifyUsersRoutingModule>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./ngx-techlify-users-routing.module";
4
+ export declare class NgxTechlifyUsersModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxTechlifyUsersModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgxTechlifyUsersModule, never, [typeof i1.CommonModule, typeof i2.NgxTechlifyUsersRoutingModule], never>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgxTechlifyUsersModule>;
8
+ }
@@ -0,0 +1,7 @@
1
+ export default interface PasswordCheckResult {
2
+ minLength?: boolean;
3
+ hasNumber?: boolean;
4
+ hasSymbol?: boolean;
5
+ hasCapitalLetter?: boolean;
6
+ isValid?: boolean;
7
+ }
@@ -0,0 +1,15 @@
1
+ import { AccessControlConfiguration } from '../access-control-config/access-control-config.model';
2
+ import PasswordCheckResult from './password-check-result';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PasswordCheckService {
5
+ constructor();
6
+ /**
7
+ * Check if the password matches the access control config requirement or not.
8
+ *
9
+ * @param password Password
10
+ * @param config Access control configuration
11
+ */
12
+ static checkPasswordRequirements(password: string, config: AccessControlConfiguration): PasswordCheckResult;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordCheckService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<PasswordCheckService>;
15
+ }
@@ -0,0 +1,22 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { AccessControlConfiguration } from '../../access-control-config/access-control-config.model';
3
+ import PasswordCheckResult from '../password-check-result';
4
+ import { AccessControlConfigService } from "../../access-control-config/access-control-config.service";
5
+ import * as i0 from "@angular/core";
6
+ export declare class PasswordRequirementCheckComponent implements OnChanges, OnInit {
7
+ private accessControlConfigService;
8
+ password: string;
9
+ accessControlConfiguration: AccessControlConfiguration;
10
+ showResult: boolean;
11
+ result: PasswordCheckResult;
12
+ constructor(accessControlConfigService: AccessControlConfigService);
13
+ ngOnChanges(changes: SimpleChanges): void;
14
+ checkPasswordRequirements(): void;
15
+ /**
16
+ * Load the access control config for the current client.
17
+ */
18
+ getClientConfig(): void;
19
+ ngOnInit(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordRequirementCheckComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<PasswordRequirementCheckComponent, "techlify-password-requirement-check", never, { "password": "password"; }, {}, never, never, false>;
22
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./password-requirement-check/password-requirement-check.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PasswordRequirementCheckModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordRequirementCheckModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PasswordRequirementCheckModule, [typeof i1.PasswordRequirementCheckComponent], [typeof i2.CommonModule], [typeof i1.PasswordRequirementCheckComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PasswordRequirementCheckModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './profile-edit.component';
2
+ export * from './profile-routing.module';
@@ -0,0 +1,33 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { AlertService, ErrorHandlerService, FormValidatorService, HttpService } from '../core';
3
+ import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
4
+ import { User } from '../user';
5
+ import { CurrentUserService } from '../user';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Component to edit a user
9
+ *
10
+ * @author Saravana Kumar
11
+ * @since 20190719
12
+ */
13
+ export declare class ProfileEditComponent implements OnInit {
14
+ private http;
15
+ private alertService;
16
+ private errorHandler;
17
+ currentUserService: CurrentUserService;
18
+ private fb;
19
+ private formValidatorService;
20
+ onSave: EventEmitter<User>;
21
+ isWorking: boolean;
22
+ profileForm: UntypedFormGroup;
23
+ user: User;
24
+ constructor(http: HttpService, alertService: AlertService, errorHandler: ErrorHandlerService, currentUserService: CurrentUserService, fb: UntypedFormBuilder, formValidatorService: FormValidatorService);
25
+ ngOnInit(): void;
26
+ save(): void;
27
+ /** Method to evaluate form fields*/
28
+ isFieldValid(field: string): any;
29
+ /** Method to find error in form fields*/
30
+ getErrorMessage(field: string): any;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfileEditComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfileEditComponent, "profile-edit", never, {}, { "onSave": "onSave"; }, never, never, false>;
33
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class ProfileRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfileRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProfileRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProfileRoutingModule>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./profile-edit.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../material.module";
6
+ import * as i5 from "./profile-routing.module";
7
+ export declare class ProfileModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfileModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProfileModule, [typeof i1.ProfileEditComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MaterialModule, typeof i5.ProfileRoutingModule], [typeof i1.ProfileEditComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProfileModule>;
11
+ }
@@ -0,0 +1,3 @@
1
+ export * from './restrictors.module';
2
+ export * from './restrictor-type-selector/restrictor-type-selector.module';
3
+ export * from './restrictor-type-selector/restrictor-type-selector/restrictor-type-selector.component';
@@ -0,0 +1,34 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor, FormControl } from '@angular/forms';
3
+ import { RestrictorLevelService } from '../restrictor-level.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RestrictorLevelSelectorComponent implements OnInit, ControlValueAccessor {
6
+ private restrictorLevelService;
7
+ constructor(restrictorLevelService: RestrictorLevelService);
8
+ label: string;
9
+ multiple: boolean;
10
+ showLabel: boolean;
11
+ private _value;
12
+ valueChanged: boolean;
13
+ disabled: boolean;
14
+ selectedOption: FormControl<any>;
15
+ options: any[];
16
+ onChange: (value: any) => void;
17
+ onTouched: () => void;
18
+ ngOnInit(): void;
19
+ writeValue(value: any): void;
20
+ registerOnChange(fn: any): void;
21
+ registerOnTouched(fn: any): void;
22
+ setDisabledState?(isDisabled: boolean): void;
23
+ /**
24
+ * Reset the form control value
25
+ */
26
+ resetField(): void;
27
+ /**
28
+ * Get task types.
29
+ * @private
30
+ */
31
+ private fetchData;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<RestrictorLevelSelectorComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<RestrictorLevelSelectorComponent, "techlify-restrictor-level-selector", never, { "label": "label"; "multiple": "multiple"; "showLabel": "showLabel"; }, {}, never, never, false>;
34
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./restrictor-level-selector/restrictor-level-selector.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/button-toggle";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@angular/material/tooltip";
7
+ export declare class RestrictorLevelSelectorModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<RestrictorLevelSelectorModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RestrictorLevelSelectorModule, [typeof i1.RestrictorLevelSelectorComponent], [typeof i2.CommonModule, typeof i3.MatButtonToggleModule, typeof i4.ReactiveFormsModule, typeof i5.MatTooltipModule], [typeof i1.RestrictorLevelSelectorComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<RestrictorLevelSelectorModule>;
11
+ }
@@ -0,0 +1,9 @@
1
+ import { HttpService } from '../../core';
2
+ import { TechlifyServiceBaseClass } from '../../base-model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RestrictorLevelService extends TechlifyServiceBaseClass {
5
+ private httpService;
6
+ constructor(httpService: HttpService);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<RestrictorLevelService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<RestrictorLevelService>;
9
+ }
@@ -0,0 +1,34 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { RestrictorStatusService } from '../restrictor-status.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RestrictorStatusSelectorComponent implements OnInit {
6
+ private restrictorStatusService;
7
+ constructor(restrictorStatusService: RestrictorStatusService);
8
+ label: string;
9
+ multiple: boolean;
10
+ showLabel: boolean;
11
+ private _value;
12
+ valueChanged: boolean;
13
+ disabled: boolean;
14
+ selectedOption: FormControl<any>;
15
+ options: any[];
16
+ onChange: (value: any) => void;
17
+ onTouched: () => void;
18
+ ngOnInit(): void;
19
+ writeValue(value: any): void;
20
+ registerOnChange(fn: any): void;
21
+ registerOnTouched(fn: any): void;
22
+ setDisabledState?(isDisabled: boolean): void;
23
+ /**
24
+ * Reset the form control value
25
+ */
26
+ resetField(): void;
27
+ /**
28
+ * Get task types.
29
+ * @private
30
+ */
31
+ private fetchData;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<RestrictorStatusSelectorComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<RestrictorStatusSelectorComponent, "techlify-restrictor-status-selector", never, { "label": "label"; "multiple": "multiple"; "showLabel": "showLabel"; }, {}, never, never, false>;
34
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./restrictor-status-selector/restrictor-status-selector.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/button-toggle";
5
+ import * as i4 from "@angular/forms";
6
+ export declare class RestrictorStatusSelectorModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<RestrictorStatusSelectorModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RestrictorStatusSelectorModule, [typeof i1.RestrictorStatusSelectorComponent], [typeof i2.CommonModule, typeof i3.MatButtonToggleModule, typeof i4.ReactiveFormsModule], [typeof i1.RestrictorStatusSelectorComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<RestrictorStatusSelectorModule>;
10
+ }