@progress/kendo-angular-dateinputs 11.0.0-develop.92 → 11.0.0-develop.93

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.
@@ -8,6 +8,7 @@ import * as i2 from "./header.component";
8
8
  import * as i3 from "./view.component";
9
9
  import * as i4 from "@angular/common";
10
10
  import * as i5 from "@progress/kendo-angular-common";
11
+ import * as i6 from "@progress/kendo-angular-buttons";
11
12
  /**
12
13
  * @hidden
13
14
  *
@@ -19,6 +20,6 @@ import * as i5 from "@progress/kendo-angular-common";
19
20
  */
20
21
  export declare class CalendarCommonModule {
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarCommonModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarCommonModule, [typeof i1.KForOf, typeof i2.HeaderComponent, typeof i3.ViewComponent], [typeof i4.CommonModule, typeof i5.EventsModule], [typeof i1.KForOf, typeof i2.HeaderComponent, typeof i3.ViewComponent]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarCommonModule, [typeof i1.KForOf, typeof i2.HeaderComponent, typeof i3.ViewComponent], [typeof i4.CommonModule, typeof i5.EventsModule, typeof i6.ButtonModule], [typeof i1.KForOf, typeof i2.HeaderComponent, typeof i3.ViewComponent]>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<CalendarCommonModule>;
24
25
  }
@@ -10,6 +10,7 @@ import { CalendarViewEnum } from './models/view.enum';
10
10
  import { CalendarOrientation } from './models/orientation';
11
11
  import { BusViewService } from './services/bus-view.service';
12
12
  import { DisabledDatesService } from './services/disabled-dates.service';
13
+ import { SVGIcon } from '@progress/kendo-svg-icons';
13
14
  import * as i0 from "@angular/core";
14
15
  /**
15
16
  * @hidden
@@ -20,6 +21,14 @@ export declare class HeaderComponent implements OnChanges, OnInit, OnDestroy {
20
21
  localization: LocalizationService;
21
22
  private intl;
22
23
  private disabledDatesService;
24
+ /**
25
+ * @hidden
26
+ */
27
+ chevronRightIcon: SVGIcon;
28
+ /**
29
+ * @hidden
30
+ */
31
+ chevronLeftIcon: SVGIcon;
23
32
  navigate: boolean;
24
33
  todayAvailable: boolean;
25
34
  activeViewValue: CalendarView;
@@ -14,6 +14,7 @@ import { FormatSettings } from './models/format-settings.model';
14
14
  import { DateInputSize } from '../common/models/size';
15
15
  import { DateInputRounded } from '../common/models/rounded';
16
16
  import { DateInputFillMode } from '../common/models/fillmode';
17
+ import { SVGIcon } from '@progress/kendo-svg-icons';
17
18
  import * as i0 from "@angular/core";
18
19
  declare type DatePickerType = 'daterangestart' | 'daterangeend' | 'datepicker' | 'datetimepicker' | 'timepicker';
19
20
  /**
@@ -28,6 +29,14 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
28
29
  private injector;
29
30
  localization: LocalizationService;
30
31
  private pickerService?;
32
+ /**
33
+ * @hidden
34
+ */
35
+ caretAltUpIcon: SVGIcon;
36
+ /**
37
+ * @hidden
38
+ */
39
+ caretAltDownIcon: SVGIcon;
31
40
  /**
32
41
  * @hidden
33
42
  */
@@ -9,12 +9,13 @@ import * as i3 from "./localization/dateinput-localized-messages.directive";
9
9
  import * as i4 from "@angular/common";
10
10
  import * as i5 from "@progress/kendo-angular-intl";
11
11
  import * as i6 from "@progress/kendo-angular-common";
12
+ import * as i7 from "@progress/kendo-angular-icons";
12
13
  /**
13
14
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
14
15
  * definition for the DateInput component.
15
16
  */
