@flywheel-io/vision 19.7.0 → 19.8.0-beta.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.
@@ -1,22 +1,22 @@
1
1
  import { Dialog, DialogConfig, DialogRef } from '@angular/cdk/dialog';
2
- import { ComponentType, Overlay, OverlayContainer } from '@angular/cdk/overlay';
3
- import { Injector } from '@angular/core';
2
+ import { ComponentType, OverlayContainer } from '@angular/cdk/overlay';
4
3
  import * as i0 from "@angular/core";
4
+ export interface FwDialogRef<R = unknown, C = unknown> extends DialogRef<R, C> {
5
+ }
5
6
  export declare class FwDialogService extends Dialog {
6
7
  private overlay;
7
- injector: Injector;
8
8
  _overlayContainerRef: OverlayContainer;
9
- dialogRef: DialogRef<any>;
10
- constructor(overlay: Overlay, _injector: Injector, injector: Injector, _dialogConfig: DialogConfig, _overlayContainerRef: OverlayContainer, scrollStrategy: any, _parentDialog: Dialog, dialogRef: DialogRef<any>);
9
+ dialogRef: FwDialogRef | undefined;
10
+ constructor();
11
11
  /**
12
12
  * Open a custom component in an overlay and positioned near the top
13
13
  */
14
14
  openDialog<T>(component: ComponentType<T>, config?: DialogConfig & {
15
15
  canCloseCheck?: () => boolean;
16
16
  responsive?: boolean;
17
- }, topOffset?: string): DialogRef<unknown, any>;
18
- openModalDialog<T>(component: ComponentType<T>, config?: DialogConfig, topOffset?: string): DialogRef<unknown, any>;
19
- closeWithAnimation(dialogRef: DialogRef<any>): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogService, [null, null, null, { optional: true; }, null, null, { optional: true; skipSelf: true; }, { optional: true; }]>;
17
+ }, topOffset?: string): FwDialogRef<unknown, any>;
18
+ openModalDialog<T>(component: ComponentType<T>, config?: DialogConfig, topOffset?: string): FwDialogRef<unknown, any>;
19
+ closeWithAnimation(dialogRef: FwDialogRef<any>): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<FwDialogService, never>;
21
21
  static ɵprov: i0.ɵɵInjectableDeclaration<FwDialogService>;
22
22
  }
@@ -1,4 +1,4 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl } from '@angular/forms';
3
3
  import { IconType } from '../icon/icon.types';
4
4
  import * as i0 from "@angular/core";
@@ -25,17 +25,20 @@ export declare class FwNumberInputComponent implements ControlValueAccessor {
25
25
  numberType?: 'integer' | 'float';
26
26
  autofocus?: boolean;
27
27
  autocomplete?: boolean;
28
- numberInput: any;
29
28
  error?: boolean;
30
- value: number;
31
- externalControl: FormControl;
29
+ private _value;
30
+ get value(): number | undefined;
31
+ set value(v: number);
32
+ numberInputRef: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
33
+ externalControl: FormControl | null;
34
+ syncToDOM: import("@angular/core").EffectRef;
32
35
  onTouch: () => void;
33
36
  onChange: (value: number) => void;
34
37
  writeValue(obj: number): void;
35
38
  registerOnChange(fn: any): void;
36
39
  registerOnTouched(fn: any): void;
37
40
  setDisabledState(isDisabled: boolean): void;
38
- changeHandler(event: KeyboardEvent): void;
41
+ changeHandler(event: Event): void;
39
42
  blurHandler(): void;
40
43
  onLeftIconClick(): void;
41
44
  onRightIconClick(): void;
@@ -29,8 +29,11 @@ export declare class FwTextInputComponent implements ControlValueAccessor {
29
29
  maxLength?: number;
30
30
  autofocus?: boolean;
31
31
  autocomplete?: string;
32
- value: string;
33
- inputRef: ElementRef<HTMLInputElement>;
32
+ private _value;
33
+ get value(): string;
34
+ set value(v: string);
35
+ set inputRef(el: ElementRef<HTMLInputElement>);
36
+ private _inputRef?;
34
37
  error?: boolean;
35
38
  leftIconAction: EventEmitter<void>;
36
39
  rightIconAction: EventEmitter<void>;
@@ -1,4 +1,5 @@
1
1
  import { CdkTextareaAutosize } from '@angular/cdk/text-field';
2
+ import { ElementRef } from '@angular/core';
2
3
  import { ControlValueAccessor, FormControl } from '@angular/forms';
3
4
  import { min } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
@@ -24,7 +25,11 @@ export declare class FwTextAreaInputComponent implements ControlValueAccessor {
24
25
  width?: string;
25
26
  error?: boolean;
26
27
  autosize: CdkTextareaAutosize;
27
- value: string;
28
+ private _value;
29
+ get value(): string;
30
+ set value(v: string);
31
+ set textareaRef(el: ElementRef<HTMLTextAreaElement>);
32
+ private _textareaRef?;
28
33
  externalControl: FormControl;
29
34
  onTouch: () => void;
30
35
  onChange: (value: string) => void;
@@ -32,7 +37,7 @@ export declare class FwTextAreaInputComponent implements ControlValueAccessor {
32
37
  registerOnChange(fn: any): void;
33
38
  registerOnTouched(fn: any): void;
34
39
  setDisabledState(isDisabled: boolean): void;
35
- changeHandler(event: KeyboardEvent): void;
40
+ changeHandler(event: Event): void;
36
41
  blurHandler(): void;
37
42
  protected readonly min: typeof min;
38
43
  static ɵfac: i0.ɵɵFactoryDeclaration<FwTextAreaInputComponent, never>;
@@ -36,7 +36,8 @@ export declare class FwTypeaheadComponent implements ControlValueAccessor {
36
36
  notifyOnValueChanges: import("@angular/core").EffectRef;
37
37
  searchValue: import("@angular/core").ModelSignal<string>;
38
38
  searchValueChanges$: Observable<string>;
39
- handleSearchChange(event: KeyboardEvent): void;
39
+ handleInput(event: Event): void;
40
+ private syncSearchValueToInput;
40
41
  allowNew: import("@angular/core").InputSignal<boolean>;
41
42
  placeholder: import("@angular/core").InputSignal<string>;
42
43
  displayedPlaceholder: import("@angular/core").Signal<string>;