ngx-virtual-select-field-filterable 1.4.8 → 1.4.10

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/index.d.ts CHANGED
@@ -1 +1,318 @@
1
- export * from './lib/virtual-select-field';
1
+ import * as i0 from '@angular/core';
2
+ import { TemplateRef, EventEmitter, ElementRef, OnInit, OnDestroy, AfterContentInit, QueryList, Signal, TrackByFunction, InjectionToken } from '@angular/core';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { ListKeyManagerOption, Highlightable } from '@angular/cdk/a11y';
5
+ import * as _angular_cdk_overlay_module_d from '@angular/cdk/overlay-module.d';
6
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
7
+ import { CdkConnectedOverlay, CdkOverlayOrigin } from '@angular/cdk/overlay';
8
+ import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
9
+ import { MatFormFieldControl, MatFormField } from '@angular/material/form-field';
10
+
11
+ interface NgxVirtualSelectFieldOptionModel<TValue> extends ListKeyManagerOption {
12
+ /**
13
+ * The visible text of the option.
14
+ */
15
+ label: string;
16
+ /**
17
+ * The value of the option.
18
+ */
19
+ value: TValue;
20
+ }
21
+ interface NgxVirtualSelectFieldOptionTemplateContextModel<TValue> {
22
+ $implicit: NgxVirtualSelectFieldOptionModel<TValue>;
23
+ }
24
+
25
+ declare class NgxVirtualSelectFieldOptionForDirective<TValue> {
26
+ template: TemplateRef<NgxVirtualSelectFieldOptionTemplateContextModel<TValue>>;
27
+ /**
28
+ * The options collection to render.
29
+ * @required
30
+ */
31
+ set options(options: NgxVirtualSelectFieldOptionModel<TValue>[]);
32
+ options$: BehaviorSubject<NgxVirtualSelectFieldOptionModel<TValue>[]>;
33
+ constructor(template: TemplateRef<NgxVirtualSelectFieldOptionTemplateContextModel<TValue>>);
34
+ static ngTemplateContextGuard<TValue>(_dir: NgxVirtualSelectFieldOptionForDirective<TValue>, ctx: unknown): ctx is NgxVirtualSelectFieldOptionTemplateContextModel<TValue>;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxVirtualSelectFieldOptionForDirective<any>, never>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgxVirtualSelectFieldOptionForDirective<any>, "[ngxVirtualSelectFieldOptionFor]", never, { "options": { "alias": "ngxVirtualSelectFieldOptionForOf"; "required": true; }; }, {}, never, never, true, never>;
37
+ }
38
+
39
+ declare class NgxVirtualSelectFieldTriggerDirective {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxVirtualSelectFieldTriggerDirective, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgxVirtualSelectFieldTriggerDirective, "ngx-virtual-select-field-trigger", never, {}, {}, never, never, true, never>;
42
+ }
43
+
44
+ interface NgxVirtualSelectFieldOptionParent {
45
+ multiple?: boolean;
46
+ }
47
+
48
+ declare class NgxVirtualSelectFieldOptionComponent<TValue> implements Highlightable {
49
+ private _optionParent;
50
+ private _elementRef;
51
+ /**
52
+ * The value of the option.
53
+ * @required
54
+ */
55
+ value: TValue;
56
+ /**
57
+ * Whether the option is disabled.
58
+ */
59
+ disabled: boolean;
60
+ selectedChange: EventEmitter<NgxVirtualSelectFieldOptionSelectionChangeEvent<TValue>>;
61
+ protected readonly multiple: boolean;
62
+ protected readonly active: i0.WritableSignal<boolean>;
63
+ protected readonly selected: i0.WritableSignal<boolean>;
64
+ protected readonly hostNativeElement: HTMLElement;
65
+ constructor(_optionParent: NgxVirtualSelectFieldOptionParent, _elementRef: ElementRef<HTMLElement>);
66
+ setActiveStyles(): void;
67
+ setInactiveStyles(): void;
68
+ deselect(): void;
69
+ select(): void;
70
+ protected onClick(): void;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxVirtualSelectFieldOptionComponent<any>, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgxVirtualSelectFieldOptionComponent<any>, "ngx-virtual-select-field-option", never, { "value": { "alias": "value"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, ["*"], true, never>;
73
+ static ngAcceptInputType_disabled: unknown;
74
+ }
75
+ interface NgxVirtualSelectFieldOptionSelectionChangeEvent<TValue> {
76
+ source: NgxVirtualSelectFieldOptionComponent<TValue>;
77
+ value: TValue;
78
+ selected: boolean;
79
+ }
80
+
81
+ interface NgxVirtualSelectFieldConfig {
82
+ /**
83
+ * CSS class to add to the overlay element
84
+ */
85
+ overlayPanelClass?: string | string[];
86
+ /**
87
+ * Width for overlay panel
88
+ */
89
+ panelWidth?: string | number;
90
+ /**
91
+ * Height for an option element
92
+ */
93
+ optionHeight?: number;
94
+ /**
95
+ * Amount of visible items in list
96
+ */
97
+ panelViewportPageSize?: number;
98
+ /**
99
+ * Show select all checkbox when multiple selection is enabled and filterable is true
100
+ * @default true
101
+ */
102
+ showSelectAll?: boolean;
103
+ }
104
+
105
+ declare class NgxVirtualSelectFieldComponent<TValue> implements OnInit, OnDestroy, AfterContentInit, MatFormFieldControl<TValue[] | TValue>, ControlValueAccessor, NgxVirtualSelectFieldOptionParent {
106
+ private _parentFormField;
107
+ private _defaultOptions?;
108
+ userAriaDescribedBy: string;
109
+ /**
110
+ * Width for overlay panel
111
+ * @default 'auto'
112
+ */
113
+ panelWidth: string | number | null;
114
+ /**
115
+ * Height for an option element
116
+ * @default 48
117
+ */
118
+ optionHeight: number;
119
+ /**
120
+ * Amount of visible items in list
121
+ * @default 8
122
+ */
123
+ panelViewportPageSize: number;
124
+ /**
125
+ * Enable multiple selection
126
+ * @default false
127
+ */
128
+ multiple: boolean;
129
+ /**
130
+ * Tab index for keyboard navigation
131
+ * @default 0
132
+ */
133
+ tabIndex: number;
134
+ /**
135
+ * Milliseconds to wait before navigating to active element after keyboard search
136
+ * @default 300
137
+ */
138
+ typeaheadDebounceInterval: number;
139
+ /**
140
+ * CSS class to be added to the panel element
141
+ * @default none
142
+ */
143
+ panelClass: string | string[] | null;
144
+ /**
145
+ * Enable filtering of options
146
+ * @default false
147
+ */
148
+ filterable: boolean;
149
+ /**
150
+ * Placeholder text for the filter input
151
+ * @default 'Search...'
152
+ */
153
+ filterPlaceholder: string;
154
+ /**
155
+ * Show clear button in filter input
156
+ * @default true
157
+ */
158
+ filterClearable: boolean;
159
+ /**
160
+ * Show clear button in select trigger
161
+ * @default false
162
+ */
163
+ clearable: boolean;
164
+ /**
165
+ * Show loading spinner
166
+ * @default false
167
+ */
168
+ loading: boolean;
169
+ /**
170
+ * Show select all checkbox when multiple selection is enabled and filterable is true
171
+ * @default true
172
+ */
173
+ showSelectAll: boolean;
174
+ /**
175
+ * Value of the select field
176
+ * @default null
177
+ */
178
+ set value(value: TValue[] | TValue | null);
179
+ private _value;
180
+ /**
181
+ * Placeholder for the select field
182
+ * @default none
183
+ */
184
+ set placeholder(placeholder: string);
185
+ get placeholder(): string;
186
+ private _placeholder;
187
+ /**
188
+ * Define if fields is required
189
+ * @default false
190
+ */
191
+ set required(req: boolean);
192
+ get required(): boolean;
193
+ private _required;
194
+ /**
195
+ * Define if field is disabled
196
+ * @default false
197
+ */
198
+ set disabled(value: boolean);
199
+ get disabled(): boolean;
200
+ private _disabled;
201
+ /**
202
+ * Value change event
203
+ */
204
+ valueChange: i0.OutputEmitterRef<any>;
205
+ /**
206
+ * Selection change event
207
+ * Emits after value change and form control update
208
+ */
209
+ selectionChange: i0.OutputEmitterRef<NgxVirtualSelectFieldChange<TValue>>;
210
+ cdkVirtualScrollViewport: CdkVirtualScrollViewport;
211
+ cdkConnectedOverlay: CdkConnectedOverlay;
212
+ filterInput: ElementRef<HTMLInputElement> | undefined;
213
+ optionFor: NgxVirtualSelectFieldOptionForDirective<TValue>;
214
+ customTrigger: NgxVirtualSelectFieldTriggerDirective | null;
215
+ optionsQuery: QueryList<NgxVirtualSelectFieldOptionComponent<TValue>> | null;
216
+ readonly id: string;
217
+ readonly controlType = "ngx-virtual-select-field";
218
+ readonly ngControl: NgControl | null;
219
+ autofilled: boolean;
220
+ protected readonly POSITIONS: _angular_cdk_overlay_module_d.ConnectedPosition[];
221
+ protected readonly overlayPanelClass: string | string[];
222
+ protected readonly inheritedColorTheme: string;
223
+ protected readonly overlayWidth: Signal<string | number>;
224
+ protected readonly isPanelOpened: i0.WritableSignal<boolean>;
225
+ protected readonly filterText: i0.WritableSignal<string>;
226
+ protected readonly options: i0.WritableSignal<NgxVirtualSelectFieldOptionModel<TValue>[]>;
227
+ protected readonly filteredOptions: Signal<NgxVirtualSelectFieldOptionModel<TValue>[]>;
228
+ protected readonly hasOptionsToFilter: Signal<boolean>;
229
+ protected readonly hasNoFilteredResults: Signal<boolean>;
230
+ protected triggerValue$: Observable<string> | null;
231
+ protected preferredOverlayOrigin: CdkOverlayOrigin | ElementRef | undefined;
232
+ private readonly _changeDetectorRef;
233
+ private readonly _destroyRef;
234
+ private readonly _elRef;
235
+ private readonly _stateChanges;
236
+ private readonly _scrolledIndexChange;
237
+ private _onChange;
238
+ private _onTouched;
239
+ private _selectionModel;
240
+ private _keyManager;
241
+ constructor(_parentFormField: MatFormField, _defaultOptions?: NgxVirtualSelectFieldConfig | undefined);
242
+ private createOverlayWidthSignal;
243
+ private resolveOverlayWidth;
244
+ get shouldLabelFloat(): boolean;
245
+ get empty(): boolean;
246
+ get stateChanges(): Observable<void>;
247
+ get errorState(): boolean;
248
+ get focused(): boolean;
249
+ private _focused;
250
+ protected get maxPageSize(): number;
251
+ ngOnInit(): void;
252
+ ngAfterContentInit(): void;
253
+ private updateOptionSelection;
254
+ ngOnDestroy(): void;
255
+ writeValue(value: TValue[]): void;
256
+ registerOnChange(fn: (value: TValue[] | TValue) => void): void;
257
+ registerOnTouched(fn: () => void): void;
258
+ setDisabledState(isDisabled: boolean): void;
259
+ setDescribedByIds(ids: string[]): void;
260
+ onContainerClick(): void;
261
+ onOverlayAttached(): void;
262
+ private navigateToFirstSelectedOption;
263
+ protected onFocusIn(): void;
264
+ protected onFocusOut(): void;
265
+ protected optionTrackBy: TrackByFunction<NgxVirtualSelectFieldOptionModel<TValue>>;
266
+ protected onScrolledIndexChange(): void;
267
+ protected onFilterInput(event: Event): void;
268
+ protected onFilterClear(): void;
269
+ protected onClear(event: Event): void;
270
+ protected isAllSelected(): boolean;
271
+ protected isIndeterminate(): boolean;
272
+ protected onSelectAllChange(): void;
273
+ protected onFilterKeyDown(event: KeyboardEvent): void;
274
+ protected open(): void;
275
+ protected close(): void;
276
+ protected onKeyDown(event: KeyboardEvent): void;
277
+ private doPanelOpenedKeydown;
278
+ private toggleAllOptions;
279
+ private doPanelClosedKeydown;
280
+ private initListKeyManager;
281
+ private normalizeKeyManagerOptions;
282
+ private updateActiveOptionComponent;
283
+ private shouldScrollToActiveItem;
284
+ private setActiveOptionComponentByValue;
285
+ private focus;
286
+ private selectOptionByValue;
287
+ private updateRenderedOptionsState;
288
+ private findOptionByValue;
289
+ private emitValue;
290
+ private assertIsDefined;
291
+ private static nextId;
292
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxVirtualSelectFieldComponent<any>, [{ optional: true; }, { optional: true; }]>;
293
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgxVirtualSelectFieldComponent<any>, "ngx-virtual-select-field", ["ngxVirtualSelectField"], { "userAriaDescribedBy": { "alias": "aria-describedby"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "optionHeight": { "alias": "optionHeight"; "required": false; }; "panelViewportPageSize": { "alias": "panelViewportPageSize"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "typeaheadDebounceInterval": { "alias": "typeaheadDebounceInterval"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "filterClearable": { "alias": "filterClearable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; "selectionChange": "selectionChange"; }, ["optionFor", "customTrigger", "optionsQuery"], ["ngx-virtual-select-field-trigger"], true, never>;
294
+ static ngAcceptInputType_optionHeight: unknown;
295
+ static ngAcceptInputType_panelViewportPageSize: unknown;
296
+ static ngAcceptInputType_multiple: unknown;
297
+ static ngAcceptInputType_tabIndex: unknown;
298
+ static ngAcceptInputType_typeaheadDebounceInterval: unknown;
299
+ static ngAcceptInputType_filterable: unknown;
300
+ static ngAcceptInputType_filterClearable: unknown;
301
+ static ngAcceptInputType_clearable: unknown;
302
+ static ngAcceptInputType_loading: unknown;
303
+ static ngAcceptInputType_showSelectAll: unknown;
304
+ static ngAcceptInputType_required: unknown;
305
+ static ngAcceptInputType_disabled: unknown;
306
+ }
307
+ declare class NgxVirtualSelectFieldChange<TValue> {
308
+ source: NgxVirtualSelectFieldComponent<TValue>;
309
+ value: any;
310
+ constructor(source: NgxVirtualSelectFieldComponent<TValue>, value: any);
311
+ }
312
+
313
+ declare const NGX_VIRTUAL_SELECT_FIELD_CONFIG: InjectionToken<NgxVirtualSelectFieldConfig>;
314
+
315
+ declare const NgxVirtualSelectFieldBundle: readonly [typeof NgxVirtualSelectFieldComponent, typeof NgxVirtualSelectFieldOptionForDirective, typeof NgxVirtualSelectFieldTriggerDirective, typeof NgxVirtualSelectFieldOptionComponent];
316
+
317
+ export { NGX_VIRTUAL_SELECT_FIELD_CONFIG, NgxVirtualSelectFieldBundle, NgxVirtualSelectFieldChange, NgxVirtualSelectFieldComponent, NgxVirtualSelectFieldOptionComponent, NgxVirtualSelectFieldOptionForDirective, NgxVirtualSelectFieldTriggerDirective };
318
+ export type { NgxVirtualSelectFieldOptionModel };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-virtual-select-field-filterable",
3
- "version": "1.4.8",
3
+ "version": "1.4.10",
4
4
  "description": "Virtual Select Field for Angular Material",
5
5
  "keywords": [
6
6
  "angular",
@@ -18,11 +18,11 @@
18
18
  "node": "^18.13.0 || >=20.9.0"
19
19
  },
20
20
  "peerDependencies": {
21
- "@angular/common": "^19.0.0",
22
- "@angular/core": "^19.0.0",
23
- "@angular/forms": "^19.0.0",
24
- "@angular/cdk": "^19.0.0",
25
- "@angular/material": "^19.0.0",
21
+ "@angular/common": "^20.0.0",
22
+ "@angular/core": "^20.0.0",
23
+ "@angular/forms": "^20.0.0",
24
+ "@angular/cdk": "^20.0.0",
25
+ "@angular/material": "^20.0.0",
26
26
  "rxjs": "^7.4.0"
27
27
  },
28
28
  "dependencies": {
@@ -1,10 +0,0 @@
1
- import { NgxVirtualSelectFieldOptionForDirective } from './virtual-select-field-option-for';
2
- import { NgxVirtualSelectFieldComponent } from './virtual-select-field.component';
3
- import { NgxVirtualSelectFieldTriggerDirective } from './virtual-select-field-trigger';
4
- import { NgxVirtualSelectFieldOptionComponent } from './virtual-select-field-option';
5
- export { NgxVirtualSelectFieldOptionForDirective, NgxVirtualSelectFieldOptionModel, } from './virtual-select-field-option-for';
6
- export { NgxVirtualSelectFieldComponent, NgxVirtualSelectFieldChange, } from './virtual-select-field.component';
7
- export { NgxVirtualSelectFieldTriggerDirective } from './virtual-select-field-trigger';
8
- export { NgxVirtualSelectFieldOptionComponent } from './virtual-select-field-option';
9
- export { NGX_VIRTUAL_SELECT_FIELD_CONFIG } from './virtual-select-field.constants';
10
- export declare const NgxVirtualSelectFieldBundle: readonly [typeof NgxVirtualSelectFieldComponent, typeof NgxVirtualSelectFieldOptionForDirective, typeof NgxVirtualSelectFieldTriggerDirective, typeof NgxVirtualSelectFieldOptionComponent];
@@ -1,7 +0,0 @@
1
- export declare const ARROW_DOWN_KEY = "ArrowDown";
2
- export declare const ARROW_UP_KEY = "ArrowUp";
3
- export declare const ARROW_RIGHT_KEY = "ArrowRight";
4
- export declare const ARROW_LEFT_KEY = "ArrowLeft";
5
- export declare const ENTER_CODE = "Enter";
6
- export declare const SPACE_CODE = "Space";
7
- export declare const KEY_A_CODE = "KeyA";
@@ -1,3 +0,0 @@
1
- export { NgxVirtualSelectFieldOptionComponent } from './virtual-select-field-option.component';
2
- export { NgxVirtualSelectFieldOptionParent, NGX_VIRTUAL_SELECT_FIELD_OPTION_PARENT, } from './virtual-select-field-option.models';
3
- export { NgxVirtualSelectFieldOptionSelectionChangeEvent } from './virtual-select-field-option.component';
@@ -1,36 +0,0 @@
1
- import { EventEmitter, ElementRef } from '@angular/core';
2
- import { NgxVirtualSelectFieldOptionParent } from './virtual-select-field-option.models';
3
- import { Highlightable } from '@angular/cdk/a11y';
4
- import * as i0 from "@angular/core";
5
- export declare class NgxVirtualSelectFieldOptionComponent<TValue> implements Highlightable {
6
- private _optionParent;
7
- private _elementRef;
8
- /**
9
- * The value of the option.
10
- * @required
11
- */
12
- value: TValue;
13
- /**
14
- * Whether the option is disabled.
15
- */
16
- disabled: boolean;
17
- selectedChange: EventEmitter<NgxVirtualSelectFieldOptionSelectionChangeEvent<TValue>>;
18
- protected readonly multiple: boolean;
19
- protected readonly active: import("@angular/core").WritableSignal<boolean>;
20
- protected readonly selected: import("@angular/core").WritableSignal<boolean>;
21
- protected readonly hostNativeElement: HTMLElement;
22
- constructor(_optionParent: NgxVirtualSelectFieldOptionParent, _elementRef: ElementRef<HTMLElement>);
23
- setActiveStyles(): void;
24
- setInactiveStyles(): void;
25
- deselect(): void;
26
- select(): void;
27
- protected onClick(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxVirtualSelectFieldOptionComponent<any>, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<NgxVirtualSelectFieldOptionComponent<any>, "ngx-virtual-select-field-option", never, { "value": { "alias": "value"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, ["*"], true, never>;
30
- static ngAcceptInputType_disabled: unknown;
31
- }
32
- export interface NgxVirtualSelectFieldOptionSelectionChangeEvent<TValue> {
33
- source: NgxVirtualSelectFieldOptionComponent<TValue>;
34
- value: TValue;
35
- selected: boolean;
36
- }
@@ -1,5 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export interface NgxVirtualSelectFieldOptionParent {
3
- multiple?: boolean;
4
- }
5
- export declare const NGX_VIRTUAL_SELECT_FIELD_OPTION_PARENT: InjectionToken<NgxVirtualSelectFieldOptionParent>;
@@ -1,2 +0,0 @@
1
- export { NgxVirtualSelectFieldOptionForDirective } from './virtual-select-field-option-for.directive';
2
- export { NgxVirtualSelectFieldOptionModel } from './virtual-select-field-option-for.models';
@@ -1,17 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { BehaviorSubject } from 'rxjs';
3
- import { NgxVirtualSelectFieldOptionModel, NgxVirtualSelectFieldOptionTemplateContextModel } from './virtual-select-field-option-for.models';
4
- import * as i0 from "@angular/core";
5
- export declare class NgxVirtualSelectFieldOptionForDirective<TValue> {
6
- template: TemplateRef<NgxVirtualSelectFieldOptionTemplateContextModel<TValue>>;
7
- /**
8
- * The options collection to render.
9
- * @required
10
- */
11
- set options(options: NgxVirtualSelectFieldOptionModel<TValue>[]);
12
- options$: BehaviorSubject<NgxVirtualSelectFieldOptionModel<TValue>[]>;
13
- constructor(template: TemplateRef<NgxVirtualSelectFieldOptionTemplateContextModel<TValue>>);
14
- static ngTemplateContextGuard<TValue>(_dir: NgxVirtualSelectFieldOptionForDirective<TValue>, ctx: unknown): ctx is NgxVirtualSelectFieldOptionTemplateContextModel<TValue>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxVirtualSelectFieldOptionForDirective<any>, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgxVirtualSelectFieldOptionForDirective<any>, "[ngxVirtualSelectFieldOptionFor]", never, { "options": { "alias": "ngxVirtualSelectFieldOptionForOf"; "required": true; }; }, {}, never, never, true, never>;
17
- }
@@ -1,14 +0,0 @@
1
- import { ListKeyManagerOption } from '@angular/cdk/a11y';
2
- export interface NgxVirtualSelectFieldOptionModel<TValue> extends ListKeyManagerOption {
3
- /**
4
- * The visible text of the option.
5
- */
6
- label: string;
7
- /**
8
- * The value of the option.
9
- */
10
- value: TValue;
11
- }
12
- export interface NgxVirtualSelectFieldOptionTemplateContextModel<TValue> {
13
- $implicit: NgxVirtualSelectFieldOptionModel<TValue>;
14
- }
@@ -1 +0,0 @@
1
- export { NgxVirtualSelectFieldTriggerDirective, NGX_VIRTUAL_SELECT_FIELD_TRIGGER, } from './virtual-select-field-trigger.directive';
@@ -1,7 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare const NGX_VIRTUAL_SELECT_FIELD_TRIGGER: InjectionToken<NgxVirtualSelectFieldTriggerDirective>;
4
- export declare class NgxVirtualSelectFieldTriggerDirective {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxVirtualSelectFieldTriggerDirective, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgxVirtualSelectFieldTriggerDirective, "ngx-virtual-select-field-trigger", never, {}, {}, never, never, true, never>;
7
- }