@evotor-dev/ui-kit 7.11.1 → 7.13.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/esm2020/lib/common/evo-base-control.mjs +1 -1
- package/esm2020/lib/components/evo-autocomplete/components/evo-autocomplete/evo-autocomplete.component.mjs +8 -4
- package/esm2020/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs +2 -2
- package/esm2020/lib/components/evo-checkbox/evo-checkbox.component.mjs +10 -16
- package/esm2020/lib/components/evo-chip/evo-chip.component.mjs +32 -26
- package/esm2020/lib/components/evo-datepicker/evo-datepicker.component.mjs +2 -2
- package/esm2020/lib/components/evo-icon-button/evo-icon-button.component.mjs +2 -2
- package/esm2020/lib/components/evo-input/evo-input.component.mjs +30 -27
- package/esm2020/lib/components/evo-link-button/evo-link-button.component.mjs +37 -0
- package/esm2020/lib/components/evo-link-button/evo-link-button.module.mjs +18 -0
- package/esm2020/lib/components/evo-link-button/index.mjs +2 -0
- package/esm2020/lib/components/evo-link-button/public-api.mjs +3 -0
- package/esm2020/lib/components/evo-loader/evo-circular-loader.component.mjs +2 -2
- package/esm2020/lib/components/evo-textarea/evo-textarea.component.mjs +34 -27
- package/esm2020/lib/components/evo-textarea/evo-textarea.module.mjs +5 -22
- package/esm2020/lib/components/evo-toggle/evo-toggle.component.mjs +14 -16
- package/esm2020/public_api.mjs +2 -1
- package/fesm2015/evotor-dev-ui-kit.mjs +175 -132
- package/fesm2015/evotor-dev-ui-kit.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit.mjs +175 -132
- package/fesm2020/evotor-dev-ui-kit.mjs.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 +3 -5
- package/lib/components/evo-chip/evo-chip.component.d.ts +9 -5
- package/lib/components/evo-input/evo-input.component.d.ts +6 -5
- package/lib/components/evo-link-button/evo-link-button.component.d.ts +10 -0
- package/lib/components/evo-link-button/evo-link-button.module.d.ts +8 -0
- package/lib/components/evo-link-button/index.d.ts +1 -0
- package/lib/components/evo-link-button/public-api.d.ts +2 -0
- 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/public_api.d.ts +1 -0
- package/styles/keyframes.scss +18 -0
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;
|
|
@@ -10,16 +10,14 @@ export declare class EvoCheckboxComponent extends EvoBaseControl implements Cont
|
|
|
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;
|
|
@@ -81,13 +82,13 @@ export declare class EvoInputComponent extends EvoBaseControl implements Control
|
|
|
81
82
|
showTooltip(): void;
|
|
82
83
|
_compositionStart(): void;
|
|
83
84
|
_compositionEnd(value: any): void;
|
|
85
|
+
validate(): {
|
|
86
|
+
mask: boolean;
|
|
87
|
+
} | null;
|
|
84
88
|
private removePrefix;
|
|
85
89
|
private createMaskInstance;
|
|
86
90
|
private destroyMask;
|
|
87
91
|
private checkCustomTooltip;
|
|
88
|
-
validate(): {
|
|
89
|
-
mask: boolean;
|
|
90
|
-
};
|
|
91
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoInputComponent, [null, null, null, { optional: true; }, null]>;
|
|
92
93
|
static ɵcmp: i0.ɵɵComponentDeclaration<EvoInputComponent, "evo-input", never, { "autoFocus": "autoFocus"; "dataCp": "data-cp"; "icon": "icon"; "mask": "mask"; "placeholder": "placeholder"; "tooltip": "tooltip"; "type": "type"; "disabled": "disabled"; "loading": "loading"; "prefix": "prefix"; "autocomplete": "autocomplete"; "inputDebounce": "inputDebounce"; "unmask": "unmask"; "clearable": "clearable"; "maskValidation": "maskValidation"; "setValue": "value"; "setSize": "size"; "setTheme": "theme"; }, { "blur": "blur"; }, never, ["[evoInputPrefixContent]", "[evoInputIcon]", "[tooltip]"]>;
|
|
93
94
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class EvoLinkButtonComponent {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
loadingLabel: string;
|
|
6
|
+
get isDisabled(): boolean;
|
|
7
|
+
getContainerClasses(containerClass: string): string[];
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoLinkButtonComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoLinkButtonComponent, "button[evo-link-button], a[evo-link-button]", never, { "disabled": "disabled"; "loading": "loading"; "loadingLabel": "loadingLabel"; }, {}, never, ["*"]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./evo-link-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class EvoLinkButtonModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoLinkButtonModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoLinkButtonModule, [typeof i1.EvoLinkButtonComponent], [typeof i2.CommonModule], [typeof i1.EvoLinkButtonComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EvoLinkButtonModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -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;
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export * from './lib/components/evo-dropdown/index';
|
|
|
52
52
|
export * from './lib/components/evo-navbar/index';
|
|
53
53
|
export * from './lib/components/evo-navigation-button/index';
|
|
54
54
|
export * from './lib/components/evo-tooltip/index';
|
|
55
|
+
export * from './lib/components/evo-link-button/index';
|
|
55
56
|
export * from './lib/pipes/index';
|
|
56
57
|
export * from './lib/services/index';
|
|
57
58
|
export * from './lib/components/evo-portal/index';
|
package/styles/keyframes.scss
CHANGED
|
@@ -35,3 +35,21 @@ $animation-speed: 1000ms;
|
|
|
35
35
|
background-position: 100vw 50%;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
+
|
|
39
|
+
@keyframes evo-ellipsis-animation {
|
|
40
|
+
0% {
|
|
41
|
+
content: '';
|
|
42
|
+
}
|
|
43
|
+
25% {
|
|
44
|
+
content: '.';
|
|
45
|
+
}
|
|
46
|
+
50% {
|
|
47
|
+
content: '..';
|
|
48
|
+
}
|
|
49
|
+
75% {
|
|
50
|
+
content: '...';
|
|
51
|
+
}
|
|
52
|
+
100% {
|
|
53
|
+
content: '';
|
|
54
|
+
}
|
|
55
|
+
}
|