@amro93/ngb-select 0.1.6 → 0.1.7
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 * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy, ElementRef, TemplateRef
|
|
2
|
+
import { OnInit, AfterViewInit, OnDestroy, ElementRef, TemplateRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
|
|
5
5
|
type SelectSize = 'small' | 'medium' | 'large';
|
|
@@ -42,13 +42,12 @@ interface SelectLazyLoadEvent {
|
|
|
42
42
|
last: number;
|
|
43
43
|
[key: string]: any;
|
|
44
44
|
}
|
|
45
|
-
declare const NGB_SELECT_VERSION = "0.1.
|
|
45
|
+
declare const NGB_SELECT_VERSION = "0.1.7";
|
|
46
46
|
|
|
47
|
-
declare class NgbSelectComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
48
|
-
|
|
47
|
+
declare class NgbSelectComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
|
|
48
|
+
static readonly VERSION = "0.1.7";
|
|
49
|
+
elementRef: ElementRef<any>;
|
|
49
50
|
private cdr;
|
|
50
|
-
private ngZone;
|
|
51
|
-
static readonly VERSION = "0.1.6";
|
|
52
51
|
options: _angular_core.InputSignal<any[]>;
|
|
53
52
|
optionLabel: _angular_core.InputSignal<string>;
|
|
54
53
|
optionValue: _angular_core.InputSignal<string>;
|
|
@@ -128,22 +127,22 @@ declare class NgbSelectComponent implements ControlValueAccessor, OnInit, OnDest
|
|
|
128
127
|
onSelectAllChange: _angular_core.OutputEmitterRef<SelectSelectAllChangeEvent>;
|
|
129
128
|
onRemoveChip: _angular_core.OutputEmitterRef<SelectRemoveChipEvent>;
|
|
130
129
|
onLazyLoad: _angular_core.OutputEmitterRef<SelectLazyLoadEvent>;
|
|
131
|
-
itemTemplate
|
|
132
|
-
selectedItemTemplate
|
|
133
|
-
labelTemplate
|
|
134
|
-
chipTemplate
|
|
135
|
-
headerCheckboxTemplate
|
|
136
|
-
headerTemplate
|
|
137
|
-
footerTemplate
|
|
138
|
-
groupTemplate
|
|
139
|
-
emptyTemplate
|
|
140
|
-
clearIconTemplate
|
|
141
|
-
dropdownIconTemplate
|
|
142
|
-
filterIconTemplate
|
|
143
|
-
filterInputElement
|
|
144
|
-
triggerFilterInputElement
|
|
145
|
-
editableInputElement
|
|
146
|
-
dropdownMenuElement
|
|
130
|
+
itemTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
131
|
+
selectedItemTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
132
|
+
labelTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
133
|
+
chipTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
134
|
+
headerCheckboxTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
135
|
+
headerTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
136
|
+
footerTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
137
|
+
groupTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
138
|
+
emptyTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
139
|
+
clearIconTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
140
|
+
dropdownIconTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
141
|
+
filterIconTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
142
|
+
filterInputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
143
|
+
triggerFilterInputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
144
|
+
editableInputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
145
|
+
dropdownMenuElement: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
147
146
|
effectiveSearchPlaceholder: _angular_core.Signal<string>;
|
|
148
147
|
effectiveDropdownPosition: _angular_core.Signal<DropdownDirection>;
|
|
149
148
|
currentPlacement: _angular_core.WritableSignal<"top" | "bottom">;
|
|
@@ -170,8 +169,8 @@ declare class NgbSelectComponent implements ControlValueAccessor, OnInit, OnDest
|
|
|
170
169
|
private onModelTouched;
|
|
171
170
|
private unlistenWindow?;
|
|
172
171
|
private unlistenDocumentClick?;
|
|
173
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
174
172
|
ngOnInit(): void;
|
|
173
|
+
ngAfterViewInit(): void;
|
|
175
174
|
ngOnDestroy(): void;
|
|
176
175
|
writeValue(obj: any): void;
|
|
177
176
|
registerOnChange(fn: any): void;
|