@gipisistemas/ng-core 1.1.10 → 1.1.12
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/styles/colors.scss +228 -211
- package/assets/styles/styles.scss +50 -5
- package/bundles/gipisistemas-ng-core.umd.js +3497 -146
- package/bundles/gipisistemas-ng-core.umd.js.map +1 -1
- package/bundles/gipisistemas-ng-core.umd.min.js +9 -9
- package/bundles/gipisistemas-ng-core.umd.min.js.map +1 -1
- package/core/gipi-components/components/abstract-crud.component.d.ts +2 -2
- package/core/gipi-components/components/abstract-find.component.d.ts +5 -4
- package/core/gipi-components/components/abstract.component.d.ts +1 -0
- package/esm2015/core/components/abstract-find.component.js +4 -1
- package/esm2015/core/gipi-components/components/abstract-crud.component.js +5 -5
- package/esm2015/core/gipi-components/components/abstract-find.component.js +45 -21
- package/esm2015/core/gipi-components/components/abstract.component.js +5 -2
- package/esm2015/gipi-components.js +19 -6
- package/esm2015/gipisistemas-ng-core.js +3 -1
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +1 -1
- package/esm2015/shared/gipi-components/datepicker/datepicker/datepicker.component.js +3 -3
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/calendar-body.js +1 -1
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-input.js +1 -1
- package/esm2015/shared/gipi-components/datetime-picker/datetime-picker/datetime-picker.component.js +158 -0
- package/esm2015/shared/gipi-components/datetime-picker/datetime-picker.module.js +82 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar-body.js +116 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar.js +676 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/clock.js +306 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-animations.js +30 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-errors.js +7 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-filtertype.js +7 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-input.js +346 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-toggle.js +83 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-type.js +1 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker.js +451 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/month-view.js +151 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/multi-year-view.js +230 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/adapter.module.js +43 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-adapter.js +139 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-formats.js +3 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-adapter.js +138 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-formats.js +20 -0
- package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/year-view.js +141 -0
- package/esm2015/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +1 -1
- package/esm2015/shared/gipi-components/form-field/form-field.component.js +1 -1
- package/esm2015/shared/gipi-components/input-currency/input-currency.component.js +1 -1
- package/esm2015/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select/input-select.component.js +1 -1
- package/esm2015/shared/gipi-components/month-year-picker/month-year-picker.component.js +1 -1
- package/esm2015/shared/gipi-components/radio-group/radio-group.component.js +1 -1
- package/esm2015/shared/gipi-components/range-page/range-page.component.js +1 -1
- package/esm2015/shared/gipi-components/range-slider/range-slider.component.js +1 -1
- package/esm2015/shared/gipi-components/select-button/select-button.component.js +1 -1
- package/esm2015/shared/gipi-components/textarea/textarea.component.js +1 -1
- package/esm2015/shared/shared.module.js +51 -3
- package/esm5/core/components/abstract-find.component.js +4 -1
- package/esm5/core/gipi-components/components/abstract-crud.component.js +5 -5
- package/esm5/core/gipi-components/components/abstract-find.component.js +45 -21
- package/esm5/core/gipi-components/components/abstract.component.js +5 -2
- package/esm5/gipi-components.js +19 -6
- package/esm5/gipisistemas-ng-core.js +3 -1
- package/esm5/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +1 -1
- package/esm5/shared/gipi-components/datepicker/datepicker/datepicker.component.js +3 -3
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/calendar-body.js +1 -1
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-input.js +1 -1
- package/esm5/shared/gipi-components/datetime-picker/datetime-picker/datetime-picker.component.js +176 -0
- package/esm5/shared/gipi-components/datetime-picker/datetime-picker.module.js +85 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar-body.js +119 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar.js +747 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/clock.js +332 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-animations.js +30 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-errors.js +7 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-filtertype.js +7 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-input.js +377 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-toggle.js +89 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-type.js +1 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker.js +495 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/month-view.js +160 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/multi-year-view.js +248 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/adapter.module.js +49 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-adapter.js +145 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-formats.js +3 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-adapter.js +141 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-formats.js +20 -0
- package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/year-view.js +151 -0
- package/esm5/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +1 -1
- package/esm5/shared/gipi-components/form-field/form-field.component.js +1 -1
- package/esm5/shared/gipi-components/input-currency/input-currency.component.js +1 -1
- package/esm5/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +1 -1
- package/esm5/shared/gipi-components/input-select/input-select.component.js +1 -1
- package/esm5/shared/gipi-components/month-year-picker/month-year-picker.component.js +1 -1
- package/esm5/shared/gipi-components/radio-group/radio-group.component.js +1 -1
- package/esm5/shared/gipi-components/range-page/range-page.component.js +1 -1
- package/esm5/shared/gipi-components/range-slider/range-slider.component.js +1 -1
- package/esm5/shared/gipi-components/select-button/select-button.component.js +1 -1
- package/esm5/shared/gipi-components/textarea/textarea.component.js +1 -1
- package/esm5/shared/shared.module.js +51 -3
- package/fesm2015/gipisistemas-ng-core.js +3264 -191
- package/fesm2015/gipisistemas-ng-core.js.map +1 -1
- package/fesm5/gipisistemas-ng-core.js +3475 -152
- package/fesm5/gipisistemas-ng-core.js.map +1 -1
- package/gipi-components.d.ts +16 -0
- package/gipisistemas-ng-core.d.ts +2 -0
- package/gipisistemas-ng-core.metadata.json +1 -1
- package/package.json +4 -4
- package/shared/gipi-components/datetime-picker/datetime-picker/datetime-picker.component.d.ts +40 -0
- package/shared/gipi-components/datetime-picker/datetime-picker.module.d.ts +2 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar-body.d.ts +50 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar.d.ts +140 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/clock.d.ts +66 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-animations.d.ts +8 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-errors.d.ts +2 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-filtertype.d.ts +5 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-input.d.ts +98 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-toggle.d.ts +20 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-type.d.ts +1 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker.d.ts +133 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/month-view.d.ts +53 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/multi-year-view.d.ts +80 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/adapter.module.d.ts +4 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-adapter.d.ts +46 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-formats.d.ts +20 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-adapter.d.ts +36 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-formats.d.ts +2 -0
- package/shared/gipi-components/datetime-picker/mat-datetime-picker/year-view.d.ts +52 -0
@@ -0,0 +1,80 @@
|
|
1
|
+
import { AfterContentInit, EventEmitter } from '@angular/core';
|
2
|
+
import { GIPIDatetimepickerCalendarCell } from './calendar-body';
|
3
|
+
import { GIPIDatetimepickerType } from './datetimepicker-type';
|
4
|
+
import { GIPIDatetimeAdapter } from './shared/adapter/datetime-adapter';
|
5
|
+
import { GIPIDatetimeFormats } from './shared/adapter/datetime-formats';
|
6
|
+
export declare const yearsPerPage = 24;
|
7
|
+
export declare const yearsPerRow = 4;
|
8
|
+
/**
|
9
|
+
* An internal component used to display multiple years in the datepicker.
|
10
|
+
* @docs-private
|
11
|
+
*/
|
12
|
+
export declare class GIPIDatetimepickerMultiYearViewComponent<D> implements AfterContentInit {
|
13
|
+
_adapter: GIPIDatetimeAdapter<D>;
|
14
|
+
private _dateFormats;
|
15
|
+
/** Grid of calendar cells representing the years in the range. */
|
16
|
+
_years: GIPIDatetimepickerCalendarCell[][];
|
17
|
+
/** The label for this year range (e.g. "2000-2020"). */
|
18
|
+
_yearLabel: string;
|
19
|
+
/** The year in this range that today falls on. Null if today is in a different range. */
|
20
|
+
_todayYear: number;
|
21
|
+
/** The year in this range that the selected Date falls on. Null if the selected Date is in a different range. */
|
22
|
+
_selectedYear: number | null;
|
23
|
+
_calendarState: string;
|
24
|
+
type: GIPIDatetimepickerType;
|
25
|
+
/** A function used to filter which dates are selectable. */
|
26
|
+
dateFilter: (date: D) => boolean;
|
27
|
+
/** The date to display in this multi year view */
|
28
|
+
private _activeDate;
|
29
|
+
get activeDate(): D;
|
30
|
+
set activeDate(value: D);
|
31
|
+
/** The currently selected date. */
|
32
|
+
private _selected;
|
33
|
+
get selected(): D;
|
34
|
+
set selected(value: D);
|
35
|
+
/** The minimum selectable date. */
|
36
|
+
private _minDate;
|
37
|
+
get minDate(): D | null;
|
38
|
+
set minDate(value: D | null);
|
39
|
+
/** The maximum selectable date. */
|
40
|
+
private _maxDate;
|
41
|
+
get maxDate(): D | null;
|
42
|
+
set maxDate(value: D | null);
|
43
|
+
/** Emits when a new month is selected. */
|
44
|
+
selectedChange: EventEmitter<D>;
|
45
|
+
_userSelection: EventEmitter<void>;
|
46
|
+
constructor(_adapter: GIPIDatetimeAdapter<D>, _dateFormats: GIPIDatetimeFormats);
|
47
|
+
ngAfterContentInit(): void;
|
48
|
+
/** Handles when a new year is selected. */
|
49
|
+
_yearSelected(year: number): void;
|
50
|
+
_getActiveCell(): number;
|
51
|
+
_calendarStateDone(): void;
|
52
|
+
/** Initializes this year view. */
|
53
|
+
private _init;
|
54
|
+
/** Creates an GIPIDatetimepickerCalendarCell for the given year. */
|
55
|
+
private _createCellForYear;
|
56
|
+
/** Whether the given year is enabled. */
|
57
|
+
private _shouldEnableYear;
|
58
|
+
/**
|
59
|
+
* Gets the year in this years range that the given Date falls on.
|
60
|
+
* Returns null if the given Date is not in this range.
|
61
|
+
*/
|
62
|
+
private _getYearInCurrentRange;
|
63
|
+
/**
|
64
|
+
* Validate if the current year is in the current range
|
65
|
+
* Returns true if is in range else returns false
|
66
|
+
*/
|
67
|
+
private _isInRange;
|
68
|
+
/**
|
69
|
+
* @param obj The object to check.
|
70
|
+
* @returns The given object if it is both a date instance and valid, otherwise null.
|
71
|
+
*/
|
72
|
+
private _getValidDateOrNull;
|
73
|
+
}
|
74
|
+
export declare function isSameMultiYearView<D>(dateAdapter: GIPIDatetimeAdapter<D>, date1: D, date2: D, minDate: D | null, maxDate: D | null): boolean;
|
75
|
+
/**
|
76
|
+
* When the multi-year view is first opened, the active year will be in view.
|
77
|
+
* So we compute how many years are between the active year and the *slot* where our
|
78
|
+
* "startingYear" will render when paged into view.
|
79
|
+
*/
|
80
|
+
export declare function getActiveOffset<D>(dateAdapter: GIPIDatetimeAdapter<D>, activeDate: D, minDate: D | null, maxDate: D | null): number;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { DateAdapter } from '@angular/material/core';
|
2
|
+
export declare abstract class GIPIDatetimeAdapter<D> extends DateAdapter<D> {
|
3
|
+
protected _delegate: DateAdapter<D>;
|
4
|
+
constructor(_delegate: DateAdapter<D>);
|
5
|
+
abstract getHour(date: D): number;
|
6
|
+
abstract getMinute(date: D): number;
|
7
|
+
abstract getFirstDateOfMonth(date: D): D;
|
8
|
+
abstract isInNextMonth(startDate: D, endDate: D): boolean;
|
9
|
+
abstract getHourNames(): string[];
|
10
|
+
abstract getMinuteNames(): string[];
|
11
|
+
abstract addCalendarHours(date: D, months: number): D;
|
12
|
+
abstract addCalendarMinutes(date: D, months: number): D;
|
13
|
+
abstract createDatetime(year: number, month: number, date: number, hour: number, minute: number): D;
|
14
|
+
getValidDateOrNull(obj: any): D | null;
|
15
|
+
compareDatetime(first: D, second: D, respectMinutePart?: boolean): number;
|
16
|
+
sameDatetime(first: D | null, second: D | null): boolean;
|
17
|
+
sameYear(first: D, second: D): boolean;
|
18
|
+
sameDay(first: D, second: D): boolean;
|
19
|
+
sameHour(first: D, second: D): boolean;
|
20
|
+
sameMinute(first: D, second: D): boolean;
|
21
|
+
sameMonthAndYear(first: D | null, second: D | null): boolean;
|
22
|
+
deserialize(value: any): D | null;
|
23
|
+
clone(date: D): D;
|
24
|
+
addCalendarYears(date: D, years: number): D;
|
25
|
+
addCalendarMonths(date: D, months: number): D;
|
26
|
+
addCalendarDays(date: D, days: number): D;
|
27
|
+
getYear(date: D): number;
|
28
|
+
getMonth(date: D): number;
|
29
|
+
getDate(date: D): number;
|
30
|
+
getDayOfWeek(date: D): number;
|
31
|
+
getMonthNames(style: any): string[];
|
32
|
+
getDateNames(): string[];
|
33
|
+
getDayOfWeekNames(style: any): string[];
|
34
|
+
getYearName(date: D): string;
|
35
|
+
getFirstDayOfWeek(): number;
|
36
|
+
getNumDaysInMonth(date: D): number;
|
37
|
+
createDate(year: number, month: number, date: number): D;
|
38
|
+
today(): D;
|
39
|
+
parse(value: any, parseFormat: any): D | null;
|
40
|
+
format(date: D, displayFormat: any): string;
|
41
|
+
toIso8601(date: D): string;
|
42
|
+
isDateInstance(obj: any): boolean;
|
43
|
+
isValid(date: D): boolean;
|
44
|
+
invalid(): D;
|
45
|
+
clampDate(date: D, min?: D | null, max?: D | null): D;
|
46
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
2
|
+
export interface GIPIDatetimeFormats {
|
3
|
+
parse: {
|
4
|
+
dateInput?: any;
|
5
|
+
monthInput?: any;
|
6
|
+
timeInput?: any;
|
7
|
+
datetimeInput?: any;
|
8
|
+
};
|
9
|
+
display: {
|
10
|
+
dateInput: any;
|
11
|
+
monthInput: any;
|
12
|
+
timeInput: any;
|
13
|
+
datetimeInput: any;
|
14
|
+
monthYearLabel: any;
|
15
|
+
dateA11yLabel: any;
|
16
|
+
monthYearA11yLabel: any;
|
17
|
+
popupHeaderDateLabel: any;
|
18
|
+
};
|
19
|
+
}
|
20
|
+
export declare const GIPI_DATETIME_FORMATS: InjectionToken<GIPIDatetimeFormats>;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { DateAdapter } from '@angular/material/core';
|
2
|
+
import { GIPIDatetimeAdapter } from './datetime-adapter';
|
3
|
+
export declare class GIPINativeDatetimeAdapter extends GIPIDatetimeAdapter<Date> {
|
4
|
+
constructor(matDateLocale: string, _delegate: DateAdapter<Date>);
|
5
|
+
clone(date: Date): Date;
|
6
|
+
getHour(date: Date): number;
|
7
|
+
getMinute(date: Date): number;
|
8
|
+
isInNextMonth(startDate: Date, endDate: Date): boolean;
|
9
|
+
createDatetime(year: number, month: number, date: number, hour: number, minute: number): Date;
|
10
|
+
getFirstDateOfMonth(date: Date): Date;
|
11
|
+
getHourNames(): string[];
|
12
|
+
getMinuteNames(): string[];
|
13
|
+
addCalendarYears(date: Date, years: number): Date;
|
14
|
+
addCalendarMonths(date: Date, months: number): Date;
|
15
|
+
addCalendarDays(date: Date, days: number): Date;
|
16
|
+
addCalendarHours(date: Date, hours: number): Date;
|
17
|
+
addCalendarMinutes(date: Date, minutes: number): Date;
|
18
|
+
toIso8601(date: Date): string;
|
19
|
+
private getDateInNextMonth;
|
20
|
+
/**
|
21
|
+
* Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
|
22
|
+
* other browsers do not. We remove them to make output consistent and because they interfere with
|
23
|
+
* date parsing.
|
24
|
+
* @param str The string to strip direction characters from.
|
25
|
+
* @returns The stripped string.
|
26
|
+
*/
|
27
|
+
private _stripDirectionalityCharacters;
|
28
|
+
/**
|
29
|
+
* Pads a number to make it two digits.
|
30
|
+
* @param n The number to pad.
|
31
|
+
* @returns The padded number.
|
32
|
+
*/
|
33
|
+
private _2digit;
|
34
|
+
/** Creates a date but allows the month and date to overflow. */
|
35
|
+
private _createDateWithOverflow;
|
36
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { AfterContentInit, EventEmitter } from '@angular/core';
|
2
|
+
import { GIPIDatetimepickerCalendarCell } from './calendar-body';
|
3
|
+
import { GIPIDatetimepickerType } from './datetimepicker-type';
|
4
|
+
import { GIPIDatetimeAdapter } from './shared/adapter/datetime-adapter';
|
5
|
+
import { GIPIDatetimeFormats } from './shared/adapter/datetime-formats';
|
6
|
+
/**
|
7
|
+
* An internal component used to display a single year in the datepicker.
|
8
|
+
* @docs-private
|
9
|
+
*/
|
10
|
+
export declare class GIPIDatetimepickerYearViewComponent<D> implements AfterContentInit {
|
11
|
+
_adapter: GIPIDatetimeAdapter<D>;
|
12
|
+
private _dateFormats;
|
13
|
+
/** Grid of calendar cells representing the months of the year. */
|
14
|
+
_months: GIPIDatetimepickerCalendarCell[][];
|
15
|
+
/** The label for this year (e.g. "2017"). */
|
16
|
+
_yearLabel: string;
|
17
|
+
/** The month in this year that today falls on. Null if today is in a different year. */
|
18
|
+
_todayMonth: number;
|
19
|
+
/** The month in this year that the selected Date falls on. Null if the selected Date is in a different year. */
|
20
|
+
_selectedMonth: number;
|
21
|
+
_calendarState: string;
|
22
|
+
type: GIPIDatetimepickerType;
|
23
|
+
/** A function used to filter which dates are selectable. */
|
24
|
+
dateFilter: (date: D) => boolean;
|
25
|
+
/** The date to display in this year view (everything other than the year is ignored). */
|
26
|
+
private _activeDate;
|
27
|
+
get activeDate(): D;
|
28
|
+
set activeDate(value: D);
|
29
|
+
/** The currently selected date. */
|
30
|
+
private _selected;
|
31
|
+
get selected(): D;
|
32
|
+
set selected(value: D);
|
33
|
+
/** Emits when a new month is selected. */
|
34
|
+
selectedChange: EventEmitter<D>;
|
35
|
+
_userSelection: EventEmitter<void>;
|
36
|
+
constructor(_adapter: GIPIDatetimeAdapter<D>, _dateFormats: GIPIDatetimeFormats);
|
37
|
+
ngAfterContentInit(): void;
|
38
|
+
/** Handles when a new month is selected. */
|
39
|
+
_monthSelected(month: number): void;
|
40
|
+
_calendarStateDone(): void;
|
41
|
+
/** Initializes this month view. */
|
42
|
+
private _init;
|
43
|
+
/**
|
44
|
+
* Gets the month in this year that the given Date falls on.
|
45
|
+
* Returns null if the given Date is in another year.
|
46
|
+
*/
|
47
|
+
private _getMonthInCurrentYear;
|
48
|
+
/** Creates an MdCalendarCell for the given month. */
|
49
|
+
private _createCellForMonth;
|
50
|
+
/** Whether the given month is enabled. */
|
51
|
+
private _isMonthEnabled;
|
52
|
+
}
|