asksuite-citrus 0.9.0 → 0.9.1
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,5 +1,5 @@
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
2
|
-
import { ControlValueAccessor, FormBuilder, FormControl
|
2
|
+
import { ControlValueAccessor, FormBuilder, FormControl } from "@angular/forms";
|
3
3
|
import { Overlay } from "@angular/cdk/overlay";
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class AutocompleteComponent implements AfterViewInit, ControlValueAccessor, OnChanges {
|
@@ -17,7 +17,6 @@ export declare class AutocompleteComponent implements AfterViewInit, ControlValu
|
|
17
17
|
protected selectedOption?: any;
|
18
18
|
protected selection: any[];
|
19
19
|
protected closed: boolean;
|
20
|
-
protected selectionForm: FormGroup;
|
21
20
|
protected chipsCollapsed: boolean;
|
22
21
|
protected checkAllValue: boolean;
|
23
22
|
protected disabled: boolean;
|
@@ -32,6 +31,9 @@ export declare class AutocompleteComponent implements AfterViewInit, ControlValu
|
|
32
31
|
"-four": boolean;
|
33
32
|
"-many": boolean;
|
34
33
|
};
|
34
|
+
protected optionsSelected: {
|
35
|
+
[key: string | number]: boolean;
|
36
|
+
};
|
35
37
|
private _overlayRef;
|
36
38
|
private _portal;
|
37
39
|
private _destroy;
|
@@ -49,10 +51,9 @@ export declare class AutocompleteComponent implements AfterViewInit, ControlValu
|
|
49
51
|
allOptionsSelectedText: string | null;
|
50
52
|
constructor(formBuilder: FormBuilder, overlay: Overlay, viewContainerRef: ViewContainerRef, change: ChangeDetectorRef);
|
51
53
|
ngAfterViewInit(): void;
|
52
|
-
|
54
|
+
get isAllOptionsSelected(): boolean;
|
53
55
|
ngOnChanges(changes: SimpleChanges): void;
|
54
56
|
private handleInputChange;
|
55
|
-
private listenSelectionChange;
|
56
57
|
private handleSelectionChange;
|
57
58
|
private updateChipsContainerClasses;
|
58
59
|
handleOptionSelected(item: any): void;
|
@@ -64,12 +65,12 @@ export declare class AutocompleteComponent implements AfterViewInit, ControlValu
|
|
64
65
|
handleClick(event: MouseEvent): void;
|
65
66
|
get selectedOptions(): any[];
|
66
67
|
handleSelectAll(checked: boolean): void;
|
68
|
+
valueChange(option: any, value: boolean): void;
|
67
69
|
selectAllOptions(selected: boolean): void;
|
68
70
|
handleChipAction(option: any): void;
|
69
71
|
display(option: any): string | undefined;
|
70
72
|
getMoreItems(): void;
|
71
73
|
sortSelectedFirst(items: Array<any>, selectedItems: Array<any>, prop: string): void;
|
72
|
-
private updateFormControls;
|
73
74
|
protected updateValidation(): void;
|
74
75
|
writeValue(obj: any[] | any): void;
|
75
76
|
onChange: (_: any) => void;
|