coer-elements 0.0.101 → 0.0.103

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coer-elements",
3
- "version": "0.0.101",
3
+ "version": "0.0.103",
4
4
  "author": "Christian Omar Escamilla Rodríguez",
5
5
  "keywords": [
6
6
  "COER",
@@ -20,12 +20,10 @@ export declare class COERSystem {
20
20
  toolbarMenu: import("@angular/core").InputSignal<IToolbarMenu[]>;
21
21
  set navigation(value: IMenu[]);
22
22
  onLogin: import("@angular/core").OutputEmitterRef<ILogIn>;
23
- onClickUser: import("@angular/core").OutputEmitterRef<void>;
23
+ onRecovery: import("@angular/core").OutputEmitterRef<string>;
24
24
  onClickOption: import("@angular/core").OutputEmitterRef<IToolbarMenu>;
25
25
  onResetPassword: import("@angular/core").OutputEmitterRef<string>;
26
26
  protected IsNotNull: <T>(value: T | null | undefined) => boolean;
27
- /** */
28
- protected Login(login: ILogIn): void;
29
27
  protected get enableButton(): boolean;
30
28
  /** */
31
29
  protected SelectedOption(menu: IToolbarMenu): Promise<void>;
@@ -39,6 +37,8 @@ export declare class COERSystem {
39
37
  protected ResetPassword(): void;
40
38
  /** */
41
39
  CloseModal(): void;
40
+ /** */
41
+ Show(view: 'login' | 'recovery'): Promise<void>;
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<COERSystem, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "toolbarMenu": { "alias": "toolbarMenu"; "required": false; "isSignal": true; }; "navigation": { "alias": "navigation"; "required": false; }; }, { "onLogin": "onLogin"; "onClickUser": "onClickUser"; "onClickOption": "onClickOption"; "onResetPassword": "onResetPassword"; }, never, ["*"], false, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "toolbarMenu": { "alias": "toolbarMenu"; "required": false; "isSignal": true; }; "navigation": { "alias": "navigation"; "required": false; }; }, { "onLogin": "onLogin"; "onRecovery": "onRecovery"; "onClickOption": "onClickOption"; "onResetPassword": "onResetPassword"; }, never, ["*"], false, never>;
44
44
  }
@@ -5,19 +5,28 @@ import * as i0 from "@angular/core";
5
5
  export declare class LoginPage {
6
6
  protected inputUser: import("@angular/core").Signal<CoerTextBox>;
7
7
  protected inputPassword: import("@angular/core").Signal<CoerTextBox>;
8
+ protected inputRecovery: import("@angular/core").Signal<CoerTextBox>;
8
9
  protected isLoading: WritableSignal<boolean>;
9
10
  title: import("@angular/core").InputSignal<string>;
10
11
  protected user: string;
11
12
  protected password: string;
13
+ protected recovery: string;
14
+ protected show: 'login' | 'recovery';
12
15
  onLogin: import("@angular/core").OutputEmitterRef<ILogIn>;
16
+ onRecovery: import("@angular/core").OutputEmitterRef<string>;
13
17
  protected IsNotOnlyWhiteSpace: <T>(value: T | null | undefined) => boolean;
14
18
  protected get enableButton(): boolean;
19
+ protected get enableRecoveryButton(): boolean;
15
20
  /** */
16
21
  protected Login(): void;
17
22
  /** */
23
+ protected Recovery(): void;
24
+ /** */
25
+ Show(view: 'login' | 'recovery'): Promise<void>;
26
+ /** */
18
27
  FocusUser(): void;
19
28
  /** */
20
29
  FocusPassword(): void;
21
30
  static ɵfac: i0.ɵɵFactoryDeclaration<LoginPage, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginPage, "login-page", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "onLogin": "onLogin"; }, never, never, false, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoginPage, "login-page", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "onLogin": "onLogin"; "onRecovery": "onRecovery"; }, never, never, false, never>;
23
32
  }