16
17
  export declare class DateInputModule {
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DateInputModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<DateInputModule, [typeof i1.DateInputComponent, typeof i2.DateInputCustomMessagesComponent, typeof i3.DateInputLocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.IntlModule, typeof i6.EventsModule], [typeof i1.DateInputComponent, typeof i2.DateInputCustomMessagesComponent, typeof i3.DateInputLocalizedMessagesDirective]>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DateInputModule, [typeof i1.DateInputComponent, typeof i2.DateInputCustomMessagesComponent, typeof i3.DateInputLocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.IntlModule, typeof i6.EventsModule, typeof i7.IconsModule], [typeof i1.DateInputComponent, typeof i2.DateInputCustomMessagesComponent, typeof i3.DateInputLocalizedMessagesDirective]>;
19
20
  static ɵinj: i0.ɵɵInjectorDeclaration<DateInputModule>;
20
21
  }
@@ -27,6 +27,7 @@ import { DateInputComponent } from '../dateinput/dateinput.component';
27
27
  import { DateInputSize } from '../common/models/size';
28
28
  import { DateInputRounded } from '../common/models/rounded';
29
29
  import { DateInputFillMode } from '../common/models/fillmode';
30
+ import { SVGIcon } from '@progress/kendo-svg-icons';
30
31
  import * as i0 from "@angular/core";
31
32
  /**
32
33
  * Represents the [Kendo UI DatePicker component for Angular]({% slug overview_datepicker %}#toc-basic-usage).
@@ -42,6 +43,10 @@ export declare class DatePickerComponent implements ControlValueAccessor, OnInit
42
43
  private pickerService;
43
44
  private disabledDatesService;
44
45
  private touchEnabled;
46
+ /**
47
+ * @hidden
48
+ */
49
+ calendarIcon: SVGIcon;
45
50
  container: ViewContainerRef;
46
51
  popupTemplate: TemplateRef<any>;
47
52
  toggleButton: ElementRef;
@@ -13,12 +13,13 @@ import * as i7 from "@progress/kendo-angular-intl";
13
13
  import * as i8 from "@progress/kendo-angular-popup";
14
14
  import * as i9 from "../calendar/templates.module";
15
15
  import * as i10 from "@progress/kendo-angular-common";
16
+ import * as i11 from "@progress/kendo-angular-icons";
16
17
  /**
17
18
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
18
19
  * definition for the DatePicker component.
19
20
  */
20
21
  export declare class DatePickerModule {
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.DatePickerComponent, typeof i2.DatePickerCustomMessagesComponent, typeof i3.DatePickerLocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.DateInputModule, typeof i6.CalendarModule, typeof i7.IntlModule, typeof i8.PopupModule, typeof i9.TemplatesModule, typeof i10.EventsModule], [typeof i1.DatePickerComponent, typeof i2.DatePickerCustomMessagesComponent, typeof i3.DatePickerLocalizedMessagesDirective, typeof i9.TemplatesModule]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.DatePickerComponent, typeof i2.DatePickerCustomMessagesComponent, typeof i3.DatePickerLocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.DateInputModule, typeof i6.CalendarModule, typeof i7.IntlModule, typeof i8.PopupModule, typeof i9.TemplatesModule, typeof i10.EventsModule, typeof i11.IconsModule], [typeof i1.DatePickerComponent, typeof i2.DatePickerCustomMessagesComponent, typeof i3.DatePickerLocalizedMessagesDirective, typeof i9.TemplatesModule]>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
24
25
  }
@@ -30,6 +30,7 @@ import { FormatSettings } from '../dateinput/models/format-settings.model';
30
30
  import { DateInputSize } from '../common/models/size';
31
31
  import { DateInputRounded } from '../common/models/rounded';
32
32
  import { DateInputFillMode } from '../common/models/fillmode';
33
+ import { SVGIcon } from '@progress/kendo-svg-icons';
33
34
  import * as i0 from "@angular/core";
34
35
  /**
35
36
  * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
@@ -45,6 +46,14 @@ export declare class DateTimePickerComponent implements OnInit, OnChanges, After
45
46
  localization: LocalizationService;
46
47
  private disabledDatesService;
47
48
  private renderer;
49
+ /**
50
+ * @hidden
51
+ */
52
+ calendarIcon: SVGIcon;
53
+ /**
54
+ * @hidden
55
+ */
56
+ clockIcon: SVGIcon;
48
57
  /**
49
58
  * @hidden
50
59
  */
