@klippa/ngx-enhancy-forms 14.16.3 → 14.17.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.
- package/esm2020/lib/elementIsTruncatedCb.component.mjs +1 -6
- package/esm2020/lib/elements/date-time-picker/date-time-picker.component.mjs +3 -3
- package/esm2020/lib/elements/email/email-input.component.mjs +5 -4
- package/esm2020/lib/elements/file-input/file-input.component.mjs +3 -3
- package/esm2020/lib/elements/hour-minute-input/hour-minute-input.component.mjs +3 -3
- package/esm2020/lib/elements/select/select.component.mjs +14 -3
- package/esm2020/lib/elements/value-accessor-base/value-accessor-base.component.mjs +7 -2
- package/esm2020/lib/form/form-element/form-element.component.mjs +2 -2
- package/fesm2015/klippa-ngx-enhancy-forms.mjs +29 -18
- package/fesm2015/klippa-ngx-enhancy-forms.mjs.map +1 -1
- package/fesm2020/klippa-ngx-enhancy-forms.mjs +29 -18
- package/fesm2020/klippa-ngx-enhancy-forms.mjs.map +1 -1
- package/lib/elementIsTruncatedCb.component.d.ts +0 -1
- package/lib/elements/select/select.component.d.ts +2 -0
- package/lib/elements/value-accessor-base/value-accessor-base.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -5,7 +5,6 @@ export declare class ElementIsTruncatedCbComponent implements AfterViewInit {
|
|
|
5
5
|
elementIsTruncatedCb: (isTruncated: boolean) => void;
|
|
6
6
|
constructor(elementRef: ElementRef);
|
|
7
7
|
ngAfterViewInit(): void;
|
|
8
|
-
ngOnDestroy(): void;
|
|
9
8
|
private checkForTruncation;
|
|
10
9
|
private isTruncated;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElementIsTruncatedCbComponent, never>;
|
|
@@ -47,6 +47,7 @@ export declare class SelectComponent extends ValueAccessorBase<string | string[]
|
|
|
47
47
|
onClear: EventEmitter<void>;
|
|
48
48
|
onEnterKey: EventEmitter<string>;
|
|
49
49
|
ngSelect: any;
|
|
50
|
+
tailRef: ElementRef;
|
|
50
51
|
customOptionTpl: TemplateRef<any>;
|
|
51
52
|
private lastItemIndexReached;
|
|
52
53
|
dropdownPositionToUse: 'auto' | 'bottom' | 'top' | 'left' | 'right';
|
|
@@ -58,6 +59,7 @@ export declare class SelectComponent extends ValueAccessorBase<string | string[]
|
|
|
58
59
|
constructor(parent: FormElementComponent, controlContainer: ControlContainer, translations: any, elRef: ElementRef);
|
|
59
60
|
ngAfterViewInit(): void;
|
|
60
61
|
private keyListener;
|
|
62
|
+
private addTail;
|
|
61
63
|
private addPrefix;
|
|
62
64
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
63
65
|
getDefaultTranslation(key: string): (x: any) => string;
|
|
@@ -24,6 +24,7 @@ export declare class ValueAccessorBase<T> implements ControlValueAccessor, OnIni
|
|
|
24
24
|
formControlName: string;
|
|
25
25
|
formControl: UntypedFormControl;
|
|
26
26
|
inErrorState: boolean;
|
|
27
|
+
getTailTplFn: () => TemplateRef<any>;
|
|
27
28
|
onTouch: EventEmitter<void>;
|
|
28
29
|
nativeInputRef: ElementRef;
|
|
29
30
|
private attachedFormControl;
|
|
@@ -43,5 +44,5 @@ export declare class ValueAccessorBase<T> implements ControlValueAccessor, OnIni
|
|
|
43
44
|
setTailTpl: (tpl: TemplateRef<any>) => void;
|
|
44
45
|
getTailTpl: () => TemplateRef<any>;
|
|
45
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessorBase<any>, [{ optional: true; host: true; }, { optional: true; host: true; }]>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValueAccessorBase<any>, "ng-component", never, { "disabled": "disabled"; "innerValueChangeInterceptor": "innerValueChangeInterceptor"; "formControlName": "formControlName"; "formControl": "formControl"; "inErrorState": "inErrorState"; }, { "onTouch": "onTouch"; }, never, never, false>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ValueAccessorBase<any>, "ng-component", never, { "disabled": "disabled"; "innerValueChangeInterceptor": "innerValueChangeInterceptor"; "formControlName": "formControlName"; "formControl": "formControl"; "inErrorState": "inErrorState"; "getTailTplFn": "getTailTplFn"; }, { "onTouch": "onTouch"; }, never, never, false>;
|
|
47
48
|
}
|