@rossigee/clarity-angular 18.2.1-fixed → 18.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/clr-angular-accordion.mjs +355 -0
- package/fesm2022/clr-angular-accordion.mjs.map +1 -0
- package/fesm2022/clr-angular-button.mjs +713 -0
- package/fesm2022/clr-angular-button.mjs.map +1 -0
- package/fesm2022/clr-angular-collapsible-panel.mjs +201 -0
- package/fesm2022/clr-angular-collapsible-panel.mjs.map +1 -0
- package/fesm2022/clr-angular-data-datagrid.mjs +7635 -0
- package/fesm2022/clr-angular-data-datagrid.mjs.map +1 -0
- package/fesm2022/clr-angular-data-stack-view.mjs +442 -0
- package/fesm2022/clr-angular-data-stack-view.mjs.map +1 -0
- package/fesm2022/clr-angular-data-tree-view.mjs +1106 -0
- package/fesm2022/clr-angular-data-tree-view.mjs.map +1 -0
- package/fesm2022/clr-angular-data.mjs +40 -0
- package/fesm2022/clr-angular-data.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis-alert.mjs +624 -0
- package/fesm2022/clr-angular-emphasis-alert.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis-badge.mjs +69 -0
- package/fesm2022/clr-angular-emphasis-badge.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis-common.mjs +25 -0
- package/fesm2022/clr-angular-emphasis-common.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis-label.mjs +105 -0
- package/fesm2022/clr-angular-emphasis-label.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis.mjs +41 -0
- package/fesm2022/clr-angular-emphasis.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-checkbox.mjs +270 -0
- package/fesm2022/clr-angular-forms-checkbox.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-combobox.mjs +1775 -0
- package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-common.mjs +1251 -0
- package/fesm2022/clr-angular-forms-common.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-datalist.mjs +263 -0
- package/fesm2022/clr-angular-forms-datalist.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-datepicker.mjs +3274 -0
- package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-file-input.mjs +826 -0
- package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-input.mjs +153 -0
- package/fesm2022/clr-angular-forms-input.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-number-input.mjs +236 -0
- package/fesm2022/clr-angular-forms-number-input.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-password.mjs +233 -0
- package/fesm2022/clr-angular-forms-password.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-radio.mjs +231 -0
- package/fesm2022/clr-angular-forms-radio.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-range.mjs +186 -0
- package/fesm2022/clr-angular-forms-range.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-select.mjs +153 -0
- package/fesm2022/clr-angular-forms-select.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-textarea.mjs +136 -0
- package/fesm2022/clr-angular-forms-textarea.mjs.map +1 -0
- package/fesm2022/clr-angular-forms.mjs +100 -0
- package/fesm2022/clr-angular-forms.mjs.map +1 -0
- package/fesm2022/clr-angular-icon.mjs +7397 -0
- package/fesm2022/clr-angular-icon.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-breadcrumbs.mjs +120 -0
- package/fesm2022/clr-angular-layout-breadcrumbs.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-main-container.mjs +100 -0
- package/fesm2022/clr-angular-layout-main-container.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-nav.mjs +582 -0
- package/fesm2022/clr-angular-layout-nav.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-tabs.mjs +807 -0
- package/fesm2022/clr-angular-layout-tabs.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-vertical-nav.mjs +507 -0
- package/fesm2022/clr-angular-layout-vertical-nav.mjs.map +1 -0
- package/fesm2022/clr-angular-layout.mjs +44 -0
- package/fesm2022/clr-angular-layout.mjs.map +1 -0
- package/fesm2022/clr-angular-modal.mjs +617 -0
- package/fesm2022/clr-angular-modal.mjs.map +1 -0
- package/fesm2022/clr-angular-popover-common.mjs +1082 -0
- package/fesm2022/clr-angular-popover-common.mjs.map +1 -0
- package/fesm2022/clr-angular-popover-dropdown.mjs +492 -0
- package/fesm2022/clr-angular-popover-dropdown.mjs.map +1 -0
- package/fesm2022/clr-angular-popover-signpost.mjs +494 -0
- package/fesm2022/clr-angular-popover-signpost.mjs.map +1 -0
- package/fesm2022/clr-angular-popover-tooltip.mjs +293 -0
- package/fesm2022/clr-angular-popover-tooltip.mjs.map +1 -0
- package/fesm2022/clr-angular-popover.mjs +41 -0
- package/fesm2022/clr-angular-popover.mjs.map +1 -0
- package/fesm2022/clr-angular-progress-progress-bars.mjs +217 -0
- package/fesm2022/clr-angular-progress-progress-bars.mjs.map +1 -0
- package/fesm2022/clr-angular-progress-spinner.mjs +132 -0
- package/fesm2022/clr-angular-progress-spinner.mjs.map +1 -0
- package/fesm2022/clr-angular-stepper.mjs +694 -0
- package/fesm2022/clr-angular-stepper.mjs.map +1 -0
- package/fesm2022/clr-angular-timeline.mjs +316 -0
- package/fesm2022/clr-angular-timeline.mjs.map +1 -0
- package/fesm2022/clr-angular-utils-conditional.mjs +351 -0
- package/fesm2022/clr-angular-utils-conditional.mjs.map +1 -0
- package/fesm2022/clr-angular-utils-loading.mjs +107 -0
- package/fesm2022/clr-angular-utils-loading.mjs.map +1 -0
- package/fesm2022/clr-angular-utils.mjs +2079 -0
- package/fesm2022/clr-angular-utils.mjs.map +1 -0
- package/fesm2022/clr-angular-wizard.mjs +3074 -0
- package/fesm2022/clr-angular-wizard.mjs.map +1 -0
- package/fesm2022/{rossigee-clarity-angular.mjs → clr-angular.mjs} +2 -2
- package/fesm2022/clr-angular.mjs.map +1 -0
- package/package.json +105 -103
- package/schematics/ng-update/index.d.ts +2 -0
- package/schematics/ng-update/index.js +69 -0
- package/schematics/ng-update/index.js.map +1 -0
- package/schematics/ng-update/migrations/css-migration.d.ts +6 -0
- package/schematics/ng-update/migrations/css-migration.js +177 -0
- package/schematics/ng-update/migrations/css-migration.js.map +1 -0
- package/schematics/ng-update/migrations/import-migration.d.ts +4 -0
- package/schematics/ng-update/migrations/import-migration.js +187 -0
- package/schematics/ng-update/migrations/import-migration.js.map +1 -0
- package/schematics/ng-update/migrations/template-migration.d.ts +6 -0
- package/schematics/ng-update/migrations/template-migration.js +261 -0
- package/schematics/ng-update/migrations/template-migration.js.map +1 -0
- package/schematics/ng-update/replacements/css-replacements.d.ts +17 -0
- package/schematics/ng-update/replacements/css-replacements.js +74 -0
- package/schematics/ng-update/replacements/css-replacements.js.map +1 -0
- package/schematics/ng-update/replacements/import-replacements.d.ts +13 -0
- package/schematics/ng-update/replacements/import-replacements.js +108 -0
- package/schematics/ng-update/replacements/import-replacements.js.map +1 -0
- package/schematics/ng-update/replacements/symbol-replacements.d.ts +12 -0
- package/schematics/ng-update/replacements/symbol-replacements.js +67 -0
- package/schematics/ng-update/replacements/symbol-replacements.js.map +1 -0
- package/schematics/ng-update/replacements/template-replacements.d.ts +19 -0
- package/schematics/ng-update/replacements/template-replacements.js +57 -0
- package/schematics/ng-update/replacements/template-replacements.js.map +1 -0
- package/schematics/ng-update/tests/test-helpers.d.ts +6 -0
- package/schematics/ng-update/tests/test-helpers.js +34 -0
- package/schematics/ng-update/tests/test-helpers.js.map +1 -0
- package/schematics/ng-update/utils/file-visitor.d.ts +8 -0
- package/schematics/ng-update/utils/file-visitor.js +44 -0
- package/schematics/ng-update/utils/file-visitor.js.map +1 -0
- package/schematics/ng-update/utils/regexp-utils.d.ts +16 -0
- package/schematics/ng-update/utils/regexp-utils.js +34 -0
- package/schematics/ng-update/utils/regexp-utils.js.map +1 -0
- package/schematics/vitest.config.d.ts +2 -0
- package/schematics/vitest.config.js +17 -0
- package/schematics/vitest.config.js.map +1 -0
- package/types/clr-angular-accordion.d.ts +100 -0
- package/types/clr-angular-button.d.ts +169 -0
- package/types/clr-angular-collapsible-panel.d.ts +73 -0
- package/types/clr-angular-data-datagrid.d.ts +1843 -0
- package/types/clr-angular-data-stack-view.d.ts +87 -0
- package/types/clr-angular-data-tree-view.d.ts +229 -0
- package/types/clr-angular-data.d.ts +15 -0
- package/types/clr-angular-emphasis-alert.d.ts +175 -0
- package/types/clr-angular-emphasis-badge.d.ts +25 -0
- package/types/clr-angular-emphasis-common.d.ts +6 -0
- package/types/clr-angular-emphasis-label.d.ts +29 -0
- package/types/clr-angular-emphasis.d.ts +15 -0
- package/types/clr-angular-forms-checkbox.d.ts +69 -0
- package/types/clr-angular-forms-combobox.d.ts +353 -0
- package/types/clr-angular-forms-common.d.ts +339 -0
- package/types/clr-angular-forms-datalist.d.ts +59 -0
- package/types/clr-angular-forms-datepicker.d.ts +986 -0
- package/types/clr-angular-forms-file-input.d.ts +193 -0
- package/types/clr-angular-forms-input.d.ts +29 -0
- package/types/clr-angular-forms-number-input.d.ts +43 -0
- package/types/clr-angular-forms-password.d.ts +52 -0
- package/types/clr-angular-forms-radio.d.ts +50 -0
- package/types/clr-angular-forms-range.d.ts +37 -0
- package/types/clr-angular-forms-select.d.ts +36 -0
- package/types/clr-angular-forms-textarea.d.ts +29 -0
- package/types/clr-angular-forms.d.ts +36 -0
- package/types/clr-angular-icon.d.ts +1498 -0
- package/types/clr-angular-layout-breadcrumbs.d.ts +45 -0
- package/types/clr-angular-layout-main-container.d.ts +28 -0
- package/types/clr-angular-layout-nav.d.ts +142 -0
- package/types/clr-angular-layout-tabs.d.ts +158 -0
- package/types/clr-angular-layout-vertical-nav.d.ts +128 -0
- package/types/clr-angular-layout.d.ts +19 -0
- package/types/clr-angular-modal.d.ts +160 -0
- package/types/clr-angular-popover-common.d.ts +254 -0
- package/types/clr-angular-popover-dropdown.d.ts +123 -0
- package/types/clr-angular-popover-signpost.d.ts +157 -0
- package/types/clr-angular-popover-tooltip.d.ts +83 -0
- package/types/clr-angular-popover.d.ts +16 -0
- package/types/clr-angular-progress-progress-bars.d.ts +57 -0
- package/types/clr-angular-progress-spinner.d.ts +44 -0
- package/types/clr-angular-stepper.d.ts +179 -0
- package/types/clr-angular-timeline.d.ts +86 -0
- package/types/clr-angular-utils-conditional.d.ts +132 -0
- package/types/clr-angular-utils-loading.d.ts +38 -0
- package/types/clr-angular-utils.d.ts +913 -0
- package/types/clr-angular-wizard.d.ts +1508 -0
- package/fesm2022/rossigee-clarity-angular.mjs.map +0 -1
- /package/types/{rossigee-clarity-angular.d.ts → clr-angular.d.ts} +0 -0
|
@@ -0,0 +1,986 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { AfterViewInit, Renderer2, ElementRef, NgZone, OnInit, OnDestroy, EventEmitter, ViewContainerRef, Injector, Type } from '@angular/core';
|
|
3
|
+
import { NgControl, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
4
|
+
import * as i17 from '@clr/angular/forms/common';
|
|
5
|
+
import { ClrAbstractContainer, ControlClassService, LayoutService, NgControlService, FormsFocusService, WrappedFormControl } from '@clr/angular/forms/common';
|
|
6
|
+
import * as rxjs from 'rxjs';
|
|
7
|
+
import { Observable, Subject } from 'rxjs';
|
|
8
|
+
import * as i1 from '@clr/angular/popover/common';
|
|
9
|
+
import { ClrPopoverPosition, ClrPopoverType, ClrPopoverService } from '@clr/angular/popover/common';
|
|
10
|
+
import * as i14 from '@clr/angular/utils';
|
|
11
|
+
import { ClrCommonStringsService } from '@clr/angular/utils';
|
|
12
|
+
import * as i13 from '@angular/common';
|
|
13
|
+
import * as i16 from '@clr/angular/icon';
|
|
14
|
+
import * as i18 from '@clr/angular/layout/vertical-nav';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Index of the day of the week, matching JavaScript's Date.getDay() convention.
|
|
18
|
+
* Used to override the locale-derived first day of the week in the date picker.
|
|
19
|
+
*/
|
|
20
|
+
declare enum ClrWeekday {
|
|
21
|
+
Sunday = 0,
|
|
22
|
+
Monday = 1,
|
|
23
|
+
Tuesday = 2,
|
|
24
|
+
Wednesday = 3,
|
|
25
|
+
Thursday = 4,
|
|
26
|
+
Friday = 5,
|
|
27
|
+
Saturday = 6
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class DateFormControlService {
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
private _touchedChange;
|
|
33
|
+
private _dirtyChange;
|
|
34
|
+
get touchedChange(): Observable<void>;
|
|
35
|
+
get dirtyChange(): Observable<void>;
|
|
36
|
+
markAsTouched(): void;
|
|
37
|
+
markAsDirty(): void;
|
|
38
|
+
setDisabled(state: boolean): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormControlService, never>;
|
|
40
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateFormControlService>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface ClrDayOfWeek {
|
|
44
|
+
readonly day: string;
|
|
45
|
+
readonly narrow: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* This service extracts the Angular CLDR data needed by the datepicker.
|
|
50
|
+
*/
|
|
51
|
+
declare class LocaleHelperService {
|
|
52
|
+
locale: string;
|
|
53
|
+
private _firstDayOfWeek;
|
|
54
|
+
private _localeDays;
|
|
55
|
+
private _localeMonthsAbbreviated;
|
|
56
|
+
private _localeMonthsWide;
|
|
57
|
+
private _localeDateFormat;
|
|
58
|
+
constructor(locale: string);
|
|
59
|
+
get firstDayOfWeek(): number;
|
|
60
|
+
get localeDays(): ReadonlyArray<ClrDayOfWeek>;
|
|
61
|
+
get localeDaysNarrow(): ReadonlyArray<string>;
|
|
62
|
+
get localeMonthsAbbreviated(): ReadonlyArray<string>;
|
|
63
|
+
get localeMonthsWide(): ReadonlyArray<string>;
|
|
64
|
+
get localeDateFormat(): string;
|
|
65
|
+
/**
|
|
66
|
+
* Overrides the first day of the week regardless of locale.
|
|
67
|
+
* Accepts a `ClrWeekday` value (Sunday=0 through Saturday=6), or null to revert to locale default.
|
|
68
|
+
* Incorrect values will revert to default value (Sunday).
|
|
69
|
+
*/
|
|
70
|
+
updateFirstDayOfWeek(day: ClrWeekday | null): void;
|
|
71
|
+
/**
|
|
72
|
+
* Initializes the locale data.
|
|
73
|
+
*/
|
|
74
|
+
private initializeLocaleData;
|
|
75
|
+
/**
|
|
76
|
+
* Initialize day names based on the locale.
|
|
77
|
+
* eg: [{day: Sunday, narrow: S}, {day: Monday, narrow: M}...] for en-US.
|
|
78
|
+
*/
|
|
79
|
+
private initializeLocaleDays;
|
|
80
|
+
/**
|
|
81
|
+
* Initializes the array of month names in the TranslationWidth.Abbreviated format.
|
|
82
|
+
* e.g. `[Jan, Feb, ...]` for en-US
|
|
83
|
+
*/
|
|
84
|
+
private initializeLocaleMonthsAbbreviated;
|
|
85
|
+
/**
|
|
86
|
+
* Initializes the array of month names in the TranslationWidth.Wide format.
|
|
87
|
+
* e.g. `[January, February, ...]` for en-US
|
|
88
|
+
*/
|
|
89
|
+
private initializeLocaleMonthsWide;
|
|
90
|
+
/**
|
|
91
|
+
* Initializes the first day of the week based on the locale.
|
|
92
|
+
*/
|
|
93
|
+
private initializeLocaleFirstDayOfWeek;
|
|
94
|
+
private initializeLocaleDateFormat;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleHelperService, never>;
|
|
96
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocaleHelperService>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare class DayModel {
|
|
100
|
+
readonly year: number;
|
|
101
|
+
readonly month: number;
|
|
102
|
+
readonly date: number;
|
|
103
|
+
constructor(year: number, month: number, date: number);
|
|
104
|
+
/**
|
|
105
|
+
* Checks if the passed CalendarDate is equal to itself.
|
|
106
|
+
*/
|
|
107
|
+
isEqual(day: DayModel): boolean;
|
|
108
|
+
toDate(): Date;
|
|
109
|
+
/**
|
|
110
|
+
* Returns a new DayModel which is incremented based on the value passed.
|
|
111
|
+
*/
|
|
112
|
+
incrementBy(value: number): DayModel;
|
|
113
|
+
/**
|
|
114
|
+
* Clones the current day model.
|
|
115
|
+
*/
|
|
116
|
+
clone(): DayModel;
|
|
117
|
+
toComparisonString(): string;
|
|
118
|
+
toDateString(): string;
|
|
119
|
+
/**
|
|
120
|
+
* Compares the dates and returns boolean value based on the value passed
|
|
121
|
+
*/
|
|
122
|
+
isBefore(day: DayModel, dayInclusive?: boolean): boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Compares the dates and returns boolean value based on the value passed
|
|
125
|
+
*/
|
|
126
|
+
isAfter(day: DayModel, dayInclusive?: boolean): boolean;
|
|
127
|
+
private pad;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface DateRange {
|
|
131
|
+
minDate?: DayModel;
|
|
132
|
+
maxDate?: DayModel;
|
|
133
|
+
}
|
|
134
|
+
interface DateRangeInput {
|
|
135
|
+
startDate: DayModel;
|
|
136
|
+
endDate?: DayModel;
|
|
137
|
+
}
|
|
138
|
+
interface DateRangeOption {
|
|
139
|
+
label: string;
|
|
140
|
+
value: Date[];
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare class DateIOService {
|
|
144
|
+
/**
|
|
145
|
+
* This is the default range. It approximates the beginning of time to the end of time.
|
|
146
|
+
* The disabled dates are the dates that are not allowed to be selected.
|
|
147
|
+
* The min date is the earliest date that can be selected.
|
|
148
|
+
* The max date is the latest date that can be selected.
|
|
149
|
+
* Unless a minDate or maxDate is set with the native HTML5 api the range is all dates
|
|
150
|
+
*/
|
|
151
|
+
disabledDates: DateRange;
|
|
152
|
+
cldrLocaleDateFormat: string;
|
|
153
|
+
minDateChange: Subject<DayModel>;
|
|
154
|
+
maxDateChange: Subject<DayModel>;
|
|
155
|
+
private dateRangeOptions;
|
|
156
|
+
private localeDisplayFormat;
|
|
157
|
+
private delimiters;
|
|
158
|
+
constructor(localeHelperService: LocaleHelperService);
|
|
159
|
+
get placeholderText(): string;
|
|
160
|
+
setMinDate(date: string): void;
|
|
161
|
+
setMaxDate(date: string): void;
|
|
162
|
+
setRangeOptions(rangeOptions: DateRangeOption[]): void;
|
|
163
|
+
getRangeOptions(): any;
|
|
164
|
+
toLocaleDisplayFormatString(date: Date): string;
|
|
165
|
+
getDateValueFromDateString(date: string): Date;
|
|
166
|
+
private validateDateRangeOptions;
|
|
167
|
+
private initializeLocaleDisplayFormat;
|
|
168
|
+
private extractDelimiters;
|
|
169
|
+
/**
|
|
170
|
+
* Checks if the month entered by the user is valid or not.
|
|
171
|
+
* Note: Month is 0 based.
|
|
172
|
+
*/
|
|
173
|
+
private isValidMonth;
|
|
174
|
+
/**
|
|
175
|
+
* Checks if the date is valid depending on the year and month provided.
|
|
176
|
+
*/
|
|
177
|
+
private isValidDate;
|
|
178
|
+
/**
|
|
179
|
+
* Validates the parameters provided and returns the date.
|
|
180
|
+
* If the parameters are not
|
|
181
|
+
* valid then return null.
|
|
182
|
+
* NOTE: (Month here is 1 based since the user has provided that as an input)
|
|
183
|
+
*/
|
|
184
|
+
private validateAndGetDate;
|
|
185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateIOService, never>;
|
|
186
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateIOService>;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
declare class CalendarModel {
|
|
190
|
+
readonly year: number;
|
|
191
|
+
readonly month: number;
|
|
192
|
+
days: DayModel[];
|
|
193
|
+
constructor(year: number, month: number);
|
|
194
|
+
/**
|
|
195
|
+
* Checks if the calendar passed is equal to the current calendar.
|
|
196
|
+
*/
|
|
197
|
+
isEqual(calendar: CalendarModel): boolean;
|
|
198
|
+
/**
|
|
199
|
+
* Checks if a DayModel is in the Calendar
|
|
200
|
+
*/
|
|
201
|
+
isDayInCalendar(day: DayModel): boolean;
|
|
202
|
+
/**
|
|
203
|
+
* Returns CalendarModel of the previous month.
|
|
204
|
+
*/
|
|
205
|
+
previousMonth(): CalendarModel;
|
|
206
|
+
/**
|
|
207
|
+
* Returns CalendarModel of the next month.
|
|
208
|
+
*/
|
|
209
|
+
nextMonth(): CalendarModel;
|
|
210
|
+
/**
|
|
211
|
+
* Returns CalendarModel of the previous year.
|
|
212
|
+
*/
|
|
213
|
+
previousYear(): CalendarModel;
|
|
214
|
+
/**
|
|
215
|
+
* Returns CalendarModel of the next year.
|
|
216
|
+
*/
|
|
217
|
+
nextYear(): CalendarModel;
|
|
218
|
+
/**
|
|
219
|
+
* Populates the days array with the DayModels in the current Calendar.
|
|
220
|
+
*/
|
|
221
|
+
private initializeDaysInCalendar;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* This service is responsible for:
|
|
226
|
+
* 1. Initializing the displayed calendar.
|
|
227
|
+
* 2. Moving the calendar to the next, previous or current months
|
|
228
|
+
* 3. Managing the focused and selected day models.
|
|
229
|
+
*/
|
|
230
|
+
declare class DateNavigationService {
|
|
231
|
+
persistedDate: DayModel;
|
|
232
|
+
persistedEndDate: DayModel;
|
|
233
|
+
selectedDay: DayModel;
|
|
234
|
+
selectedEndDay: DayModel;
|
|
235
|
+
focusedDay: DayModel;
|
|
236
|
+
hoveredDay: DayModel;
|
|
237
|
+
hoveredMonth: number;
|
|
238
|
+
hoveredYear: number;
|
|
239
|
+
isRangePicker: boolean;
|
|
240
|
+
hasActionButtons: boolean;
|
|
241
|
+
private _displayedCalendar;
|
|
242
|
+
private _todaysFullDate;
|
|
243
|
+
private _today;
|
|
244
|
+
private _selectedDayChange;
|
|
245
|
+
private _selectedEndDayChange;
|
|
246
|
+
private _displayedCalendarChange;
|
|
247
|
+
private _focusOnCalendarChange;
|
|
248
|
+
private _refreshCalendarView;
|
|
249
|
+
private _focusedDayChange;
|
|
250
|
+
get today(): DayModel;
|
|
251
|
+
get displayedCalendar(): CalendarModel;
|
|
252
|
+
get selectedDayChange(): Observable<DayModel>;
|
|
253
|
+
get selectedEndDayChange(): Observable<DayModel>;
|
|
254
|
+
/**
|
|
255
|
+
* This observable lets the subscriber know that the displayed calendar has changed.
|
|
256
|
+
*/
|
|
257
|
+
get displayedCalendarChange(): Observable<void>;
|
|
258
|
+
/**
|
|
259
|
+
* This observable lets the subscriber know that the focus should be applied on the calendar.
|
|
260
|
+
*/
|
|
261
|
+
get focusOnCalendarChange(): Observable<void>;
|
|
262
|
+
/**
|
|
263
|
+
* This observable lets the subscriber know that the focused day in the displayed calendar has changed.
|
|
264
|
+
*/
|
|
265
|
+
get focusedDayChange(): Observable<DayModel>;
|
|
266
|
+
/**
|
|
267
|
+
* This observable lets the subscriber know that the displayed calendar has changed.
|
|
268
|
+
*/
|
|
269
|
+
get refreshCalendarView(): Observable<void>;
|
|
270
|
+
/**
|
|
271
|
+
* Notifies that the selected day has changed so that the date can be emitted to the user.
|
|
272
|
+
*/
|
|
273
|
+
notifySelectedDayChanged(dayObject: DayModel | DateRangeInput, { emitEvent }?: {
|
|
274
|
+
emitEvent: boolean;
|
|
275
|
+
}): void;
|
|
276
|
+
/**
|
|
277
|
+
* Initializes the calendar based on the selected day.
|
|
278
|
+
*/
|
|
279
|
+
initializeCalendar(): void;
|
|
280
|
+
changeMonth(month: number): void;
|
|
281
|
+
changeYear(year: number): void;
|
|
282
|
+
/**
|
|
283
|
+
* Moves the displayed calendar to the next month.
|
|
284
|
+
*/
|
|
285
|
+
moveToNextMonth(): void;
|
|
286
|
+
/**
|
|
287
|
+
* Moves the displayed calendar to the previous month.
|
|
288
|
+
*/
|
|
289
|
+
moveToPreviousMonth(): void;
|
|
290
|
+
/**
|
|
291
|
+
* Moves the displayed calendar to the next year.
|
|
292
|
+
*/
|
|
293
|
+
moveToNextYear(): void;
|
|
294
|
+
/**
|
|
295
|
+
* Moves the displayed calendar to the previous year.
|
|
296
|
+
*/
|
|
297
|
+
moveToPreviousYear(): void;
|
|
298
|
+
/**
|
|
299
|
+
* Moves the displayed calendar to the current month and year.
|
|
300
|
+
*/
|
|
301
|
+
moveToCurrentMonth(): void;
|
|
302
|
+
moveToSpecificMonth(day: DayModel): void;
|
|
303
|
+
incrementFocusDay(value: number): void;
|
|
304
|
+
resetSelectedDay(): void;
|
|
305
|
+
convertDateToDayModel(date: Date): DayModel;
|
|
306
|
+
private setSelectedDay;
|
|
307
|
+
private setSelectedEndDay;
|
|
308
|
+
private setDisplayedCalendar;
|
|
309
|
+
private initializeTodaysDate;
|
|
310
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateNavigationService, never>;
|
|
311
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateNavigationService>;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
declare class DatepickerEnabledService {
|
|
315
|
+
private _document;
|
|
316
|
+
private _isUserAgentMobile;
|
|
317
|
+
private _innerWidth;
|
|
318
|
+
constructor(_document: any);
|
|
319
|
+
/**
|
|
320
|
+
* Returns if the calendar should be active or not.
|
|
321
|
+
* If the user agent is mobile and the screen width is less than DATEPICKER_ACTIVE_BREAKPOINT
|
|
322
|
+
* then the calendar is inactive.
|
|
323
|
+
*/
|
|
324
|
+
get isEnabled(): boolean;
|
|
325
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerEnabledService, never>;
|
|
326
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DatepickerEnabledService>;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* This service manages which view is visible in the datepicker popover.
|
|
331
|
+
*/
|
|
332
|
+
declare class ViewManagerService {
|
|
333
|
+
position: ClrPopoverPosition;
|
|
334
|
+
private _currentView;
|
|
335
|
+
get isDayView(): boolean;
|
|
336
|
+
get isYearView(): boolean;
|
|
337
|
+
get isMonthView(): boolean;
|
|
338
|
+
changeToMonthView(): void;
|
|
339
|
+
changeToYearView(): void;
|
|
340
|
+
changeToDayView(): void;
|
|
341
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewManagerService, never>;
|
|
342
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ViewManagerService>;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
declare class ClrDateContainer extends ClrAbstractContainer implements AfterViewInit {
|
|
346
|
+
protected renderer: Renderer2;
|
|
347
|
+
protected elem: ElementRef;
|
|
348
|
+
private popoverService;
|
|
349
|
+
private dateNavigationService;
|
|
350
|
+
private datepickerEnabledService;
|
|
351
|
+
private dateFormControlService;
|
|
352
|
+
private dateIOService;
|
|
353
|
+
commonStrings: ClrCommonStringsService;
|
|
354
|
+
private viewManagerService;
|
|
355
|
+
protected controlClassService: ControlClassService;
|
|
356
|
+
protected layoutService: LayoutService;
|
|
357
|
+
protected ngControlService: NgControlService;
|
|
358
|
+
private localeHelperService;
|
|
359
|
+
focus: boolean;
|
|
360
|
+
protected popoverType: ClrPopoverType;
|
|
361
|
+
private toggleButton;
|
|
362
|
+
constructor(renderer: Renderer2, elem: ElementRef, popoverService: ClrPopoverService, dateNavigationService: DateNavigationService, datepickerEnabledService: DatepickerEnabledService, dateFormControlService: DateFormControlService, dateIOService: DateIOService, commonStrings: ClrCommonStringsService, focusService: FormsFocusService, viewManagerService: ViewManagerService, controlClassService: ControlClassService, layoutService: LayoutService, ngControlService: NgControlService, localeHelperService: LocaleHelperService);
|
|
363
|
+
/**
|
|
364
|
+
* Overrides the locale-derived first day of the week for the calendar.
|
|
365
|
+
* Accepts a `ClrWeekday` value (Sunday=0 through Saturday=6).
|
|
366
|
+
* When not set, the first day of the week is determined by the Angular locale.
|
|
367
|
+
*/
|
|
368
|
+
set firstDayOfWeek(value: ClrWeekday | null);
|
|
369
|
+
/**
|
|
370
|
+
* For date range picker actions buttons are shown by default
|
|
371
|
+
*/
|
|
372
|
+
set showActionButtons(flag: boolean);
|
|
373
|
+
set clrPosition(position: string | ClrPopoverPosition);
|
|
374
|
+
set rangeOptions(rangeOptions: any);
|
|
375
|
+
set min(dateString: string);
|
|
376
|
+
set max(dateString: string);
|
|
377
|
+
set actionButton(button: ElementRef<HTMLButtonElement>);
|
|
378
|
+
get popoverPosition(): ClrPopoverPosition;
|
|
379
|
+
get open(): boolean;
|
|
380
|
+
/**
|
|
381
|
+
* Returns if the Datepicker is enabled or not. If disabled, hides the datepicker trigger.
|
|
382
|
+
*/
|
|
383
|
+
get isEnabled(): boolean;
|
|
384
|
+
/**
|
|
385
|
+
* Return if Datepicker is diabled or not as Form Control
|
|
386
|
+
*/
|
|
387
|
+
get isInputDateDisabled(): boolean;
|
|
388
|
+
protected get isRangePicker(): boolean;
|
|
389
|
+
ngAfterViewInit(): void;
|
|
390
|
+
/**
|
|
391
|
+
* Return the label for the toggle button.
|
|
392
|
+
* If there's a selected date, the date is included in the label.
|
|
393
|
+
*/
|
|
394
|
+
private getToggleButtonLabel;
|
|
395
|
+
private listenForDateChanges;
|
|
396
|
+
/**
|
|
397
|
+
* Processes the user input and Initializes the Calendar everytime the datepicker popover is open.
|
|
398
|
+
*/
|
|
399
|
+
private initializeCalendar;
|
|
400
|
+
private dateRangeStructuralChecks;
|
|
401
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDateContainer, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null]>;
|
|
402
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDateContainer, "clr-date-container, clr-date-range-container", never, { "firstDayOfWeek": { "alias": "clrFirstDayOfWeek"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "clrPosition": { "alias": "clrPosition"; "required": false; }; "rangeOptions": { "alias": "rangeOptions"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, ["label", "[clrStartDate]", "[clrEndDate]", "[clrDate]", "clr-control-helper", "clr-control-error", "clr-control-success"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* This service focuses the day that is focusable in the calendar.
|
|
407
|
+
*/
|
|
408
|
+
declare class DatepickerFocusService {
|
|
409
|
+
private _ngZone;
|
|
410
|
+
private platformId;
|
|
411
|
+
constructor(_ngZone: NgZone, platformId: any);
|
|
412
|
+
focusCell(elRef: ElementRef<HTMLElement>): void;
|
|
413
|
+
focusInput(element: HTMLInputElement): void;
|
|
414
|
+
elementIsFocused(element: HTMLInputElement): boolean;
|
|
415
|
+
private ngZoneIsStableInBrowser;
|
|
416
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerFocusService, never>;
|
|
417
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DatepickerFocusService>;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
declare abstract class ClrDateInputBase extends WrappedFormControl<ClrDateContainer> implements OnInit, AfterViewInit, OnDestroy {
|
|
421
|
+
protected el: ElementRef<HTMLInputElement>;
|
|
422
|
+
protected renderer: Renderer2;
|
|
423
|
+
protected control: NgControl;
|
|
424
|
+
private container;
|
|
425
|
+
protected dateIOService: DateIOService;
|
|
426
|
+
protected dateNavigationService: DateNavigationService;
|
|
427
|
+
private datepickerEnabledService;
|
|
428
|
+
private dateFormControlService;
|
|
429
|
+
private platformId;
|
|
430
|
+
private focusService;
|
|
431
|
+
protected datepickerFocusService: DatepickerFocusService;
|
|
432
|
+
static ngAcceptInputType_date: Date | null | string;
|
|
433
|
+
placeholder: string;
|
|
434
|
+
protected index: number;
|
|
435
|
+
private initialClrDateInputValue;
|
|
436
|
+
private previousDateChange;
|
|
437
|
+
protected abstract dateChange: EventEmitter<Date>;
|
|
438
|
+
constructor(viewContainerRef: ViewContainerRef, injector: Injector, el: ElementRef<HTMLInputElement>, renderer: Renderer2, control: NgControl, container: ClrDateContainer, dateIOService: DateIOService, dateNavigationService: DateNavigationService, datepickerEnabledService: DatepickerEnabledService, dateFormControlService: DateFormControlService, platformId: any, focusService: FormsFocusService, datepickerFocusService: DatepickerFocusService);
|
|
439
|
+
get disabled(): boolean | string;
|
|
440
|
+
set disabled(value: boolean | string);
|
|
441
|
+
get placeholderText(): string;
|
|
442
|
+
get inputType(): string;
|
|
443
|
+
protected abstract get userSelectedDayChange(): Observable<DayModel>;
|
|
444
|
+
ngOnInit(): void;
|
|
445
|
+
ngAfterViewInit(): void;
|
|
446
|
+
setFocusStates(): void;
|
|
447
|
+
triggerValidation(): void;
|
|
448
|
+
onValueChange(target: HTMLInputElement): void;
|
|
449
|
+
protected datepickerHasFormControl(): boolean;
|
|
450
|
+
protected setDate(date: Date | string): void;
|
|
451
|
+
protected triggerControlInputValidation(): void;
|
|
452
|
+
private usingClarityDatepicker;
|
|
453
|
+
private usingNativeDatepicker;
|
|
454
|
+
private setFocus;
|
|
455
|
+
private populateServicesFromContainerComponent;
|
|
456
|
+
private processInitialInputs;
|
|
457
|
+
private updateDate;
|
|
458
|
+
private updateInput;
|
|
459
|
+
private getValidDateValueFromDate;
|
|
460
|
+
private emitDateOutput;
|
|
461
|
+
private listenForControlValueChanges;
|
|
462
|
+
private listenForUserSelectedDayChanges;
|
|
463
|
+
private listenForTouchChanges;
|
|
464
|
+
private listenForDirtyChanges;
|
|
465
|
+
private listenForInputRefocus;
|
|
466
|
+
/**
|
|
467
|
+
* In case of date range error, both start & end date field validation has to be triggered
|
|
468
|
+
* if either of the field gets updated
|
|
469
|
+
*/
|
|
470
|
+
private validateDateRange;
|
|
471
|
+
protected abstract updateDayModel(dayModel: DayModel): void;
|
|
472
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDateInputBase, [null, null, null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; }, null]>;
|
|
473
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDateInputBase, never, never, { "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
declare class ClrDateInput extends ClrDateInputBase {
|
|
477
|
+
dateChange: EventEmitter<Date>;
|
|
478
|
+
set date(date: Date | string);
|
|
479
|
+
set min(dateString: string);
|
|
480
|
+
set max(dateString: string);
|
|
481
|
+
protected get userSelectedDayChange(): rxjs.Observable<DayModel>;
|
|
482
|
+
protected updateDayModel(dayModel: DayModel): void;
|
|
483
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDateInput, never>;
|
|
484
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDateInput, "[clrDate]", never, { "date": { "alias": "clrDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "dateChange": "clrDateChange"; }, never, never, false, never>;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
declare class ClrStartDateInput extends ClrDateInputBase {
|
|
488
|
+
dateChange: EventEmitter<Date>;
|
|
489
|
+
inputWidth: number;
|
|
490
|
+
set date(date: Date | string);
|
|
491
|
+
get inputSize(): number;
|
|
492
|
+
protected get userSelectedDayChange(): rxjs.Observable<DayModel>;
|
|
493
|
+
ngOnInit(): void;
|
|
494
|
+
protected updateDayModel(dayModel: DayModel): void;
|
|
495
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrStartDateInput, never>;
|
|
496
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrStartDateInput, "[clrStartDate]", never, { "inputWidth": { "alias": "inputWidth"; "required": false; }; "date": { "alias": "clrStartDate"; "required": false; }; }, { "dateChange": "clrStartDateChange"; }, never, never, false, never>;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
declare class ClrEndDateInput extends ClrDateInputBase {
|
|
500
|
+
dateChange: EventEmitter<Date>;
|
|
501
|
+
inputWidth: number;
|
|
502
|
+
set date(date: Date | string);
|
|
503
|
+
get inputSize(): number;
|
|
504
|
+
protected get userSelectedDayChange(): rxjs.Observable<DayModel>;
|
|
505
|
+
ngOnInit(): void;
|
|
506
|
+
protected updateDayModel(dayModel: DayModel): void;
|
|
507
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrEndDateInput, never>;
|
|
508
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrEndDateInput, "[clrEndDate]", never, { "inputWidth": { "alias": "inputWidth"; "required": false; }; "date": { "alias": "clrEndDate"; "required": false; }; }, { "dateChange": "clrEndDateChange"; }, never, never, false, never>;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
declare class ClrDateInputValidator implements Validator {
|
|
512
|
+
private dateIOService;
|
|
513
|
+
constructor(dateIOService: DateIOService);
|
|
514
|
+
validate(control: AbstractControl): ValidationErrors;
|
|
515
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDateInputValidator, [{ optional: true; }]>;
|
|
516
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDateInputValidator, "[clrDate], [clrStartDate], [clrEndDate]", never, {}, {}, never, never, false, never>;
|
|
517
|
+
}
|
|
518
|
+
declare class ClrStartDateInputValidator implements Validator {
|
|
519
|
+
private dateIOService;
|
|
520
|
+
private dateNavigationService;
|
|
521
|
+
constructor(dateIOService: DateIOService, dateNavigationService: DateNavigationService);
|
|
522
|
+
validate(control: AbstractControl): ValidationErrors;
|
|
523
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrStartDateInputValidator, [{ optional: true; }, { optional: true; }]>;
|
|
524
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrStartDateInputValidator, "[clrStartDate]", never, {}, {}, never, never, false, never>;
|
|
525
|
+
}
|
|
526
|
+
declare class ClrEndDateInputValidator implements Validator {
|
|
527
|
+
private dateIOService;
|
|
528
|
+
private dateNavigationService;
|
|
529
|
+
constructor(dateIOService: DateIOService, dateNavigationService: DateNavigationService);
|
|
530
|
+
validate(control: AbstractControl): ValidationErrors;
|
|
531
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrEndDateInputValidator, [{ optional: true; }, { optional: true; }]>;
|
|
532
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrEndDateInputValidator, "[clrEndDate]", never, {}, {}, never, never, false, never>;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
declare class ClrDatepickerViewManager {
|
|
536
|
+
commonStrings: ClrCommonStringsService;
|
|
537
|
+
private viewManagerService;
|
|
538
|
+
private dateNavigationService;
|
|
539
|
+
private dateIOService;
|
|
540
|
+
constructor(commonStrings: ClrCommonStringsService, viewManagerService: ViewManagerService, dateNavigationService: DateNavigationService, dateIOService: DateIOService);
|
|
541
|
+
/**
|
|
542
|
+
* Returns if the current view is the monthpicker.
|
|
543
|
+
*/
|
|
544
|
+
get isMonthView(): boolean;
|
|
545
|
+
/**
|
|
546
|
+
* Returns if the current view is the yearpicker.
|
|
547
|
+
*/
|
|
548
|
+
get isYearView(): boolean;
|
|
549
|
+
/**
|
|
550
|
+
* Returns if the current view is the daypicker.
|
|
551
|
+
*/
|
|
552
|
+
get isDayView(): boolean;
|
|
553
|
+
get hasRangeOptions(): boolean;
|
|
554
|
+
protected get hasActionButtons(): boolean;
|
|
555
|
+
protected get dateRangeOptions(): any;
|
|
556
|
+
onRangeOptionSelect(selectedRange: any): void;
|
|
557
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDatepickerViewManager, never>;
|
|
558
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDatepickerViewManager, "clr-datepicker-view-manager", never, {}, {}, never, never, false, never>;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
declare class ClrDaypicker {
|
|
562
|
+
private _viewManagerService;
|
|
563
|
+
private _dateNavigationService;
|
|
564
|
+
private _localeHelperService;
|
|
565
|
+
commonStrings: ClrCommonStringsService;
|
|
566
|
+
constructor(_viewManagerService: ViewManagerService, _dateNavigationService: DateNavigationService, _localeHelperService: LocaleHelperService, commonStrings: ClrCommonStringsService);
|
|
567
|
+
get monthAttrString(): string;
|
|
568
|
+
get yearAttrString(): string;
|
|
569
|
+
/**
|
|
570
|
+
* Returns the month value of the calendar in the TranslationWidth.Abbreviated format.
|
|
571
|
+
*/
|
|
572
|
+
get calendarMonth(): string;
|
|
573
|
+
/**
|
|
574
|
+
* Returns the year value of the calendar.
|
|
575
|
+
*/
|
|
576
|
+
get calendarYear(): number;
|
|
577
|
+
/**
|
|
578
|
+
* Calls the ViewManagerService to change to the monthpicker view.
|
|
579
|
+
*/
|
|
580
|
+
changeToMonthView(): void;
|
|
581
|
+
/**
|
|
582
|
+
* Calls the ViewManagerService to change to the yearpicker view.
|
|
583
|
+
*/
|
|
584
|
+
changeToYearView(): void;
|
|
585
|
+
/**
|
|
586
|
+
* Calls the DateNavigationService to move to the next month.
|
|
587
|
+
*/
|
|
588
|
+
nextMonth(): void;
|
|
589
|
+
/**
|
|
590
|
+
* Calls the DateNavigationService to move to the previous month.
|
|
591
|
+
*/
|
|
592
|
+
previousMonth(): void;
|
|
593
|
+
/**
|
|
594
|
+
* Calls the DateNavigationService to move to the current month.
|
|
595
|
+
*/
|
|
596
|
+
currentMonth(): void;
|
|
597
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDaypicker, never>;
|
|
598
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDaypicker, "clr-daypicker", never, {}, {}, never, never, false, never>;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
declare class ClrMonthpicker implements AfterViewInit {
|
|
602
|
+
private _localeHelperService;
|
|
603
|
+
private _dateNavigationService;
|
|
604
|
+
private _datepickerFocusService;
|
|
605
|
+
private _elRef;
|
|
606
|
+
private _viewManagerService;
|
|
607
|
+
commonStrings: ClrCommonStringsService;
|
|
608
|
+
/**
|
|
609
|
+
* Keeps track of the current focused month.
|
|
610
|
+
*/
|
|
611
|
+
private _focusedMonthIndex;
|
|
612
|
+
constructor(_localeHelperService: LocaleHelperService, _dateNavigationService: DateNavigationService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef, _viewManagerService: ViewManagerService, commonStrings: ClrCommonStringsService);
|
|
613
|
+
/**
|
|
614
|
+
* Gets the months array which is used to rendered the monthpicker view.
|
|
615
|
+
* Months are in the TranslationWidth.Wide format.
|
|
616
|
+
*/
|
|
617
|
+
get monthNames(): ReadonlyArray<string>;
|
|
618
|
+
/**
|
|
619
|
+
* Gets the month value of the Calendar.
|
|
620
|
+
*/
|
|
621
|
+
get calendarMonthIndex(): number;
|
|
622
|
+
/**
|
|
623
|
+
* Gets the year which the user is currently on.
|
|
624
|
+
*/
|
|
625
|
+
get calendarEndMonthIndex(): number;
|
|
626
|
+
get yearAttrString(): string;
|
|
627
|
+
/**
|
|
628
|
+
* Returns the year value of the calendar.
|
|
629
|
+
*/
|
|
630
|
+
get calendarYear(): number;
|
|
631
|
+
get currentCalendarYear(): number;
|
|
632
|
+
get currentCalendarMonth(): number;
|
|
633
|
+
getIsRangeStartMonth(monthIndex: number): boolean;
|
|
634
|
+
getIsRangeEndMonth(monthIndex: number): boolean;
|
|
635
|
+
/**
|
|
636
|
+
* Calls the ViewManagerService to change to the yearpicker view.
|
|
637
|
+
*/
|
|
638
|
+
changeToYearView(): void;
|
|
639
|
+
/**
|
|
640
|
+
* Focuses on the current calendar month when the View is initialized.
|
|
641
|
+
*/
|
|
642
|
+
ngAfterViewInit(): void;
|
|
643
|
+
/**
|
|
644
|
+
* Handles the Keyboard arrow navigation for the monthpicker.
|
|
645
|
+
*/
|
|
646
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
647
|
+
isSelected(monthIndex: number): boolean;
|
|
648
|
+
/**
|
|
649
|
+
* Calls the DateNavigationService to update the hovered month value of the calendar
|
|
650
|
+
*/
|
|
651
|
+
onHover(monthIndex: number): void;
|
|
652
|
+
/**
|
|
653
|
+
* Calls the DateNavigationService to update the month value of the calendar.
|
|
654
|
+
* Also changes the view to the daypicker.
|
|
655
|
+
*/
|
|
656
|
+
changeMonth(monthIndex: number): void;
|
|
657
|
+
/**
|
|
658
|
+
* Compares the month passed to the focused month and returns the tab index.
|
|
659
|
+
*/
|
|
660
|
+
getTabIndex(monthIndex: number): number;
|
|
661
|
+
/**
|
|
662
|
+
* Calls the DateNavigationService to move to the next month.
|
|
663
|
+
*/
|
|
664
|
+
nextYear(): void;
|
|
665
|
+
/**
|
|
666
|
+
* Calls the DateNavigationService to move to the previous month.
|
|
667
|
+
*/
|
|
668
|
+
previousYear(): void;
|
|
669
|
+
/**
|
|
670
|
+
* Calls the DateNavigationService to move to the current month.
|
|
671
|
+
*/
|
|
672
|
+
currentYear(): void;
|
|
673
|
+
/**
|
|
674
|
+
* Applicable only to date range picker
|
|
675
|
+
* Compares the month passed is in between the start and end date range
|
|
676
|
+
*/
|
|
677
|
+
isInRange(monthIndex: number): boolean;
|
|
678
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrMonthpicker, never>;
|
|
679
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrMonthpicker, "clr-monthpicker", never, {}, {}, never, never, false, never>;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
declare class YearRangeModel {
|
|
683
|
+
private readonly year;
|
|
684
|
+
yearRange: number[];
|
|
685
|
+
constructor(year: number);
|
|
686
|
+
/**
|
|
687
|
+
* Gets the number in the middle of the range.
|
|
688
|
+
*/
|
|
689
|
+
get middleYear(): number;
|
|
690
|
+
/**
|
|
691
|
+
* Generates the YearRangeModel for the next decade.
|
|
692
|
+
*/
|
|
693
|
+
nextDecade(): YearRangeModel;
|
|
694
|
+
/**
|
|
695
|
+
* Generates the YearRangeModel for the previous decade.
|
|
696
|
+
*/
|
|
697
|
+
previousDecade(): YearRangeModel;
|
|
698
|
+
/**
|
|
699
|
+
* Generates the YearRangeModel for the current decade.
|
|
700
|
+
*/
|
|
701
|
+
currentDecade(): YearRangeModel;
|
|
702
|
+
/**
|
|
703
|
+
* Checks if the value is in the YearRangeModel.
|
|
704
|
+
*/
|
|
705
|
+
inRange(value: number): boolean;
|
|
706
|
+
/**
|
|
707
|
+
* Generates the year range based on the year parameter.
|
|
708
|
+
* eg: If 2018 is passed the output will be [2010, 2011, ..., 2019]
|
|
709
|
+
*/
|
|
710
|
+
private generateYearRange;
|
|
711
|
+
/**
|
|
712
|
+
* Function which generate a range of numbers from floor to ceil.
|
|
713
|
+
*/
|
|
714
|
+
private generateRange;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
declare class ClrYearpicker implements AfterViewInit {
|
|
718
|
+
private _dateNavigationService;
|
|
719
|
+
private _viewManagerService;
|
|
720
|
+
private _datepickerFocusService;
|
|
721
|
+
private _elRef;
|
|
722
|
+
commonStrings: ClrCommonStringsService;
|
|
723
|
+
/**
|
|
724
|
+
* YearRangeModel which is used to build the YearPicker view.
|
|
725
|
+
*/
|
|
726
|
+
yearRangeModel: YearRangeModel;
|
|
727
|
+
/**
|
|
728
|
+
* Keeps track of the current focused year.
|
|
729
|
+
*/
|
|
730
|
+
private _focusedYear;
|
|
731
|
+
constructor(_dateNavigationService: DateNavigationService, _viewManagerService: ViewManagerService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef<HTMLElement>, commonStrings: ClrCommonStringsService);
|
|
732
|
+
get selectedStartYear(): number;
|
|
733
|
+
get selectedEndYear(): number;
|
|
734
|
+
/**
|
|
735
|
+
* Gets the year which the user is currently on.
|
|
736
|
+
*/
|
|
737
|
+
get calendarYear(): number;
|
|
738
|
+
isCurrentCalendarYear(year: number): boolean;
|
|
739
|
+
getIsRangeStartYear(year: number): boolean;
|
|
740
|
+
getIsRangeEndYear(year: number): boolean;
|
|
741
|
+
/**
|
|
742
|
+
* Focuses on the current calendar year when the View is initialized.
|
|
743
|
+
*/
|
|
744
|
+
ngAfterViewInit(): void;
|
|
745
|
+
/**
|
|
746
|
+
* Handles the Keyboard arrow navigation for the yearpicker.
|
|
747
|
+
*/
|
|
748
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
749
|
+
/**
|
|
750
|
+
* Calls the DateNavigationService to update the year value of the calendar.
|
|
751
|
+
* Also changes the view to the daypicker.
|
|
752
|
+
*/
|
|
753
|
+
changeYear(year: number): void;
|
|
754
|
+
/**
|
|
755
|
+
* Calls the DateNavigationService to update the hovered year value of the calendar
|
|
756
|
+
*/
|
|
757
|
+
onHover(year: number): void;
|
|
758
|
+
/**
|
|
759
|
+
* Updates the YearRangeModel to the previous decade.
|
|
760
|
+
*/
|
|
761
|
+
previousDecade(): void;
|
|
762
|
+
/**
|
|
763
|
+
* Updates the YearRangeModel to the current decade.
|
|
764
|
+
*/
|
|
765
|
+
currentDecade(): void;
|
|
766
|
+
/**
|
|
767
|
+
* Updates the YearRangeModel to the next decade.
|
|
768
|
+
*/
|
|
769
|
+
nextDecade(): void;
|
|
770
|
+
/**
|
|
771
|
+
* Compares the year passed to the focused year and returns the tab index.
|
|
772
|
+
*/
|
|
773
|
+
getTabIndex(year: number): number;
|
|
774
|
+
/**
|
|
775
|
+
* Applicable only to date range picker
|
|
776
|
+
* Compares the year passed is in between the start and end date range
|
|
777
|
+
*/
|
|
778
|
+
isInRange(year: number): boolean;
|
|
779
|
+
changeToDayView(): void;
|
|
780
|
+
/**
|
|
781
|
+
* Increments the focus year by the value passed. Updates the YearRangeModel if the
|
|
782
|
+
* new value is not in the current decade.
|
|
783
|
+
*/
|
|
784
|
+
private incrementFocusYearBy;
|
|
785
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrYearpicker, never>;
|
|
786
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrYearpicker, "clr-yearpicker", never, {}, {}, never, never, false, never>;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
declare class DayViewModel {
|
|
790
|
+
dayModel: DayModel;
|
|
791
|
+
isTodaysDate: boolean;
|
|
792
|
+
isExcluded: boolean;
|
|
793
|
+
isDisabled: boolean;
|
|
794
|
+
isSelected: boolean;
|
|
795
|
+
isFocusable: boolean;
|
|
796
|
+
isRangeStartDay: boolean;
|
|
797
|
+
isRangeEndDay: boolean;
|
|
798
|
+
constructor(dayModel: DayModel, isTodaysDate?: boolean, isExcluded?: boolean, isDisabled?: boolean, isSelected?: boolean, isFocusable?: boolean, isRangeStartDay?: boolean, isRangeEndDay?: boolean);
|
|
799
|
+
/**
|
|
800
|
+
* Gets the tab index based on the isFocusable flag.
|
|
801
|
+
*/
|
|
802
|
+
get tabIndex(): number;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
declare class CalendarViewModel {
|
|
806
|
+
calendar: CalendarModel;
|
|
807
|
+
selectedDay: DayModel;
|
|
808
|
+
selectedEndDay: DayModel;
|
|
809
|
+
private focusableDay;
|
|
810
|
+
private today;
|
|
811
|
+
firstDayOfWeek: number;
|
|
812
|
+
private excludedDates;
|
|
813
|
+
private currMonthDayViews;
|
|
814
|
+
private _calendarView;
|
|
815
|
+
constructor(calendar: CalendarModel, selectedDay: DayModel, selectedEndDay: DayModel, focusableDay: DayModel, today: DayModel, firstDayOfWeek: number, excludedDates: DateRange);
|
|
816
|
+
/**
|
|
817
|
+
* DayViewModel matrix. Size 6x7
|
|
818
|
+
*/
|
|
819
|
+
get calendarView(): DayViewModel[][];
|
|
820
|
+
/**
|
|
821
|
+
* Updates the focusable day in the calendar.
|
|
822
|
+
*/
|
|
823
|
+
updateFocusableDay(day: DayModel): void;
|
|
824
|
+
/**
|
|
825
|
+
* Updates the selected day in the calendar
|
|
826
|
+
*/
|
|
827
|
+
updateSelectedDay(day: DayModel | undefined): void;
|
|
828
|
+
/**
|
|
829
|
+
* Updates the selected end day in the calendar
|
|
830
|
+
*/
|
|
831
|
+
updateSelectedEndDay(day: DayModel | undefined): void;
|
|
832
|
+
/**
|
|
833
|
+
* Generates a 6x7 matrix of DayViewModel based on the Calendar.
|
|
834
|
+
* The 6x7 matrix is structured according to the first day of the week.
|
|
835
|
+
* 6 rows to accommodate months which might have dates spanning over 6 weeks.
|
|
836
|
+
* 7 columns because there are 7 days in a week :P :D
|
|
837
|
+
*/
|
|
838
|
+
private initializeCalendarView;
|
|
839
|
+
private isDateExcluded;
|
|
840
|
+
/**
|
|
841
|
+
* Generates a DayViewModel array based on the DayModel passed
|
|
842
|
+
*/
|
|
843
|
+
private generateDayViewModels;
|
|
844
|
+
/**
|
|
845
|
+
* Gets the first day of the current month to figure out how many dates of previous month
|
|
846
|
+
* are needed to complete the Calendar View based on the first day of the week.
|
|
847
|
+
* eg: Assuming locale en-US, the first day of the week is Sunday,
|
|
848
|
+
* if first day of the current month lands on Wednesday, then
|
|
849
|
+
* (this.getDay function would return 3 since
|
|
850
|
+
* first day of the week is 0), we need the 3 days from the previous month.
|
|
851
|
+
*/
|
|
852
|
+
private numDaysFromPrevMonthInCalView;
|
|
853
|
+
/**
|
|
854
|
+
* Checks if the Day passed is in the CalendarView.
|
|
855
|
+
*/
|
|
856
|
+
private isDayInCalendarView;
|
|
857
|
+
/**
|
|
858
|
+
* Using the DayViewModels from the previous, current and next month, this function
|
|
859
|
+
* generates the CalendarView.
|
|
860
|
+
*/
|
|
861
|
+
private generateCalendarView;
|
|
862
|
+
/**
|
|
863
|
+
* Initialize the selected day if the day is in the calendar.
|
|
864
|
+
*/
|
|
865
|
+
private initializeSelectedDay;
|
|
866
|
+
/**
|
|
867
|
+
* Initializes the focusable day if the day is in the calendar. If focusable day is not set, then
|
|
868
|
+
* we check for the selected day. If selected day is not set then check if today is in the current
|
|
869
|
+
* calendar. If not then just set the 15th of the current calendar month.
|
|
870
|
+
*/
|
|
871
|
+
private initializeFocusableDay;
|
|
872
|
+
private setFocusableFlag;
|
|
873
|
+
private setSelectedDay;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
declare class ClrCalendar implements OnDestroy {
|
|
877
|
+
private _localeHelperService;
|
|
878
|
+
private _dateNavigationService;
|
|
879
|
+
private _datepickerFocusService;
|
|
880
|
+
private _dateIOService;
|
|
881
|
+
private _elRef;
|
|
882
|
+
private _dateFormControlService;
|
|
883
|
+
private _popoverService;
|
|
884
|
+
/**
|
|
885
|
+
* Calendar View Model to generate the Calendar.
|
|
886
|
+
*/
|
|
887
|
+
calendarViewModel: CalendarViewModel;
|
|
888
|
+
private _subs;
|
|
889
|
+
constructor(_localeHelperService: LocaleHelperService, _dateNavigationService: DateNavigationService, _datepickerFocusService: DatepickerFocusService, _dateIOService: DateIOService, _elRef: ElementRef<HTMLElement>, _dateFormControlService: DateFormControlService, _popoverService: ClrPopoverService);
|
|
890
|
+
/**
|
|
891
|
+
* Gets the locale days according to the TranslationWidth.Narrow format.
|
|
892
|
+
*/
|
|
893
|
+
get localeDays(): ReadonlyArray<ClrDayOfWeek>;
|
|
894
|
+
get calendar(): CalendarModel;
|
|
895
|
+
get selectedDay(): DayModel;
|
|
896
|
+
get selectedEndDay(): DayModel;
|
|
897
|
+
get focusedDay(): DayModel;
|
|
898
|
+
get today(): DayModel;
|
|
899
|
+
/**
|
|
900
|
+
* Focuses on the focusable day when the Calendar View is initialized.
|
|
901
|
+
*/
|
|
902
|
+
ngAfterViewInit(): void;
|
|
903
|
+
/**
|
|
904
|
+
* Unsubscribe from subscriptions.
|
|
905
|
+
*/
|
|
906
|
+
ngOnDestroy(): void;
|
|
907
|
+
/**
|
|
908
|
+
* Delegates Keyboard arrow navigation to the DateNavigationService.
|
|
909
|
+
*/
|
|
910
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
911
|
+
setSelectedDay(day: DayModel): void;
|
|
912
|
+
/**
|
|
913
|
+
* Initialize subscriptions to:
|
|
914
|
+
* 1. update the calendar view model.
|
|
915
|
+
* 2. update the focusable day in the calendar view model.
|
|
916
|
+
* 3. focus on the focusable day in the calendar.
|
|
917
|
+
*/
|
|
918
|
+
private initializeSubscriptions;
|
|
919
|
+
private validateAndCloseDatePicker;
|
|
920
|
+
private updateCalendarViewModal;
|
|
921
|
+
private refreshCalendarViewModal;
|
|
922
|
+
/**
|
|
923
|
+
* Generates the Calendar View based on the calendar retrieved from the DateNavigationService.
|
|
924
|
+
*/
|
|
925
|
+
private generateCalendarView;
|
|
926
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrCalendar, never>;
|
|
927
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrCalendar, "clr-calendar", never, {}, {}, never, never, false, never>;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
declare class ClrDay {
|
|
931
|
+
private _dateNavigationService;
|
|
932
|
+
private commonStrings;
|
|
933
|
+
onSelectDay: EventEmitter<DayModel>;
|
|
934
|
+
private _dayView;
|
|
935
|
+
constructor(_dateNavigationService: DateNavigationService, commonStrings: ClrCommonStringsService);
|
|
936
|
+
/**
|
|
937
|
+
* DayViewModel input which is used to build the Day View.
|
|
938
|
+
*/
|
|
939
|
+
get dayView(): DayViewModel;
|
|
940
|
+
set dayView(day: DayViewModel);
|
|
941
|
+
get dayString(): string;
|
|
942
|
+
get isRangeStartDay(): boolean;
|
|
943
|
+
get isRangeEndDay(): boolean;
|
|
944
|
+
/**
|
|
945
|
+
* Calls the DateNavigationService to update the hovered day value of the calendar
|
|
946
|
+
*/
|
|
947
|
+
hoverListener(): void;
|
|
948
|
+
/**
|
|
949
|
+
* Updates the focusedDay in the DateNavigationService when the ClrDay is focused.
|
|
950
|
+
*/
|
|
951
|
+
onDayViewFocus(): void;
|
|
952
|
+
/**
|
|
953
|
+
* Updates the selectedDay when the ClrDay is selected and closes the datepicker popover.
|
|
954
|
+
*/
|
|
955
|
+
selectDay(): void;
|
|
956
|
+
/**
|
|
957
|
+
* Applicable only to date range picker
|
|
958
|
+
* Compares whether the day is in between the start and end date range
|
|
959
|
+
*/
|
|
960
|
+
isInRange(): boolean;
|
|
961
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDay, never>;
|
|
962
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDay, "clr-day", never, { "dayView": { "alias": "clrDayView"; "required": false; }; }, { "onSelectDay": "selectDay"; }, never, never, false, never>;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
declare class ClrDatepickerActions {
|
|
966
|
+
protected commonStrings: ClrCommonStringsService;
|
|
967
|
+
private popoverService;
|
|
968
|
+
private dateNavigationService;
|
|
969
|
+
private dateFormControlService;
|
|
970
|
+
constructor(commonStrings: ClrCommonStringsService, popoverService: ClrPopoverService, dateNavigationService: DateNavigationService, dateFormControlService: DateFormControlService);
|
|
971
|
+
protected apply(): void;
|
|
972
|
+
protected cancel(): void;
|
|
973
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDatepickerActions, never>;
|
|
974
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDatepickerActions, "clr-datepicker-actions", never, {}, {}, never, never, false, never>;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
declare const CLR_DATEPICKER_DIRECTIVES: Type<any>[];
|
|
978
|
+
declare class ClrDatepickerModule {
|
|
979
|
+
constructor();
|
|
980
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDatepickerModule, never>;
|
|
981
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatepickerModule, [typeof ClrDateInput, typeof ClrDay, typeof ClrDateContainer, typeof ClrDateInputValidator, typeof ClrStartDateInput, typeof ClrEndDateInput, typeof ClrStartDateInputValidator, typeof ClrEndDateInputValidator, typeof ClrDatepickerViewManager, typeof ClrMonthpicker, typeof ClrYearpicker, typeof ClrDaypicker, typeof ClrCalendar, typeof ClrDatepickerActions], [typeof i13.CommonModule, typeof i14.CdkTrapFocusModule, typeof i14.ClrHostWrappingModule, typeof i14.ClrConditionalModule, typeof i1.ClrPopoverModuleNext, typeof i16.ClrIcon, typeof i17.ClrCommonFormsModule, typeof i18.ClrVerticalNavModule], [typeof ClrDateInput, typeof ClrDay, typeof ClrDateContainer, typeof ClrDateInputValidator, typeof ClrStartDateInput, typeof ClrEndDateInput, typeof ClrStartDateInputValidator, typeof ClrEndDateInputValidator, typeof ClrDatepickerViewManager, typeof ClrMonthpicker, typeof ClrYearpicker, typeof ClrDaypicker, typeof ClrCalendar, typeof ClrDatepickerActions]>;
|
|
982
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ClrDatepickerModule>;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
export { CLR_DATEPICKER_DIRECTIVES, ClrCalendar, ClrDateContainer, ClrDateInput, ClrDateInputBase, ClrDateInputValidator, ClrDatepickerActions, ClrDatepickerModule, ClrDatepickerViewManager, ClrDay, ClrDaypicker, ClrEndDateInput, ClrEndDateInputValidator, ClrMonthpicker, ClrStartDateInput, ClrStartDateInputValidator, ClrWeekday, ClrYearpicker };
|
|
986
|
+
export type { ClrDayOfWeek };
|