@progress/kendo-angular-dateinputs 16.0.0-develop.8 → 16.0.0
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/calendar/calendar.component.d.ts +43 -8
- package/calendar/header.component.d.ts +3 -2
- package/calendar/horizontal-view-list.component.d.ts +4 -3
- package/calendar/models/cell-context.interface.d.ts +4 -0
- package/calendar/models/selection-range.interface.d.ts +2 -2
- package/calendar/models/selection.d.ts +11 -1
- package/calendar/multiview-calendar.component.d.ts +58 -8
- package/calendar/view-list.component.d.ts +9 -1
- package/calendar/view.component.d.ts +2 -1
- package/common/utils.d.ts +4 -0
- package/dateinput/dateinput.component.d.ts +13 -1
- package/dateinput/localization/messages.d.ts +5 -1
- package/datepicker/datepicker.component.d.ts +7 -2
- package/datepicker/localization/messages.d.ts +5 -1
- package/daterange/date-range-popup.component.d.ts +30 -2
- package/daterange/date-range.component.d.ts +16 -1
- package/datetimepicker/datetimepicker.component.d.ts +12 -1
- package/datetimepicker/localization/messages.d.ts +5 -1
- package/esm2020/calendar/calendar-common.module.mjs +4 -4
- package/esm2020/calendar/calendar.component.mjs +258 -60
- package/esm2020/calendar/calendar.module.mjs +4 -4
- package/esm2020/calendar/calendars.module.mjs +4 -4
- package/esm2020/calendar/footer.component.mjs +3 -3
- package/esm2020/calendar/for.directive.mjs +3 -3
- package/esm2020/calendar/header.component.mjs +41 -23
- package/esm2020/calendar/horizontal-view-list.component.mjs +13 -9
- package/esm2020/calendar/localization/calendar-custom-messages.component.mjs +3 -3
- package/esm2020/calendar/localization/calendar-localized-messages.directive.mjs +3 -3
- package/esm2020/calendar/localization/calendar-messages.mjs +3 -3
- package/esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs +3 -3
- package/esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs +3 -3
- package/esm2020/calendar/localization/multiview-calendar-messages.mjs +3 -3
- package/esm2020/calendar/models/selection.mjs +35 -1
- package/esm2020/calendar/multiview-calendar.component.mjs +276 -52
- package/esm2020/calendar/multiview-calendar.module.mjs +4 -4
- package/esm2020/calendar/navigation.component.mjs +3 -3
- package/esm2020/calendar/services/bus-view.service.mjs +3 -3
- package/esm2020/calendar/services/century-view.service.mjs +29 -8
- package/esm2020/calendar/services/decade-view.service.mjs +29 -8
- package/esm2020/calendar/services/disabled-dates.service.mjs +3 -3
- package/esm2020/calendar/services/dom.service.mjs +5 -5
- package/esm2020/calendar/services/month-view.service.mjs +29 -8
- package/esm2020/calendar/services/navigation.service.mjs +3 -3
- package/esm2020/calendar/services/scroll-sync.service.mjs +3 -3
- package/esm2020/calendar/services/selection.service.mjs +3 -3
- package/esm2020/calendar/services/weeknames.service.mjs +3 -3
- package/esm2020/calendar/services/year-view.service.mjs +29 -8
- package/esm2020/calendar/templates/cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/century-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/decade-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/footer-template.directiv/320/265.mjs +3 -3
- package/esm2020/calendar/templates/header-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/header-title-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/month-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/navigation-item-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/weeknumber-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates/year-cell-template.directive.mjs +3 -3
- package/esm2020/calendar/templates.module.mjs +4 -4
- package/esm2020/calendar/view-list.component.mjs +26 -5
- package/esm2020/calendar/view.component.mjs +8 -5
- package/esm2020/common/adaptive.module.mjs +4 -4
- package/esm2020/common/utils.mjs +5 -1
- package/esm2020/dateinput/dateinput.component.mjs +65 -4
- package/esm2020/dateinput/dateinput.module.mjs +4 -4
- package/esm2020/dateinput/localization/dateinput-custom-messages.component.mjs +3 -3
- package/esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs +3 -3
- package/esm2020/dateinput/localization/messages.mjs +5 -3
- package/esm2020/dateinputs.module.mjs +4 -4
- package/esm2020/datepicker/datepicker.component.mjs +43 -18
- package/esm2020/datepicker/datepicker.module.mjs +4 -4
- package/esm2020/datepicker/localization/datepicker-custom-messages.component.mjs +3 -3
- package/esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs +3 -3
- package/esm2020/datepicker/localization/messages.mjs +5 -3
- package/esm2020/daterange/date-range-end-input.directive.mjs +3 -3
- package/esm2020/daterange/date-range-input.mjs +3 -3
- package/esm2020/daterange/date-range-popup-template.directive.mjs +3 -3
- package/esm2020/daterange/date-range-popup.component.mjs +70 -13
- package/esm2020/daterange/date-range-selection.directive.mjs +3 -3
- package/esm2020/daterange/date-range-start-input.directive.mjs +3 -3
- package/esm2020/daterange/date-range.component.mjs +10 -8
- package/esm2020/daterange/date-range.module.mjs +4 -4
- package/esm2020/daterange/date-range.service.mjs +3 -3
- package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +3 -3
- package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +3 -3
- package/esm2020/daterange/localization/messages.mjs +3 -3
- package/esm2020/datetimepicker/datetimepicker.component.mjs +54 -16
- package/esm2020/datetimepicker/datetimepicker.module.mjs +4 -4
- package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +3 -3
- package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +3 -3
- package/esm2020/datetimepicker/localization/messages.mjs +5 -3
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timepicker/localization/messages.mjs +5 -3
- package/esm2020/timepicker/localization/timepicker-custom-messages.component.mjs +3 -3
- package/esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs +3 -3
- package/esm2020/timepicker/localization/timeselector-custom-messages.component.mjs +3 -3
- package/esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs +3 -3
- package/esm2020/timepicker/services/dayperiod.service.mjs +3 -3
- package/esm2020/timepicker/services/dom.service.mjs +3 -3
- package/esm2020/timepicker/services/hours.service.mjs +3 -3
- package/esm2020/timepicker/services/milliseconds.service.mjs +3 -3
- package/esm2020/timepicker/services/minutes.service.mjs +3 -3
- package/esm2020/timepicker/services/seconds.service.mjs +3 -3
- package/esm2020/timepicker/timelist.component.mjs +3 -3
- package/esm2020/timepicker/timepicker.component.mjs +41 -13
- package/esm2020/timepicker/timepicker.module.mjs +4 -4
- package/esm2020/timepicker/timeselector.component.mjs +24 -9
- package/esm2020/virtualization/virtualization.component.mjs +3 -3
- package/esm2020/virtualization/virtualization.module.mjs +4 -4
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +1344 -508
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +1329 -507
- package/package.json +9 -9
- package/schematics/ngAdd/index.js +1 -1
- package/timepicker/localization/messages.d.ts +5 -1
- package/timepicker/timepicker.component.d.ts +7 -1
- package/timepicker/timeselector.component.d.ts +2 -1
|
@@ -44,6 +44,7 @@ export class ViewListComponent {
|
|
|
44
44
|
this.disabled = false;
|
|
45
45
|
this.showFooter = false;
|
|
46
46
|
this.weekDaysFormat = 'short';
|
|
47
|
+
this.cellEnter = new EventEmitter();
|
|
47
48
|
this.cellClick = new EventEmitter();
|
|
48
49
|
this.weekNumberCellClick = new EventEmitter();
|
|
49
50
|
this.activeDateChange = new EventEmitter();
|
|
@@ -192,10 +193,11 @@ export class ViewListComponent {
|
|
|
192
193
|
}
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
|
-
ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
196
|
-
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
196
|
+
ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewListComponent, deps: [{ token: i1.BusViewService }, { token: i0.ChangeDetectorRef }, { token: i2.IntlService }, { token: i3.CalendarDOMService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
197
|
+
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: { allowReverse: "allowReverse", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", headerTemplateRef: "headerTemplateRef", footerTemplateRef: "footerTemplateRef", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", showFooter: "showFooter", weekDaysFormat: "weekDaysFormat", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", size: "size", weekNumber: "weekNumber" }, outputs: { cellEnter: "cellEnter", cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
197
198
|
<kendo-calendar-header
|
|
198
199
|
[currentDate]="activeDate"
|
|
200
|
+
[size]="size"
|
|
199
201
|
[min]="min"
|
|
200
202
|
[max]="max"
|
|
201
203
|
[id]="id"
|
|
@@ -240,6 +242,9 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
240
242
|
<tbody class="k-calendar-tbody"
|
|
241
243
|
*kFor="let date of dates"
|
|
242
244
|
kendoCalendarView
|
|
245
|
+
[allowReverse]="allowReverse"
|
|
246
|
+
[activeRangeEnd]="activeRangeEnd"
|
|
247
|
+
[selectionRange]="selectionRange"
|
|
243
248
|
[showOtherMonthDays]="showOtherMonthDays"
|
|
244
249
|
[headerTitle]="headerTitle"
|
|
245
250
|
role="rowgroup"
|
|
@@ -256,6 +261,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
256
261
|
(cellClick)="cellClick.emit($event)"
|
|
257
262
|
(weekNumberCellClick)="weekNumberCellClick.emit($event)"
|
|
258
263
|
(focusedCellId)="focusedCellChange.emit($event)"
|
|
264
|
+
(cellEnter)="cellEnter.emit($event)"
|
|
259
265
|
></tbody>
|
|
260
266
|
</table>
|
|
261
267
|
</kendo-virtualization>
|
|
@@ -265,8 +271,8 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
265
271
|
[activeViewValue]="activeViewValue"
|
|
266
272
|
[currentDate]="activeDate">
|
|
267
273
|
</kendo-calendar-footer>
|
|
268
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "component", type: i6.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: i7.FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }, { kind: "component", type: i8.ViewComponent, selector: "[kendoCalendarView]", inputs: ["showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "component", type: i9.VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
274
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "component", type: i6.HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: i7.FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }, { kind: "component", type: i8.ViewComponent, selector: "[kendoCalendarView]", inputs: ["allowReverse", "showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "component", type: i9.VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewListComponent, decorators: [{
|
|
270
276
|
type: Component,
|
|
271
277
|
args: [{
|
|
272
278
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -274,6 +280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
274
280
|
template: `
|
|
275
281
|
<kendo-calendar-header
|
|
276
282
|
[currentDate]="activeDate"
|
|
283
|
+
[size]="size"
|
|
277
284
|
[min]="min"
|
|
278
285
|
[max]="max"
|
|
279
286
|
[id]="id"
|
|
@@ -318,6 +325,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
318
325
|
<tbody class="k-calendar-tbody"
|
|
319
326
|
*kFor="let date of dates"
|
|
320
327
|
kendoCalendarView
|
|
328
|
+
[allowReverse]="allowReverse"
|
|
329
|
+
[activeRangeEnd]="activeRangeEnd"
|
|
330
|
+
[selectionRange]="selectionRange"
|
|
321
331
|
[showOtherMonthDays]="showOtherMonthDays"
|
|
322
332
|
[headerTitle]="headerTitle"
|
|
323
333
|
role="rowgroup"
|
|
@@ -334,6 +344,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
334
344
|
(cellClick)="cellClick.emit($event)"
|
|
335
345
|
(weekNumberCellClick)="weekNumberCellClick.emit($event)"
|
|
336
346
|
(focusedCellId)="focusedCellChange.emit($event)"
|
|
347
|
+
(cellEnter)="cellEnter.emit($event)"
|
|
337
348
|
></tbody>
|
|
338
349
|
</table>
|
|
339
350
|
</kendo-virtualization>
|
|
@@ -345,7 +356,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
345
356
|
</kendo-calendar-footer>
|
|
346
357
|
`
|
|
347
358
|
}]
|
|
348
|
-
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i0.ChangeDetectorRef }, { type: i2.IntlService }, { type: i3.CalendarDOMService }, { type: i0.Renderer2 }]; }, propDecorators: {
|
|
359
|
+
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i0.ChangeDetectorRef }, { type: i2.IntlService }, { type: i3.CalendarDOMService }, { type: i0.Renderer2 }]; }, propDecorators: { allowReverse: [{
|
|
360
|
+
type: Input
|
|
361
|
+
}], cellTemplateRef: [{
|
|
349
362
|
type: Input
|
|
350
363
|
}], weekNumberTemplateRef: [{
|
|
351
364
|
type: Input
|
|
@@ -381,8 +394,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
381
394
|
type: Input
|
|
382
395
|
}], weekDaysFormat: [{
|
|
383
396
|
type: Input
|
|
397
|
+
}], activeRangeEnd: [{
|
|
398
|
+
type: Input
|
|
399
|
+
}], selectionRange: [{
|
|
400
|
+
type: Input
|
|
401
|
+
}], size: [{
|
|
402
|
+
type: Input
|
|
384
403
|
}], weekNumber: [{
|
|
385
404
|
type: Input
|
|
405
|
+
}], cellEnter: [{
|
|
406
|
+
type: Output
|
|
386
407
|
}], cellClick: [{
|
|
387
408
|
type: Output
|
|
388
409
|
}], weekNumberCellClick: [{
|
|
@@ -168,7 +168,8 @@ export class ViewComponent {
|
|
|
168
168
|
selectionRange: this.selectionRange,
|
|
169
169
|
viewDate: viewDate,
|
|
170
170
|
isDateDisabled: this.disabledDatesService.isDateDisabled,
|
|
171
|
-
direction: this.direction
|
|
171
|
+
direction: this.direction,
|
|
172
|
+
allowReverse: this.allowReverse
|
|
172
173
|
});
|
|
173
174
|
}
|
|
174
175
|
intlChange() {
|
|
@@ -233,8 +234,8 @@ export class ViewComponent {
|
|
|
233
234
|
return this.data[rowIndex][cellIndex];
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
|
-
ViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
237
|
-
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
237
|
+
ViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewComponent, deps: [{ token: i1.BusViewService }, { token: i2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
238
|
+
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewComponent, selector: "[kendoCalendarView]", inputs: { allowReverse: "allowReverse", showOtherMonthDays: "showOtherMonthDays", direction: "direction", isActive: "isActive", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", viewDate: "viewDate", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", min: "min", max: "max", selectedDates: "selectedDates", weekNumber: "weekNumber", viewIndex: "viewIndex", templateRef: "templateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitle: "headerTitle" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", focusedCellId: "focusedCellId" }, usesOnChanges: true, ngImport: i0, template: `
|
|
238
239
|
<ng-template #emptyCell><td class="k-empty k-calendar-td" role="gridcell"> </td></ng-template>
|
|
239
240
|
<tr *ngIf="!isHorizontal()" class="k-calendar-tr" role="row" [attr.aria-hidden]="ariaHidden"><th class="k-calendar-caption" scope="col" [colSpan]="colSpan">{{title}}</th></tr>
|
|
240
241
|
<tr *kFor="let row of data; let rowIndex = index" class="k-calendar-tr" role="row">
|
|
@@ -282,7 +283,7 @@ ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
282
283
|
</ng-container>
|
|
283
284
|
</tr>
|
|
284
285
|
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i5.KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }] });
|
|
285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewComponent, decorators: [{
|
|
286
287
|
type: Component,
|
|
287
288
|
args: [{
|
|
288
289
|
// eslint-disable-next-line
|
|
@@ -336,7 +337,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
336
337
|
</tr>
|
|
337
338
|
`
|
|
338
339
|
}]
|
|
339
|
-
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i3.DisabledDatesService }]; }, propDecorators: {
|
|
340
|
+
}], ctorParameters: function () { return [{ type: i1.BusViewService }, { type: i2.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i3.DisabledDatesService }]; }, propDecorators: { allowReverse: [{
|
|
341
|
+
type: Input
|
|
342
|
+
}], showOtherMonthDays: [{
|
|
340
343
|
type: Input
|
|
341
344
|
}], direction: [{
|
|
342
345
|
type: Input
|
|
@@ -20,19 +20,19 @@ const ADAPTIVE_MODULES = [
|
|
|
20
20
|
*/
|
|
21
21
|
export class AdaptiveModule {
|
|
22
22
|
}
|
|
23
|
-
AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
24
|
-
AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
23
|
+
AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
24
|
+
AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [NavigationModule,
|
|
25
25
|
ResizeSensorModule,
|
|
26
26
|
ButtonModule,
|
|
27
27
|
TextBoxModule], exports: [NavigationModule,
|
|
28
28
|
ResizeSensorModule,
|
|
29
29
|
ButtonModule,
|
|
30
30
|
TextBoxModule] });
|
|
31
|
-
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
31
|
+
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [ADAPTIVE_MODULES, NavigationModule,
|
|
32
32
|
ResizeSensorModule,
|
|
33
33
|
ButtonModule,
|
|
34
34
|
TextBoxModule] });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, decorators: [{
|
|
36
36
|
type: NgModule,
|
|
37
37
|
args: [{
|
|
38
38
|
imports: [...ADAPTIVE_MODULES],
|
package/esm2020/common/utils.mjs
CHANGED
|
@@ -19,6 +19,10 @@ export const currentFocusTarget = (blurArgs) => blurArgs.relatedTarget || docume
|
|
|
19
19
|
* @hidden
|
|
20
20
|
*/
|
|
21
21
|
export const isPresent = (value) => value !== undefined && value !== null;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export const isNullOrDate = (value) => value === null || value instanceof Date;
|
|
22
26
|
/**
|
|
23
27
|
* @hidden
|
|
24
28
|
*/
|
|
@@ -57,7 +61,7 @@ export var Keys;
|
|
|
57
61
|
*/
|
|
58
62
|
export const selectors = {
|
|
59
63
|
infiniteCalendarTable: '.k-content .k-calendar-table',
|
|
60
|
-
multiViewCalendarTable: '.k-
|
|
64
|
+
multiViewCalendarTable: '.k-calendar-table'
|
|
61
65
|
};
|
|
62
66
|
/**
|
|
63
67
|
* @hidden
|
|
@@ -19,7 +19,7 @@ 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
|
+
import { caretAltDownIcon, caretAltUpIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
23
23
|
import { DateInput } from '@progress/kendo-dateinputs-common';
|
|
24
24
|
import * as i0 from "@angular/core";
|
|
25
25
|
import * as i1 from "@progress/kendo-angular-intl";
|
|
@@ -83,10 +83,20 @@ export class DateInputComponent {
|
|
|
83
83
|
* @hidden
|
|
84
84
|
*/
|
|
85
85
|
this.caretAltUpIcon = caretAltUpIcon;
|
|
86
|
+
/**
|
|
87
|
+
* @hidden
|
|
88
|
+
*/
|
|
89
|
+
this.xIcon = xIcon;
|
|
86
90
|
/**
|
|
87
91
|
* @hidden
|
|
88
92
|
*/
|
|
89
93
|
this.caretAltDownIcon = caretAltDownIcon;
|
|
94
|
+
/**
|
|
95
|
+
* If set to `true`, renders a clear button after the input text or DateInput value has been changed.
|
|
96
|
+
* Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
99
|
+
this.clearButton = false;
|
|
90
100
|
/**
|
|
91
101
|
* Sets or gets the `disabled` property of the DateInput and
|
|
92
102
|
* determines whether the component is active
|
|
@@ -259,6 +269,7 @@ export class DateInputComponent {
|
|
|
259
269
|
this.formatSections = { date: false, time: false };
|
|
260
270
|
this.hasMousedown = false;
|
|
261
271
|
this.focusedPriorToMousedown = false;
|
|
272
|
+
this.showClearButton = false;
|
|
262
273
|
/**
|
|
263
274
|
* @hidden
|
|
264
275
|
*/
|
|
@@ -696,6 +707,12 @@ export class DateInputComponent {
|
|
|
696
707
|
this.kendoDateObject?.setValue(this.value);
|
|
697
708
|
this.kendoDate?.refreshElementValue();
|
|
698
709
|
}
|
|
710
|
+
resetInput() {
|
|
711
|
+
this.kendoDateObject?.setValue(null);
|
|
712
|
+
this.kendoDate?.refreshElementValue();
|
|
713
|
+
this.control?.setValue(null);
|
|
714
|
+
this.showClearButton = false;
|
|
715
|
+
}
|
|
699
716
|
/**
|
|
700
717
|
* @hidden
|
|
701
718
|
*/
|
|
@@ -711,6 +728,7 @@ export class DateInputComponent {
|
|
|
711
728
|
*/
|
|
712
729
|
notify() {
|
|
713
730
|
this.ngZone.run(() => {
|
|
731
|
+
this.showClearButton = true;
|
|
714
732
|
this.onControlChange(cloneDate(this.value));
|
|
715
733
|
this.valueChange.emit(cloneDate(this.value));
|
|
716
734
|
});
|
|
@@ -758,6 +776,7 @@ export class DateInputComponent {
|
|
|
758
776
|
* @hidden
|
|
759
777
|
*/
|
|
760
778
|
handleButtonClick(offset) {
|
|
779
|
+
this.showClearButton = true;
|
|
761
780
|
this.arrowDirection = Arrow.None;
|
|
762
781
|
this.kendoDate.focus();
|
|
763
782
|
this.kendoDate.modifyDateSegmentValue(offset);
|
|
@@ -783,6 +802,10 @@ export class DateInputComponent {
|
|
|
783
802
|
}
|
|
784
803
|
onWidgetInputEnd() {
|
|
785
804
|
this.updateIncompleteValidationStatus();
|
|
805
|
+
if (this.clearButton) {
|
|
806
|
+
this.showClearButton = true;
|
|
807
|
+
this.cdr.markForCheck();
|
|
808
|
+
}
|
|
786
809
|
}
|
|
787
810
|
onWidgetFocus({ event: FocuseEvent }) {
|
|
788
811
|
this.isActive = true;
|
|
@@ -868,8 +891,8 @@ export class DateInputComponent {
|
|
|
868
891
|
setHTMLAttributes(attributesToRender, this.renderer, this.dateInput.nativeElement);
|
|
869
892
|
}
|
|
870
893
|
}
|
|
871
|
-
DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
872
|
-
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
894
|
+
DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i2.LocalizationService }, { token: i3.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
895
|
+
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputComponent, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", clearButton: "clearButton", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", isRequired: "isRequired", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", allowCaretMode: "allowCaretMode", autoFill: "autoFill", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", enableMouseWheel: "enableMouseWheel", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
873
896
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
874
897
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
875
898
|
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
@@ -882,6 +905,9 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
882
905
|
|
|
883
906
|
i18n-decrement="kendo.dateinput.decrement|The label for the **Decrement** button in the DateInput"
|
|
884
907
|
decrement="Decrease value"
|
|
908
|
+
|
|
909
|
+
i18n-clearTitle="kendo.dateinput.clearTitle|The title of the clear button"
|
|
910
|
+
clearTitle="clear"
|
|
885
911
|
>
|
|
886
912
|
</ng-container>
|
|
887
913
|
<input #dateInput
|
|
@@ -907,6 +933,21 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
907
933
|
}"
|
|
908
934
|
[scope]="this"
|
|
909
935
|
/>
|
|
936
|
+
<span
|
|
937
|
+
*ngIf="clearButton && showClearButton"
|
|
938
|
+
class="k-clear-value"
|
|
939
|
+
[attr.title]="localization.get('clearTitle')"
|
|
940
|
+
role="button"
|
|
941
|
+
tabindex="-1"
|
|
942
|
+
(click)="resetInput()"
|
|
943
|
+
(mousedown)="$event.preventDefault()"
|
|
944
|
+
>
|
|
945
|
+
<kendo-icon-wrapper
|
|
946
|
+
name="x"
|
|
947
|
+
[svgIcon]="xIcon"
|
|
948
|
+
>
|
|
949
|
+
</kendo-icon-wrapper>
|
|
950
|
+
</span>
|
|
910
951
|
<span *ngIf="spinners" class="k-input-spinner k-spin-button" (mousedown)="$event.preventDefault()">
|
|
911
952
|
<button
|
|
912
953
|
#spinup
|
|
@@ -946,7 +987,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
946
987
|
</button>
|
|
947
988
|
</span>
|
|
948
989
|
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: i7.DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputComponent, decorators: [{
|
|
950
991
|
type: Component,
|
|
951
992
|
args: [{
|
|
952
993
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -966,6 +1007,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
966
1007
|
|
|
967
1008
|
i18n-decrement="kendo.dateinput.decrement|The label for the **Decrement** button in the DateInput"
|
|
968
1009
|
decrement="Decrease value"
|
|
1010
|
+
|
|
1011
|
+
i18n-clearTitle="kendo.dateinput.clearTitle|The title of the clear button"
|
|
1012
|
+
clearTitle="clear"
|
|
969
1013
|
>
|
|
970
1014
|
</ng-container>
|
|
971
1015
|
<input #dateInput
|
|
@@ -991,6 +1035,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
991
1035
|
}"
|
|
992
1036
|
[scope]="this"
|
|
993
1037
|
/>
|
|
1038
|
+
<span
|
|
1039
|
+
*ngIf="clearButton && showClearButton"
|
|
1040
|
+
class="k-clear-value"
|
|
1041
|
+
[attr.title]="localization.get('clearTitle')"
|
|
1042
|
+
role="button"
|
|
1043
|
+
tabindex="-1"
|
|
1044
|
+
(click)="resetInput()"
|
|
1045
|
+
(mousedown)="$event.preventDefault()"
|
|
1046
|
+
>
|
|
1047
|
+
<kendo-icon-wrapper
|
|
1048
|
+
name="x"
|
|
1049
|
+
[svgIcon]="xIcon"
|
|
1050
|
+
>
|
|
1051
|
+
</kendo-icon-wrapper>
|
|
1052
|
+
</span>
|
|
994
1053
|
<span *ngIf="spinners" class="k-input-spinner k-spin-button" (mousedown)="$event.preventDefault()">
|
|
995
1054
|
<button
|
|
996
1055
|
#spinup
|
|
@@ -1037,6 +1096,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
1037
1096
|
type: Input
|
|
1038
1097
|
}], pickerType: [{
|
|
1039
1098
|
type: Input
|
|
1099
|
+
}], clearButton: [{
|
|
1100
|
+
type: Input
|
|
1040
1101
|
}], disabled: [{
|
|
1041
1102
|
type: Input
|
|
1042
1103
|
}], readonly: [{
|
|
@@ -17,14 +17,14 @@ import * as i0 from "@angular/core";
|
|
|
17
17
|
*/
|
|
18
18
|
export class DateInputModule {
|
|
19
19
|
}
|
|
20
|
-
DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
21
|
-
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
20
|
+
DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
+
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, declarations: [DateInputComponent,
|
|
22
22
|
DateInputCustomMessagesComponent,
|
|
23
23
|
DateInputLocalizedMessagesDirective], imports: [CommonModule, IntlModule, EventsModule, IconsModule], exports: [DateInputComponent,
|
|
24
24
|
DateInputCustomMessagesComponent,
|
|
25
25
|
DateInputLocalizedMessagesDirective] });
|
|
26
|
-
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
26
|
+
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, imports: [CommonModule, IntlModule, EventsModule, IconsModule] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, decorators: [{
|
|
28
28
|
type: NgModule,
|
|
29
29
|
args: [{
|
|
30
30
|
declarations: [
|
|
@@ -19,14 +19,14 @@ export class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
|
19
19
|
return true;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
DateInputCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
23
|
-
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
22
|
+
DateInputCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: DateInputMessages,
|
|
26
26
|
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
27
27
|
}
|
|
28
28
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputCustomMessagesComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{
|
|
32
32
|
providers: [
|
|
@@ -16,14 +16,14 @@ export class DateInputLocalizedMessagesDirective extends DateInputMessages {
|
|
|
16
16
|
this.service = service;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
DateInputLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
20
|
-
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
19
|
+
DateInputLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: DateInputMessages,
|
|
23
23
|
useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
|
|
24
24
|
}
|
|
25
25
|
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputLocalizedMessagesDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
29
|
providers: [
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class DateInputMessages extends ComponentMessages {
|
|
12
12
|
}
|
|
13
|
-
DateInputMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
14
|
-
DateInputMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
13
|
+
DateInputMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
DateInputMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateInputMessages, selector: "kendo-dateinput-messages-base", inputs: { decrement: "decrement", increment: "increment", clearTitle: "clearTitle" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputMessages, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
// eslint-disable-next-line
|
|
@@ -22,4 +22,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
22
22
|
type: Input
|
|
23
23
|
}], increment: [{
|
|
24
24
|
type: Input
|
|
25
|
+
}], clearTitle: [{
|
|
26
|
+
type: Input
|
|
25
27
|
}] } });
|
|
@@ -51,8 +51,8 @@ const COMPONENT_MODULES = [
|
|
|
51
51
|
*/
|
|
52
52
|
export class DateInputsModule {
|
|
53
53
|
}
|
|
54
|
-
DateInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
55
|
-
DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
54
|
+
DateInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
55
|
+
DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, imports: [CalendarsModule,
|
|
56
56
|
DateInputModule,
|
|
57
57
|
DatePickerModule,
|
|
58
58
|
TimePickerModule,
|
|
@@ -63,13 +63,13 @@ DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
63
63
|
TimePickerModule,
|
|
64
64
|
DateRangeModule,
|
|
65
65
|
DateTimePickerModule] });
|
|
66
|
-
DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
66
|
+
DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, imports: [COMPONENT_MODULES, CalendarsModule,
|
|
67
67
|
DateInputModule,
|
|
68
68
|
DatePickerModule,
|
|
69
69
|
TimePickerModule,
|
|
70
70
|
DateRangeModule,
|
|
71
71
|
DateTimePickerModule] });
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, decorators: [{
|
|
73
73
|
type: NgModule,
|
|
74
74
|
args: [{
|
|
75
75
|
exports: COMPONENT_MODULES,
|