aeb-ui-kit 1.2.1 → 1.3.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/aeb-ui-kit.module.mjs +27 -27
- package/esm2020/lib/comment/comment.component.mjs +3 -3
- package/esm2020/lib/credit-item-card/credit-item-card.component.mjs +3 -3
- package/esm2020/lib/file-attach/file-attach.component.mjs +3 -3
- package/esm2020/lib/new-button/new-button.component.mjs +6 -3
- package/esm2020/lib/new-dropdown/new-dropdown.component.mjs +116 -71
- package/esm2020/lib/new-dropdown/new-dropdown.module.mjs +8 -21
- package/esm2020/lib/pagination/pagination.component.mjs +4 -3
- package/fesm2015/aeb-ui-kit.mjs +3180 -3142
- package/fesm2015/aeb-ui-kit.mjs.map +1 -1
- package/fesm2020/aeb-ui-kit.mjs +3200 -3164
- package/fesm2020/aeb-ui-kit.mjs.map +1 -1
- package/lib/new-button/new-button.component.d.ts +2 -1
- package/lib/new-dropdown/new-dropdown.component.d.ts +26 -20
- package/lib/pagination/pagination.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -51,6 +51,7 @@ export declare class NewButtonComponent {
|
|
|
51
51
|
*/
|
|
52
52
|
rightIcon: boolean;
|
|
53
53
|
size: ButtonSize;
|
|
54
|
+
tabIndex: number;
|
|
54
55
|
buttonClick: EventEmitter<void>;
|
|
55
56
|
/**
|
|
56
57
|
* changes it's state when button is hovered
|
|
@@ -59,5 +60,5 @@ export declare class NewButtonComponent {
|
|
|
59
60
|
wrapWithCssURL(value: string | undefined): string;
|
|
60
61
|
getCurrentIconSource(side: keyof ButtonIconSource): string | undefined;
|
|
61
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewButtonComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NewButtonComponent, "aeb-new-button", never, { "label": "label"; "solid": "solid"; "fill": "fill"; "showIcon": "showIcon"; "iconSource": "iconSource"; "disabledIconSource": "disabledIconSource"; "hoveredIconSource": "hoveredIconSource"; "showDropdown": "showDropdown"; "disabled": "disabled"; "leftIcon": "leftIcon"; "rightIcon": "rightIcon"; "size": "size"; }, { "buttonClick": "buttonClick"; }, never, ["*"]>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NewButtonComponent, "aeb-new-button", never, { "label": "label"; "solid": "solid"; "fill": "fill"; "showIcon": "showIcon"; "iconSource": "iconSource"; "disabledIconSource": "disabledIconSource"; "hoveredIconSource": "hoveredIconSource"; "showDropdown": "showDropdown"; "disabled": "disabled"; "leftIcon": "leftIcon"; "rightIcon": "rightIcon"; "size": "size"; "tabIndex": "tabIndex"; }, { "buttonClick": "buttonClick"; }, never, ["*"]>;
|
|
63
64
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare type selectOption = {
|
|
@@ -6,40 +6,46 @@ export declare type selectOption = {
|
|
|
6
6
|
label: string;
|
|
7
7
|
};
|
|
8
8
|
export declare class NewDropdownComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
9
|
+
input: ElementRef<HTMLDivElement>;
|
|
10
|
+
inputField: ElementRef<HTMLInputElement>;
|
|
11
|
+
dropdown: ElementRef<HTMLDivElement>;
|
|
12
|
+
option: QueryList<ElementRef<HTMLOptionElement>>;
|
|
13
|
+
optionSelect: EventEmitter<selectOption>;
|
|
14
|
+
inputChange: EventEmitter<string>;
|
|
9
15
|
label: string;
|
|
10
16
|
options: selectOption[];
|
|
11
17
|
filter: boolean;
|
|
12
18
|
hasError: boolean;
|
|
13
19
|
disabled: boolean;
|
|
14
|
-
set value(value: string);
|
|
15
|
-
set fieldValue(vl: string);
|
|
16
|
-
select: EventEmitter<selectOption>;
|
|
17
|
-
inputChange: EventEmitter<string>;
|
|
18
|
-
input: ElementRef;
|
|
19
|
-
touched: boolean;
|
|
20
20
|
viewOptions: selectOption[];
|
|
21
21
|
isOpen: boolean;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
activeOption: number;
|
|
23
|
+
private selected;
|
|
24
|
+
private _fieldValue;
|
|
25
|
+
private _value;
|
|
26
|
+
private touched;
|
|
27
|
+
constructor();
|
|
25
28
|
get fieldValue(): string;
|
|
26
29
|
get value(): string;
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
set fieldValue(vl: string);
|
|
31
|
+
set value(value: string);
|
|
29
32
|
openHandler(): void;
|
|
30
|
-
clickInput(): void;
|
|
31
33
|
clickOutsideHandler(): void;
|
|
32
34
|
inputHandler(term: InputEvent): void;
|
|
33
|
-
|
|
35
|
+
clickInput(): void;
|
|
34
36
|
selectHandler(item: selectOption): void;
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
onChange(value: any): void;
|
|
37
|
-
onTouch(): void;
|
|
38
37
|
registerOnChange(fn: (value: any) => void): void;
|
|
39
|
-
registerOnTouched(fn:
|
|
38
|
+
registerOnTouched(fn: () => void): void;
|
|
40
39
|
writeValue(value: string): void;
|
|
41
40
|
setDisabledState(disabled: boolean): void;
|
|
42
|
-
|
|
41
|
+
arrowHandler(direction: 'up' | 'down', index: number): void;
|
|
42
|
+
mouseHandler(type: 'move' | 'leave', index: number): void;
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
+
private resetValue;
|
|
46
|
+
private filterOptions;
|
|
47
|
+
private onChange;
|
|
48
|
+
private onTouch;
|
|
43
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewDropdownComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NewDropdownComponent, "aeb-new-dropdown", never, { "label": "label"; "options": "options"; "filter": "filter"; "hasError": "hasError"; "disabled": "disabled"; "
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NewDropdownComponent, "aeb-new-dropdown", never, { "label": "label"; "options": "options"; "filter": "filter"; "hasError": "hasError"; "disabled": "disabled"; "fieldValue": "fieldValue"; "value": "value"; }, { "optionSelect": "optionSelect"; "inputChange": "inputChange"; }, never, never>;
|
|
45
51
|
}
|
|
@@ -25,7 +25,7 @@ export declare class PaginationComponent implements OnInit, AfterViewInit, OnCha
|
|
|
25
25
|
get amount(): number;
|
|
26
26
|
set amount(value: number);
|
|
27
27
|
headPageHandler(page: number): void;
|
|
28
|
-
amountChangeHandler(amount:
|
|
28
|
+
amountChangeHandler(amount: string): void;
|
|
29
29
|
ngOnChanges(changes: SimpleChanges): void;
|
|
30
30
|
ngOnInit(): void;
|
|
31
31
|
ngOnDestroy(): void;
|