@klippa/ngx-enhancy-forms 11.3.0 → 11.5.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.
@@ -6,7 +6,7 @@ export declare class FileInputComponent extends MultipleValueAccessorBase<File>
6
6
  clearable: boolean;
7
7
  onlyShowUploadButton: boolean;
8
8
  useFullParentSize: boolean;
9
- fileInputEl: ElementRef<HTMLInputElement>;
9
+ nativeInputRef: ElementRef<HTMLInputElement>;
10
10
  onChange(files: FileList): void;
11
11
  getFileNames(): string;
12
12
  shouldShowClearButton(): boolean;
@@ -38,6 +38,8 @@ export declare class SelectComponent extends ValueAccessorBase<string | string[]
38
38
  onSearch: EventEmitter<string>;
39
39
  onEndReached: EventEmitter<void>;
40
40
  onOpened: EventEmitter<void>;
41
+ onBlur: EventEmitter<void>;
42
+ onClear: EventEmitter<void>;
41
43
  ngSelect: any;
42
44
  customOptionTpl: TemplateRef<any>;
43
45
  private lastItemIndexReached;
@@ -48,6 +50,7 @@ export declare class SelectComponent extends ValueAccessorBase<string | string[]
48
50
  onScroll(lastItemIndex: number): void;
49
51
  searchQueryChanged(searchQuery: string): void;
50
52
  onOpen(): void;
53
+ focus: () => void;
51
54
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, [{ optional: true; host: true; }, { optional: true; host: true; }, { optional: true; }, null]>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "klp-form-select", never, { "placeholder": "placeholder"; "orientation": "orientation"; "options": "options"; "multiple": "multiple"; "multipleDisplayedAsAmount": "multipleDisplayedAsAmount"; "clearable": "clearable"; "truncateOptions": "truncateOptions"; "dropdownPosition": "dropdownPosition"; "customSearchFn": "customSearchFn"; "footerElement": "footerElement"; }, { "onSearch": "onSearch"; "onEndReached": "onEndReached"; "onOpened": "onOpened"; }, ["customOptionTpl"], never, false>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "klp-form-select", never, { "placeholder": "placeholder"; "orientation": "orientation"; "options": "options"; "multiple": "multiple"; "multipleDisplayedAsAmount": "multipleDisplayedAsAmount"; "clearable": "clearable"; "truncateOptions": "truncateOptions"; "dropdownPosition": "dropdownPosition"; "customSearchFn": "customSearchFn"; "footerElement": "footerElement"; }, { "onSearch": "onSearch"; "onEndReached": "onEndReached"; "onOpened": "onOpened"; "onBlur": "onBlur"; "onClear": "onClear"; }, ["customOptionTpl"], never, false>;
53
56
  }
@@ -1,5 +1,5 @@
1
1
  import { ControlContainer, ControlValueAccessor, UntypedFormControl } from '@angular/forms';
2
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
3
3
  import { FormElementComponent } from '../../form/form-element/form-element.component';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
@@ -24,6 +24,7 @@ export declare class ValueAccessorBase<T> implements ControlValueAccessor, OnIni
24
24
  formControlName: string;
25
25
  formControl: UntypedFormControl;
26
26
  onTouch: EventEmitter<void>;
27
+ nativeInputRef: ElementRef;
27
28
  private attachedFormControl;
28
29
  private validators;
29
30
  constructor(parent: FormElementComponent, controlContainer: ControlContainer);
@@ -37,6 +38,7 @@ export declare class ValueAccessorBase<T> implements ControlValueAccessor, OnIni
37
38
  setInnerValueAndNotify(value: T): void;
38
39
  resetToNull(): void;
39
40
  hasValidator(validatorName: string): boolean;
41
+ focus: () => void;
40
42
  static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessorBase<any>, [{ optional: true; host: true; }, { optional: true; host: true; }]>;
41
43
  static ɵcmp: i0.ɵɵComponentDeclaration<ValueAccessorBase<any>, "ng-component", never, { "disabled": "disabled"; "innerValueChangeInterceptor": "innerValueChangeInterceptor"; "formControlName": "formControlName"; "formControl": "formControl"; }, { "onTouch": "onTouch"; }, never, never, false>;
42
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klippa/ngx-enhancy-forms",
3
- "version": "11.3.0",
3
+ "version": "11.5.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },