@klippa/ngx-enhancy-forms 9.1.2 → 9.2.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.
- package/bundles/klippa-ngx-enhancy-forms.umd.js +14 -3
- package/bundles/klippa-ngx-enhancy-forms.umd.js.map +1 -1
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js +1 -1
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js.map +1 -1
- package/esm2015/lib/elements/select/select.component.js +15 -5
- package/fesm2015/klippa-ngx-enhancy-forms.js +14 -4
- package/fesm2015/klippa-ngx-enhancy-forms.js.map +1 -1
- package/klippa-ngx-enhancy-forms.metadata.json +1 -1
- package/lib/elements/select/select.component.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, InjectionToken, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, InjectionToken, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlContainer } from '@angular/forms';
|
|
3
3
|
import { ValueAccessorBase } from '../value-accessor-base/value-accessor-base.component';
|
|
4
4
|
import { FormElementComponent } from '../../form/form-element/form-element.component';
|
|
@@ -15,6 +15,7 @@ export declare class SelectComponent extends ValueAccessorBase<string | string[]
|
|
|
15
15
|
protected parent: FormElementComponent;
|
|
16
16
|
protected controlContainer: ControlContainer;
|
|
17
17
|
private translations;
|
|
18
|
+
private elRef;
|
|
18
19
|
placeholder: string;
|
|
19
20
|
options: AppSelectOptions;
|
|
20
21
|
multiple: boolean;
|
|
@@ -29,12 +30,14 @@ export declare class SelectComponent extends ValueAccessorBase<string | string[]
|
|
|
29
30
|
footerElement: TemplateRef<any>;
|
|
30
31
|
onSearch: EventEmitter<string>;
|
|
31
32
|
onEndReached: EventEmitter<void>;
|
|
33
|
+
onOpened: EventEmitter<void>;
|
|
32
34
|
ngSelect: any;
|
|
33
35
|
private lastItemIndexReached;
|
|
34
|
-
constructor(parent: FormElementComponent, controlContainer: ControlContainer, translations: any);
|
|
36
|
+
constructor(parent: FormElementComponent, controlContainer: ControlContainer, translations: any, elRef: ElementRef);
|
|
35
37
|
ngOnChanges(changes: SimpleChanges): void;
|
|
36
38
|
getDefaultTranslation(key: string): (x: any) => string;
|
|
37
39
|
getTranslation(key: string, params?: any): string;
|
|
38
40
|
onScroll(lastItemIndex: number): void;
|
|
39
41
|
searchQueryChanged(searchQuery: string): void;
|
|
42
|
+
onOpen(): void;
|
|
40
43
|
}
|