@evotor-dev/ui-kit 6.18.0 → 6.19.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/evotor-dev-ui-kit.umd.js +101 -123
- package/bundles/evotor-dev-ui-kit.umd.js.map +1 -1
- package/esm2015/lib/components/evo-autocomplete/components/evo-autocomplete/evo-autocomplete.component.js +7 -3
- package/esm2015/lib/components/evo-checkbox/evo-checkbox.component.js +10 -16
- package/esm2015/lib/components/evo-chip/evo-chip.component.js +33 -29
- package/esm2015/lib/components/evo-input/evo-input.component.js +11 -9
- package/esm2015/lib/components/evo-textarea/evo-textarea.component.js +35 -26
- package/esm2015/lib/components/evo-textarea/evo-textarea.module.js +5 -22
- package/esm2015/lib/components/evo-toggle/evo-toggle.component.js +13 -15
- package/fesm2015/evotor-dev-ui-kit.js +99 -105
- package/fesm2015/evotor-dev-ui-kit.js.map +1 -1
- package/lib/components/evo-autocomplete/components/evo-autocomplete/evo-autocomplete.component.d.ts +1 -0
- package/lib/components/evo-checkbox/evo-checkbox.component.d.ts +4 -6
- package/lib/components/evo-chip/evo-chip.component.d.ts +9 -5
- package/lib/components/evo-input/evo-input.component.d.ts +3 -2
- package/lib/components/evo-textarea/evo-textarea.component.d.ts +10 -8
- package/lib/components/evo-textarea/evo-textarea.module.d.ts +3 -4
- package/lib/components/evo-toggle/evo-toggle.component.d.ts +4 -5
- package/package.json +1 -1
package/lib/components/evo-autocomplete/components/evo-autocomplete/evo-autocomplete.component.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ export declare class EvoAutocompleteComponent implements ControlValueAccessor, A
|
|
|
111
111
|
close(): void;
|
|
112
112
|
onFocus(event: FocusEvent): void;
|
|
113
113
|
onBlur(event: FocusEvent): void;
|
|
114
|
+
handleChange(value: any): void;
|
|
114
115
|
onClearClick(): void;
|
|
115
116
|
protected _onChange: (value: any) => void;
|
|
116
117
|
protected _onTouched: () => void;
|
|
@@ -4,22 +4,20 @@ import { EvoBaseControl } from '../../common/evo-base-control';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class EvoCheckboxComponent extends EvoBaseControl implements ControlValueAccessor {
|
|
6
6
|
protected injector: Injector;
|
|
7
|
-
private cdr;
|
|
7
|
+
private readonly cdr;
|
|
8
8
|
set setIndeterminate(value: any);
|
|
9
9
|
indeterminateChange: EventEmitter<boolean>;
|
|
10
10
|
inputElement: ElementRef;
|
|
11
11
|
indeterminate: any;
|
|
12
12
|
disabled: boolean;
|
|
13
|
-
|
|
13
|
+
value: boolean;
|
|
14
14
|
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
15
|
-
onChange(
|
|
15
|
+
onChange(_value: boolean): void;
|
|
16
16
|
onTouched(): void;
|
|
17
|
-
get value(): boolean;
|
|
18
|
-
set value(value: boolean);
|
|
19
17
|
get checkboxClass(): {
|
|
20
18
|
invalid: boolean;
|
|
21
19
|
};
|
|
22
|
-
onInputChange(value:
|
|
20
|
+
onInputChange(value: boolean): void;
|
|
23
21
|
writeValue(value: boolean): void;
|
|
24
22
|
registerOnChange(fn: any): void;
|
|
25
23
|
registerOnTouched(fn: any): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, Injector, OnInit, OnDestroy } 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";
|
|
@@ -11,7 +11,9 @@ export declare enum EvoChipTheme {
|
|
|
11
11
|
grey = "grey",
|
|
12
12
|
white = "white"
|
|
13
13
|
}
|
|
14
|
-
export declare class EvoChipComponent extends EvoBaseControl implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
14
|
+
export declare class EvoChipComponent extends EvoBaseControl implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
|
|
15
|
+
protected injector: Injector;
|
|
16
|
+
private readonly cdr;
|
|
15
17
|
type: EvoChipType | string;
|
|
16
18
|
theme: EvoChipTheme | string;
|
|
17
19
|
counter: number;
|
|
@@ -22,19 +24,21 @@ export declare class EvoChipComponent extends EvoBaseControl implements ControlV
|
|
|
22
24
|
set setInitialValue(value: any);
|
|
23
25
|
close: EventEmitter<Event>;
|
|
24
26
|
inheritedValue: any;
|
|
27
|
+
value: any;
|
|
25
28
|
templateVariables: {
|
|
26
29
|
chipTypes: typeof EvoChipType;
|
|
27
30
|
chipThemes: typeof EvoChipTheme;
|
|
28
31
|
};
|
|
29
|
-
private
|
|
32
|
+
private readonly destroy$;
|
|
33
|
+
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
30
34
|
get classes(): string[];
|
|
31
|
-
get value(): any;
|
|
32
|
-
set value(value: any);
|
|
33
35
|
ngOnInit(): void;
|
|
34
36
|
ngAfterViewInit(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
35
38
|
writeValue(value: any): void;
|
|
36
39
|
registerOnChange(fn: any): void;
|
|
37
40
|
registerOnTouched(fn: any): void;
|
|
41
|
+
setDisabledState(state: boolean): void;
|
|
38
42
|
onInputChange(value: any): void;
|
|
39
43
|
onCloseClick(e: Event): void;
|
|
40
44
|
private initDefaultParams;
|
|
@@ -65,14 +65,15 @@ export declare class EvoInputComponent extends EvoBaseControl implements Control
|
|
|
65
65
|
ngOnInit(): void;
|
|
66
66
|
ngOnDestroy(): void;
|
|
67
67
|
ngOnChanges(changes: SimpleChanges): void;
|
|
68
|
-
onChange(
|
|
69
|
-
onTouched()
|
|
68
|
+
onChange: (_value: any) => void;
|
|
69
|
+
onTouched: () => void;
|
|
70
70
|
ngAfterViewInit(): void;
|
|
71
71
|
writeToElement(value: any): void;
|
|
72
72
|
writeValue(value: any): void;
|
|
73
73
|
registerOnChange(fn: any): void;
|
|
74
74
|
registerOnTouched(fn: any): void;
|
|
75
75
|
setDisabledState(state: boolean): void;
|
|
76
|
+
onInputChange(value: string): void;
|
|
76
77
|
onFocus(): void;
|
|
77
78
|
onBlur(): void;
|
|
78
79
|
onTooltipClick(event: any): void;
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, ChangeDetectorRef, Injector } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
4
|
import { EvoTextareaSize } from './types/evo-textarea-size';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class EvoTextareaComponent extends EvoBaseControl implements ControlValueAccessor {
|
|
7
|
+
protected injector: Injector;
|
|
8
|
+
private readonly cdr;
|
|
7
9
|
size: EvoTextareaSize;
|
|
8
10
|
placeholder: string;
|
|
9
11
|
rows: number;
|
|
10
12
|
blur: EventEmitter<void>;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
value: string;
|
|
14
|
+
private _focused;
|
|
15
|
+
private _disabled;
|
|
16
|
+
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
15
17
|
get textareaClasses(): {
|
|
16
18
|
[cssClass: string]: boolean;
|
|
17
19
|
};
|
|
18
|
-
|
|
20
|
+
handleOnChange(event: Event): void;
|
|
19
21
|
onFocus(): void;
|
|
20
22
|
onBlur(): void;
|
|
21
23
|
onChange: (_: any) => void;
|
|
22
24
|
onTouched: () => void;
|
|
23
|
-
registerOnChange(fn:
|
|
24
|
-
registerOnTouched(fn:
|
|
25
|
+
registerOnChange(fn: never): void;
|
|
26
|
+
registerOnTouched(fn: never): void;
|
|
25
27
|
setDisabledState(isDisabled: boolean): void;
|
|
26
28
|
writeValue(value: string): void;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoTextareaComponent, never>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./evo-textarea.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "../evo-control-error/evo-control-error.module";
|
|
4
|
+
import * as i3 from "../../evo-ui-kit.module";
|
|
5
|
+
import * as i4 from "../evo-control-error/evo-control-error.module";
|
|
7
6
|
export declare class EvoTextareaModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoTextareaModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoTextareaModule, [typeof i1.EvoTextareaComponent], [typeof i2.CommonModule, typeof i3.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoTextareaModule, [typeof i1.EvoTextareaComponent], [typeof i2.CommonModule, typeof i3.EvoUiKitModule, typeof i4.EvoControlErrorModule], [typeof i1.EvoTextareaComponent]>;
|
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<EvoTextareaModule>;
|
|
11
10
|
}
|
|
@@ -2,15 +2,14 @@ import { ChangeDetectorRef } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class EvoToggleComponent implements ControlValueAccessor {
|
|
5
|
-
private changeDetector;
|
|
5
|
+
private readonly changeDetector;
|
|
6
6
|
isDisabled: boolean;
|
|
7
|
-
|
|
7
|
+
value: boolean;
|
|
8
8
|
constructor(changeDetector: ChangeDetectorRef);
|
|
9
|
-
get value(): boolean;
|
|
10
|
-
set value(value: boolean);
|
|
11
9
|
get totalClasses(): string[];
|
|
12
|
-
onChange: (_value:
|
|
10
|
+
onChange: (_value: boolean) => void;
|
|
13
11
|
onTouched: () => void;
|
|
12
|
+
handleChange(value: boolean): void;
|
|
14
13
|
writeValue(value: any): void;
|
|
15
14
|
registerOnChange(fn: any): void;
|
|
16
15
|
registerOnTouched(fn: any): void;
|