@@ -14,12 +14,13 @@ import * as i8 from "../timepicker/timepicker.module";
14
14
  import * as i9 from "@progress/kendo-angular-popup";
15
15
  import * as i10 from "@progress/kendo-angular-common";
16
16
  import * as i11 from "../calendar/templates.module";
17
+ import * as i12 from "@progress/kendo-angular-icons";
17
18
  /**
18
19
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
19
20
  * definition for the DateTimePicker component.
20
21
  */
21
22
  export declare class DateTimePickerModule {
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<DateTimePickerModule, [typeof i1.DateTimePickerComponent, typeof i2.DateTimePickerCustomMessagesComponent, typeof i3.LocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.IntlModule, typeof i6.DateInputModule, typeof i7.CalendarModule, typeof i8.TimePickerModule, typeof i9.PopupModule, typeof i10.EventsModule, typeof i11.TemplatesModule], [typeof i1.DateTimePickerComponent, typeof i2.DateTimePickerCustomMessagesComponent, typeof i3.LocalizedMessagesDirective, typeof i11.TemplatesModule]>;
24
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DateTimePickerModule, [typeof i1.DateTimePickerComponent, typeof i2.DateTimePickerCustomMessagesComponent, typeof i3.LocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.IntlModule, typeof i6.DateInputModule, typeof i7.CalendarModule, typeof i8.TimePickerModule, typeof i9.PopupModule, typeof i10.EventsModule, typeof i11.TemplatesModule, typeof i12.IconsModule], [typeof i1.DateTimePickerComponent, typeof i2.DateTimePickerCustomMessagesComponent, typeof i3.LocalizedMessagesDirective, typeof i11.TemplatesModule]>;
24
25
  static ɵinj: i0.ɵɵInjectorDeclaration<DateTimePickerModule>;
25
26
  }
@@ -8,6 +8,7 @@ import { KForOf } from './for.directive';
8
8
  import { HeaderComponent } from './header.component';
9
9
  import { ViewComponent } from './view.component';
10
10
  import { EventsModule } from '@progress/kendo-angular-common';
11
+ import { ButtonModule } from '@progress/kendo-angular-buttons';
11
12
  import * as i0 from "@angular/core";
12
13
  /**
13
14
  * @hidden
@@ -23,10 +24,10 @@ export class CalendarCommonModule {
23
24
  CalendarCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
24
25
  CalendarCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, declarations: [KForOf,
25
26
  HeaderComponent,
26
- ViewComponent], imports: [CommonModule, EventsModule], exports: [KForOf,
27
+ ViewComponent], imports: [CommonModule, EventsModule, ButtonModule], exports: [KForOf,
27
28
  HeaderComponent,
28
29
  ViewComponent] });
29
- CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, imports: [[CommonModule, EventsModule]] });
30
+ CalendarCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, imports: [[CommonModule, EventsModule, ButtonModule]] });
30
31
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CalendarCommonModule, decorators: [{
31
32
  type: NgModule,
32
33
  args: [{
@@ -40,6 +41,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
40
41
  HeaderComponent,
41
42
  ViewComponent
42
43
  ],
43
- imports: [CommonModule, EventsModule]
44
+ imports: [CommonModule, EventsModule, ButtonModule]
44
45
  }]
45
46
  }] });
@@ -12,13 +12,15 @@ import { dateInRange, getToday, isInRange } from '../util';
12
12
  import { BusViewService } from './services/bus-view.service';
13
13
  import { DisabledDatesService } from './services/disabled-dates.service';
14
14
  import { Subscription } from 'rxjs';
15
+ import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
15
16
  import * as i0 from "@angular/core";
16
17
  import * as i1 from "./services/bus-view.service";
17
18
  import * as i2 from "@progress/kendo-angular-l10n";
18
19
  import * as i3 from "@progress/kendo-angular-intl";
19
20
  import * as i4 from "./services/disabled-dates.service";
20
- import * as i5 from "@progress/kendo-angular-common";
21
- import * as i6 from "@angular/common";
21
+ import * as i5 from "@progress/kendo-angular-buttons";
22
+ import * as i6 from "@progress/kendo-angular-common";
23
+ import * as i7 from "@angular/common";
22
24
  /**
23
25
  * @hidden
24
26
  */
