ngx-techlify-core 18.5.0 → 18.6.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.
@@ -4,6 +4,8 @@ import * as i0 from "@angular/core";
4
4
  export declare class AccessControlConfigService extends TechlifyServiceBaseClass {
5
5
  http: HttpService;
6
6
  constructor(http: HttpService);
7
+ getConfigsForCurrentClient(): import("rxjs").Observable<Object>;
8
+ getConfigsForEmail(email: string): import("rxjs").Observable<Object>;
7
9
  getConfigs(filters: any): Promise<Object>;
8
10
  createConfig(config: any): Promise<Object>;
9
11
  updateConfig(config: any): Promise<Object>;
@@ -6,6 +6,7 @@ import * as i0 from "@angular/core";
6
6
  export declare class PasswordRequirementCheckComponent implements OnChanges, OnInit {
7
7
  private accessControlConfigService;
8
8
  password: string;
9
+ email: string;
9
10
  accessControlConfiguration: AccessControlConfiguration;
10
11
  showResult: boolean;
11
12
  result: PasswordCheckResult;
@@ -13,10 +14,10 @@ export declare class PasswordRequirementCheckComponent implements OnChanges, OnI
13
14
  ngOnChanges(changes: SimpleChanges): void;
14
15
  checkPasswordRequirements(): void;
15
16
  /**
16
- * Load the access control config for the current client.
17
+ * Load the access control config for the current client or by email.
17
18
  */
18
- getClientConfig(): void;
19
+ getConfiguration(): void;
19
20
  ngOnInit(): void;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PasswordRequirementCheckComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<PasswordRequirementCheckComponent, "techlify-password-requirement-check", never, { "password": { "alias": "password"; "required": false; }; }, {}, never, never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<PasswordRequirementCheckComponent, "techlify-password-requirement-check", never, { "password": { "alias": "password"; "required": false; }; "email": { "alias": "email"; "required": false; }; }, {}, never, never, false, never>;
22
23
  }
@@ -0,0 +1,3 @@
1
+ export * from './reset-password.service';
2
+ export * from './reset-password.component';
3
+ export * from './reset-password-routing.module';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class ResetPasswordRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ResetPasswordRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<ResetPasswordRoutingModule>;
7
+ }
@@ -0,0 +1,29 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { AlertService, FormValidatorService } from '../core';
4
+ import { UntypedFormBuilder } from '@angular/forms';
5
+ import { CurrentUserService } from '../user';
6
+ import { TechlifyFormComponentInterface } from '../base-model';
7
+ import { MultiUserConfig, UserConfigService } from '../user-config';
8
+ import { ResetPasswordService } from './reset-password.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class ResetPasswordComponent extends TechlifyFormComponentInterface implements OnInit {
11
+ private resetPasswordService;
12
+ private alertService;
13
+ private router;
14
+ currentUserService: CurrentUserService;
15
+ private fb;
16
+ formValidatorService: FormValidatorService;
17
+ userConfigService: UserConfigService;
18
+ private activatedRoute;
19
+ passwordHide: boolean;
20
+ passwordConfirmationHide: boolean;
21
+ isWorking: boolean;
22
+ userConfig: MultiUserConfig;
23
+ errorMessages: any;
24
+ constructor(resetPasswordService: ResetPasswordService, alertService: AlertService, router: Router, currentUserService: CurrentUserService, fb: UntypedFormBuilder, formValidatorService: FormValidatorService, userConfigService: UserConfigService, activatedRoute: ActivatedRoute);
25
+ ngOnInit(): void;
26
+ submit(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "app-reset-password", never, {}, {}, never, never, false, never>;
29
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./reset-password.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/flex-layout";
6
+ import * as i5 from "@angular/material/input";
7
+ import * as i6 from "../material.module";
8
+ import * as i7 from "./reset-password-routing.module";
9
+ import * as i8 from "../password-requirement-check/password-requirement-check.module";
10
+ export declare class ResetPasswordModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ResetPasswordModule, [typeof i1.ResetPasswordComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.FlexLayoutModule, typeof i5.MatInputModule, typeof i3.ReactiveFormsModule, typeof i6.MaterialModule, typeof i7.ResetPasswordRoutingModule, typeof i8.PasswordRequirementCheckModule], never>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<ResetPasswordModule>;
14
+ }
@@ -0,0 +1,11 @@
1
+ import { HttpService } from '../core/http.service';
2
+ import { TechlifyServiceBaseClass } from "../base-model";
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ResetPasswordService extends TechlifyServiceBaseClass {
6
+ http: HttpService;
7
+ constructor(http: HttpService);
8
+ store(model: any, params?: any): Observable<any>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResetPasswordService>;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-techlify-core",
3
- "version": "18.5.0",
3
+ "version": "18.6.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18",
6
6
  "@angular/core": ">=18",
package/public-api.d.ts CHANGED
@@ -124,3 +124,5 @@ export * from './lib/file-dragdrop-uploader/file-dragdrop-uploader/file-dragdrop
124
124
  export * from './lib/file-dragdrop-uploader/file-dragdrop-uploader.module';
125
125
  export * from './lib/number-input-button';
126
126
  export * from './lib/column-selector';
127
+ export * from './lib/reset-password';
128
+ export * from './lib/reset-password/reset-password.module';