@flywheel-io/vision 19.3.2 → 19.3.3
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.
- package/components/menu/menu.component.d.ts +2 -0
- package/components/select-menu/select-menu.component.d.ts +4 -3
- package/components/typeahead/typeahead.component.d.ts +10 -4
- package/fesm2022/flywheel-io-vision.mjs +176 -61
- package/fesm2022/flywheel-io-vision.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -14,8 +14,10 @@ export declare class FwMenuComponent implements ControlValueAccessor, OnChanges,
|
|
|
14
14
|
onChange: (value: string | string[]) => void;
|
|
15
15
|
onTouched: () => void;
|
|
16
16
|
private subscriptions;
|
|
17
|
+
private menuItemSubscriptions;
|
|
17
18
|
ngOnChanges(): void;
|
|
18
19
|
ngOnDestroy(): void;
|
|
20
|
+
private subscribeToMenuItems;
|
|
19
21
|
ngAfterContentInit(): void;
|
|
20
22
|
writeValue(value: string | string[]): void;
|
|
21
23
|
registerOnChange(fn: (value: string | string[]) => void): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CdkMenuTrigger } from '@angular/cdk/menu';
|
|
2
|
-
import {
|
|
2
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
4
4
|
import { IconType } from '../icon/icon.types';
|
|
5
5
|
import { FwMenuComponent } from '../menu/menu.component';
|
|
@@ -8,7 +8,7 @@ import { FwMenuItemGroupComponent } from '../menu/menu-item-group/menu-item-grou
|
|
|
8
8
|
import { FwMenuSeparatorComponent } from '../menu/menu-separator/menu-separator.component';
|
|
9
9
|
import { FwTextInputComponent } from '../text-input/text-input.component';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class FwSelectMenuComponent implements
|
|
11
|
+
export declare class FwSelectMenuComponent implements OnDestroy, ControlValueAccessor {
|
|
12
12
|
private ngControl;
|
|
13
13
|
outsideClick(evt: any): void;
|
|
14
14
|
get disabledClass(): boolean;
|
|
@@ -52,7 +52,8 @@ export declare class FwSelectMenuComponent implements AfterContentInit, OnDestro
|
|
|
52
52
|
set value(newValue: any);
|
|
53
53
|
private _value;
|
|
54
54
|
constructor(ngControl: NgControl);
|
|
55
|
-
|
|
55
|
+
private subscribeToMenuItems;
|
|
56
|
+
private menuItemsWatcher;
|
|
56
57
|
ngOnDestroy(): void;
|
|
57
58
|
get invalid(): boolean;
|
|
58
59
|
get touched(): boolean;
|
|
@@ -15,10 +15,13 @@ export declare class FwTypeaheadComponent implements ControlValueAccessor {
|
|
|
15
15
|
changeDetector: ChangeDetectorRef;
|
|
16
16
|
loading: import("@angular/core").ModelSignal<boolean>;
|
|
17
17
|
disabled: import("@angular/core").ModelSignal<boolean>;
|
|
18
|
+
touched: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
+
hasAmbiguousInput: import("@angular/core").WritableSignal<boolean>;
|
|
18
20
|
setDisabledState(isDisabled: boolean): void;
|
|
19
21
|
writeValue(incomingValue: string[]): void;
|
|
20
22
|
onChange: (_: string[]) => void;
|
|
21
|
-
|
|
23
|
+
clearValue(): void;
|
|
24
|
+
registerOnChange(onChangeFn: typeof this.onChange): void;
|
|
22
25
|
onTouched: () => void;
|
|
23
26
|
registerOnTouched(onTouchedFn: any): void;
|
|
24
27
|
onClick(event: MouseEvent): void;
|
|
@@ -30,13 +33,16 @@ export declare class FwTypeaheadComponent implements ControlValueAccessor {
|
|
|
30
33
|
minOptionsHeight: import("@angular/core").InputSignal<string>;
|
|
31
34
|
optionsWidth: import("@angular/core").InputSignal<string>;
|
|
32
35
|
maxHeight: import("@angular/core").InputSignal<string>;
|
|
36
|
+
selectType: import("@angular/core").InputSignal<"multiple" | "single">;
|
|
33
37
|
notifyOnValueChanges: import("@angular/core").EffectRef;
|
|
34
38
|
searchValue: import("@angular/core").ModelSignal<string>;
|
|
35
39
|
searchValueChanges$: Observable<string>;
|
|
36
40
|
handleSearchChange(event: KeyboardEvent): void;
|
|
37
41
|
allowNew: import("@angular/core").InputSignal<boolean>;
|
|
38
42
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
39
|
-
|
|
43
|
+
errorText: import("@angular/core").WritableSignal<string>;
|
|
44
|
+
displayedPlaceholder: import("@angular/core").Signal<string>;
|
|
45
|
+
highlightPlaceholder: import("@angular/core").Signal<boolean>;
|
|
40
46
|
/**
|
|
41
47
|
* Options after they've been both filtered for matching the search and already selected
|
|
42
48
|
*/
|
|
@@ -48,7 +54,7 @@ export declare class FwTypeaheadComponent implements ControlValueAccessor {
|
|
|
48
54
|
closeChip(chipValue: string): void;
|
|
49
55
|
displayNewOption: import("@angular/core").Signal<boolean>;
|
|
50
56
|
addValue: (newValue: string) => void;
|
|
51
|
-
handleOptionClick: (optionValue:
|
|
57
|
+
handleOptionClick: (optionValue: string) => void;
|
|
52
58
|
resetFocusOnOptionsChange: import("@angular/core").EffectRef;
|
|
53
59
|
displayedOptions: import("@angular/core").Signal<readonly FwMenuItemComponent[]>;
|
|
54
60
|
focusedIndex: import("@angular/core").WritableSignal<number>;
|
|
@@ -63,6 +69,6 @@ export declare class FwTypeaheadComponent implements ControlValueAccessor {
|
|
|
63
69
|
setFocusByValue(value: string): void;
|
|
64
70
|
private moveFocused;
|
|
65
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<FwTypeaheadComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FwTypeaheadComponent, "fw-typeahead", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "optionsInput": { "alias": "options"; "required": false; "isSignal": true; }; "maxOptionsHeight": { "alias": "maxOptionsHeight"; "required": false; "isSignal": true; }; "minOptionsHeight": { "alias": "minOptionsHeight"; "required": false; "isSignal": true; }; "optionsWidth": { "alias": "optionsWidth"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; "allowNew": { "alias": "allowNew"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "loading": "loadingChange"; "disabled": "disabledChange"; "value": "valueChange"; "searchValue": "searchValueChange"; }, never, never, true, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FwTypeaheadComponent, "fw-typeahead", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "optionsInput": { "alias": "options"; "required": false; "isSignal": true; }; "maxOptionsHeight": { "alias": "maxOptionsHeight"; "required": false; "isSignal": true; }; "minOptionsHeight": { "alias": "minOptionsHeight"; "required": false; "isSignal": true; }; "optionsWidth": { "alias": "optionsWidth"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "selectType": { "alias": "selectType"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; "allowNew": { "alias": "allowNew"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "loading": "loadingChange"; "disabled": "disabledChange"; "value": "valueChange"; "searchValue": "searchValueChange"; }, never, never, true, never>;
|
|
67
73
|
}
|
|
68
74
|
export {};
|