@gettrx/core-components-angular 0.0.59 → 0.0.60
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/generated/components.mjs +729 -0
- package/esm2020/generated/number-value-accessor.mjs +40 -0
- package/esm2020/generated/text-value-accessor.mjs +36 -0
- package/esm2020/generated/value-accessor.mjs +40 -0
- package/{esm2022 → esm2020}/gettrx-core-components-angular.mjs +2 -2
- package/{esm2022 → esm2020}/gettrx-module.mjs +5 -5
- package/esm2020/index.mjs +9 -0
- package/fesm2015/gettrx-core-components-angular.mjs +918 -0
- package/fesm2015/gettrx-core-components-angular.mjs.map +1 -0
- package/fesm2020/gettrx-core-components-angular.mjs +918 -0
- package/fesm2020/gettrx-core-components-angular.mjs.map +1 -0
- package/generated/components.d.ts +24 -24
- package/index.d.ts +5 -5
- package/package.json +15 -8
- package/esm2022/generated/components.mjs +0 -781
- package/esm2022/generated/number-value-accessor.mjs +0 -40
- package/esm2022/generated/text-value-accessor.mjs +0 -36
- package/esm2022/generated/value-accessor.mjs +0 -42
- package/esm2022/lib/atoms/badge/badge.component.mjs +0 -73
- package/esm2022/lib/atoms/badge/badge.module.mjs +0 -19
- package/esm2022/lib/atoms/badge/index.mjs +0 -2
- package/esm2022/lib/atoms/badge/public_api.mjs +0 -3
- package/esm2022/lib/atoms/button/button-close.directive.mjs +0 -36
- package/esm2022/lib/atoms/button/button.directive.mjs +0 -108
- package/esm2022/lib/atoms/button/button.module.mjs +0 -17
- package/esm2022/lib/atoms/button/index.mjs +0 -2
- package/esm2022/lib/atoms/button/public_api.mjs +0 -4
- package/esm2022/lib/atoms/gtr.types.mjs +0 -10
- package/esm2022/lib/molecules/button/button-close.directive.mjs +0 -36
- package/esm2022/lib/molecules/button/button.directive.mjs +0 -108
- package/esm2022/lib/molecules/button/button.module.mjs +0 -17
- package/esm2022/lib/molecules/button/index.mjs +0 -2
- package/esm2022/lib/molecules/button/public_api.mjs +0 -4
- package/esm2022/lib/molecules/calendar/calendar/calendar-class-view.pipe.mjs +0 -20
- package/esm2022/lib/molecules/calendar/calendar/calendar.component.mjs +0 -435
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-day.pipe.mjs +0 -30
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.mjs +0 -23
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.mjs +0 -22
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.mjs +0 -17
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.directive.mjs +0 -127
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.pipe.mjs +0 -19
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.mjs +0 -20
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.component.mjs +0 -425
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.pipe.mjs +0 -17
- package/esm2022/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.mjs +0 -21
- package/esm2022/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.mjs +0 -87
- package/esm2022/lib/molecules/calendar/calendar.module.mjs +0 -55
- package/esm2022/lib/molecules/calendar/calendar.service.mjs +0 -64
- package/esm2022/lib/molecules/calendar/calendar.utils.mjs +0 -296
- package/esm2022/lib/molecules/calendar/index.mjs +0 -2
- package/esm2022/lib/molecules/calendar/public_api.mjs +0 -5
- package/esm2022/lib/molecules/core-components.types.mjs +0 -10
- package/esm2022/lib/molecules/date-picker/date-picker.component.mjs +0 -81
- package/esm2022/lib/molecules/date-picker/date-picker.module.mjs +0 -58
- package/esm2022/lib/molecules/date-picker/index.mjs +0 -2
- package/esm2022/lib/molecules/date-picker/public_api.mjs +0 -3
- package/esm2022/lib/molecules/date-range-picker/date-range-picker/date-range-picker.component.mjs +0 -739
- package/esm2022/lib/molecules/date-range-picker/date-range-picker.module.mjs +0 -16
- package/esm2022/lib/molecules/date-range-picker/index.mjs +0 -2
- package/esm2022/lib/molecules/date-range-picker/public_api.mjs +0 -3
- package/esm2022/lib/molecules/dropdown/dropdown/dropdown.component.mjs +0 -422
- package/esm2022/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.mjs +0 -88
- package/esm2022/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.mjs +0 -22
- package/esm2022/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.mjs +0 -22
- package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +0 -22
- package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.mjs +0 -107
- package/esm2022/lib/molecules/dropdown/dropdown-menu/dropdown-menu.directive.mjs +0 -83
- package/esm2022/lib/molecules/dropdown/dropdown.module.mjs +0 -56
- package/esm2022/lib/molecules/dropdown/dropdown.service.mjs +0 -17
- package/esm2022/lib/molecules/dropdown/index.mjs +0 -2
- package/esm2022/lib/molecules/dropdown/public_api.mjs +0 -10
- package/esm2022/lib/molecules/form/form/form.directive.mjs +0 -31
- package/esm2022/lib/molecules/form/form-check/form-check-input.directive.mjs +0 -70
- package/esm2022/lib/molecules/form/form-check/form-check-label.directive.mjs +0 -22
- package/esm2022/lib/molecules/form/form-check/form-check.component.mjs +0 -75
- package/esm2022/lib/molecules/form/form-control/form-control.directive.mjs +0 -72
- package/esm2022/lib/molecules/form/form-feedback/form-feedback.component.mjs +0 -41
- package/esm2022/lib/molecules/form/form-floating/form-floating.directive.mjs +0 -30
- package/esm2022/lib/molecules/form/form-label/form-label.directive.mjs +0 -39
- package/esm2022/lib/molecules/form/form-select/form-select.directive.mjs +0 -39
- package/esm2022/lib/molecules/form/form-text/form-text.directive.mjs +0 -22
- package/esm2022/lib/molecules/form/form.module.mjs +0 -75
- package/esm2022/lib/molecules/form/index.mjs +0 -2
- package/esm2022/lib/molecules/form/input-group/input-group.component.mjs +0 -31
- package/esm2022/lib/molecules/form/input-group-text/input-group-text.directive.mjs +0 -23
- package/esm2022/lib/molecules/form/public_api.mjs +0 -14
- package/esm2022/lib/molecules/shared/html-attr.directive.mjs +0 -58
- package/esm2022/lib/molecules/shared/index.mjs +0 -2
- package/esm2022/lib/molecules/shared/public_api.mjs +0 -4
- package/esm2022/lib/molecules/shared/shared.module.mjs +0 -22
- package/esm2022/lib/molecules/shared/template-id.directive.mjs +0 -22
- package/esm2022/lib/molecules/time-picker/index.mjs +0 -2
- package/esm2022/lib/molecules/time-picker/public_api.mjs +0 -3
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +0 -113
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +0 -114
- package/esm2022/lib/molecules/time-picker/time-picker.component.mjs +0 -555
- package/esm2022/lib/molecules/time-picker/time-picker.module.mjs +0 -51
- package/esm2022/lib/molecules/time-picker/time.utils.mjs +0 -676
- package/esm2022/public_api.mjs +0 -14
- package/fesm2022/gettrx-core-components-angular.mjs +0 -6725
- package/fesm2022/gettrx-core-components-angular.mjs.map +0 -1
- package/lib/atoms/badge/badge.component.d.ts +0 -22
- package/lib/atoms/badge/badge.module.d.ts +0 -9
- package/lib/atoms/badge/index.d.ts +0 -1
- package/lib/atoms/badge/public_api.d.ts +0 -2
- package/lib/atoms/button/button-close.directive.d.ts +0 -13
- package/lib/atoms/button/button.directive.d.ts +0 -48
- package/lib/atoms/button/button.module.d.ts +0 -8
- package/lib/atoms/button/index.d.ts +0 -1
- package/lib/atoms/button/public_api.d.ts +0 -3
- package/lib/atoms/gtr.types.d.ts +0 -46
- package/lib/molecules/button/button-close.directive.d.ts +0 -13
- package/lib/molecules/button/button.directive.d.ts +0 -48
- package/lib/molecules/button/button.module.d.ts +0 -8
- package/lib/molecules/button/index.d.ts +0 -1
- package/lib/molecules/button/public_api.d.ts +0 -3
- package/lib/molecules/calendar/calendar/calendar-class-view.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar/calendar.component.d.ts +0 -177
- package/lib/molecules/calendar/calendar-month/calendar-class-day.pipe.d.ts +0 -15
- package/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-day.directive.d.ts +0 -33
- package/lib/molecules/calendar/calendar-month/calendar-day.pipe.d.ts +0 -8
- package/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-month.component.d.ts +0 -134
- package/lib/molecules/calendar/calendar-month/calendar-month.pipe.d.ts +0 -7
- package/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.d.ts +0 -8
- package/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.d.ts +0 -32
- package/lib/molecules/calendar/calendar.module.d.ts +0 -19
- package/lib/molecules/calendar/calendar.service.d.ts +0 -36
- package/lib/molecules/calendar/calendar.utils.d.ts +0 -26
- package/lib/molecules/calendar/index.d.ts +0 -1
- package/lib/molecules/calendar/public_api.d.ts +0 -4
- package/lib/molecules/core-components.types.d.ts +0 -46
- package/lib/molecules/date-picker/date-picker.component.d.ts +0 -18
- package/lib/molecules/date-picker/date-picker.module.d.ts +0 -18
- package/lib/molecules/date-picker/index.d.ts +0 -1
- package/lib/molecules/date-picker/public_api.d.ts +0 -2
- package/lib/molecules/date-range-picker/date-range-picker/date-range-picker.component.d.ts +0 -270
- package/lib/molecules/date-range-picker/date-range-picker.module.d.ts +0 -7
- package/lib/molecules/date-range-picker/index.d.ts +0 -1
- package/lib/molecules/date-range-picker/public_api.d.ts +0 -2
- package/lib/molecules/dropdown/dropdown/dropdown.component.d.ts +0 -136
- package/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.d.ts +0 -26
- package/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.d.ts +0 -6
- package/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.d.ts +0 -6
- package/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.d.ts +0 -6
- package/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.d.ts +0 -36
- package/lib/molecules/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +0 -34
- package/lib/molecules/dropdown/dropdown.module.d.ts +0 -13
- package/lib/molecules/dropdown/dropdown.service.d.ts +0 -13
- package/lib/molecules/dropdown/index.d.ts +0 -1
- package/lib/molecules/dropdown/public_api.d.ts +0 -9
- package/lib/molecules/form/form/form.directive.d.ts +0 -13
- package/lib/molecules/form/form-check/form-check-input.directive.d.ts +0 -31
- package/lib/molecules/form/form-check/form-check-label.directive.d.ts +0 -6
- package/lib/molecules/form/form-check/form-check.component.d.ts +0 -39
- package/lib/molecules/form/form-control/form-control.directive.d.ts +0 -31
- package/lib/molecules/form/form-feedback/form-feedback.component.d.ts +0 -17
- package/lib/molecules/form/form-floating/form-floating.directive.d.ts +0 -12
- package/lib/molecules/form/form-label/form-label.directive.d.ts +0 -16
- package/lib/molecules/form/form-select/form-select.directive.d.ts +0 -16
- package/lib/molecules/form/form-text/form-text.directive.d.ts +0 -6
- package/lib/molecules/form/form.module.d.ts +0 -18
- package/lib/molecules/form/index.d.ts +0 -1
- package/lib/molecules/form/input-group/input-group.component.d.ts +0 -11
- package/lib/molecules/form/input-group-text/input-group-text.directive.d.ts +0 -7
- package/lib/molecules/form/public_api.d.ts +0 -13
- package/lib/molecules/shared/html-attr.directive.d.ts +0 -16
- package/lib/molecules/shared/index.d.ts +0 -1
- package/lib/molecules/shared/public_api.d.ts +0 -3
- package/lib/molecules/shared/shared.module.d.ts +0 -10
- package/lib/molecules/shared/template-id.directive.d.ts +0 -9
- package/lib/molecules/time-picker/index.d.ts +0 -1
- package/lib/molecules/time-picker/public_api.d.ts +0 -2
- package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +0 -39
- package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +0 -38
- package/lib/molecules/time-picker/time-picker.component.d.ts +0 -196
- package/lib/molecules/time-picker/time-picker.module.d.ts +0 -14
- package/lib/molecules/time-picker/time.utils.d.ts +0 -57
- package/public_api.d.ts +0 -10
- /package/{esm2022 → esm2020}/generated/angular-component-lib/utils.mjs +0 -0
- /package/{esm2022 → esm2020}/generated/proxies-list.mjs +0 -0
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CalendarService, DateFilterType, DayFormatType, WeekdayFormatType } from '../calendar.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CalendarMonthComponent implements OnInit, OnDestroy {
|
|
5
|
-
private calendarService;
|
|
6
|
-
constructor(calendarService: CalendarService);
|
|
7
|
-
addMonths: number;
|
|
8
|
-
/**
|
|
9
|
-
* Initial selected date.
|
|
10
|
-
* @type (Date | null)
|
|
11
|
-
*/
|
|
12
|
-
set startDate(value: Date | null);
|
|
13
|
-
get startDate(): Date | null;
|
|
14
|
-
_startDate: Date | null;
|
|
15
|
-
/**
|
|
16
|
-
* Initial selected to date (range).
|
|
17
|
-
* @type (Date | null)
|
|
18
|
-
*/
|
|
19
|
-
set endDate(value: Date | null);
|
|
20
|
-
get endDate(): Date | null;
|
|
21
|
-
_endDate: Date | null;
|
|
22
|
-
/**
|
|
23
|
-
* Specify the list of dates that cannot be selected.
|
|
24
|
-
* @type (Date[] | Date[][])
|
|
25
|
-
*/
|
|
26
|
-
set disabledDates(value: Date[] | Date[][]);
|
|
27
|
-
get disabledDates(): Date[] | Date[][];
|
|
28
|
-
private _disabledDates;
|
|
29
|
-
/**
|
|
30
|
-
* Sets the day of start week.
|
|
31
|
-
* - 0 - Sunday,
|
|
32
|
-
* - 1 - Monday,
|
|
33
|
-
* - 2 - Tuesday,
|
|
34
|
-
* - 3 - Wednesday,
|
|
35
|
-
* - 4 - Thursday,
|
|
36
|
-
* - 5 - Friday,
|
|
37
|
-
* - 6 - Saturday,
|
|
38
|
-
*/
|
|
39
|
-
set firstDayOfWeek(value: number);
|
|
40
|
-
get firstDayOfWeek(): number;
|
|
41
|
-
private _firstDayOfWeek;
|
|
42
|
-
/**
|
|
43
|
-
* Sets the default locale for components. If not set, it is inherited from the browser.
|
|
44
|
-
* @default 'default'
|
|
45
|
-
*/
|
|
46
|
-
set locale(value: string);
|
|
47
|
-
get locale(): string;
|
|
48
|
-
private _locale;
|
|
49
|
-
/**
|
|
50
|
-
* Allow range selection.
|
|
51
|
-
*/
|
|
52
|
-
set range(value: boolean);
|
|
53
|
-
get range(): boolean;
|
|
54
|
-
private _range;
|
|
55
|
-
/**
|
|
56
|
-
* Set length or format of day name.
|
|
57
|
-
* @type number | 'long' | 'narrow' | 'short'
|
|
58
|
-
* @default 'short'
|
|
59
|
-
*/
|
|
60
|
-
weekdayFormat: WeekdayFormatType;
|
|
61
|
-
/**
|
|
62
|
-
* Set calendar view.
|
|
63
|
-
* @type 'days' | 'months' | 'years'
|
|
64
|
-
* @default 'days'
|
|
65
|
-
*/
|
|
66
|
-
set view(value: "days" | "months" | "years");
|
|
67
|
-
get view(): "days" | "months" | "years";
|
|
68
|
-
private _view;
|
|
69
|
-
/**
|
|
70
|
-
* Set calendar type.
|
|
71
|
-
* @type 'days' | 'months' | 'years'
|
|
72
|
-
* @default 'days'
|
|
73
|
-
*/
|
|
74
|
-
set type(value: "days" | "months" | "years");
|
|
75
|
-
get type(): "days" | "months" | "years";
|
|
76
|
-
private _type;
|
|
77
|
-
/**
|
|
78
|
-
* Max selectable date.
|
|
79
|
-
*/
|
|
80
|
-
set maxDate(value: Date | null);
|
|
81
|
-
get maxDate(): Date | null;
|
|
82
|
-
private _maxDate;
|
|
83
|
-
/**
|
|
84
|
-
* Min selectable date.
|
|
85
|
-
*/
|
|
86
|
-
set minDate(value: Date | null);
|
|
87
|
-
get minDate(): Date | null;
|
|
88
|
-
private _minDate;
|
|
89
|
-
listOfMonths: any[][];
|
|
90
|
-
listOfYears: any[][];
|
|
91
|
-
private calendarStateSubscription;
|
|
92
|
-
/**
|
|
93
|
-
* Default date of the component
|
|
94
|
-
* @type Date
|
|
95
|
-
*/
|
|
96
|
-
set calendarDate(value: Date | string | number);
|
|
97
|
-
get calendarDate(): Date;
|
|
98
|
-
private _calendarDate;
|
|
99
|
-
dateFilter: DateFilterType;
|
|
100
|
-
get date(): Date;
|
|
101
|
-
dayFormat: DayFormatType;
|
|
102
|
-
selectAdjacentDays: boolean;
|
|
103
|
-
showAdjacentDays: boolean;
|
|
104
|
-
private _monthDetails;
|
|
105
|
-
get monthDetails(): {
|
|
106
|
-
date: Date;
|
|
107
|
-
month: string;
|
|
108
|
-
}[][];
|
|
109
|
-
get weekDays(): {
|
|
110
|
-
date: Date;
|
|
111
|
-
month: string;
|
|
112
|
-
}[];
|
|
113
|
-
ngOnInit(): void;
|
|
114
|
-
setListOfYears(date: Date): void;
|
|
115
|
-
setMonthDetails(date?: Date): void;
|
|
116
|
-
yearNumber(year: any): string;
|
|
117
|
-
isDateDisabled(date: Date): any;
|
|
118
|
-
calendarCellTitle(date: Date): string;
|
|
119
|
-
handleYearCellMouseEnter(year: number): void;
|
|
120
|
-
handleMonthCellMouseEnter(date: Date, i: number, idx: number): void;
|
|
121
|
-
handleCellMouseEnter(hoverDate: Date): void;
|
|
122
|
-
handleYearCellClick(year: any): void;
|
|
123
|
-
handleYearCellKeyUp($event: KeyboardEvent, year: any): void;
|
|
124
|
-
handleMonthCellKeyUp($event: KeyboardEvent, date: Date, i: number, idx: number): void;
|
|
125
|
-
handleMonthCellClick(i: number, idx: number): void;
|
|
126
|
-
setCalendarPage(years: number, months?: number, setMonth?: number): void;
|
|
127
|
-
handleCellMouseLeave(): void;
|
|
128
|
-
handleDayCellKeyUp($event: KeyboardEvent, date: Date): void;
|
|
129
|
-
handleDayCellClick(date: Date): void;
|
|
130
|
-
calendarStateSubscribe(subscribe?: boolean): void;
|
|
131
|
-
ngOnDestroy(): void;
|
|
132
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthComponent, never>;
|
|
133
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthComponent, "gtr-calendar-month", ["gtrCalendarMonth"], { "addMonths": { "alias": "addMonths"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "range": { "alias": "range"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "view": { "alias": "view"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; }, {}, never, never, true, never>;
|
|
134
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CalendarMonthPipe implements PipeTransform {
|
|
4
|
-
transform(date: Date, monthIndex: number): Date;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CalendarMonthPipe, "calendarMonth", true>;
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { WeekdayFormatType } from '../calendar.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CalendarWeekdayPipe implements PipeTransform {
|
|
5
|
-
transform(date: Date, weekdayFormat?: WeekdayFormatType, locale?: string): string | number;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarWeekdayPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CalendarWeekdayPipe, "calendarWeekday", true>;
|
|
8
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CalendarService } from '../calendar.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
interface INavigationClick {
|
|
5
|
-
direction: 'prev' | 'next';
|
|
6
|
-
years: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare class CalendarNavigationComponent implements OnDestroy {
|
|
9
|
-
private calendarService;
|
|
10
|
-
constructor(calendarService: CalendarService);
|
|
11
|
-
addMonths: number;
|
|
12
|
-
set calendarDate(value: Date);
|
|
13
|
-
get calendarDate(): Date;
|
|
14
|
-
private _calendarDate;
|
|
15
|
-
navigation: boolean;
|
|
16
|
-
navShowYear: boolean;
|
|
17
|
-
navYearFirst: boolean;
|
|
18
|
-
locale: string;
|
|
19
|
-
view: 'days' | 'months' | 'years';
|
|
20
|
-
type: 'days' | 'months' | 'years';
|
|
21
|
-
navigationClick: EventEmitter<INavigationClick>;
|
|
22
|
-
private calendarStateSubscription;
|
|
23
|
-
get date(): Date;
|
|
24
|
-
get hostClasses(): any;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
calendarStateSubscribe(subscribe?: boolean): void;
|
|
27
|
-
setView(view: 'days' | 'months' | 'years'): void;
|
|
28
|
-
handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarNavigationComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarNavigationComponent, "gtr-calendar-navigation", never, { "addMonths": { "alias": "addMonths"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "navShowYear": { "alias": "navShowYear"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; }, { "navigationClick": "navigationClick"; }, never, never, true, never>;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./calendar/calendar.component";
|
|
3
|
-
import * as i2 from "./calendar-month/calendar-class-year.pipe";
|
|
4
|
-
import * as i3 from "./calendar-month/calendar-class-day.pipe";
|
|
5
|
-
import * as i4 from "./calendar-month/calendar-class-month.pipe";
|
|
6
|
-
import * as i5 from "./calendar-month/calendar-day.directive";
|
|
7
|
-
import * as i6 from "./calendar/calendar-class-view.pipe";
|
|
8
|
-
import * as i7 from "./calendar-navigation/calendar-navigation.component";
|
|
9
|
-
import * as i8 from "./calendar-month/calendar-month.component";
|
|
10
|
-
import * as i9 from "./calendar-month/calendar-day.pipe";
|
|
11
|
-
import * as i10 from "./calendar-month/calendar-weekday.pipe";
|
|
12
|
-
import * as i11 from "./calendar-month/calendar-day-title.pipe";
|
|
13
|
-
import * as i12 from "./calendar-month/calendar-month-title.pipe";
|
|
14
|
-
import * as i13 from "./calendar-month/calendar-month.pipe";
|
|
15
|
-
export declare class CalendarModule {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarModule, never, [typeof i1.CalendarComponent, typeof i2.CalendarClassYearPipe, typeof i3.CalendarClassDayPipe, typeof i4.CalendarClassMonthPipe, typeof i5.CalendarDayDirective, typeof i6.CalendarClassViewPipe, typeof i7.CalendarNavigationComponent, typeof i8.CalendarMonthComponent, typeof i9.CalendarDayPipe, typeof i10.CalendarWeekdayPipe, typeof i11.CalendarDayTitlePipe, typeof i12.CalendarMonthTitlePipe, typeof i13.CalendarMonthPipe], [typeof i1.CalendarComponent, typeof i8.CalendarMonthComponent, typeof i7.CalendarNavigationComponent]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CalendarModule>;
|
|
19
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { KeyValueDiffers } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type DateFilterType = (date: Date) => boolean;
|
|
4
|
-
export type DayFormatType = 'numeric' | '2-digit' | ((date: Date) => string | number);
|
|
5
|
-
export type WeekdayFormatType = number | 'long' | 'narrow' | 'short' | ((date: Date) => string | number);
|
|
6
|
-
export interface ICalendarState {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
calendarDate?: Date | null;
|
|
9
|
-
hoverDate?: Date | null;
|
|
10
|
-
startDate?: Date | null;
|
|
11
|
-
endDate?: Date | null;
|
|
12
|
-
maxDate?: Date | null;
|
|
13
|
-
minDate?: Date | null;
|
|
14
|
-
disabledDates?: (Date | Date[])[];
|
|
15
|
-
range?: boolean;
|
|
16
|
-
view?: string;
|
|
17
|
-
type?: string;
|
|
18
|
-
locale?: string;
|
|
19
|
-
dateFilter?: DateFilterType;
|
|
20
|
-
dayFormat?: DayFormatType;
|
|
21
|
-
weekdayFormat?: WeekdayFormatType;
|
|
22
|
-
navYearFirst?: boolean;
|
|
23
|
-
showAdjacentDays?: boolean;
|
|
24
|
-
selectAdjacentDays?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export declare class CalendarService {
|
|
27
|
-
private keyValueDiffers;
|
|
28
|
-
constructor(keyValueDiffers: KeyValueDiffers);
|
|
29
|
-
private readonly differ;
|
|
30
|
-
calendarStateObject: ICalendarState;
|
|
31
|
-
private calendarState;
|
|
32
|
-
calendarState$: import("rxjs").Observable<ICalendarState>;
|
|
33
|
-
update(state: ICalendarState): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
|
|
36
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const convertToLocalDate: (d: Date, locale: string, options?: {}) => string;
|
|
2
|
-
export declare const convertToLocalTime: (d: Date, locale: string, options?: {}) => string;
|
|
3
|
-
export declare const createGroupsInArray: (arr: any[], numberOfGroups: number) => any[][];
|
|
4
|
-
export declare const getCurrentYear: () => number;
|
|
5
|
-
export declare const getCurrentMonth: () => number;
|
|
6
|
-
export declare const getLocalDateFromString: (string: string, locale: string, time?: boolean) => Date;
|
|
7
|
-
export declare const getMonthName: (month: number, locale: string) => string;
|
|
8
|
-
export declare const getMonthsNames: (locale: string) => any[];
|
|
9
|
-
export declare const getYears: (year: number, variation?: number) => any[];
|
|
10
|
-
export declare const getMonthDetails: (year: number, month: number, firstDayOfWeek: number) => {
|
|
11
|
-
date: Date;
|
|
12
|
-
month: string;
|
|
13
|
-
}[][];
|
|
14
|
-
export declare const isDateDisabled: (date: Date | null, min?: Date | null, max?: Date | null, dates?: (Date | Date[])[]) => any;
|
|
15
|
-
export declare const isDateInRange: (date: Date | null, start: Date | null, end: Date | null) => boolean;
|
|
16
|
-
export declare const isDateSelected: (date: Date | null, start: Date | null, end: Date | null) => boolean;
|
|
17
|
-
export declare const isEndDate: (date: Date | null, start: Date | null, end: Date | null) => boolean;
|
|
18
|
-
export declare const isLastDayOfMonth: (date: Date) => boolean;
|
|
19
|
-
export declare const isSameDateAs: (date: Date, date2: Date) => boolean;
|
|
20
|
-
export declare const isStartDate: (date: Date | null, start: Date | null, end: Date | null) => boolean;
|
|
21
|
-
export declare const isToday: (date: Date) => boolean;
|
|
22
|
-
export declare const isThisMonth: (date: Date, index: number) => boolean;
|
|
23
|
-
export declare const isThisYear: (year: number) => boolean;
|
|
24
|
-
export declare const isValidDate: (date: Date | string | number) => boolean;
|
|
25
|
-
export declare const tryDate: (value: string | number | Date, propName?: string) => any;
|
|
26
|
-
export declare const isDateInRangeDisabled: (startDate?: Date | number | string | null | undefined, endDate?: Date | number | string | null | undefined, dates?: (Date | Date[])[]) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { CalendarNavigationComponent } from './calendar-navigation/calendar-navigation.component';
|
|
2
|
-
export { CalendarMonthComponent } from './calendar-month/calendar-month.component';
|
|
3
|
-
export { CalendarComponent } from './calendar/calendar.component';
|
|
4
|
-
export { CalendarModule } from './calendar.module';
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { IsActiveMatchOptions } from '@angular/router';
|
|
2
|
-
export declare enum BreakpointInfix {
|
|
3
|
-
xs = "xs",
|
|
4
|
-
sm = "sm",
|
|
5
|
-
md = "md",
|
|
6
|
-
lg = "lg",
|
|
7
|
-
xl = "xl",
|
|
8
|
-
xxl = "xxl"
|
|
9
|
-
}
|
|
10
|
-
export type BreakpointInfixStrings = keyof typeof BreakpointInfix;
|
|
11
|
-
export type Breakpoints = BreakpointInfixStrings | string;
|
|
12
|
-
export type Sizes = 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | string;
|
|
13
|
-
export type Colors = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string;
|
|
14
|
-
export type ColorsGradient = `${Colors}-gradient`;
|
|
15
|
-
export type BackgroundColors = Colors | 'body' | 'white' | 'transparent';
|
|
16
|
-
export type Directions = 'down' | 'up' | 'start' | 'end' | '';
|
|
17
|
-
export type TextColors = Colors | 'body' | 'white' | 'muted' | 'black-50' | 'white-50' | 'high-emphasis' | 'medium-emphasis' | 'disabled' | 'high-emphasis-inverse' | 'medium-emphasis-inverse' | 'disabled-inverse';
|
|
18
|
-
export type Alignment = 'baseline' | 'top' | 'middle' | 'bottom' | 'text-top' | 'text-bottom';
|
|
19
|
-
export type BadgePositions = 'top-start' | 'top-end' | 'bottom-end' | 'bottom-start' | string | undefined;
|
|
20
|
-
export type Placements = 'auto' | 'auto-start' | 'auto-end' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end' | undefined;
|
|
21
|
-
export type Shapes = 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string;
|
|
22
|
-
export type Triggers = 'hover' | 'focus' | 'click';
|
|
23
|
-
export type Positions = 'fixed' | 'sticky';
|
|
24
|
-
export type InputType = 'button' | 'color' | 'date' | 'datetime' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'checkbox' | 'radio';
|
|
25
|
-
export interface INavLinkProps {
|
|
26
|
-
queryParams?: {
|
|
27
|
-
[k: string]: any;
|
|
28
|
-
};
|
|
29
|
-
fragment?: string;
|
|
30
|
-
queryParamsHandling?: 'merge' | 'preserve' | '' | null;
|
|
31
|
-
preserveFragment?: boolean;
|
|
32
|
-
skipLocationChange?: boolean;
|
|
33
|
-
replaceUrl?: boolean;
|
|
34
|
-
state?: {
|
|
35
|
-
[k: string]: any;
|
|
36
|
-
};
|
|
37
|
-
routerLinkActiveOptions?: {
|
|
38
|
-
exact: boolean;
|
|
39
|
-
} | IsActiveMatchOptions;
|
|
40
|
-
routerLinkActive?: string | string[];
|
|
41
|
-
ariaCurrentWhenActive?: 'page' | 'step' | 'location' | 'date' | 'time' | true | false;
|
|
42
|
-
}
|
|
43
|
-
export interface INavAttributes {
|
|
44
|
-
[propName: string]: any;
|
|
45
|
-
}
|
|
46
|
-
export type ButtonType = 'button' | 'submit' | 'reset';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
3
|
-
import { DateRangePickerComponent } from '../date-range-picker';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DatePickerComponent extends DateRangePickerComponent {
|
|
6
|
-
constructor(breakpointObserver: BreakpointObserver);
|
|
7
|
-
placeholder: string;
|
|
8
|
-
startDateChange: EventEmitter<Date | null>;
|
|
9
|
-
get range(): boolean;
|
|
10
|
-
get calendars(): number;
|
|
11
|
-
get endDate(): any;
|
|
12
|
-
get date(): Date | null | undefined;
|
|
13
|
-
set date(value: Date | null | undefined);
|
|
14
|
-
writeValue(value: Date | null | undefined): void;
|
|
15
|
-
subscribeDateChange(subscribe?: boolean): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "gtr-date-picker1", ["gtrDatePicker"], { "placeholder": { "alias": "placeholder"; "required": false; }; "date": { "alias": "date"; "required": false; }; }, { "startDateChange": "dateChange"; }, never, ["*", "*"], false, never>;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./date-picker.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "../calendar/calendar/calendar.component";
|
|
6
|
-
import * as i5 from "../time-picker/time-picker.component";
|
|
7
|
-
import * as i6 from "../button/button.directive";
|
|
8
|
-
import * as i7 from "../dropdown/dropdown/dropdown.component";
|
|
9
|
-
import * as i8 from "../dropdown/dropdown-menu/dropdown-menu.directive";
|
|
10
|
-
import * as i9 from "../form/input-group/input-group.component";
|
|
11
|
-
import * as i10 from "../form/form-control/form-control.directive";
|
|
12
|
-
import * as i11 from "../form/input-group-text/input-group-text.directive";
|
|
13
|
-
import * as i12 from "../../../gettrx-module";
|
|
14
|
-
export declare class DatePickerModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.DatePickerComponent], [typeof i2.NgClass, typeof i2.NgIf, typeof i2.NgForOf, typeof i2.NgTemplateOutlet, typeof i3.ReactiveFormsModule, typeof i4.CalendarComponent, typeof i5.TimePickerComponent, typeof i6.ButtonDirective, typeof i7.DropdownComponent, typeof i7.DropdownToggleDirective, typeof i8.DropdownMenuDirective, typeof i9.InputGroupComponent, typeof i10.FormControlDirective, typeof i11.InputGroupTextDirective, typeof i12.GettrxModule], [typeof i1.DatePickerComponent]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import { Options } from '@popperjs/core';
|
|
7
|
-
import { DateFilterType, DayFormatType, WeekdayFormatType } from '../../calendar/calendar.service';
|
|
8
|
-
import { CalendarComponent } from '../../calendar';
|
|
9
|
-
import { Colors } from '../../core-components.types';
|
|
10
|
-
import { TemplateIdDirective } from '../../shared';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export interface ICalendarRanges {
|
|
13
|
-
[key: string]: Date[];
|
|
14
|
-
}
|
|
15
|
-
export type TCustomRange = [string, Date[]];
|
|
16
|
-
/** Must be a valid date string */
|
|
17
|
-
export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor, AfterViewInit, OnChanges {
|
|
18
|
-
#private;
|
|
19
|
-
private breakpointObserver;
|
|
20
|
-
static ngAcceptInputType_closeOnSelect: BooleanInput;
|
|
21
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
22
|
-
static ngAcceptInputType_navYearFirst: BooleanInput;
|
|
23
|
-
constructor(breakpointObserver: BreakpointObserver);
|
|
24
|
-
/**
|
|
25
|
-
* Set the format of day name.
|
|
26
|
-
* @default 'numeric'
|
|
27
|
-
* @type DayFormatType
|
|
28
|
-
*/
|
|
29
|
-
dayFormat: DayFormatType;
|
|
30
|
-
/**
|
|
31
|
-
* The number of calendars that render on desktop devices.
|
|
32
|
-
* @type number
|
|
33
|
-
* @default 2
|
|
34
|
-
*/
|
|
35
|
-
set calendars(value: number);
|
|
36
|
-
get calendars(): number;
|
|
37
|
-
private _calendars;
|
|
38
|
-
/**
|
|
39
|
-
* Toggle visibility or set the content of the cleaner button.
|
|
40
|
-
* @type boolean
|
|
41
|
-
* @default true
|
|
42
|
-
*/
|
|
43
|
-
set cleaner(value: boolean);
|
|
44
|
-
get cleaner(): boolean;
|
|
45
|
-
private _cleaner;
|
|
46
|
-
/**
|
|
47
|
-
* Determine if the dropdown should be closed after value setting.
|
|
48
|
-
* @type boolean
|
|
49
|
-
* @default false
|
|
50
|
-
*/
|
|
51
|
-
set closeOnSelect(value: boolean);
|
|
52
|
-
get closeOnSelect(): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Set date format.
|
|
55
|
-
* We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
|
|
56
|
-
*/
|
|
57
|
-
set format(value: Intl.DateTimeFormatOptions);
|
|
58
|
-
get format(): Intl.DateTimeFormatOptions;
|
|
59
|
-
private _format;
|
|
60
|
-
/**
|
|
61
|
-
* Toggle visibility or set the content of the input indicator.
|
|
62
|
-
* @type boolean
|
|
63
|
-
* @default true
|
|
64
|
-
*/
|
|
65
|
-
set indicator(value: boolean);
|
|
66
|
-
get indicator(): boolean;
|
|
67
|
-
private _indicator;
|
|
68
|
-
/**
|
|
69
|
-
* Toggle the readonly state for the component.
|
|
70
|
-
* @type boolean
|
|
71
|
-
* @default false
|
|
72
|
-
*/
|
|
73
|
-
set inputReadOnly(value: boolean);
|
|
74
|
-
get inputReadOnly(): boolean;
|
|
75
|
-
private _inputReadOnly;
|
|
76
|
-
/**
|
|
77
|
-
* Reorder year-month navigation, and render year first.
|
|
78
|
-
* @type boolean
|
|
79
|
-
* @default false
|
|
80
|
-
*/
|
|
81
|
-
set navYearFirst(value: boolean);
|
|
82
|
-
get navYearFirst(): boolean;
|
|
83
|
-
private _navYearFirst;
|
|
84
|
-
set alwaysOpen(value: boolean);
|
|
85
|
-
get alwaysOpen(): boolean;
|
|
86
|
-
private _alwaysOpen;
|
|
87
|
-
/**
|
|
88
|
-
* Specifies short hints that are visible in start date and end date inputs.
|
|
89
|
-
* type string
|
|
90
|
-
*/
|
|
91
|
-
placeholder: string | string[];
|
|
92
|
-
/**
|
|
93
|
-
* Predefined date ranges the user can select from.
|
|
94
|
-
* @type ICalendarRanges
|
|
95
|
-
*/
|
|
96
|
-
ranges?: object;
|
|
97
|
-
rangesType?: 'days' | 'months' | 'years';
|
|
98
|
-
/**
|
|
99
|
-
* Sets the color context of the cancel button to one of Gettrx’s themed colors.
|
|
100
|
-
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
101
|
-
* @default 'secondary'
|
|
102
|
-
*/
|
|
103
|
-
rangesButtonsColor?: Colors;
|
|
104
|
-
/**
|
|
105
|
-
* Size the ranges button small or large.
|
|
106
|
-
* @type 'sm' | 'lg' | ''
|
|
107
|
-
*/
|
|
108
|
-
rangesButtonsSize: 'sm' | 'lg' | '';
|
|
109
|
-
/**
|
|
110
|
-
* Set the ranges button variant to an outlined button or a ghost button.
|
|
111
|
-
* @type 'outline' | 'ghost' | undefined
|
|
112
|
-
*/
|
|
113
|
-
rangesButtonsVariant?: 'outline' | 'ghost';
|
|
114
|
-
/**
|
|
115
|
-
* Default icon or character that separates two dates.
|
|
116
|
-
* @type boolean
|
|
117
|
-
* @default true
|
|
118
|
-
*/
|
|
119
|
-
set separator(value: boolean);
|
|
120
|
-
get separator(): boolean;
|
|
121
|
-
private _separator;
|
|
122
|
-
/**
|
|
123
|
-
* Size the component small or large.
|
|
124
|
-
* @type 'sm' | 'lg' | undefined
|
|
125
|
-
* @default undefined
|
|
126
|
-
*/
|
|
127
|
-
size?: 'sm' | 'lg';
|
|
128
|
-
/**
|
|
129
|
-
* Provide an additional time selection by adding select boxes to choose time.
|
|
130
|
-
* @type boolean
|
|
131
|
-
* @default false
|
|
132
|
-
*/
|
|
133
|
-
set timepicker(value: boolean);
|
|
134
|
-
get timepicker(): boolean;
|
|
135
|
-
private _timepicker;
|
|
136
|
-
/**
|
|
137
|
-
* Toggle visual validation feedback.
|
|
138
|
-
* @type boolean | undefined
|
|
139
|
-
* @default undefined
|
|
140
|
-
*/
|
|
141
|
-
valid?: boolean;
|
|
142
|
-
/**
|
|
143
|
-
* Toggle the visibility of the dropdown date-picker component.
|
|
144
|
-
* @type boolean
|
|
145
|
-
* @default false
|
|
146
|
-
*/
|
|
147
|
-
set visible(value: boolean);
|
|
148
|
-
get visible(): boolean;
|
|
149
|
-
private _visible;
|
|
150
|
-
set startDate(value: Date);
|
|
151
|
-
get startDate(): Date;
|
|
152
|
-
private _startDate?;
|
|
153
|
-
set endDate(value: Date);
|
|
154
|
-
get endDate(): Date;
|
|
155
|
-
private _endDate?;
|
|
156
|
-
calendarDate: Date;
|
|
157
|
-
disabledDates: Date[] | Date[][];
|
|
158
|
-
set firstDayOfWeek(value: number);
|
|
159
|
-
get firstDayOfWeek(): number;
|
|
160
|
-
private _firstDayOfWeek;
|
|
161
|
-
locale: string;
|
|
162
|
-
maxDate: Date | null;
|
|
163
|
-
minDate: Date | null;
|
|
164
|
-
set navigation(value: boolean);
|
|
165
|
-
get navigation(): boolean;
|
|
166
|
-
private _navigation;
|
|
167
|
-
/**
|
|
168
|
-
* Allow range selection.
|
|
169
|
-
* @type boolean
|
|
170
|
-
* @default false
|
|
171
|
-
*/
|
|
172
|
-
set range(value: boolean);
|
|
173
|
-
get range(): boolean;
|
|
174
|
-
private _range;
|
|
175
|
-
dateFilter?: DateFilterType;
|
|
176
|
-
set disabled(value: boolean);
|
|
177
|
-
get disabled(): boolean;
|
|
178
|
-
private _disabled;
|
|
179
|
-
set value(value: any);
|
|
180
|
-
get value(): any;
|
|
181
|
-
private _value;
|
|
182
|
-
/**
|
|
183
|
-
* Set length or format of day name.
|
|
184
|
-
* @type WeekdayFormatType
|
|
185
|
-
* @default 'short'
|
|
186
|
-
*/
|
|
187
|
-
weekdayFormat: WeekdayFormatType;
|
|
188
|
-
/**
|
|
189
|
-
* Optional popper Options object
|
|
190
|
-
* @type Partial<Options>
|
|
191
|
-
*/
|
|
192
|
-
popperjsOptions: Partial<Options>;
|
|
193
|
-
/**
|
|
194
|
-
* Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the `showAdjacentDays` option is set to true.
|
|
195
|
-
* @type boolean
|
|
196
|
-
* @default false
|
|
197
|
-
*/
|
|
198
|
-
set selectAdjacentDays(value: boolean);
|
|
199
|
-
get selectAdjacentDays(): boolean;
|
|
200
|
-
/**
|
|
201
|
-
* Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.
|
|
202
|
-
* @type boolean
|
|
203
|
-
* @default true
|
|
204
|
-
*/
|
|
205
|
-
showAdjacentDays: boolean;
|
|
206
|
-
readonly valueChange: EventEmitter<Date | Date[]>;
|
|
207
|
-
calendarCellHover: EventEmitter<Date | null>;
|
|
208
|
-
calendarDateChange: EventEmitter<Date>;
|
|
209
|
-
endDateChange: EventEmitter<Date | null>;
|
|
210
|
-
startDateChange: EventEmitter<Date | null>;
|
|
211
|
-
calendarComponent: CalendarComponent;
|
|
212
|
-
startDateElementRef: ElementRef<HTMLInputElement>;
|
|
213
|
-
endDateElementRef: ElementRef<HTMLInputElement>;
|
|
214
|
-
templates: any;
|
|
215
|
-
contentTemplates: QueryList<TemplateIdDirective>;
|
|
216
|
-
protected dateChangeSubscriptions: Subscription[];
|
|
217
|
-
protected subscribeDateChange(subscribe?: boolean): void;
|
|
218
|
-
onBlur(): void;
|
|
219
|
-
isMobile: boolean;
|
|
220
|
-
customRanges: TCustomRange[];
|
|
221
|
-
set startDateValue(value: string);
|
|
222
|
-
get startDateValue(): string;
|
|
223
|
-
private _startDateValue;
|
|
224
|
-
set endDateValue(value: string);
|
|
225
|
-
get endDateValue(): string;
|
|
226
|
-
_endDateValue: string;
|
|
227
|
-
get startDatePlaceholder(): string;
|
|
228
|
-
get endDatePlaceholder(): string;
|
|
229
|
-
private layoutChanges;
|
|
230
|
-
startDateInput: FormControl<string>;
|
|
231
|
-
endDateInput: FormControl<string>;
|
|
232
|
-
dateRangeGroup: FormGroup;
|
|
233
|
-
set inputStartHoverValue(value: Date);
|
|
234
|
-
get inputStartHoverValue(): Date;
|
|
235
|
-
private _inputStartHoverValue;
|
|
236
|
-
set inputEndHoverValue(value: Date);
|
|
237
|
-
get inputEndHoverValue(): Date;
|
|
238
|
-
private _inputEndHoverValue;
|
|
239
|
-
get datePickerClasses(): {
|
|
240
|
-
'is-valid': boolean;
|
|
241
|
-
'is-invalid': boolean;
|
|
242
|
-
};
|
|
243
|
-
formatDate(date: Date): string;
|
|
244
|
-
ngOnInit(): void;
|
|
245
|
-
ngOnDestroy(): void;
|
|
246
|
-
ngAfterViewInit(): void;
|
|
247
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
248
|
-
convertValueToDate(value: Date | string | number | undefined | null): Date;
|
|
249
|
-
getCustomRangeKey(customRange: any): any;
|
|
250
|
-
setCustomRange(customRange: any): void;
|
|
251
|
-
handleCalendarCellHover($event: Date | null): void;
|
|
252
|
-
handleCalendarDateChange($event: Date): void;
|
|
253
|
-
handleStartDateChange(date: Date | null): void;
|
|
254
|
-
handleEndDateChange(date: Date | null): void;
|
|
255
|
-
handleClear($event?: MouseEvent): void;
|
|
256
|
-
handleStartDateInputChange($event: any): void;
|
|
257
|
-
handleEndDateInputChange($event: any): void;
|
|
258
|
-
forbiddenDate(date: Date): any;
|
|
259
|
-
setInputValue: (elementRef: ElementRef, date: Date | null) => void;
|
|
260
|
-
onChange: any;
|
|
261
|
-
onTouched: any;
|
|
262
|
-
registerOnChange(fn: any): void;
|
|
263
|
-
registerOnTouched(fn: any): void;
|
|
264
|
-
setDisabledState(isDisabled: boolean): void;
|
|
265
|
-
writeValue(value: any): void;
|
|
266
|
-
handleStartTimeChange(time: Date | undefined): void;
|
|
267
|
-
handleEndTimeChange(time: Date | undefined): void;
|
|
268
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
269
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "gtr-date-range-picker", ["gtrDateRangePicker"], { "dayFormat": { "alias": "dayFormat"; "required": false; }; "calendars": { "alias": "calendars"; "required": false; }; "cleaner": { "alias": "cleaner"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "format": { "alias": "format"; "required": false; }; "indicator": { "alias": "indicator"; "required": false; }; "inputReadOnly": { "alias": "inputReadOnly"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ranges": { "alias": "ranges"; "required": false; }; "rangesType": { "alias": "rangesType"; "required": false; }; "rangesButtonsColor": { "alias": "rangesButtonsColor"; "required": false; }; "rangesButtonsSize": { "alias": "rangesButtonsSize"; "required": false; }; "rangesButtonsVariant": { "alias": "rangesButtonsVariant"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "size": { "alias": "size"; "required": false; }; "timepicker": { "alias": "timepicker"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "range": { "alias": "range"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "popperjsOptions": { "alias": "popperOptions"; "required": false; }; "selectAdjacentDays": { "alias": "selectAdjacentDays"; "required": false; }; "showAdjacentDays": { "alias": "showAdjacentDays"; "required": false; }; }, { "valueChange": "valueChange"; "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; }, ["contentTemplates"], ["*", "*"], true, never>;
|
|
270
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./date-range-picker/date-range-picker.component";
|
|
3
|
-
export declare class DateRangePickerModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangePickerModule, never, [typeof i1.DateRangePickerComponent], [typeof i1.DateRangePickerComponent]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DateRangePickerModule>;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|