aeb-ui-kit 2.0.1 → 2.0.2-mr.423-devops-update-ci
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/README.md +23 -24
- package/assets/fonts/LICENSE.txt +202 -202
- package/assets/images/arrow_down/arrow_down_blue.svg +3 -3
- package/assets/images/arrow_down/arrow_down_gray.svg +3 -3
- package/assets/images/arrow_down/arrow_down_turquoise.svg +3 -3
- package/assets/images/arrow_down/arrow_down_white.svg +3 -3
- package/assets/images/attach/passport_primary.svg +13 -13
- package/assets/images/attach/passport_secondary.svg +15 -15
- package/assets/images/clip.svg +3 -3
- package/assets/images/clip_blue.svg +3 -3
- package/assets/images/info.svg +5 -5
- package/esm2020/aeb-ui-kit.mjs +5 -5
- package/esm2020/extended-global.mjs +2 -2
- package/esm2020/index.mjs +2 -2
- package/esm2020/lib/accordion/accordion.component.mjs +36 -36
- package/esm2020/lib/accordion/accordion.module.mjs +20 -20
- package/esm2020/lib/action-bar/action-bar.component.mjs +18 -18
- package/esm2020/lib/action-bar/action-bar.module.mjs +20 -20
- package/esm2020/lib/aeb-ui-kit.module.mjs +243 -239
- package/esm2020/lib/checkbox/checkbox-group/checkbox-group.component.mjs +34 -34
- package/esm2020/lib/checkbox/checkbox.component.mjs +129 -129
- package/esm2020/lib/checkbox/checkbox.module.mjs +20 -20
- package/esm2020/lib/click-outside/click-outside.directive.mjs +45 -45
- package/esm2020/lib/click-outside/click-outside.module.mjs +18 -18
- package/esm2020/lib/code-input/code-input.component.mjs +88 -0
- package/esm2020/lib/code-input/code-input.module.mjs +27 -0
- package/esm2020/lib/comment/comment.component.mjs +72 -72
- package/esm2020/lib/comment/comment.module.mjs +38 -38
- package/esm2020/lib/credit-item-card/credit-item-card.component.mjs +23 -23
- package/esm2020/lib/credit-item-card/credit-item-card.module.mjs +24 -24
- package/esm2020/lib/credit-item-card/models/IProductItemCard.mjs +2 -2
- package/esm2020/lib/datepicker/datepicker-core/datepicker-core.component.mjs +160 -160
- package/esm2020/lib/datepicker/datepicker-month/datepicker-month.component.mjs +62 -62
- package/esm2020/lib/datepicker/datepicker-tiles/datepicker-tiles.component.mjs +107 -107
- package/esm2020/lib/datepicker/datepicker.component.mjs +408 -408
- package/esm2020/lib/datepicker/datepicker.module.mjs +63 -63
- package/esm2020/lib/datepicker/pipes/date-to-str.pipe.mjs +17 -17
- package/esm2020/lib/datepicker/services/datepicker-utils.service.mjs +149 -149
- package/esm2020/lib/datepicker/services/mask-utils.service.mjs +60 -60
- package/esm2020/lib/field-slider/directives/numbers-only.directive.mjs +71 -71
- package/esm2020/lib/field-slider/field-slider.component.mjs +170 -170
- package/esm2020/lib/field-slider/field-slider.module.mjs +36 -36
- package/esm2020/lib/field-slider/pipes/replace.pipe.mjs +19 -19
- package/esm2020/lib/file-attach/directives/drag-and-drop.directive.mjs +49 -49
- package/esm2020/lib/file-attach/file-attach.component.mjs +86 -86
- package/esm2020/lib/file-attach/file-attach.module.mjs +20 -20
- package/esm2020/lib/filter-tags/filter-tag/filter-tag.component.mjs +30 -30
- package/esm2020/lib/filter-tags/filter-tags.component.mjs +37 -37
- package/esm2020/lib/filter-tags/filter-tags.module.mjs +21 -21
- package/esm2020/lib/footer/abstract/base-content-projectable.component.mjs +21 -0
- package/esm2020/lib/footer/constants/footer.const.mjs +53 -0
- package/esm2020/lib/footer/footer-bottom/footer-bottom.component.mjs +20 -42
- package/esm2020/lib/footer/footer-menu/footer-menu.component.mjs +15 -58
- package/esm2020/lib/footer/footer-top/footer-top.component.mjs +20 -25
- package/esm2020/lib/footer/footer.component.mjs +25 -24
- package/esm2020/lib/footer/footer.module.mjs +31 -31
- package/esm2020/lib/form-field/form-field.component.mjs +87 -87
- package/esm2020/lib/form-field/form-field.module.mjs +22 -22
- package/esm2020/lib/form-field/icon.directive.mjs +14 -14
- package/esm2020/lib/form-field/input.directive.mjs +69 -69
- package/esm2020/lib/form-field/label.directive.mjs +14 -14
- package/esm2020/lib/form-field/textarea.directive.mjs +69 -69
- package/esm2020/lib/header/header.component.mjs +22 -22
- package/esm2020/lib/header/header.module.mjs +19 -19
- package/esm2020/lib/header/logo.component.mjs +15 -15
- package/esm2020/lib/heading/breadcrumps/breadcrumps.component.mjs +25 -25
- package/esm2020/lib/heading/heading.component.mjs +13 -13
- package/esm2020/lib/heading/heading.module.mjs +22 -22
- package/esm2020/lib/heading/product-title/product-title.component.mjs +21 -21
- package/esm2020/lib/label/label.component.mjs +13 -13
- package/esm2020/lib/label/label.module.mjs +18 -18
- package/esm2020/lib/modal/modal.component.mjs +51 -51
- package/esm2020/lib/modal/modal.module.mjs +18 -18
- package/esm2020/lib/new-button/new-button.component.mjs +170 -170
- package/esm2020/lib/new-button/new-button.module.mjs +18 -18
- package/esm2020/lib/new-dropdown/new-dropdown.component.mjs +232 -232
- package/esm2020/lib/new-dropdown/new-dropdown.module.mjs +21 -21
- package/esm2020/lib/new-notifications/new-notifications.component.mjs +48 -48
- package/esm2020/lib/new-notifications/new-notifications.module.mjs +19 -19
- package/esm2020/lib/new-notifications/notification/notification.component.mjs +124 -124
- package/esm2020/lib/new-tooltip/new-tooltip.component.mjs +23 -23
- package/esm2020/lib/new-tooltip/new-tooltip.module.mjs +25 -25
- package/esm2020/lib/new-tooltip/services/domservice.service.mjs +41 -41
- package/esm2020/lib/new-tooltip/tooltip.directive.mjs +159 -159
- package/esm2020/lib/news-card/news-card.component.mjs +14 -14
- package/esm2020/lib/news-card/news-card.module.mjs +25 -25
- package/esm2020/lib/pagination/pagination.component.mjs +251 -228
- package/esm2020/lib/pagination/pagination.module.mjs +22 -26
- package/esm2020/lib/pop-up/pop-up.component.mjs +20 -20
- package/esm2020/lib/pop-up/pop-up.directive.mjs +67 -67
- package/esm2020/lib/pop-up/pop-up.module.mjs +21 -21
- package/esm2020/lib/radio-buttons/radio-buttons.component.mjs +81 -81
- package/esm2020/lib/radio-buttons/radio-buttons.module.mjs +20 -20
- package/esm2020/lib/search/highlight.pipe.mjs +16 -16
- package/esm2020/lib/search/search.component.mjs +58 -58
- package/esm2020/lib/search/search.module.mjs +25 -25
- package/esm2020/lib/select/option.component.mjs +27 -27
- package/esm2020/lib/select/select.component.mjs +115 -115
- package/esm2020/lib/select/select.module.mjs +20 -20
- package/esm2020/lib/sidebar/sidebar.component.mjs +31 -31
- package/esm2020/lib/sidebar/sidebar.module.mjs +18 -18
- package/esm2020/lib/slider/pipes/replace.pipe.mjs +19 -19
- package/esm2020/lib/slider/slider.component.mjs +143 -143
- package/esm2020/lib/slider/slider.module.mjs +23 -23
- package/esm2020/lib/spinner/spinner.component.mjs +13 -13
- package/esm2020/lib/spinner/spinner.module.mjs +18 -18
- package/esm2020/lib/table/table.component.mjs +29 -29
- package/esm2020/lib/table/table.model.mjs +2 -2
- package/esm2020/lib/table/table.module.mjs +19 -19
- package/esm2020/lib/table/table.pipe.mjs +22 -22
- package/esm2020/lib/tabs/tab.directive.mjs +19 -19
- package/esm2020/lib/tabs/tabs.component.mjs +78 -78
- package/esm2020/lib/tabs/tabs.module.mjs +21 -21
- package/esm2020/lib/tag-tab/tag-tab.component.mjs +20 -20
- package/esm2020/lib/tag-tab/tag-tab.module.mjs +18 -18
- package/esm2020/lib/visa/visa-item.component.mjs +16 -16
- package/esm2020/lib/visa/visa-span.directive.mjs +31 -31
- package/esm2020/lib/visa/visa.component.mjs +13 -13
- package/esm2020/lib/visa/visa.module.mjs +36 -36
- package/esm2020/lib/wizard/wizard-step.component.mjs +40 -40
- package/esm2020/lib/wizard/wizard.component.mjs +83 -83
- package/esm2020/lib/wizard/wizard.module.mjs +19 -19
- package/esm2020/public-api.mjs +100 -100
- package/extended-global.d.ts +9 -9
- package/fesm2015/aeb-ui-kit.mjs +4828 -4699
- package/fesm2015/aeb-ui-kit.mjs.map +1 -1
- package/fesm2020/aeb-ui-kit.mjs +4827 -4698
- package/fesm2020/aeb-ui-kit.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/lib/accordion/accordion.component.d.ts +13 -13
- package/lib/accordion/accordion.module.d.ts +8 -8
- package/lib/action-bar/action-bar.component.d.ts +7 -7
- package/lib/action-bar/action-bar.module.d.ts +8 -8
- package/lib/aeb-ui-kit.module.d.ts +40 -39
- package/lib/checkbox/checkbox-group/checkbox-group.component.d.ts +24 -24
- package/lib/checkbox/checkbox.component.d.ts +35 -35
- package/lib/checkbox/checkbox.module.d.ts +10 -10
- package/lib/click-outside/click-outside.directive.d.ts +16 -16
- package/lib/click-outside/click-outside.module.d.ts +8 -8
- package/lib/code-input/code-input.component.d.ts +30 -0
- package/lib/code-input/code-input.module.d.ts +9 -0
- package/lib/comment/comment.component.d.ts +40 -40
- package/lib/comment/comment.module.d.ts +12 -12
- package/lib/credit-item-card/credit-item-card.component.d.ts +10 -10
- package/lib/credit-item-card/credit-item-card.module.d.ts +9 -9
- package/lib/credit-item-card/models/IProductItemCard.d.ts +16 -16
- package/lib/datepicker/datepicker-core/datepicker-core.component.d.ts +41 -41
- package/lib/datepicker/datepicker-month/datepicker-month.component.d.ts +24 -24
- package/lib/datepicker/datepicker-tiles/datepicker-tiles.component.d.ts +34 -34
- package/lib/datepicker/datepicker.component.d.ts +93 -93
- package/lib/datepicker/datepicker.module.d.ts +16 -16
- package/lib/datepicker/pipes/date-to-str.pipe.d.ts +7 -7
- package/lib/datepicker/services/datepicker-utils.service.d.ts +31 -31
- package/lib/datepicker/services/mask-utils.service.d.ts +9 -9
- package/lib/field-slider/directives/numbers-only.directive.d.ts +10 -10
- package/lib/field-slider/field-slider.component.d.ts +34 -34
- package/lib/field-slider/field-slider.module.d.ts +12 -12
- package/lib/field-slider/pipes/replace.pipe.d.ts +7 -7
- package/lib/file-attach/directives/drag-and-drop.directive.d.ts +12 -12
- package/lib/file-attach/file-attach.component.d.ts +49 -49
- package/lib/file-attach/file-attach.module.d.ts +10 -10
- package/lib/filter-tags/filter-tag/filter-tag.component.d.ts +12 -12
- package/lib/filter-tags/filter-tags.component.d.ts +17 -17
- package/lib/filter-tags/filter-tags.module.d.ts +9 -9
- package/lib/footer/abstract/base-content-projectable.component.d.ts +9 -0
- package/lib/footer/constants/footer.const.d.ts +4 -0
- package/lib/footer/footer-bottom/footer-bottom.component.d.ts +11 -16
- package/lib/footer/footer-menu/footer-menu.component.d.ts +11 -16
- package/lib/footer/footer-top/footer-top.component.d.ts +7 -11
- package/lib/footer/footer.component.d.ts +10 -10
- package/lib/footer/footer.module.d.ts +11 -11
- package/lib/form-field/form-field.component.d.ts +19 -19
- package/lib/form-field/form-field.module.d.ts +12 -12
- package/lib/form-field/icon.directive.d.ts +6 -6
- package/lib/form-field/input.directive.d.ts +25 -25
- package/lib/form-field/label.directive.d.ts +6 -6
- package/lib/form-field/textarea.directive.d.ts +25 -25
- package/lib/header/header.component.d.ts +9 -9
- package/lib/header/header.module.d.ts +9 -9
- package/lib/header/logo.component.d.ts +8 -8
- package/lib/heading/breadcrumps/breadcrumps.component.d.ts +9 -9
- package/lib/heading/heading.component.d.ts +6 -6
- package/lib/heading/heading.module.d.ts +10 -10
- package/lib/heading/product-title/product-title.component.d.ts +9 -9
- package/lib/label/label.component.d.ts +8 -8
- package/lib/label/label.module.d.ts +8 -8
- package/lib/modal/modal.component.d.ts +20 -20
- package/lib/modal/modal.module.d.ts +8 -8
- package/lib/new-button/new-button.component.d.ts +82 -82
- package/lib/new-button/new-button.module.d.ts +8 -8
- package/lib/new-dropdown/new-dropdown.component.d.ts +51 -51
- package/lib/new-dropdown/new-dropdown.module.d.ts +11 -11
- package/lib/new-notifications/new-notifications.component.d.ts +17 -17
- package/lib/new-notifications/new-notifications.module.d.ts +9 -9
- package/lib/new-notifications/notification/notification.component.d.ts +43 -43
- package/lib/new-tooltip/new-tooltip.component.d.ts +11 -11
- package/lib/new-tooltip/new-tooltip.module.d.ts +9 -9
- package/lib/new-tooltip/services/domservice.service.d.ts +15 -15
- package/lib/new-tooltip/tooltip.directive.d.ts +48 -48
- package/lib/news-card/news-card.component.d.ts +6 -6
- package/lib/news-card/news-card.module.d.ts +8 -8
- package/lib/pagination/pagination.component.d.ts +47 -46
- package/lib/pagination/pagination.module.d.ts +8 -9
- package/lib/pop-up/pop-up.component.d.ts +9 -9
- package/lib/pop-up/pop-up.directive.d.ts +20 -20
- package/lib/pop-up/pop-up.module.d.ts +9 -9
- package/lib/radio-buttons/radio-buttons.component.d.ts +43 -43
- package/lib/radio-buttons/radio-buttons.module.d.ts +8 -8
- package/lib/search/highlight.pipe.d.ts +7 -7
- package/lib/search/search.component.d.ts +24 -24
- package/lib/search/search.module.d.ts +10 -10
- package/lib/select/option.component.d.ts +13 -13
- package/lib/select/select.component.d.ts +46 -46
- package/lib/select/select.module.d.ts +10 -10
- package/lib/sidebar/sidebar.component.d.ts +12 -12
- package/lib/sidebar/sidebar.module.d.ts +8 -8
- package/lib/slider/pipes/replace.pipe.d.ts +7 -7
- package/lib/slider/slider.component.d.ts +35 -35
- package/lib/slider/slider.module.d.ts +9 -9
- package/lib/spinner/spinner.component.d.ts +8 -8
- package/lib/spinner/spinner.module.d.ts +8 -8
- package/lib/table/table.component.d.ts +11 -11
- package/lib/table/table.model.d.ts +35 -35
- package/lib/table/table.module.d.ts +9 -9
- package/lib/table/table.pipe.d.ts +7 -7
- package/lib/tabs/tab.directive.d.ts +9 -9
- package/lib/tabs/tabs.component.d.ts +24 -24
- package/lib/tabs/tabs.module.d.ts +9 -9
- package/lib/tag-tab/tag-tab.component.d.ts +7 -7
- package/lib/tag-tab/tag-tab.module.d.ts +8 -8
- package/lib/visa/visa-item.component.d.ts +9 -9
- package/lib/visa/visa-span.directive.d.ts +11 -11
- package/lib/visa/visa.component.d.ts +8 -8
- package/lib/visa/visa.module.d.ts +10 -10
- package/lib/wizard/wizard-step.component.d.ts +15 -15
- package/lib/wizard/wizard.component.d.ts +22 -22
- package/lib/wizard/wizard.module.d.ts +9 -9
- package/package.json +1 -33
- package/public-api.d.ts +96 -96
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import '@angular/common/locales/global/ru';
|
|
2
|
-
import { ElementRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
3
|
-
import { DatepickerUtilsService } from '../services/datepicker-utils.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DatepickerCoreComponent implements OnInit, OnChanges {
|
|
6
|
-
private utils;
|
|
7
|
-
date: Date;
|
|
8
|
-
minDate: Date;
|
|
9
|
-
maxDate: Date;
|
|
10
|
-
excludedDates: Date[];
|
|
11
|
-
minYear: Date;
|
|
12
|
-
maxYear: Date;
|
|
13
|
-
withBackground: boolean;
|
|
14
|
-
align: 'left' | 'right';
|
|
15
|
-
withoutDays: boolean;
|
|
16
|
-
onDateChange: EventEmitter<Date>;
|
|
17
|
-
woDaysMonth: EventEmitter<any>;
|
|
18
|
-
woDaysYear: EventEmitter<any>;
|
|
19
|
-
woDaysMonthSubInc: EventEmitter<boolean>;
|
|
20
|
-
container: ElementRef<HTMLDivElement>;
|
|
21
|
-
month: Date[][];
|
|
22
|
-
isShowYears: boolean;
|
|
23
|
-
isShowMonths: boolean;
|
|
24
|
-
currentMonth: number;
|
|
25
|
-
currentYear: number;
|
|
26
|
-
constructor(utils: DatepickerUtilsService);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngOnChanges(changes: any): void;
|
|
29
|
-
addMonth(): void;
|
|
30
|
-
subMonth(): void;
|
|
31
|
-
setMonth(month: number, erase?: boolean): void;
|
|
32
|
-
setYear(year: number, erase?: boolean): void;
|
|
33
|
-
setDate(date: Date): void;
|
|
34
|
-
reDraw(): void;
|
|
35
|
-
firstDay(): Date;
|
|
36
|
-
showMonthsHandler(): void;
|
|
37
|
-
showYearsHandler(): void;
|
|
38
|
-
startOfYear(year: number): Date;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerCoreComponent, never>;
|
|
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, false>;
|
|
41
|
-
}
|
|
1
|
+
import '@angular/common/locales/global/ru';
|
|
2
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
3
|
+
import { DatepickerUtilsService } from '../services/datepicker-utils.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DatepickerCoreComponent implements OnInit, OnChanges {
|
|
6
|
+
private utils;
|
|
7
|
+
date: Date;
|
|
8
|
+
minDate: Date;
|
|
9
|
+
maxDate: Date;
|
|
10
|
+
excludedDates: Date[];
|
|
11
|
+
minYear: Date;
|
|
12
|
+
maxYear: Date;
|
|
13
|
+
withBackground: boolean;
|
|
14
|
+
align: 'left' | 'right';
|
|
15
|
+
withoutDays: boolean;
|
|
16
|
+
onDateChange: EventEmitter<Date>;
|
|
17
|
+
woDaysMonth: EventEmitter<any>;
|
|
18
|
+
woDaysYear: EventEmitter<any>;
|
|
19
|
+
woDaysMonthSubInc: EventEmitter<boolean>;
|
|
20
|
+
container: ElementRef<HTMLDivElement>;
|
|
21
|
+
month: Date[][];
|
|
22
|
+
isShowYears: boolean;
|
|
23
|
+
isShowMonths: boolean;
|
|
24
|
+
currentMonth: number;
|
|
25
|
+
currentYear: number;
|
|
26
|
+
constructor(utils: DatepickerUtilsService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnChanges(changes: any): void;
|
|
29
|
+
addMonth(): void;
|
|
30
|
+
subMonth(): void;
|
|
31
|
+
setMonth(month: number, erase?: boolean): void;
|
|
32
|
+
setYear(year: number, erase?: boolean): void;
|
|
33
|
+
setDate(date: Date): void;
|
|
34
|
+
reDraw(): void;
|
|
35
|
+
firstDay(): Date;
|
|
36
|
+
showMonthsHandler(): void;
|
|
37
|
+
showYearsHandler(): void;
|
|
38
|
+
startOfYear(year: number): Date;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerCoreComponent, never>;
|
|
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, false>;
|
|
41
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { DatepickerUtilsService } from '../services/datepicker-utils.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Компонента для отображения панели со списком дней
|
|
6
|
-
*/
|
|
7
|
-
export declare class DatepickerMonthComponent {
|
|
8
|
-
private utils;
|
|
9
|
-
month: any;
|
|
10
|
-
setDate: EventEmitter<Date>;
|
|
11
|
-
date: Date;
|
|
12
|
-
minDate: Date;
|
|
13
|
-
maxDate: Date;
|
|
14
|
-
excludedDates: Date[];
|
|
15
|
-
week: string[];
|
|
16
|
-
constructor(utils: DatepickerUtilsService);
|
|
17
|
-
isToday(date: Date): boolean;
|
|
18
|
-
emitDate(date: Date): void;
|
|
19
|
-
sameDate(date: Date): boolean;
|
|
20
|
-
isExcluded(date: Date): boolean;
|
|
21
|
-
isDisabled(date: Date): boolean;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerMonthComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerMonthComponent, "aeb-datepicker-month", never, { "month": "month"; "date": "date"; "minDate": "minDate"; "maxDate": "maxDate"; "excludedDates": "excludedDates"; }, { "setDate": "setDate"; }, never, never, false>;
|
|
24
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { DatepickerUtilsService } from '../services/datepicker-utils.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Компонента для отображения панели со списком дней
|
|
6
|
+
*/
|
|
7
|
+
export declare class DatepickerMonthComponent {
|
|
8
|
+
private utils;
|
|
9
|
+
month: any;
|
|
10
|
+
setDate: EventEmitter<Date>;
|
|
11
|
+
date: Date;
|
|
12
|
+
minDate: Date;
|
|
13
|
+
maxDate: Date;
|
|
14
|
+
excludedDates: Date[];
|
|
15
|
+
week: string[];
|
|
16
|
+
constructor(utils: DatepickerUtilsService);
|
|
17
|
+
isToday(date: Date): boolean;
|
|
18
|
+
emitDate(date: Date): void;
|
|
19
|
+
sameDate(date: Date): boolean;
|
|
20
|
+
isExcluded(date: Date): boolean;
|
|
21
|
+
isDisabled(date: Date): boolean;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerMonthComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerMonthComponent, "aeb-datepicker-month", never, { "month": "month"; "date": "date"; "minDate": "minDate"; "maxDate": "maxDate"; "excludedDates": "excludedDates"; }, { "setDate": "setDate"; }, never, never, false>;
|
|
24
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit, OnChanges } from '@angular/core';
|
|
2
|
-
import { DatepickerUtilsService } from '../services/datepicker-utils.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Компонента для отображения панели со списком лет/месяцев
|
|
6
|
-
*/
|
|
7
|
-
export declare class DatepickerTilesComponent implements OnInit, OnChanges {
|
|
8
|
-
private utils;
|
|
9
|
-
container: ElementRef;
|
|
10
|
-
date: Date;
|
|
11
|
-
isMonths: boolean;
|
|
12
|
-
isYears: boolean;
|
|
13
|
-
year: number;
|
|
14
|
-
setYear: EventEmitter<number>;
|
|
15
|
-
month: number;
|
|
16
|
-
setMonth: EventEmitter<number>;
|
|
17
|
-
minYear: Date;
|
|
18
|
-
maxYear: Date;
|
|
19
|
-
minDate: Date;
|
|
20
|
-
maxDate: Date;
|
|
21
|
-
woDays: boolean;
|
|
22
|
-
years: number[];
|
|
23
|
-
months: string[];
|
|
24
|
-
constructor(utils: DatepickerUtilsService);
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
ngOnChanges(changes: any): void;
|
|
27
|
-
emitMonth(month: number): void;
|
|
28
|
-
emitYear(year: number): void;
|
|
29
|
-
scrollYears(): void;
|
|
30
|
-
isMonthDisabled(month: number): boolean;
|
|
31
|
-
isYearDisabled(year: number): boolean;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerTilesComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerTilesComponent, "aeb-datepicker-tiles", never, { "date": "date"; "isMonths": "isMonths"; "isYears": "isYears"; "year": "year"; "month": "month"; "minYear": "minYear"; "maxYear": "maxYear"; "minDate": "minDate"; "maxDate": "maxDate"; "woDays": "woDays"; }, { "setYear": "setYear"; "setMonth": "setMonth"; }, never, never, false>;
|
|
34
|
-
}
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, OnChanges } from '@angular/core';
|
|
2
|
+
import { DatepickerUtilsService } from '../services/datepicker-utils.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Компонента для отображения панели со списком лет/месяцев
|
|
6
|
+
*/
|
|
7
|
+
export declare class DatepickerTilesComponent implements OnInit, OnChanges {
|
|
8
|
+
private utils;
|
|
9
|
+
container: ElementRef;
|
|
10
|
+
date: Date;
|
|
11
|
+
isMonths: boolean;
|
|
12
|
+
isYears: boolean;
|
|
13
|
+
year: number;
|
|
14
|
+
setYear: EventEmitter<number>;
|
|
15
|
+
month: number;
|
|
16
|
+
setMonth: EventEmitter<number>;
|
|
17
|
+
minYear: Date;
|
|
18
|
+
maxYear: Date;
|
|
19
|
+
minDate: Date;
|
|
20
|
+
maxDate: Date;
|
|
21
|
+
woDays: boolean;
|
|
22
|
+
years: number[];
|
|
23
|
+
months: string[];
|
|
24
|
+
constructor(utils: DatepickerUtilsService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
ngOnChanges(changes: any): void;
|
|
27
|
+
emitMonth(month: number): void;
|
|
28
|
+
emitYear(year: number): void;
|
|
29
|
+
scrollYears(): void;
|
|
30
|
+
isMonthDisabled(month: number): boolean;
|
|
31
|
+
isYearDisabled(year: number): boolean;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerTilesComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerTilesComponent, "aeb-datepicker-tiles", never, { "date": "date"; "isMonths": "isMonths"; "isYears": "isYears"; "year": "year"; "month": "month"; "minYear": "minYear"; "maxYear": "maxYear"; "minDate": "minDate"; "maxDate": "maxDate"; "woDays": "woDays"; }, { "setYear": "setYear"; "setMonth": "setMonth"; }, never, never, false>;
|
|
34
|
+
}
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { InputDirective } from '../form-field/input.directive';
|
|
4
|
-
import { DatepickerCoreComponent } from './datepicker-core/datepicker-core.component';
|
|
5
|
-
import { DatepickerUtilsService } from './services/datepicker-utils.service';
|
|
6
|
-
import { MaskUtilsService } from './services/mask-utils.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DatepickerComponent implements OnInit, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
9
|
-
private utils;
|
|
10
|
-
private maskUtils;
|
|
11
|
-
date: Date;
|
|
12
|
-
hasError: boolean;
|
|
13
|
-
minDate: Date;
|
|
14
|
-
maxDate: Date;
|
|
15
|
-
excludedDates: Date[];
|
|
16
|
-
minYear: Date;
|
|
17
|
-
maxYear: Date;
|
|
18
|
-
withBackground: boolean;
|
|
19
|
-
align: 'left' | 'right';
|
|
20
|
-
placeholder: string;
|
|
21
|
-
collapseOnChange: boolean;
|
|
22
|
-
withoutDays: boolean;
|
|
23
|
-
core: DatepickerCoreComponent;
|
|
24
|
-
input: InputDirective;
|
|
25
|
-
container: ElementRef<HTMLDivElement>;
|
|
26
|
-
onChange: EventEmitter<Date | null>;
|
|
27
|
-
clearVl: string;
|
|
28
|
-
inputValue: string;
|
|
29
|
-
lastValidInput: string;
|
|
30
|
-
customPattern: {
|
|
31
|
-
y: {
|
|
32
|
-
pattern: RegExp;
|
|
33
|
-
};
|
|
34
|
-
0: {
|
|
35
|
-
pattern: RegExp;
|
|
36
|
-
};
|
|
37
|
-
1: {
|
|
38
|
-
pattern: RegExp;
|
|
39
|
-
};
|
|
40
|
-
2: {
|
|
41
|
-
pattern: RegExp;
|
|
42
|
-
};
|
|
43
|
-
3: {
|
|
44
|
-
pattern: RegExp;
|
|
45
|
-
};
|
|
46
|
-
m: {
|
|
47
|
-
pattern: RegExp;
|
|
48
|
-
};
|
|
49
|
-
x: {
|
|
50
|
-
pattern: RegExp;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
fixedPosition: string;
|
|
54
|
-
isOpen: boolean;
|
|
55
|
-
disabled: boolean;
|
|
56
|
-
touched: boolean;
|
|
57
|
-
woDaysMonth: number;
|
|
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(): void;
|
|
68
|
-
clickInputHandler(): void;
|
|
69
|
-
clickOutsideHandler(): void;
|
|
70
|
-
woMonthIncSub(base: boolean): void;
|
|
71
|
-
woDaysMonthSet(value: [number, boolean]): void;
|
|
72
|
-
woDaysYearSet(value: [number, boolean]): void;
|
|
73
|
-
isExcluded(date: Date): boolean;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @param date
|
|
77
|
-
* @returns
|
|
78
|
-
*/
|
|
79
|
-
isDisabled(date: Date): boolean;
|
|
80
|
-
handleInput(event: Event): void;
|
|
81
|
-
handleOpen(): void;
|
|
82
|
-
scrollParent: HTMLElement;
|
|
83
|
-
adjustCoreContainer(): void;
|
|
84
|
-
handleDateChange(date: Date): void;
|
|
85
|
-
private onFormChange;
|
|
86
|
-
private onTouch;
|
|
87
|
-
registerOnChange(fn: (value: any) => void): void;
|
|
88
|
-
registerOnTouched(fn: any): void;
|
|
89
|
-
writeValue(value: any): void;
|
|
90
|
-
setDisabledState(disabled: boolean): void;
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
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, false>;
|
|
93
|
-
}
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { InputDirective } from '../form-field/input.directive';
|
|
4
|
+
import { DatepickerCoreComponent } from './datepicker-core/datepicker-core.component';
|
|
5
|
+
import { DatepickerUtilsService } from './services/datepicker-utils.service';
|
|
6
|
+
import { MaskUtilsService } from './services/mask-utils.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DatepickerComponent implements OnInit, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
9
|
+
private utils;
|
|
10
|
+
private maskUtils;
|
|
11
|
+
date: Date;
|
|
12
|
+
hasError: boolean;
|
|
13
|
+
minDate: Date;
|
|
14
|
+
maxDate: Date;
|
|
15
|
+
excludedDates: Date[];
|
|
16
|
+
minYear: Date;
|
|
17
|
+
maxYear: Date;
|
|
18
|
+
withBackground: boolean;
|
|
19
|
+
align: 'left' | 'right';
|
|
20
|
+
placeholder: string;
|
|
21
|
+
collapseOnChange: boolean;
|
|
22
|
+
withoutDays: boolean;
|
|
23
|
+
core: DatepickerCoreComponent;
|
|
24
|
+
input: InputDirective;
|
|
25
|
+
container: ElementRef<HTMLDivElement>;
|
|
26
|
+
onChange: EventEmitter<Date | null>;
|
|
27
|
+
clearVl: string;
|
|
28
|
+
inputValue: string;
|
|
29
|
+
lastValidInput: string;
|
|
30
|
+
customPattern: {
|
|
31
|
+
y: {
|
|
32
|
+
pattern: RegExp;
|
|
33
|
+
};
|
|
34
|
+
0: {
|
|
35
|
+
pattern: RegExp;
|
|
36
|
+
};
|
|
37
|
+
1: {
|
|
38
|
+
pattern: RegExp;
|
|
39
|
+
};
|
|
40
|
+
2: {
|
|
41
|
+
pattern: RegExp;
|
|
42
|
+
};
|
|
43
|
+
3: {
|
|
44
|
+
pattern: RegExp;
|
|
45
|
+
};
|
|
46
|
+
m: {
|
|
47
|
+
pattern: RegExp;
|
|
48
|
+
};
|
|
49
|
+
x: {
|
|
50
|
+
pattern: RegExp;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
fixedPosition: string;
|
|
54
|
+
isOpen: boolean;
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
touched: boolean;
|
|
57
|
+
woDaysMonth: number;
|
|
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(): void;
|
|
68
|
+
clickInputHandler(): void;
|
|
69
|
+
clickOutsideHandler(): void;
|
|
70
|
+
woMonthIncSub(base: boolean): void;
|
|
71
|
+
woDaysMonthSet(value: [number, boolean]): void;
|
|
72
|
+
woDaysYearSet(value: [number, boolean]): void;
|
|
73
|
+
isExcluded(date: Date): boolean;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @param date
|
|
77
|
+
* @returns
|
|
78
|
+
*/
|
|
79
|
+
isDisabled(date: Date): boolean;
|
|
80
|
+
handleInput(event: Event): void;
|
|
81
|
+
handleOpen(): void;
|
|
82
|
+
scrollParent: HTMLElement;
|
|
83
|
+
adjustCoreContainer(): void;
|
|
84
|
+
handleDateChange(date: Date): void;
|
|
85
|
+
private onFormChange;
|
|
86
|
+
private onTouch;
|
|
87
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
88
|
+
registerOnTouched(fn: any): void;
|
|
89
|
+
writeValue(value: any): void;
|
|
90
|
+
setDisabledState(disabled: boolean): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
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, false>;
|
|
93
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./datepicker.component";
|
|
3
|
-
import * as i2 from "./datepicker-core/datepicker-core.component";
|
|
4
|
-
import * as i3 from "./datepicker-month/datepicker-month.component";
|
|
5
|
-
import * as i4 from "./pipes/date-to-str.pipe";
|
|
6
|
-
import * as i5 from "./datepicker-tiles/datepicker-tiles.component";
|
|
7
|
-
import * as i6 from "ngx-mask";
|
|
8
|
-
import * as i7 from "@angular/common";
|
|
9
|
-
import * as i8 from "../form-field/form-field.module";
|
|
10
|
-
import * as i9 from "@angular/forms";
|
|
11
|
-
import * as i10 from "../click-outside/click-outside.module";
|
|
12
|
-
export declare class DatepickerModule {
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerModule, [typeof i1.DatepickerComponent, typeof i2.DatepickerCoreComponent, typeof i3.DatepickerMonthComponent, typeof i4.DateToStrPipe, typeof i5.DatepickerTilesComponent], [typeof i6.NgxMaskModule, typeof i7.CommonModule, typeof i8.FormFieldModule, typeof i9.FormsModule, typeof i10.ClickOutsideModule], [typeof i1.DatepickerComponent, typeof i2.DatepickerCoreComponent, typeof i3.DatepickerMonthComponent, typeof i4.DateToStrPipe, typeof i5.DatepickerTilesComponent]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerModule>;
|
|
16
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./datepicker.component";
|
|
3
|
+
import * as i2 from "./datepicker-core/datepicker-core.component";
|
|
4
|
+
import * as i3 from "./datepicker-month/datepicker-month.component";
|
|
5
|
+
import * as i4 from "./pipes/date-to-str.pipe";
|
|
6
|
+
import * as i5 from "./datepicker-tiles/datepicker-tiles.component";
|
|
7
|
+
import * as i6 from "ngx-mask";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "../form-field/form-field.module";
|
|
10
|
+
import * as i9 from "@angular/forms";
|
|
11
|
+
import * as i10 from "../click-outside/click-outside.module";
|
|
12
|
+
export declare class DatepickerModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerModule, [typeof i1.DatepickerComponent, typeof i2.DatepickerCoreComponent, typeof i3.DatepickerMonthComponent, typeof i4.DateToStrPipe, typeof i5.DatepickerTilesComponent], [typeof i6.NgxMaskModule, typeof i7.CommonModule, typeof i8.FormFieldModule, typeof i9.FormsModule, typeof i10.ClickOutsideModule], [typeof i1.DatepickerComponent, typeof i2.DatepickerCoreComponent, typeof i3.DatepickerMonthComponent, typeof i4.DateToStrPipe, typeof i5.DatepickerTilesComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerModule>;
|
|
16
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DateToStrPipe implements PipeTransform {
|
|
4
|
-
transform(value: Date | null): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateToStrPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateToStrPipe, "dateToStr", false>;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DateToStrPipe implements PipeTransform {
|
|
4
|
+
transform(value: Date | null): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateToStrPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateToStrPipe, "dateToStr", false>;
|
|
7
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DatepickerUtilsService {
|
|
3
|
-
static weekLocal: string[];
|
|
4
|
-
static monthsLocal: string[];
|
|
5
|
-
genWeek(week: Date, month: Date, count: number): Date[];
|
|
6
|
-
genMonth(date: Date): Date[][];
|
|
7
|
-
addMonths(date: Date, count: number): Date;
|
|
8
|
-
subMonths(date: Date, count: number): Date;
|
|
9
|
-
genYears(min: Date, max: Date): number[];
|
|
10
|
-
addYears(date: Date, count: number): Date;
|
|
11
|
-
subYears(date: Date, count: number): Date;
|
|
12
|
-
yearsDiff(a: Date, b: Date): number;
|
|
13
|
-
startOfYear(date: Date): Date;
|
|
14
|
-
isToday(date: Date): boolean;
|
|
15
|
-
isSameDay(dateLeft: Date, dateRight: Date): boolean;
|
|
16
|
-
getMonth(date: Date): number;
|
|
17
|
-
getYear(date: Date): number;
|
|
18
|
-
setMonth(month: number, year: number): Date;
|
|
19
|
-
isMinOverlap(minDate: Date, date: Date): boolean;
|
|
20
|
-
isMaxOverlap(maxDate: Date, date: Date): boolean;
|
|
21
|
-
parseDate(date: string): Date;
|
|
22
|
-
formatDate(date: Date): string;
|
|
23
|
-
dayLimit(month: number, year: number): number;
|
|
24
|
-
excludedMonths(day: number, year: number): number[];
|
|
25
|
-
validYear(day: number, month: number, year: number): boolean;
|
|
26
|
-
validDate(day: string, month: string, year: string, limit: [Date, Date]): boolean;
|
|
27
|
-
fillMask(date: string): string[];
|
|
28
|
-
validInput(term: string): boolean;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerUtilsService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DatepickerUtilsService>;
|
|
31
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DatepickerUtilsService {
|
|
3
|
+
static weekLocal: string[];
|
|
4
|
+
static monthsLocal: string[];
|
|
5
|
+
genWeek(week: Date, month: Date, count: number): Date[];
|
|
6
|
+
genMonth(date: Date): Date[][];
|
|
7
|
+
addMonths(date: Date, count: number): Date;
|
|
8
|
+
subMonths(date: Date, count: number): Date;
|
|
9
|
+
genYears(min: Date, max: Date): number[];
|
|
10
|
+
addYears(date: Date, count: number): Date;
|
|
11
|
+
subYears(date: Date, count: number): Date;
|
|
12
|
+
yearsDiff(a: Date, b: Date): number;
|
|
13
|
+
startOfYear(date: Date): Date;
|
|
14
|
+
isToday(date: Date): boolean;
|
|
15
|
+
isSameDay(dateLeft: Date, dateRight: Date): boolean;
|
|
16
|
+
getMonth(date: Date): number;
|
|
17
|
+
getYear(date: Date): number;
|
|
18
|
+
setMonth(month: number, year: number): Date;
|
|
19
|
+
isMinOverlap(minDate: Date, date: Date): boolean;
|
|
20
|
+
isMaxOverlap(maxDate: Date, date: Date): boolean;
|
|
21
|
+
parseDate(date: string): Date;
|
|
22
|
+
formatDate(date: Date): string;
|
|
23
|
+
dayLimit(month: number, year: number): number;
|
|
24
|
+
excludedMonths(day: number, year: number): number[];
|
|
25
|
+
validYear(day: number, month: number, year: number): boolean;
|
|
26
|
+
validDate(day: string, month: string, year: string, limit: [Date, Date]): boolean;
|
|
27
|
+
fillMask(date: string): string[];
|
|
28
|
+
validInput(term: string): boolean;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerUtilsService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DatepickerUtilsService>;
|
|
31
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MaskUtilsService {
|
|
3
|
-
inputSegmentOverflow([day, month, year]: string[], event: KeyboardEvent, woDays: boolean): boolean;
|
|
4
|
-
breakInput(event: KeyboardEvent): (c: boolean) => void;
|
|
5
|
-
predictInput(input: string, key: string, inputIndex: number, withoutDays: boolean): string;
|
|
6
|
-
static allowedKeys: string[];
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaskUtilsService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MaskUtilsService>;
|
|
9
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MaskUtilsService {
|
|
3
|
+
inputSegmentOverflow([day, month, year]: string[], event: KeyboardEvent, woDays: boolean): boolean;
|
|
4
|
+
breakInput(event: KeyboardEvent): (c: boolean) => void;
|
|
5
|
+
predictInput(input: string, key: string, inputIndex: number, withoutDays: boolean): string;
|
|
6
|
+
static allowedKeys: string[];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaskUtilsService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MaskUtilsService>;
|
|
9
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class NumbersOnlyDirective {
|
|
3
|
-
private navigationKeys;
|
|
4
|
-
constructor();
|
|
5
|
-
onKeyDown(e: KeyboardEvent): void;
|
|
6
|
-
onPaste(event: ClipboardEvent): void;
|
|
7
|
-
onDrop(event: DragEvent): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumbersOnlyDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NumbersOnlyDirective, "[aebNumbersOnly]", never, {}, {}, never, never, false>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class NumbersOnlyDirective {
|
|
3
|
+
private navigationKeys;
|
|
4
|
+
constructor();
|
|
5
|
+
onKeyDown(e: KeyboardEvent): void;
|
|
6
|
+
onPaste(event: ClipboardEvent): void;
|
|
7
|
+
onDrop(event: DragEvent): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumbersOnlyDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumbersOnlyDirective, "[aebNumbersOnly]", never, {}, {}, never, never, false>;
|
|
10
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FieldSliderComponent implements OnInit, AfterViewInit {
|
|
4
|
-
private renderer;
|
|
5
|
-
input: ElementRef<HTMLBaseElement>;
|
|
6
|
-
slider: ElementRef<HTMLBaseElement>;
|
|
7
|
-
label: string;
|
|
8
|
-
prefix: string;
|
|
9
|
-
min: number;
|
|
10
|
-
max: number;
|
|
11
|
-
step: number;
|
|
12
|
-
value: number;
|
|
13
|
-
valueSeparator: string;
|
|
14
|
-
displayValue: any;
|
|
15
|
-
isPressed?: boolean;
|
|
16
|
-
get position(): number;
|
|
17
|
-
onChange: (_: number) => void;
|
|
18
|
-
constructor(renderer: Renderer2);
|
|
19
|
-
handleStartDragging(event: MouseEvent): void;
|
|
20
|
-
handleEndDragging(event: MouseEvent): void;
|
|
21
|
-
handleStartSwiping(event: TouchEvent): void;
|
|
22
|
-
handleEndSwipping(event: TouchEvent): void;
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngAfterViewInit(): void;
|
|
25
|
-
writeValue(value: number): void;
|
|
26
|
-
registerOnChange(fn: () => void): void;
|
|
27
|
-
registerOnTouched(): void;
|
|
28
|
-
updateDisplayValue(): void;
|
|
29
|
-
setCurrentDisplayValue(): void;
|
|
30
|
-
changeValueByInput(value: string): void;
|
|
31
|
-
private handleChangeValue;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldSliderComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldSliderComponent, "aeb-field-slider", never, { "label": "label"; "prefix": "prefix"; "min": "min"; "max": "max"; "step": "step"; "value": "value"; "valueSeparator": "valueSeparator"; }, {}, never, never, false>;
|
|
34
|
-
}
|
|
1
|
+
import { AfterViewInit, ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FieldSliderComponent implements OnInit, AfterViewInit {
|
|
4
|
+
private renderer;
|
|
5
|
+
input: ElementRef<HTMLBaseElement>;
|
|
6
|
+
slider: ElementRef<HTMLBaseElement>;
|
|
7
|
+
label: string;
|
|
8
|
+
prefix: string;
|
|
9
|
+
min: number;
|
|
10
|
+
max: number;
|
|
11
|
+
step: number;
|
|
12
|
+
value: number;
|
|
13
|
+
valueSeparator: string;
|
|
14
|
+
displayValue: any;
|
|
15
|
+
isPressed?: boolean;
|
|
16
|
+
get position(): number;
|
|
17
|
+
onChange: (_: number) => void;
|
|
18
|
+
constructor(renderer: Renderer2);
|
|
19
|
+
handleStartDragging(event: MouseEvent): void;
|
|
20
|
+
handleEndDragging(event: MouseEvent): void;
|
|
21
|
+
handleStartSwiping(event: TouchEvent): void;
|
|
22
|
+
handleEndSwipping(event: TouchEvent): void;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngAfterViewInit(): void;
|
|
25
|
+
writeValue(value: number): void;
|
|
26
|
+
registerOnChange(fn: () => void): void;
|
|
27
|
+
registerOnTouched(): void;
|
|
28
|
+
updateDisplayValue(): void;
|
|
29
|
+
setCurrentDisplayValue(): void;
|
|
30
|
+
changeValueByInput(value: string): void;
|
|
31
|
+
private handleChangeValue;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldSliderComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldSliderComponent, "aeb-field-slider", never, { "label": "label"; "prefix": "prefix"; "min": "min"; "max": "max"; "step": "step"; "value": "value"; "valueSeparator": "valueSeparator"; }, {}, never, never, false>;
|
|
34
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./field-slider.component";
|
|
3
|
-
import * as i2 from "./pipes/replace.pipe";
|
|
4
|
-
import * as i3 from "./directives/numbers-only.directive";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "../form-field/form-field.module";
|
|
7
|
-
import * as i6 from "@angular/forms";
|
|
8
|
-
export declare class FieldSliderModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldSliderModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FieldSliderModule, [typeof i1.FieldSliderComponent, typeof i2.ReplacePipe, typeof i3.NumbersOnlyDirective], [typeof i4.CommonModule, typeof i5.FormFieldModule, typeof i6.FormsModule], [typeof i1.FieldSliderComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FieldSliderModule>;
|
|
12
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./field-slider.component";
|
|
3
|
+
import * as i2 from "./pipes/replace.pipe";
|
|
4
|
+
import * as i3 from "./directives/numbers-only.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "../form-field/form-field.module";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
export declare class FieldSliderModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldSliderModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FieldSliderModule, [typeof i1.FieldSliderComponent, typeof i2.ReplacePipe, typeof i3.NumbersOnlyDirective], [typeof i4.CommonModule, typeof i5.FormFieldModule, typeof i6.FormsModule], [typeof i1.FieldSliderComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FieldSliderModule>;
|
|
12
|
+
}
|