aeb-ui-kit 1.1.0 → 1.2.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/assets/images/button-icons/arrow-right.svg +3 -0
- package/assets/images/button-icons/disabled/arrow-right.svg +3 -0
- package/assets/images/button-icons/hovered/arrow-right.svg +3 -0
- package/assets/images/button-icons/hovered/icon-download.svg +4 -0
- package/assets/images/product-cards/SimpleRules.png +0 -0
- package/esm2020/lib/accordion/accordion.component.mjs +3 -3
- package/esm2020/lib/accordion/accordion.module.mjs +4 -4
- package/esm2020/lib/action-bar/action-bar.component.mjs +3 -3
- package/esm2020/lib/action-bar/action-bar.module.mjs +4 -4
- package/esm2020/lib/aeb-ui-kit.module.mjs +4 -4
- package/esm2020/lib/checkbox/checkbox-group/checkbox-group.component.mjs +34 -0
- package/esm2020/lib/checkbox/checkbox.component.mjs +60 -34
- package/esm2020/lib/checkbox/checkbox.module.mjs +10 -8
- package/esm2020/lib/click-outside/click-outside.directive.mjs +4 -4
- package/esm2020/lib/click-outside/click-outside.module.mjs +4 -4
- package/esm2020/lib/comment/comment.component.mjs +4 -4
- package/esm2020/lib/comment/comment.module.mjs +4 -4
- package/esm2020/lib/credit-item-card/credit-item-card.component.mjs +11 -18
- package/esm2020/lib/credit-item-card/credit-item-card.module.mjs +4 -4
- package/esm2020/lib/credit-item-card/models/IProductItemCard.mjs +1 -1
- package/esm2020/lib/datepicker/datepicker-core/datepicker-core.component.mjs +17 -14
- package/esm2020/lib/datepicker/datepicker-month/datepicker-month.component.mjs +7 -6
- package/esm2020/lib/datepicker/datepicker-tiles/datepicker-tiles.component.mjs +15 -12
- package/esm2020/lib/datepicker/datepicker.component.mjs +85 -86
- package/esm2020/lib/datepicker/datepicker.module.mjs +4 -4
- package/esm2020/lib/datepicker/pipes/date-to-str.pipe.mjs +3 -3
- package/esm2020/lib/datepicker/services/datepicker-utils.service.mjs +5 -6
- package/esm2020/lib/datepicker/services/mask-utils.service.mjs +7 -7
- package/esm2020/lib/field-slider/directives/numbers-only.directive.mjs +3 -3
- package/esm2020/lib/field-slider/field-slider.component.mjs +3 -3
- package/esm2020/lib/field-slider/field-slider.module.mjs +4 -4
- package/esm2020/lib/field-slider/pipes/replace.pipe.mjs +3 -3
- package/esm2020/lib/file-attach/directives/drag-and-drop.directive.mjs +3 -3
- package/esm2020/lib/file-attach/file-attach.component.mjs +36 -29
- package/esm2020/lib/file-attach/file-attach.module.mjs +4 -4
- package/esm2020/lib/filter-tags/filter-tag/filter-tag.component.mjs +3 -3
- package/esm2020/lib/filter-tags/filter-tags.component.mjs +3 -3
- package/esm2020/lib/filter-tags/filter-tags.module.mjs +4 -4
- package/esm2020/lib/footer/footer-bottom/footer-bottom.component.mjs +5 -5
- package/esm2020/lib/footer/footer-menu/footer-menu.component.mjs +3 -3
- package/esm2020/lib/footer/footer-top/footer-top.component.mjs +3 -3
- package/esm2020/lib/footer/footer.component.mjs +3 -3
- package/esm2020/lib/footer/footer.module.mjs +4 -4
- package/esm2020/lib/form-field/form-field.component.mjs +3 -3
- package/esm2020/lib/form-field/form-field.module.mjs +4 -4
- package/esm2020/lib/form-field/icon.directive.mjs +3 -3
- package/esm2020/lib/form-field/input.directive.mjs +3 -3
- package/esm2020/lib/form-field/label.directive.mjs +3 -3
- package/esm2020/lib/form-field/textarea.directive.mjs +3 -3
- package/esm2020/lib/header/header.component.mjs +3 -3
- package/esm2020/lib/header/header.module.mjs +4 -4
- package/esm2020/lib/header/logo.component.mjs +3 -3
- package/esm2020/lib/heading/breadcrumps/breadcrumps.component.mjs +3 -3
- package/esm2020/lib/heading/heading.component.mjs +3 -3
- package/esm2020/lib/heading/heading.module.mjs +4 -4
- package/esm2020/lib/heading/product-title/product-title.component.mjs +3 -3
- package/esm2020/lib/label/label.component.mjs +3 -3
- package/esm2020/lib/label/label.module.mjs +4 -4
- package/esm2020/lib/new-button/new-button.component.mjs +28 -11
- package/esm2020/lib/new-button/new-button.module.mjs +4 -4
- package/esm2020/lib/new-dropdown/new-dropdown.component.mjs +3 -3
- package/esm2020/lib/new-dropdown/new-dropdown.module.mjs +4 -4
- package/esm2020/lib/new-notifications/new-notifications.component.mjs +3 -3
- package/esm2020/lib/new-notifications/new-notifications.module.mjs +4 -4
- package/esm2020/lib/new-tooltip/new-tooltip.component.mjs +3 -3
- package/esm2020/lib/new-tooltip/new-tooltip.module.mjs +4 -4
- package/esm2020/lib/new-tooltip/services/domservice.service.mjs +3 -3
- package/esm2020/lib/new-tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/lib/news-card/news-card.component.mjs +3 -3
- package/esm2020/lib/news-card/news-card.module.mjs +4 -4
- package/esm2020/lib/pagination/pagination.component.mjs +148 -108
- package/esm2020/lib/pagination/pagination.module.mjs +4 -4
- package/esm2020/lib/pop-up/pop-up.component.mjs +3 -3
- package/esm2020/lib/pop-up/pop-up.directive.mjs +3 -3
- package/esm2020/lib/pop-up/pop-up.module.mjs +4 -4
- package/esm2020/lib/radio-buttons/radio-buttons.component.mjs +3 -3
- package/esm2020/lib/radio-buttons/radio-buttons.module.mjs +4 -4
- package/esm2020/lib/search/highlight.pipe.mjs +3 -3
- package/esm2020/lib/search/search.component.mjs +3 -3
- package/esm2020/lib/search/search.module.mjs +4 -4
- package/esm2020/lib/select/option.component.mjs +3 -3
- package/esm2020/lib/select/select.component.mjs +5 -4
- package/esm2020/lib/select/select.module.mjs +4 -4
- package/esm2020/lib/sidebar/sidebar.component.mjs +4 -4
- package/esm2020/lib/sidebar/sidebar.module.mjs +4 -4
- package/esm2020/lib/slider/pipes/replace.pipe.mjs +3 -3
- package/esm2020/lib/slider/slider.component.mjs +3 -3
- package/esm2020/lib/slider/slider.module.mjs +4 -4
- package/esm2020/lib/spinner/spinner.component.mjs +3 -3
- package/esm2020/lib/spinner/spinner.module.mjs +4 -4
- package/esm2020/lib/table/table.component.mjs +3 -3
- package/esm2020/lib/table/table.module.mjs +4 -4
- package/esm2020/lib/table/table.pipe.mjs +3 -3
- package/esm2020/lib/tabs/tab.directive.mjs +3 -3
- package/esm2020/lib/tabs/tabs.component.mjs +3 -3
- package/esm2020/lib/tabs/tabs.module.mjs +4 -4
- package/esm2020/lib/tag-tab/tag-tab.component.mjs +3 -3
- package/esm2020/lib/tag-tab/tag-tab.module.mjs +4 -4
- package/esm2020/lib/visa/visa-item.component.mjs +3 -3
- package/esm2020/lib/visa/visa-span.directive.mjs +6 -6
- package/esm2020/lib/visa/visa.component.mjs +3 -3
- package/esm2020/lib/visa/visa.module.mjs +4 -4
- package/esm2020/lib/wizard/wizard-step.component.mjs +12 -13
- package/esm2020/lib/wizard/wizard.component.mjs +24 -24
- package/esm2020/lib/wizard/wizard.module.mjs +7 -7
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/aeb-ui-kit.mjs +783 -667
- package/fesm2015/aeb-ui-kit.mjs.map +1 -1
- package/fesm2020/aeb-ui-kit.mjs +783 -667
- package/fesm2020/aeb-ui-kit.mjs.map +1 -1
- package/lib/checkbox/checkbox-group/checkbox-group.component.d.ts +24 -0
- package/lib/checkbox/checkbox.component.d.ts +17 -14
- package/lib/checkbox/checkbox.module.d.ts +4 -2
- package/lib/credit-item-card/credit-item-card.component.d.ts +5 -8
- package/lib/credit-item-card/models/IProductItemCard.d.ts +2 -2
- package/lib/datepicker/datepicker-core/datepicker-core.component.d.ts +2 -2
- package/lib/datepicker/datepicker-month/datepicker-month.component.d.ts +5 -3
- package/lib/datepicker/datepicker-tiles/datepicker-tiles.component.d.ts +5 -2
- package/lib/datepicker/datepicker.component.d.ts +16 -12
- package/lib/datepicker/services/datepicker-utils.service.d.ts +0 -1
- package/lib/datepicker/services/mask-utils.service.d.ts +0 -1
- package/lib/file-attach/file-attach.component.d.ts +28 -9
- package/lib/new-button/new-button.component.d.ts +15 -11
- package/lib/pagination/pagination.component.d.ts +27 -21
- package/lib/select/select.component.d.ts +1 -0
- package/lib/wizard/wizard-step.component.d.ts +6 -8
- package/lib/wizard/wizard.component.d.ts +6 -6
- package/package.json +2 -2
- package/public-api.d.ts +1 -0
- package/assets/images/button-icons/disabled/icon-edit.svg +0 -5
- package/assets/images/button-icons/hovered/icon-spinner.svg +0 -9
- package/assets/images/button-icons/icon-edit.svg +0 -5
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface CheckBoxModel {
|
|
5
|
+
label: string;
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
value: string;
|
|
9
|
+
checked: boolean;
|
|
10
|
+
required: boolean;
|
|
11
|
+
hasError: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
onChange?: (event: Event) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare class CheckboxGroupComponent implements OnInit {
|
|
16
|
+
private formBuilder;
|
|
17
|
+
checkboxGroup: CheckBoxModel[];
|
|
18
|
+
form: FormGroup;
|
|
19
|
+
constructor(formBuilder: FormBuilder);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
checkboxValueChanged(name: string): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent, "aeb-checkbox-group", never, { "checkboxGroup": "checkboxGroup"; }, {}, never, never>;
|
|
24
|
+
}
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CheckboxComponent implements
|
|
4
|
+
export declare class CheckboxComponent implements ControlValueAccessor {
|
|
5
5
|
private _changeDetectorRef;
|
|
6
|
-
readonly change: EventEmitter<Event>;
|
|
7
|
-
private _controlValueAccessorChangeFn;
|
|
8
|
-
private _onTouched;
|
|
9
|
-
private _emitChangeEvent;
|
|
10
|
-
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
11
|
-
ngOnInit(): void;
|
|
12
6
|
id: string;
|
|
13
7
|
hasError: boolean;
|
|
14
8
|
name: string | null;
|
|
15
9
|
value: string;
|
|
16
|
-
|
|
17
|
-
set checked(value: boolean);
|
|
10
|
+
readonly change: EventEmitter<Event>;
|
|
18
11
|
private _checked;
|
|
19
|
-
get disabled(): any;
|
|
20
|
-
set disabled(value: any);
|
|
21
12
|
private _disabled;
|
|
13
|
+
private _required;
|
|
14
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
15
|
+
get checkboxChecked(): boolean;
|
|
16
|
+
get checkboxDisabled(): boolean;
|
|
17
|
+
get checkboxError(): boolean;
|
|
18
|
+
get checkboxCheckedDisabled(): boolean;
|
|
19
|
+
get isDisabled(): boolean;
|
|
20
|
+
set isDisabled(value: any);
|
|
21
|
+
get checked(): boolean;
|
|
22
|
+
set checked(value: boolean);
|
|
22
23
|
get required(): boolean;
|
|
23
24
|
set required(value: boolean);
|
|
24
|
-
private _required;
|
|
25
25
|
writeValue(value: any): void;
|
|
26
26
|
registerOnChange(fn: (value: any) => void): void;
|
|
27
27
|
registerOnTouched(fn: any): void;
|
|
28
28
|
handleClick(event: Event): void;
|
|
29
29
|
_onInteractionEvent(event: Event): void;
|
|
30
|
+
private _controlValueAccessorChangeFn;
|
|
31
|
+
private _onTouched;
|
|
32
|
+
private _emitChangeEvent;
|
|
30
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "aeb-checkbox", never, { "id": "id"; "hasError": "hasError"; "name": "name"; "value": "value"; "
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "aeb-checkbox", never, { "id": "id"; "hasError": "hasError"; "name": "name"; "value": "value"; "isDisabled": "isDisabled"; "checked": "checked"; "required": "required"; }, { "change": "change"; }, never, ["*"]>;
|
|
32
35
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./checkbox.component";
|
|
3
|
-
import * as i2 from "
|
|
3
|
+
import * as i2 from "./checkbox-group/checkbox-group.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
4
6
|
export declare class CheckboxModule {
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, [typeof i1.CheckboxComponent], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, [typeof i1.CheckboxComponent, typeof i2.CheckboxGroupComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule], [typeof i1.CheckboxComponent, typeof i2.CheckboxGroupComponent]>;
|
|
7
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxModule>;
|
|
8
10
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { IProductItemCard } from './models/IProductItemCard';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CreditItemCardComponent
|
|
4
|
+
export declare class CreditItemCardComponent {
|
|
5
5
|
cardInfo: IProductItemCard;
|
|
6
|
-
buttonClickEvent
|
|
7
|
-
infoClickEvent
|
|
8
|
-
cardComponent: ElementRef;
|
|
9
|
-
constructor();
|
|
10
|
-
ngAfterViewInit(): void;
|
|
6
|
+
buttonClickEvent: EventEmitter<void>;
|
|
7
|
+
infoClickEvent: EventEmitter<void>;
|
|
11
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreditItemCardComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CreditItemCardComponent, "aeb-credit-item-card", never, { "cardInfo": "cardInfo"; }, { "buttonClickEvent
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreditItemCardComponent, "aeb-credit-item-card", never, { "cardInfo": "cardInfo"; }, { "buttonClickEvent": "buttonClickEvent"; "infoClickEvent": "infoClickEvent"; }, never, never>;
|
|
13
10
|
}
|
|
@@ -24,6 +24,8 @@ export declare class DatepickerCoreComponent implements OnInit, OnChanges {
|
|
|
24
24
|
currentMonth: number;
|
|
25
25
|
currentYear: number;
|
|
26
26
|
constructor(utils: DatepickerUtilsService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnChanges(changes: any): void;
|
|
27
29
|
addMonth(): void;
|
|
28
30
|
subMonth(): void;
|
|
29
31
|
setMonth(month: number, erase?: boolean): void;
|
|
@@ -34,8 +36,6 @@ export declare class DatepickerCoreComponent implements OnInit, OnChanges {
|
|
|
34
36
|
showMonthsHandler(): void;
|
|
35
37
|
showYearsHandler(): void;
|
|
36
38
|
startOfYear(year: number): Date;
|
|
37
|
-
ngOnInit(): void;
|
|
38
|
-
ngOnChanges(changes: any): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerCoreComponent, never>;
|
|
40
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerCoreComponent, "aeb-datepicker-core", never, { "date": "date"; "minDate": "minDate"; "maxDate": "maxDate"; "excludedDates": "excludedDates"; "minYear": "minYear"; "maxYear": "maxYear"; "withBackground": "withBackground"; "align": "align"; "withoutDays": "withoutDays"; }, { "onDateChange": "onDateChange"; "woDaysMonth": "woDaysMonth"; "woDaysYear": "woDaysYear"; "woDaysMonthSubInc": "woDaysMonthSubInc"; }, never, never>;
|
|
41
41
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { DatepickerUtilsService } from '../services/datepicker-utils.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Компонента для отображения панели со списком дней
|
|
6
|
+
*/
|
|
7
|
+
export declare class DatepickerMonthComponent {
|
|
5
8
|
private utils;
|
|
6
9
|
month: any;
|
|
7
10
|
setDate: EventEmitter<Date>;
|
|
@@ -16,7 +19,6 @@ export declare class DatepickerMonthComponent implements OnInit {
|
|
|
16
19
|
sameDate(date: Date): boolean;
|
|
17
20
|
isExcluded(date: Date): boolean;
|
|
18
21
|
isDisabled(date: Date): boolean;
|
|
19
|
-
ngOnInit(): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerMonthComponent, never>;
|
|
21
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerMonthComponent, "aeb-datepicker-month", never, { "month": "month"; "date": "date"; "minDate": "minDate"; "maxDate": "maxDate"; "excludedDates": "excludedDates"; }, { "setDate": "setDate"; }, never, never>;
|
|
22
24
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnInit, OnChanges } from '@angular/core';
|
|
2
2
|
import { DatepickerUtilsService } from '../services/datepicker-utils.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Компонента для отображения панели со списком лет/месяцев
|
|
6
|
+
*/
|
|
4
7
|
export declare class DatepickerTilesComponent implements OnInit, OnChanges {
|
|
5
8
|
private utils;
|
|
6
9
|
container: ElementRef;
|
|
@@ -19,11 +22,11 @@ export declare class DatepickerTilesComponent implements OnInit, OnChanges {
|
|
|
19
22
|
years: number[];
|
|
20
23
|
months: string[];
|
|
21
24
|
constructor(utils: DatepickerUtilsService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
ngOnChanges(changes: any): void;
|
|
22
27
|
emitMonth(month: number): void;
|
|
23
28
|
emitYear(year: number): void;
|
|
24
29
|
scrollYears(): void;
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
ngOnChanges(changes: any): void;
|
|
27
30
|
isMonthDisabled(month: number): boolean;
|
|
28
31
|
isYearDisabled(year: number): boolean;
|
|
29
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerTilesComponent, never>;
|
|
@@ -27,7 +27,6 @@ export declare class DatepickerComponent implements OnInit, ControlValueAccessor
|
|
|
27
27
|
clearVl: string;
|
|
28
28
|
inputValue: string;
|
|
29
29
|
lastValidInput: string;
|
|
30
|
-
mask: string;
|
|
31
30
|
customPattern: {
|
|
32
31
|
y: {
|
|
33
32
|
pattern: RegExp;
|
|
@@ -52,28 +51,35 @@ export declare class DatepickerComponent implements OnInit, ControlValueAccessor
|
|
|
52
51
|
};
|
|
53
52
|
};
|
|
54
53
|
fixedPosition: string;
|
|
55
|
-
keyDownHandler(event: KeyboardEvent): void;
|
|
56
|
-
typeHandler(_event: InputEvent): void;
|
|
57
54
|
isOpen: boolean;
|
|
58
55
|
disabled: boolean;
|
|
59
56
|
touched: boolean;
|
|
60
|
-
constructor(utils: DatepickerUtilsService, maskUtils: MaskUtilsService);
|
|
61
57
|
woDaysMonth: number;
|
|
62
58
|
woDaysYear: number;
|
|
59
|
+
isolatedAdjustCoreContainer: () => void;
|
|
60
|
+
constructor(utils: DatepickerUtilsService, maskUtils: MaskUtilsService);
|
|
61
|
+
ngOnInit(): void;
|
|
62
|
+
ngOnChanges(changes: any): void;
|
|
63
|
+
ngOnDestroy(): void;
|
|
64
|
+
ngAfterViewInit(): void;
|
|
65
|
+
addListeners(): void;
|
|
66
|
+
keyDownHandler(event: KeyboardEvent): void;
|
|
67
|
+
typeHandler(_event: InputEvent): void;
|
|
68
|
+
clickInputHandler(): void;
|
|
69
|
+
clickOutsideHandler(_event: any): void;
|
|
63
70
|
woMonthIncSub(base: number): void;
|
|
64
71
|
woDaysMonthSet(value: [number, boolean]): void;
|
|
65
72
|
woDaysYearSet(value: [number, boolean]): void;
|
|
66
|
-
clickInputHandler(): void;
|
|
67
|
-
clickOutsideHandler(_event: any): void;
|
|
68
73
|
isExcluded(date: Date): boolean;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @param date
|
|
77
|
+
* @returns
|
|
78
|
+
*/
|
|
69
79
|
isDisabled(date: Date): boolean;
|
|
70
80
|
handleInput(event: string): void;
|
|
71
81
|
handleOpen(): void;
|
|
72
|
-
isolatedCb: any;
|
|
73
82
|
scrollParent: HTMLElement;
|
|
74
|
-
addListeners(): void;
|
|
75
|
-
ngOnDestroy(): void;
|
|
76
|
-
ngAfterViewInit(): void;
|
|
77
83
|
adjustCoreContainer(): void;
|
|
78
84
|
handleDateChange(date: Date): void;
|
|
79
85
|
private onFormChange;
|
|
@@ -82,8 +88,6 @@ export declare class DatepickerComponent implements OnInit, ControlValueAccessor
|
|
|
82
88
|
registerOnTouched(fn: any): void;
|
|
83
89
|
writeValue(value: any): void;
|
|
84
90
|
setDisabledState(disabled: boolean): void;
|
|
85
|
-
ngOnInit(): void;
|
|
86
|
-
ngOnChanges(changes: any): void;
|
|
87
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
88
92
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "aeb-datepicker", never, { "date": "date"; "hasError": "hasError"; "minDate": "minDate"; "maxDate": "maxDate"; "excludedDates": "excludedDates"; "minYear": "minYear"; "maxYear": "maxYear"; "withBackground": "withBackground"; "align": "align"; "placeholder": "placeholder"; "collapseOnChange": "collapseOnChange"; "withoutDays": "withoutDays"; }, { "onChange": "onChange"; }, never, never>;
|
|
89
93
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class MaskUtilsService {
|
|
3
|
-
constructor();
|
|
4
3
|
inputSegmentOverflow([day, month, year]: string[], event: KeyboardEvent, woDays: boolean): boolean;
|
|
5
4
|
breakInput(event: KeyboardEvent): (c: boolean) => void;
|
|
6
5
|
predictInput(input: string, key: string, inputIndex: number, withoutDays: boolean): string;
|
|
@@ -1,28 +1,47 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
declare type AttachmentDescription = {
|
|
4
|
+
iconURL: string;
|
|
5
|
+
text: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type DetailedDescription = {
|
|
8
|
+
left: AttachmentDescription;
|
|
9
|
+
right?: AttachmentDescription;
|
|
10
|
+
}[];
|
|
11
|
+
export declare type Requirement = {
|
|
12
|
+
text: string;
|
|
13
|
+
check: (files: File[]) => boolean;
|
|
14
|
+
};
|
|
3
15
|
export declare class FileAttachComponent {
|
|
4
16
|
title: string;
|
|
5
17
|
/**
|
|
6
|
-
*
|
|
18
|
+
* a string that describes which files should be attached
|
|
7
19
|
*/
|
|
8
20
|
documentList: string;
|
|
9
|
-
|
|
10
|
-
|
|
21
|
+
/**
|
|
22
|
+
* should the documentList line be displayed?
|
|
23
|
+
*/
|
|
11
24
|
showDocumentList: boolean;
|
|
12
|
-
layoutMod: string;
|
|
13
25
|
/**
|
|
14
26
|
* message for file type
|
|
15
27
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
28
|
+
layoutMod: 'default' | 'salaryPortal' | 'simple';
|
|
29
|
+
attachmentDescription: DetailedDescription;
|
|
30
|
+
/**
|
|
31
|
+
* object that has two fields:
|
|
32
|
+
* - `text`: text displayed near to button
|
|
33
|
+
* - `check`: callback receiving array of files and checks are they meet the requirement, then returns bool
|
|
34
|
+
*/
|
|
35
|
+
requirement: Requirement;
|
|
36
|
+
changeListEvent: EventEmitter<File[]>;
|
|
37
|
+
requirementViolatedError: EventEmitter<void>;
|
|
19
38
|
files: File[];
|
|
20
39
|
isFileInFocus: boolean;
|
|
21
|
-
constructor();
|
|
22
40
|
clearFileList(): void;
|
|
23
41
|
getCaseByNumber(word: any): string;
|
|
24
42
|
chooseFile(file: File): void;
|
|
25
43
|
checkFileInFocus(isInFocus: boolean): void;
|
|
26
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileAttachComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileAttachComponent, "aeb-file-attach", never, { "title": "title"; "documentList": "documentList"; "
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileAttachComponent, "aeb-file-attach", never, { "title": "title"; "documentList": "documentList"; "showDocumentList": "showDocumentList"; "layoutMod": "layoutMod"; "attachmentDescription": "attachmentDescription"; "requirement": "requirement"; }, { "changeListEvent": "changeListEvent"; "requirementViolatedError": "requirementViolatedError"; }, never, never>;
|
|
28
46
|
}
|
|
47
|
+
export {};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
export declare type ButtonIconSource = {
|
|
4
|
+
left: string | undefined;
|
|
5
|
+
right: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
export declare type ButtonSize = 'medium' | 'small';
|
|
3
8
|
export declare class NewButtonComponent {
|
|
4
9
|
/**
|
|
5
10
|
* button text label
|
|
@@ -14,21 +19,21 @@ export declare class NewButtonComponent {
|
|
|
14
19
|
*/
|
|
15
20
|
fill: boolean;
|
|
16
21
|
/**
|
|
17
|
-
* button
|
|
22
|
+
* show button icons (left and right)
|
|
18
23
|
*/
|
|
19
24
|
showIcon: boolean;
|
|
20
25
|
/**
|
|
21
|
-
* path to button
|
|
26
|
+
* path to button icons sources
|
|
22
27
|
*/
|
|
23
|
-
iconSource
|
|
28
|
+
iconSource?: ButtonIconSource;
|
|
24
29
|
/**
|
|
25
30
|
* path to disabled button icon source
|
|
26
31
|
*/
|
|
27
|
-
disabledIconSource
|
|
32
|
+
disabledIconSource?: ButtonIconSource;
|
|
28
33
|
/**
|
|
29
34
|
* path to button hovered icon source
|
|
30
35
|
*/
|
|
31
|
-
hoveredIconSource
|
|
36
|
+
hoveredIconSource?: ButtonIconSource;
|
|
32
37
|
/**
|
|
33
38
|
* button dropdown icon
|
|
34
39
|
*/
|
|
@@ -37,10 +42,6 @@ export declare class NewButtonComponent {
|
|
|
37
42
|
* disable button
|
|
38
43
|
*/
|
|
39
44
|
disabled: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* class for button in hover state
|
|
42
|
-
*/
|
|
43
|
-
hoverClass: string;
|
|
44
45
|
/**
|
|
45
46
|
* show left icon
|
|
46
47
|
*/
|
|
@@ -49,11 +50,14 @@ export declare class NewButtonComponent {
|
|
|
49
50
|
* show right icon
|
|
50
51
|
*/
|
|
51
52
|
rightIcon: boolean;
|
|
52
|
-
|
|
53
|
+
size: ButtonSize;
|
|
54
|
+
buttonClick: EventEmitter<void>;
|
|
53
55
|
/**
|
|
54
56
|
* changes it's state when button is hovered
|
|
55
57
|
*/
|
|
56
58
|
isHovered: boolean;
|
|
59
|
+
wrapWithCssURL(value: string | undefined): string;
|
|
60
|
+
getCurrentIconSource(side: keyof ButtonIconSource): string | undefined;
|
|
57
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewButtonComponent, never>;
|
|
58
|
-
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"; "
|
|
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, ["*"]>;
|
|
59
63
|
}
|
|
@@ -1,40 +1,46 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
declare type
|
|
4
|
-
value:
|
|
3
|
+
export declare type AmountOption = {
|
|
4
|
+
value: string;
|
|
5
5
|
label: string;
|
|
6
6
|
};
|
|
7
|
-
export declare class PaginationComponent implements OnInit, AfterViewInit, OnChanges {
|
|
7
|
+
export declare class PaginationComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
8
8
|
private cdr;
|
|
9
9
|
private element;
|
|
10
10
|
pageSelect: EventEmitter<number>;
|
|
11
11
|
amountChange: EventEmitter<number>;
|
|
12
12
|
total: number;
|
|
13
13
|
currentPage: number;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
amountSelect
|
|
14
|
+
amountOptions?: AmountOption[];
|
|
15
|
+
adaptive: number;
|
|
16
|
+
private amountSelect;
|
|
17
17
|
head: number[];
|
|
18
18
|
middle: number[];
|
|
19
19
|
tail: number[];
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* @param firstPage текущая страница
|
|
25
|
-
*/
|
|
26
|
-
renderPages(firstPage: number): void;
|
|
20
|
+
private adaptiveBase;
|
|
21
|
+
private _amount;
|
|
22
|
+
private resizeSub$;
|
|
23
|
+
private windowResizedCallback;
|
|
27
24
|
constructor(cdr: ChangeDetectorRef, element: ElementRef);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
prevPageHandler(): void;
|
|
31
|
-
tailPageHandler(page: number): void;
|
|
25
|
+
get amount(): number;
|
|
26
|
+
set amount(value: number);
|
|
32
27
|
headPageHandler(page: number): void;
|
|
33
28
|
amountChangeHandler(amount: number): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
34
30
|
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
35
32
|
ngAfterViewInit(): void;
|
|
36
|
-
|
|
33
|
+
middlePageHandler(page: number): void;
|
|
34
|
+
nextPageHandler(): void;
|
|
35
|
+
prevPageHandler(): void;
|
|
36
|
+
tailPageHandler(page: number): void;
|
|
37
|
+
private getAdaptiveByBreakPoint;
|
|
38
|
+
/**
|
|
39
|
+
* Результатом работы являются заполненные массивы головной, средней и конечной частей пагинации
|
|
40
|
+
*
|
|
41
|
+
* @param currentPage текущая страница
|
|
42
|
+
*/
|
|
43
|
+
private renderPages;
|
|
37
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "aeb-pagination", never, { "total": "totalPages"; "currentPage": "page"; "
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "aeb-pagination", never, { "total": "totalPages"; "currentPage": "page"; "amountOptions": "amountOptions"; "adaptive": "adaptive"; "amount": "amount"; }, { "pageSelect": "pageSelect"; "amountChange": "amountChange"; }, never, never>;
|
|
39
46
|
}
|
|
40
|
-
export {};
|
|
@@ -22,6 +22,7 @@ export declare class SelectComponent implements ControlValueAccessor {
|
|
|
22
22
|
/**
|
|
23
23
|
* Вызывается при задании исходного (new FormControl('I am default value'))
|
|
24
24
|
* или нового значения сверху control.setValue('I am setted value').
|
|
25
|
+
* Не нужно вызывать этот метод, чтобы задать значение во вьюшке. Вместо него надо использовать `setValue`.
|
|
25
26
|
*/
|
|
26
27
|
writeValue(value: string): void;
|
|
27
28
|
/**
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WizardStepComponent
|
|
3
|
+
export declare class WizardStepComponent {
|
|
4
4
|
title: string;
|
|
5
5
|
isValid?: boolean;
|
|
6
6
|
isActive?: boolean;
|
|
7
7
|
isCompleted?: boolean;
|
|
8
8
|
showPrev?: boolean;
|
|
9
9
|
showNext?: boolean;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
constructor();
|
|
14
|
-
ngOnInit(): void;
|
|
10
|
+
nextClicked: EventEmitter<any>;
|
|
11
|
+
prevClicked: EventEmitter<any>;
|
|
12
|
+
completeClicked: EventEmitter<any>;
|
|
15
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<WizardStepComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WizardStepComponent, "aeb-wizard-step", never, { "title": "title"; "isValid": "isValid"; "isActive": "isActive"; "isCompleted": "isCompleted"; "showPrev": "showPrev"; "showNext": "showNext"; }, { "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardStepComponent, "aeb-wizard-step", never, { "title": "title"; "isValid": "isValid"; "isActive": "isActive"; "isCompleted": "isCompleted"; "showPrev": "showPrev"; "showNext": "showNext"; }, { "nextClicked": "nextClicked"; "prevClicked": "prevClicked"; "completeClicked": "completeClicked"; }, never, ["*"]>;
|
|
17
15
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
|
|
2
2
|
import { WizardStepComponent } from './wizard-step.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class WizardComponent implements AfterContentInit {
|
|
5
5
|
wizardSteps: QueryList<WizardStepComponent>;
|
|
6
|
-
|
|
6
|
+
stepChanged: EventEmitter<WizardStepComponent>;
|
|
7
7
|
isDisabled?: boolean;
|
|
8
8
|
steps: WizardStepComponent[];
|
|
9
|
-
get activeStep(): WizardStepComponent;
|
|
10
|
-
set activeStep(step: WizardStepComponent);
|
|
11
9
|
get activeStepIndex(): number;
|
|
12
10
|
get completedSteps(): WizardStepComponent[];
|
|
13
11
|
get hasNextStep(): boolean;
|
|
14
12
|
get hasPrevStep(): boolean;
|
|
13
|
+
get activeStep(): WizardStepComponent;
|
|
14
|
+
set activeStep(step: WizardStepComponent);
|
|
15
|
+
ngAfterContentInit(): void;
|
|
15
16
|
goToNextStep(): void;
|
|
16
17
|
goToPrevStep(): void;
|
|
17
18
|
goToFirstStep(): void;
|
|
18
19
|
onCompleteStep(): void;
|
|
19
|
-
ngAfterContentInit(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "aeb-wizard", never, { "isDisabled": "isDisabled"; }, { "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "aeb-wizard", never, { "isDisabled": "isDisabled"; }, { "stepChanged": "stepChanged"; }, ["wizardSteps"], ["*"]>;
|
|
22
22
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './lib/new-button/new-button.module';
|
|
|
9
9
|
export * from './lib/new-button/new-button.component';
|
|
10
10
|
export * from './lib/checkbox/checkbox.module';
|
|
11
11
|
export * from './lib/checkbox/checkbox.component';
|
|
12
|
+
export * from './lib/checkbox/checkbox-group/checkbox-group.component';
|
|
12
13
|
export * from './lib/wizard/wizard.module';
|
|
13
14
|
export * from './lib/wizard/wizard.component';
|
|
14
15
|
export * from './lib/wizard/wizard-step.component';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M15 6L18.5 9.5" stroke="#a3aaae" stroke-width="2"/>
|
|
3
|
-
<path d="M6 15L9.5 18.5" stroke="#a3aaae" stroke-width="2"/>
|
|
4
|
-
<path d="M18.2316 3.39659L17.5269 4.10179C17.3911 3.96602 17.1677 3.96604 17.0318 4.10203L17.0317 4.10207L5.69506 15.4445L5.6946 15.445C5.41148 15.7279 5.19352 16.0793 5.06598 16.4584L4.33041 19.6703L7.5455 18.9358C7.92495 18.8084 8.27678 18.5907 8.56036 18.3075C8.56041 18.3074 8.56047 18.3074 8.56053 18.3073L19.8978 6.96438C19.8978 6.96434 19.8978 6.96431 19.8978 6.96428C19.9651 6.89693 20 6.81248 20 6.71742L18.2316 3.39659ZM18.2316 3.39659L17.5269 4.10179L19.8975 6.47036L20.6043 5.76296M18.2316 3.39659L20.6043 5.76296M20.6043 5.76296L19.8975 6.47037C19.9649 6.53771 19.9999 6.62221 20 6.71731L20.6043 5.76296Z" stroke="#a3aaae" stroke-width="2"/>
|
|
5
|
-
</svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.2101 16.1713L16.2663 19.0952L18.223 23.7905L23.9375 18.1148L19.2101 16.1713ZM15.1754 19.5423H11.0021L9.0454 24.2376H17.1148L15.1754 19.5423ZM19.6776 10.9428V15.0706L24.3877 17.0141V8.9994L19.6776 10.9428ZM9.8939 19.0952L6.9501 16.1713L2.24 18.1148L7.9544 23.7905L9.8939 19.0952ZM18.223 2.223L16.2663 6.9183L19.2101 9.8421L23.9375 7.8986L18.223 2.223ZM11.0021 6.4539H15.1754L17.1148 1.7758H9.0454L11.0021 6.4539ZM6.4999 15.0706V10.9428L1.7898 8.9994V17.0141L6.4999 15.0706ZM6.9501 9.8421L9.8939 6.9183L7.9544 2.223L2.24 7.8986L6.9501 9.8421ZM15.4005 18.5448L18.656 15.2942V10.7021L15.4005 7.4687H10.777L7.5042 10.7021V15.2942L10.777 18.5448H15.4005ZM7.9891 25.2352C5.2011 24.2154 1.7898 20.6463 0.768129 18.0804C-0.253521 15.5145 -0.258561 10.9428 0.768129 7.933C1.7948 4.9232 4.875 1.7758 7.9891 0.761051C11.1031 -0.253679 15.5877 -0.253689 18.1884 0.761051C20.7891 1.7758 24.896 5.9272 25.4094 7.933C25.9227 9.9389 26.431 15.5145 25.4094 18.0804C24.3877 20.6463 20.7213 24.2154 18.1884 25.2352C15.6556 26.2549 10.777 26.2549 7.9891 25.2352Z" fill="url(#paint0_linear)"/>
|
|
3
|
-
<defs>
|
|
4
|
-
<linearGradient id="paint0_linear" x1="13.9013" y1="26" x2="13.9013" y2="0" gradientUnits="userSpaceOnUse">
|
|
5
|
-
<stop stop-color="#00B8FF"/>
|
|
6
|
-
<stop offset="1" stop-color="#0079D6"/>
|
|
7
|
-
</linearGradient>
|
|
8
|
-
</defs>
|
|
9
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M15 6L18.5 9.5" stroke="#2F88F0" stroke-width="2"/>
|
|
3
|
-
<path d="M6 15L9.5 18.5" stroke="#2F88F0" stroke-width="2"/>
|
|
4
|
-
<path d="M18.2316 3.39659L17.5269 4.10179C17.3911 3.96602 17.1677 3.96604 17.0318 4.10203L17.0317 4.10207L5.69506 15.4445L5.6946 15.445C5.41148 15.7279 5.19352 16.0793 5.06598 16.4584L4.33041 19.6703L7.5455 18.9358C7.92495 18.8084 8.27678 18.5907 8.56036 18.3075C8.56041 18.3074 8.56047 18.3074 8.56053 18.3073L19.8978 6.96438C19.8978 6.96434 19.8978 6.96431 19.8978 6.96428C19.9651 6.89693 20 6.81248 20 6.71742L18.2316 3.39659ZM18.2316 3.39659L17.5269 4.10179L19.8975 6.47036L20.6043 5.76296M18.2316 3.39659L20.6043 5.76296M20.6043 5.76296L19.8975 6.47037C19.9649 6.53771 19.9999 6.62221 20 6.71731L20.6043 5.76296Z" stroke="#2F88F0" stroke-width="2"/>
|
|
5
|
-
</svg>
|