@fundamental-ngx/ui5-webcomponents-ai 0.58.0-rc.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.
@@ -0,0 +1,23 @@
1
+ import * as i0 from '@angular/core';
2
+ import { AfterViewInit } from '@angular/core';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+
5
+ declare class GenericControlValueAccessor<ValueType = any> implements ControlValueAccessor, AfterViewInit {
6
+ onChange: (val: ValueType) => void;
7
+ onTouched: () => void;
8
+ private elementRef;
9
+ private cdr;
10
+ private _value;
11
+ private _initialized;
12
+ ngAfterViewInit(): void;
13
+ setDisabledState: (isDisabled: boolean) => void;
14
+ registerOnChange(fn: (newVal: ValueType) => void): void;
15
+ registerOnTouched(fn: () => void): void;
16
+ writeValue(val: ValueType): void;
17
+ private initializeComponent;
18
+ private updateElementValue;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenericControlValueAccessor<any>, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GenericControlValueAccessor<any>, "[noop]", never, {}, {}, never, never, true, never>;
21
+ }
22
+
23
+ export { GenericControlValueAccessor };