aeb-ui-kit 9.0.0-preview.990 → 9.0.0-preview.996

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.
@@ -0,0 +1,10 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AutofocusDirective implements AfterViewInit {
4
+ elementRef: ElementRef;
5
+ autofocus: boolean;
6
+ constructor(elementRef: ElementRef);
7
+ ngAfterViewInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutofocusDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutofocusDirective, "[autofocus]", never, { "autofocus": { "alias": "autofocus"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -9,9 +9,11 @@ export declare class CodeInputComponent implements OnInit, ControlValueAccessor
9
9
  tip: string;
10
10
  codeLength: CodeLength;
11
11
  hasError: boolean;
12
+ isAutofocus: boolean;
12
13
  codeCompleted: EventEmitter<Event>;
13
14
  timeOut: EventEmitter<Event>;
14
15
  resendClick: EventEmitter<Event>;
16
+ input: HTMLInputElement;
15
17
  inputValue: string;
16
18
  isFocus: boolean;
17
19
  showTimer: boolean;
@@ -31,6 +33,7 @@ export declare class CodeInputComponent implements OnInit, ControlValueAccessor
31
33
  clear(): void;
32
34
  resend(): void;
33
35
  handleBlur(): void;
36
+ private handleFocus;
34
37
  static ɵfac: i0.ɵɵFactoryDeclaration<CodeInputComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<CodeInputComponent, "aeb-code-input", never, { "title": { "alias": "title"; "required": false; }; "secondsUntilRetry": { "alias": "secondsUntilRetry"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "codeLength": { "alias": "codeLength"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; }, { "codeCompleted": "codeCompleted"; "timeOut": "timeOut"; "resendClick": "resendClick"; }, never, never, false, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<CodeInputComponent, "aeb-code-input", never, { "title": { "alias": "title"; "required": false; }; "secondsUntilRetry": { "alias": "secondsUntilRetry"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "codeLength": { "alias": "codeLength"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "isAutofocus": { "alias": "isAutofocus"; "required": false; }; }, { "codeCompleted": "codeCompleted"; "timeOut": "timeOut"; "resendClick": "resendClick"; }, never, never, false, never>;
36
39
  }
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./code-input.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
+ import * as i4 from "../autofocus/autofocus.directive";
5
6
  export declare class CodeInputModule {
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<CodeInputModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<CodeInputModule, [typeof i1.CodeInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule], [typeof i1.CodeInputComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CodeInputModule, [typeof i1.CodeInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.AutofocusDirective], [typeof i1.CodeInputComponent]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<CodeInputModule>;
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aeb-ui-kit",
3
- "version": "9.0.0-preview.990",
3
+ "version": "9.0.0-preview.996",
4
4
  "exports": {
5
5
  "./styles.css": {
6
6
  "default": "./styles.css"
package/public-api.d.ts CHANGED
@@ -104,3 +104,4 @@ export * from './lib/response/response.component';
104
104
  export * from './lib/response/response.module';
105
105
  export * from './lib/code-input/code-input.module';
106
106
  export * from './lib/code-input/code-input.component';
107
+ export * from './lib/autofocus/autofocus.directive';