@evotor-dev/ui-kit 8.20.0 → 8.21.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/esm2022/lib/components/evo-autocomplete/components/evo-autocomplete/evo-autocomplete.component.mjs +3 -4
- package/esm2022/lib/components/evo-chip/evo-chip.component.mjs +15 -21
- package/esm2022/lib/components/evo-input/evo-input.component.mjs +15 -8
- package/fesm2022/evotor-dev-ui-kit.mjs +29 -28
- package/fesm2022/evotor-dev-ui-kit.mjs.map +1 -1
- package/lib/components/evo-chip/evo-chip.component.d.ts +4 -7
- package/lib/components/evo-input/evo-input.component.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -12,9 +12,7 @@ export declare enum EvoChipTheme {
|
|
|
12
12
|
white = "white",
|
|
13
13
|
custom = "custom"
|
|
14
14
|
}
|
|
15
|
-
export declare class EvoChipComponent extends EvoBaseControl implements ControlValueAccessor, OnInit, AfterViewInit
|
|
16
|
-
protected injector: Injector;
|
|
17
|
-
private readonly cdr;
|
|
15
|
+
export declare class EvoChipComponent extends EvoBaseControl implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
18
16
|
type: EvoChipType | string;
|
|
19
17
|
theme: EvoChipTheme | string;
|
|
20
18
|
counter: number;
|
|
@@ -30,12 +28,11 @@ export declare class EvoChipComponent extends EvoBaseControl implements ControlV
|
|
|
30
28
|
chipTypes: typeof EvoChipType;
|
|
31
29
|
chipThemes: typeof EvoChipTheme;
|
|
32
30
|
};
|
|
33
|
-
private readonly
|
|
34
|
-
|
|
31
|
+
private readonly destroyRef;
|
|
32
|
+
private readonly cdr;
|
|
35
33
|
get classes(): string[];
|
|
36
34
|
ngOnInit(): void;
|
|
37
35
|
ngAfterViewInit(): void;
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
36
|
writeValue(value: any): void;
|
|
40
37
|
registerOnChange(fn: any): void;
|
|
41
38
|
registerOnTouched(fn: any): void;
|
|
@@ -50,7 +50,7 @@ export declare class EvoInputComponent extends EvoBaseControl implements Control
|
|
|
50
50
|
/** Whether the user is creating a composition string (IME events). */
|
|
51
51
|
private _composing;
|
|
52
52
|
constructor(zone: NgZone, changeDetector: ChangeDetectorRef, _renderer: Renderer2, _compositionMode: boolean, injector: Injector);
|
|
53
|
-
set setValue(value:
|
|
53
|
+
set setValue(value: string);
|
|
54
54
|
set setSize(size: EvoInputSizes | string);
|
|
55
55
|
set setTheme(theme: string | EvoInputTheme);
|
|
56
56
|
get isDisabled(): boolean;
|
|
@@ -84,13 +84,13 @@ export declare class EvoInputComponent extends EvoBaseControl implements Control
|
|
|
84
84
|
showTooltip(): void;
|
|
85
85
|
_compositionStart(): void;
|
|
86
86
|
_compositionEnd(value: any): void;
|
|
87
|
+
validate(): {
|
|
88
|
+
mask: true;
|
|
89
|
+
} | null;
|
|
87
90
|
private removePrefix;
|
|
88
91
|
private createMaskInstance;
|
|
89
92
|
private destroyMask;
|
|
90
93
|
private checkCustomTooltip;
|
|
91
|
-
validate(): {
|
|
92
|
-
mask: boolean;
|
|
93
|
-
};
|
|
94
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoInputComponent, [null, null, null, { optional: true; }, null]>;
|
|
95
95
|
static ɵcmp: i0.ɵɵComponentDeclaration<EvoInputComponent, "evo-input", never, { "autoFocus": { "alias": "autoFocus"; "required": false; }; "dataCp": { "alias": "data-cp"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "inputDebounce": { "alias": "inputDebounce"; "required": false; }; "unmask": { "alias": "unmask"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "maskValidation": { "alias": "maskValidation"; "required": false; }; "setValue": { "alias": "value"; "required": false; }; "setSize": { "alias": "size"; "required": false; }; "setTheme": { "alias": "theme"; "required": false; }; }, { "blur": "blur"; "onFocus": "onFocus"; }, never, ["[evoInputPrefixContent]", "[evoInputIcon]", "[tooltip]"], true, never>;
|
|
96
96
|
}
|