@@ -29,6 +31,14 @@ export class HeaderComponent {
29
31
  this.localization = localization;
30
32
  this.intl = intl;
31
33
  this.disabledDatesService = disabledDatesService;
34
+ /**
35
+ * @hidden
36
+ */
37
+ this.chevronRightIcon = chevronRightIcon;
38
+ /**
39
+ * @hidden
40
+ */
41
+ this.chevronLeftIcon = chevronLeftIcon;
32
42
  this.navigate = true;
33
43
  this.todayAvailable = true;
34
44
  this.min = new Date(MIN_DATE);
@@ -144,15 +154,18 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
144
154
  <span class="k-calendar-nav k-hstack">
145
155
  <button
146
156
  *ngIf="showNavigationButtons"
147
- class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-prev"
157
+ kendoButton
158
+ fillMode="flat"
159
+ [svgIcon]="chevronLeftIcon"
160
+ icon="chevron-left"
148
161
  tabindex="-1"
149
162
  type="button"
163
+ class="k-calendar-nav-prev"
150
164
  [attr.aria-disabled]="isPrevDisabled"
151
165
  [disabled]="isPrevDisabled"
152
166
  [title]="prevButtonTitle"
153
167
  (click)="prevButtonClick.emit()"
154
168
  >
155
- <span class="k-button-icon k-icon k-i-chevron-left"></span>
156
169
  </button>
157
170
  <button
158
171
  class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
@@ -168,7 +181,11 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
168
181
  </button>
169
182
  <button
170
183
  *ngIf="showNavigationButtons"
171
- class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-next"
184
+ kendoButton
185
+ fillMode="flat"
186
+ [svgIcon]="chevronRightIcon"
187
+ icon="chevron-right"
188
+ class="k-calendar-nav-next"
172
189
  tabindex="-1"
173
190
  type="button"
174
191
  [attr.aria-disabled]="isNextDisabled"
@@ -176,10 +193,9 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
176
193
  [title]="nextButtonTitle"
177
194
  (click)="nextButtonClick.emit()"
178
195
  >
179
- <span class="k-button-icon k-icon k-i-chevron-right"></span>
180
196
  </button>
181
197
  </span>
182
- `, isInline: true, directives: [{ type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
198
+ `, isInline: true, components: [{ type: i5.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
183
199
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderComponent, decorators: [{
184
200
  type: Component,
185
201
  args: [{
@@ -207,15 +223,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
207
223
  <span class="k-calendar-nav k-hstack">
208
224
  <button
209
225
  *ngIf="showNavigationButtons"
210
- class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-prev"
226
+ kendoButton
227
+ fillMode="flat"
228
+ [svgIcon]="chevronLeftIcon"
229
+ icon="chevron-left"
211
230
  tabindex="-1"
212
231
  type="button"
232
+ class="k-calendar-nav-prev"
213
233
  [attr.aria-disabled]="isPrevDisabled"
214
234
  [disabled]="isPrevDisabled"
215
235
  [title]="prevButtonTitle"
216
236
  (click)="prevButtonClick.emit()"
217
237
  >
218
- <span class="k-button-icon k-icon k-i-chevron-left"></span>
219
238
  </button>
220
239
  <button
221
240
  class="k-calendar-nav-today k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md"
@@ -231,7 +250,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
231
250
  </button>
232
251
  <button
233
252
  *ngIf="showNavigationButtons"
234
- class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-next"
253
+ kendoButton
254
+ fillMode="flat"
255
+ [svgIcon]="chevronRightIcon"
256
+ icon="chevron-right"
257
+ class="k-calendar-nav-next"
235
258
  tabindex="-1"
236
259
  type="button"
237
260
  [attr.aria-disabled]="isNextDisabled"
@@ -239,7 +262,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
239
262
  [title]="nextButtonTitle"
240
263
  (click)="nextButtonClick.emit()"
241
264
  >
242
- <span class="k-button-icon k-icon k-i-chevron-right"></span>
243
265
  </button>
244
266
  </span>
245
267
  `
@@ -19,13 +19,15 @@ import { PickerService } from '../common/picker.service';
19
19
  import { closest } from '../common/dom-queries';
20
20
  import { requiresZoneOnBlur, isPresent, attributeNames } from '../common/utils';
21
21
  import { Subscription } from 'rxjs';
22
+ import { caretAltDownIcon, caretAltUpIcon } from '@progress/kendo-svg-icons';
22
23
  import * as i0 from "@angular/core";
23
24
  import * as i1 from "@progress/kendo-angular-intl";
24
25
  import * as i2 from "@progress/kendo-angular-l10n";
25
26
  import * as i3 from "../common/picker.service";
26
- import * as i4 from "./localization/dateinput-localized-messages.directive";
27
- import * as i5 from "@progress/kendo-angular-common";
28
- import * as i6 from "@angular/common";
27
+ import * as i4 from "@progress/kendo-angular-icons";
28
+ import * as i5 from "./localization/dateinput-localized-messages.directive";
29
+ import * as i6 from "@progress/kendo-angular-common";
30
+ import * as i7 from "@angular/common";
29
31
  let nextId = 0;
30
32
  const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-min';
31
33
  const MAX_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DateInputComponent/#toc-max';
@@ -463,6 +465,14 @@ export class DateInputComponent {
463
465
  this.injector = injector;
464
466
  this.localization = localization;
465
467
  this.pickerService = pickerService;
468
+ /**
469
+ * @hidden
470
+ */
471
+ this.caretAltUpIcon = caretAltUpIcon;
472
+ /**
473
+ * @hidden
474
+ */
475
+ this.caretAltDownIcon = caretAltDownIcon;
466
476
  /**
467
477
  * Sets or gets the `disabled` property of the DateInput and
468
478
  * determines whether the component is active
@@ -1473,8 +1483,14 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
1473
1483
  (mouseleave)="arrowDirection = arrow.None"
1474
1484
  (click)="handleButtonClick(1)"
1475
1485
  [title]="localization.get('increment')"
1476
- [attr.aria-label]="localization.get('increment')">
1477
- <span class="k-button-icon k-icon k-i-caret-alt-up"></span>
1486
+ [attr.aria-label]="localization.get('increment')"
1487
+ >
1488
+ <kendo-icon-wrapper
1489
+ name="caret-alt-up"
1490
+ class="k-button-icon"
1491
+ [svgIcon]="caretAltUpIcon"
1492
+ >
1493
+ </kendo-icon-wrapper>
1478
1494
  </button>
1479
1495
  <button
1480
1496
  #spindown
@@ -1485,11 +1501,17 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
1485
1501
  (mousedown)="arrowDirection = arrow.Down"
1486
1502
  (mouseleave)="arrowDirection = arrow.None"
1487
1503
  [title]="localization.get('decrement')"
1488
- [attr.aria-label]="localization.get('decrement')">
1489
- <span class="k-button-icon k-icon k-i-caret-alt-down"></span>
1504
+ [attr.aria-label]="localization.get('decrement')"
1505
+ >
1506
+ <kendo-icon-wrapper
1507
+ name="caret-alt-down"
1508
+ class="k-button-icon"
1509
+ [svgIcon]="caretAltDownIcon"
1510
+ >
1511
+ </kendo-icon-wrapper>
1490
1512
  </button>
1491
1513
  </span>
1492
- `, isInline: true, directives: [{ type: i4.DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1514
+ `, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i5.DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i6.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1493
1515
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputComponent, decorators: [{
1494
1516
  type: Component,
1495
1517
  args: [{
@@ -1550,8 +1572,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1550
1572
  (mouseleave)="arrowDirection = arrow.None"
1551
1573
  (click)="handleButtonClick(1)"
1552
1574
  [title]="localization.get('increment')"
1553
- [attr.aria-label]="localization.get('increment')">
1554
- <span class="k-button-icon k-icon k-i-caret-alt-up"></span>
1575
+ [attr.aria-label]="localization.get('increment')"
1576
+ >
1577
+ <kendo-icon-wrapper
1578
+ name="caret-alt-up"
1579
+ class="k-button-icon"
1580
+ [svgIcon]="caretAltUpIcon"
1581
+ >
1582
+ </kendo-icon-wrapper>
1555
1583
  </button>
1556
1584
  <button
1557
1585
  #spindown
@@ -1562,8 +1590,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1562
1590
  (mousedown)="arrowDirection = arrow.Down"
1563
1591
  (mouseleave)="arrowDirection = arrow.None"
1564
1592
  [title]="localization.get('decrement')"
1565
- [attr.aria-label]="localization.get('decrement')">
1566
- <span class="k-button-icon k-icon k-i-caret-alt-down"></span>
1593
+ [attr.aria-label]="localization.get('decrement')"
1594
+ >
1595
+ <kendo-icon-wrapper
1596
+ name="caret-alt-down"
1597
+ class="k-button-icon"
1598
+ [svgIcon]="caretAltDownIcon"
1599
+ >
1600
+ </kendo-icon-wrapper>
1567
1601
  </button>
1568
1602
  </span>
1569
1603
  `
@@ -9,6 +9,7 @@ import { IntlModule } from '@progress/kendo-angular-intl';
9
9
  import { DateInputLocalizedMessagesDirective } from './localization/dateinput-localized-messages.directive';
10
10
  import { DateInputCustomMessagesComponent } from './localization/dateinput-custom-messages.component';
11
11
  import { EventsModule } from '@progress/kendo-angular-common';
12
+ import { IconsModule } from '@progress/kendo-angular-icons';
12
13
  import * as i0 from "@angular/core";
13
14
  /**
14
15
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
@@ -19,10 +20,10 @@ export class DateInputModule {
19
20
  DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
21
  DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, declarations: [DateInputComponent,
21
22
  DateInputCustomMessagesComponent,
22
- DateInputLocalizedMessagesDirective], imports: [CommonModule, IntlModule, EventsModule], exports: [DateInputComponent,
23
+ DateInputLocalizedMessagesDirective], imports: [CommonModule, IntlModule, EventsModule, IconsModule], exports: [DateInputComponent,
23
24
  DateInputCustomMessagesComponent,
24
25
  DateInputLocalizedMessagesDirective] });
25
- DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, imports: [[CommonModule, IntlModule, EventsModule]] });
26
+ DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, imports: [[CommonModule, IntlModule, EventsModule, IconsModule]] });
26
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DateInputModule, decorators: [{
27
28
  type: NgModule,
28
29
  args: [{
@@ -36,6 +37,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
36
37
  DateInputCustomMessagesComponent,
37
38
  DateInputLocalizedMessagesDirective
38
39
  ],
39
- imports: [CommonModule, IntlModule, EventsModule]
40
+ imports: [CommonModule, IntlModule, EventsModule, IconsModule]
40
41
  }]
41
42
  }] });
@@ -31,16 +31,18 @@ import { requiresZoneOnBlur, currentFocusTarget, attributeNames } from '../commo
31
31
  import { fromEvent } from 'rxjs';
32
32
  import { incompleteDateValidator } from '../validators/incomplete-date.validator';
33
33
  import { disabledDatesValidator } from '../validators/disabled-date.validator';
34
+ import { calendarIcon } from '@progress/kendo-svg-icons';
34
35
  import * as i0 from "@angular/core";
35
36
  import * as i1 from "@progress/kendo-angular-l10n";
36
37
  import * as i2 from "@progress/kendo-angular-popup";
37
38
  import * as i3 from "../common/picker.service";
38
39
  import * as i4 from "../calendar/services/disabled-dates.service";
39
40
  import * as i5 from "../dateinput/dateinput.component";
40
- import * as i6 from "../calendar/calendar.component";
41
- import * as i7 from "../calendar/localization/calendar-custom-messages.component";
42
- import * as i8 from "./localization/datepicker-localized-messages.directive";
43
- import * as i9 from "@progress/kendo-angular-common";
41
+ import * as i6 from "@progress/kendo-angular-icons";
42
+ import * as i7 from "../calendar/calendar.component";
43
+ import * as i8 from "../calendar/localization/calendar-custom-messages.component";
44
+ import * as i9 from "./localization/datepicker-localized-messages.directive";
45
+ import * as i10 from "@progress/kendo-angular-common";
44
46
  const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DatePickerComponent/#toc-min';
45
47
  const MAX_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DatePickerComponent/#toc-max';
46
48
  const VALUE_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/#toc-using-with-json';
@@ -61,6 +63,10 @@ export class DatePickerComponent {
61
63
  this.pickerService = pickerService;
62
64
  this.disabledDatesService = disabledDatesService;
63
65
  this.touchEnabled = touchEnabled;
66
+ /**
67
+ * @hidden
68
+ */
69
+ this.calendarIcon = calendarIcon;
64
70
  /**
65
71
  * Defines the active view that the Calendar initially renders
66
72
  * ([see example]({% slug calendar_type_datepicker %}#toc-active-view)).
@@ -957,7 +963,12 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
957
963
  }"
958
964
  [scope]="this"
959
965
  >
960
- <span class="k-button-icon k-icon k-i-calendar"></span>
966
+ <kendo-icon-wrapper
967
+ name="calendar"
968
+ class="k-button-icon"
969
+ [svgIcon]="calendarIcon"
970
+ >
971
+ </kendo-icon-wrapper>
961
972
  </button>
962
973
  <ng-container #container></ng-container>
963
974
  <ng-template #popupTemplate>
@@ -997,7 +1008,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
997
1008
  </kendo-calendar-messages>
998
1009
  </kendo-calendar>
999
1010
  <ng-template>
1000
- `, isInline: true, components: [{ type: i5.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrect", "incompleteDateValidation", "twoDigitYearMax", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i6.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i7.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i8.DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1011
+ `, isInline: true, components: [{ type: i5.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrect", "incompleteDateValidation", "twoDigitYearMax", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i7.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i8.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i9.DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1001
1012
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerComponent, decorators: [{
1002
1013
  type: Component,
1003
1014
  args: [{
@@ -1069,7 +1080,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
1069
1080
  }"
1070
1081
  [scope]="this"
1071
1082
  >
1072
- <span class="k-button-icon k-icon k-i-calendar"></span>
1083
+ <kendo-icon-wrapper
1084
+ name="calendar"
1085
+ class="k-button-icon"
1086
+ [svgIcon]="calendarIcon"
1087
+ >
1088
+ </kendo-icon-wrapper>
1073
1089
  </button>
1074
1090
  <ng-container #container></ng-container>
1075
1091
  <ng-template #popupTemplate>
@@ -15,6 +15,7 @@ import { DatePickerLocalizedMessagesDirective } from './localization/datepicker-
15
15
  import { DatePickerCustomMessagesComponent } from './localization/datepicker-custom-messages.component';
16
16
  import { touchEnabled } from '@progress/kendo-common';
17
17
  import { TOUCH_ENABLED } from '../touch-enabled';
18
+ import { IconsModule } from '@progress/kendo-angular-icons';
18
19
  import * as i0 from "@angular/core";
19
20
  /**
20
21
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
@@ -31,7 +32,8 @@ DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
31
32
  IntlModule,
32
33
  PopupModule,
33
34
  TemplatesModule,
34
- EventsModule], exports: [DatePickerComponent,
35
+ EventsModule,
36
+ IconsModule], exports: [DatePickerComponent,
35
37
  DatePickerCustomMessagesComponent,
36
38
  DatePickerLocalizedMessagesDirective,
37
39
  TemplatesModule] });
@@ -42,7 +44,8 @@ DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
42
44
  IntlModule,
43
45
  PopupModule,
44
46
  TemplatesModule,
45
- EventsModule
47
+ EventsModule,
48
+ IconsModule
46
49
  ], TemplatesModule] });
47
50
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerModule, decorators: [{
48
51
  type: NgModule,
@@ -65,7 +68,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
65
68
  IntlModule,
66
69
  PopupModule,
67
70
  TemplatesModule,
68
- EventsModule
71
+ EventsModule,
72
+ IconsModule
69
73
  ],
70
74
  providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }]
71
75
  }]