@progress/kendo-angular-dateinputs 7.1.1-dev.202208190701 → 7.1.2-dev.202209131211
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/bundles/kendo-angular-dateinputs.umd.js +1 -1
- package/esm2015/calendar/calendar.component.js +4 -2
- package/esm2015/calendar/header.component.js +10 -10
- package/esm2015/calendar/horizontal-view-list.component.js +2 -2
- package/esm2015/calendar/services/dom.service.js +2 -2
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/timepicker/services/dom.service.js +1 -1
- package/esm2015/util.js +1 -1
- package/esm2015/virtualization/virtualization.component.js +1 -4
- package/fesm2015/kendo-angular-dateinputs.js +22 -23
- package/package.json +1 -1
|
@@ -441,8 +441,10 @@ export class CalendarComponent {
|
|
|
441
441
|
return this.type === 'classic' ? undefined : this.disabled;
|
|
442
442
|
}
|
|
443
443
|
ngOnInit() {
|
|
444
|
-
|
|
445
|
-
|
|
444
|
+
if (this.type === 'infinite') {
|
|
445
|
+
this.dom.calculateHeights(this.element.nativeElement);
|
|
446
|
+
this.scrollSyncService.configure(this.activeViewEnum);
|
|
447
|
+
}
|
|
446
448
|
this.localizationChangeSubscription = this.localization.changes.subscribe(() => this.cdr.markForCheck());
|
|
447
449
|
this.viewChangeSubscription = this.bus.viewChanged.subscribe(({ view }) => this.handleActiveViewChange(CalendarViewEnum[view]));
|
|
448
450
|
this.control = this.injector.get(NgControl, null);
|
|
@@ -129,17 +129,17 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
129
129
|
<span class="k-calendar-nav k-hstack">
|
|
130
130
|
<button
|
|
131
131
|
*ngIf="showNavigationButtons"
|
|
132
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-prev
|
|
132
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-prev"
|
|
133
133
|
type="button"
|
|
134
134
|
[attr.aria-disabled]="isPrevDisabled"
|
|
135
135
|
[disabled]="isPrevDisabled"
|
|
136
136
|
[title]="prevButtonTitle"
|
|
137
137
|
(click)="prevButtonClick.emit()"
|
|
138
138
|
>
|
|
139
|
-
<span class="k-icon k-i-
|
|
139
|
+
<span class="k-icon k-i-chevron-left"></span>
|
|
140
140
|
</button>
|
|
141
141
|
<span
|
|
142
|
-
class="k-today k-nav-today"
|
|
142
|
+
class="k-today k-calendar-nav-today"
|
|
143
143
|
[class.k-disabled]="!todayAvailable"
|
|
144
144
|
[kendoEventsOutsideAngular]="{
|
|
145
145
|
click: handleTodayClick
|
|
@@ -150,14 +150,14 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
150
150
|
</span>
|
|
151
151
|
<button
|
|
152
152
|
*ngIf="showNavigationButtons"
|
|
153
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-next
|
|
153
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-next"
|
|
154
154
|
type="button"
|
|
155
155
|
[attr.aria-disabled]="isNextDisabled"
|
|
156
156
|
[disabled]="isNextDisabled"
|
|
157
157
|
[title]="nextButtonTitle"
|
|
158
158
|
(click)="nextButtonClick.emit()"
|
|
159
159
|
>
|
|
160
|
-
<span class="k-icon k-i-
|
|
160
|
+
<span class="k-icon k-i-chevron-right"></span>
|
|
161
161
|
</button>
|
|
162
162
|
</span>
|
|
163
163
|
`, 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"] }] });
|
|
@@ -182,17 +182,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
182
182
|
<span class="k-calendar-nav k-hstack">
|
|
183
183
|
<button
|
|
184
184
|
*ngIf="showNavigationButtons"
|
|
185
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-prev
|
|
185
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-prev"
|
|
186
186
|
type="button"
|
|
187
187
|
[attr.aria-disabled]="isPrevDisabled"
|
|
188
188
|
[disabled]="isPrevDisabled"
|
|
189
189
|
[title]="prevButtonTitle"
|
|
190
190
|
(click)="prevButtonClick.emit()"
|
|
191
191
|
>
|
|
192
|
-
<span class="k-icon k-i-
|
|
192
|
+
<span class="k-icon k-i-chevron-left"></span>
|
|
193
193
|
</button>
|
|
194
194
|
<span
|
|
195
|
-
class="k-today k-nav-today"
|
|
195
|
+
class="k-today k-calendar-nav-today"
|
|
196
196
|
[class.k-disabled]="!todayAvailable"
|
|
197
197
|
[kendoEventsOutsideAngular]="{
|
|
198
198
|
click: handleTodayClick
|
|
@@ -203,14 +203,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
203
203
|
</span>
|
|
204
204
|
<button
|
|
205
205
|
*ngIf="showNavigationButtons"
|
|
206
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-next
|
|
206
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-next"
|
|
207
207
|
type="button"
|
|
208
208
|
[attr.aria-disabled]="isNextDisabled"
|
|
209
209
|
[disabled]="isNextDisabled"
|
|
210
210
|
[title]="nextButtonTitle"
|
|
211
211
|
(click)="nextButtonClick.emit()"
|
|
212
212
|
>
|
|
213
|
-
<span class="k-icon k-i-
|
|
213
|
+
<span class="k-icon k-i-chevron-right"></span>
|
|
214
214
|
</button>
|
|
215
215
|
</span>
|
|
216
216
|
`
|
|
@@ -232,7 +232,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
232
232
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
233
233
|
<table
|
|
234
234
|
role="grid"
|
|
235
|
-
class="k-content k-calendar-
|
|
235
|
+
class="k-content k-calendar-table"
|
|
236
236
|
[ngClass]="class"
|
|
237
237
|
>
|
|
238
238
|
<caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
|
|
@@ -308,7 +308,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
308
308
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
309
309
|
<table
|
|
310
310
|
role="grid"
|
|
311
|
-
class="k-content k-calendar-
|
|
311
|
+
class="k-content k-calendar-table"
|
|
312
312
|
[ngClass]="class"
|
|
313
313
|
>
|
|
314
314
|
<caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
|
|
@@ -21,7 +21,7 @@ const monthHeader = () => (div(`
|
|
|
21
21
|
<span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
|
|
22
22
|
<span class="k-spacer"></span>
|
|
23
23
|
<span class="k-calendar-nav k-hstack">
|
|
24
|
-
<span class="k-today k-nav-today">TODAY</span>
|
|
24
|
+
<span class="k-today k-calendar-nav-today">TODAY</span>
|
|
25
25
|
</span>
|
|
26
26
|
`, 'k-calendar-header k-hstack'));
|
|
27
27
|
const monthWeekHeader = () => (table([
|
|
@@ -33,7 +33,7 @@ const repeat = (count, mapper) => new Array(count).fill('1').map(mapper);
|
|
|
33
33
|
const content = (rows, cells = 1) => (table([
|
|
34
34
|
tbody([tr([th('1', 'k-calendar-th')], 'k-calendar-tr')].concat(repeat(rows, () => tr(repeat(cells, c => td(`<span class="k-link">${c}</span>`, 'k-calendar-td')), 'k-calendar-tr'))), 'k-calendar-tbody')
|
|
35
35
|
], 'k-calendar-table'));
|
|
36
|
-
const scrollable = (children) => div(children, 'k-flex k-content k-
|
|
36
|
+
const scrollable = (children) => div(children, 'k-flex k-content k-scrollable');
|
|
37
37
|
const view = (contentElement, className, renderWeekHeader) => (div([
|
|
38
38
|
monthHeader(),
|
|
39
39
|
renderWeekHeader ? monthWeekHeader() : null,
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dateinputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1663070978,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -13,7 +13,7 @@ const span = containerFactory('span');
|
|
|
13
13
|
const listTitle = () => span('hour', 'k-title k-timeselector-title');
|
|
14
14
|
const listItem = () => li('<span>02</span>', 'k-item');
|
|
15
15
|
const list = () => ul([listItem()], 'k-reset');
|
|
16
|
-
const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-
|
|
16
|
+
const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-scrollable'));
|
|
17
17
|
const timeListWrapper = () => {
|
|
18
18
|
if (!isDocumentAvailable()) {
|
|
19
19
|
return null;
|
package/esm2015/util.js
CHANGED
|
@@ -342,7 +342,7 @@ export const isTabExitingCalendar = (calendarType, focusedElement, shiftKey) =>
|
|
|
342
342
|
return calendarType === 'infinite' || ( // infinte calendar is always exited on first tab keydown
|
|
343
343
|
calendarType === 'classic' &&
|
|
344
344
|
(shiftKey && focusedElement.classList.contains('k-calendar')) || // exited on main calendar element focused and back-tab
|
|
345
|
-
(!shiftKey && focusedElement.classList.contains('k-next
|
|
345
|
+
(!shiftKey && focusedElement.classList.contains('k-calendar-nav-next')) // exited on next button focused and regular tab
|
|
346
346
|
);
|
|
347
347
|
};
|
|
348
348
|
/**
|
|
@@ -232,7 +232,7 @@ export class VirtualizationComponent {
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
VirtualizationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VirtualizationComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
235
|
-
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: { direction: "direction", itemHeight: "itemHeight", itemWidth: "itemWidth", topOffset: "topOffset", bottomOffset: "bottomOffset", maxScrollDifference: "maxScrollDifference", scrollOffsetSize: "scrollOffsetSize", scrollDuration: "scrollDuration", skip: "skip", take: "take", total: "total" }, outputs: { activeIndexChange: "activeIndexChange", pageChange: "pageChange", scrollChange: "scrollChange" }, host: { properties: { "class.k-flex": "this.wrapperClasses", "class.k-content": "this.wrapperClasses", "class.k-
|
|
235
|
+
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: { direction: "direction", itemHeight: "itemHeight", itemWidth: "itemWidth", topOffset: "topOffset", bottomOffset: "bottomOffset", maxScrollDifference: "maxScrollDifference", scrollOffsetSize: "scrollOffsetSize", scrollDuration: "scrollDuration", skip: "skip", take: "take", total: "total" }, outputs: { activeIndexChange: "activeIndexChange", pageChange: "pageChange", scrollChange: "scrollChange" }, host: { properties: { "class.k-flex": "this.wrapperClasses", "class.k-content": "this.wrapperClasses", "class.k-scrollable": "this.wrapperClasses", "class.k-scrollable-horizontal": "this.horizontalClass" } }, providers: [{
|
|
236
236
|
provide: SCROLLER_FACTORY_TOKEN,
|
|
237
237
|
useValue: DEFAULT_SCROLLER_FACTORY
|
|
238
238
|
}], usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -297,9 +297,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
297
297
|
}, {
|
|
298
298
|
type: HostBinding,
|
|
299
299
|
args: ['class.k-content']
|
|
300
|
-
}, {
|
|
301
|
-
type: HostBinding,
|
|
302
|
-
args: ['class.k-calendar-content']
|
|
303
300
|
}, {
|
|
304
301
|
type: HostBinding,
|
|
305
302
|
args: ['class.k-scrollable']
|
|
@@ -28,7 +28,7 @@ const packageMetadata = {
|
|
|
28
28
|
name: '@progress/kendo-angular-dateinputs',
|
|
29
29
|
productName: 'Kendo UI for Angular',
|
|
30
30
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
31
|
-
publishDate:
|
|
31
|
+
publishDate: 1663070978,
|
|
32
32
|
version: '',
|
|
33
33
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
34
34
|
};
|
|
@@ -457,7 +457,7 @@ const isTabExitingCalendar = (calendarType, focusedElement, shiftKey) => {
|
|
|
457
457
|
return calendarType === 'infinite' || ( // infinte calendar is always exited on first tab keydown
|
|
458
458
|
calendarType === 'classic' &&
|
|
459
459
|
(shiftKey && focusedElement.classList.contains('k-calendar')) || // exited on main calendar element focused and back-tab
|
|
460
|
-
(!shiftKey && focusedElement.classList.contains('k-next
|
|
460
|
+
(!shiftKey && focusedElement.classList.contains('k-calendar-nav-next')) // exited on next button focused and regular tab
|
|
461
461
|
);
|
|
462
462
|
};
|
|
463
463
|
/**
|
|
@@ -2041,7 +2041,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
2041
2041
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2042
2042
|
<table
|
|
2043
2043
|
role="grid"
|
|
2044
|
-
class="k-content k-calendar-
|
|
2044
|
+
class="k-content k-calendar-table"
|
|
2045
2045
|
[ngClass]="class"
|
|
2046
2046
|
>
|
|
2047
2047
|
<caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
|
|
@@ -2117,7 +2117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2117
2117
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2118
2118
|
<table
|
|
2119
2119
|
role="grid"
|
|
2120
|
-
class="k-content k-calendar-
|
|
2120
|
+
class="k-content k-calendar-table"
|
|
2121
2121
|
[ngClass]="class"
|
|
2122
2122
|
>
|
|
2123
2123
|
<caption *ngIf="showViewHeader" [ngClass]="getCaptionClass()">{{ getCaptionTitle(date) }}</caption>
|
|
@@ -2370,17 +2370,17 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
2370
2370
|
<span class="k-calendar-nav k-hstack">
|
|
2371
2371
|
<button
|
|
2372
2372
|
*ngIf="showNavigationButtons"
|
|
2373
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-prev
|
|
2373
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-prev"
|
|
2374
2374
|
type="button"
|
|
2375
2375
|
[attr.aria-disabled]="isPrevDisabled"
|
|
2376
2376
|
[disabled]="isPrevDisabled"
|
|
2377
2377
|
[title]="prevButtonTitle"
|
|
2378
2378
|
(click)="prevButtonClick.emit()"
|
|
2379
2379
|
>
|
|
2380
|
-
<span class="k-icon k-i-
|
|
2380
|
+
<span class="k-icon k-i-chevron-left"></span>
|
|
2381
2381
|
</button>
|
|
2382
2382
|
<span
|
|
2383
|
-
class="k-today k-nav-today"
|
|
2383
|
+
class="k-today k-calendar-nav-today"
|
|
2384
2384
|
[class.k-disabled]="!todayAvailable"
|
|
2385
2385
|
[kendoEventsOutsideAngular]="{
|
|
2386
2386
|
click: handleTodayClick
|
|
@@ -2391,14 +2391,14 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
2391
2391
|
</span>
|
|
2392
2392
|
<button
|
|
2393
2393
|
*ngIf="showNavigationButtons"
|
|
2394
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-next
|
|
2394
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-next"
|
|
2395
2395
|
type="button"
|
|
2396
2396
|
[attr.aria-disabled]="isNextDisabled"
|
|
2397
2397
|
[disabled]="isNextDisabled"
|
|
2398
2398
|
[title]="nextButtonTitle"
|
|
2399
2399
|
(click)="nextButtonClick.emit()"
|
|
2400
2400
|
>
|
|
2401
|
-
<span class="k-icon k-i-
|
|
2401
|
+
<span class="k-icon k-i-chevron-right"></span>
|
|
2402
2402
|
</button>
|
|
2403
2403
|
</span>
|
|
2404
2404
|
`, isInline: true, directives: [{ type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
@@ -2423,17 +2423,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2423
2423
|
<span class="k-calendar-nav k-hstack">
|
|
2424
2424
|
<button
|
|
2425
2425
|
*ngIf="showNavigationButtons"
|
|
2426
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-prev
|
|
2426
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-prev"
|
|
2427
2427
|
type="button"
|
|
2428
2428
|
[attr.aria-disabled]="isPrevDisabled"
|
|
2429
2429
|
[disabled]="isPrevDisabled"
|
|
2430
2430
|
[title]="prevButtonTitle"
|
|
2431
2431
|
(click)="prevButtonClick.emit()"
|
|
2432
2432
|
>
|
|
2433
|
-
<span class="k-icon k-i-
|
|
2433
|
+
<span class="k-icon k-i-chevron-left"></span>
|
|
2434
2434
|
</button>
|
|
2435
2435
|
<span
|
|
2436
|
-
class="k-today k-nav-today"
|
|
2436
|
+
class="k-today k-calendar-nav-today"
|
|
2437
2437
|
[class.k-disabled]="!todayAvailable"
|
|
2438
2438
|
[kendoEventsOutsideAngular]="{
|
|
2439
2439
|
click: handleTodayClick
|
|
@@ -2444,14 +2444,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2444
2444
|
</span>
|
|
2445
2445
|
<button
|
|
2446
2446
|
*ngIf="showNavigationButtons"
|
|
2447
|
-
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-next
|
|
2447
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-calendar-nav-next"
|
|
2448
2448
|
type="button"
|
|
2449
2449
|
[attr.aria-disabled]="isNextDisabled"
|
|
2450
2450
|
[disabled]="isNextDisabled"
|
|
2451
2451
|
[title]="nextButtonTitle"
|
|
2452
2452
|
(click)="nextButtonClick.emit()"
|
|
2453
2453
|
>
|
|
2454
|
-
<span class="k-icon k-i-
|
|
2454
|
+
<span class="k-icon k-i-chevron-right"></span>
|
|
2455
2455
|
</button>
|
|
2456
2456
|
</span>
|
|
2457
2457
|
`
|
|
@@ -4360,7 +4360,7 @@ class VirtualizationComponent {
|
|
|
4360
4360
|
}
|
|
4361
4361
|
}
|
|
4362
4362
|
VirtualizationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VirtualizationComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4363
|
-
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: { direction: "direction", itemHeight: "itemHeight", itemWidth: "itemWidth", topOffset: "topOffset", bottomOffset: "bottomOffset", maxScrollDifference: "maxScrollDifference", scrollOffsetSize: "scrollOffsetSize", scrollDuration: "scrollDuration", skip: "skip", take: "take", total: "total" }, outputs: { activeIndexChange: "activeIndexChange", pageChange: "pageChange", scrollChange: "scrollChange" }, host: { properties: { "class.k-flex": "this.wrapperClasses", "class.k-content": "this.wrapperClasses", "class.k-
|
|
4363
|
+
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: { direction: "direction", itemHeight: "itemHeight", itemWidth: "itemWidth", topOffset: "topOffset", bottomOffset: "bottomOffset", maxScrollDifference: "maxScrollDifference", scrollOffsetSize: "scrollOffsetSize", scrollDuration: "scrollDuration", skip: "skip", take: "take", total: "total" }, outputs: { activeIndexChange: "activeIndexChange", pageChange: "pageChange", scrollChange: "scrollChange" }, host: { properties: { "class.k-flex": "this.wrapperClasses", "class.k-content": "this.wrapperClasses", "class.k-scrollable": "this.wrapperClasses", "class.k-scrollable-horizontal": "this.horizontalClass" } }, providers: [{
|
|
4364
4364
|
provide: SCROLLER_FACTORY_TOKEN,
|
|
4365
4365
|
useValue: DEFAULT_SCROLLER_FACTORY
|
|
4366
4366
|
}], usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -4425,9 +4425,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4425
4425
|
}, {
|
|
4426
4426
|
type: HostBinding,
|
|
4427
4427
|
args: ['class.k-content']
|
|
4428
|
-
}, {
|
|
4429
|
-
type: HostBinding,
|
|
4430
|
-
args: ['class.k-calendar-content']
|
|
4431
4428
|
}, {
|
|
4432
4429
|
type: HostBinding,
|
|
4433
4430
|
args: ['class.k-scrollable']
|
|
@@ -4449,7 +4446,7 @@ const monthHeader = () => (div$1(`
|
|
|
4449
4446
|
<span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
|
|
4450
4447
|
<span class="k-spacer"></span>
|
|
4451
4448
|
<span class="k-calendar-nav k-hstack">
|
|
4452
|
-
<span class="k-today k-nav-today">TODAY</span>
|
|
4449
|
+
<span class="k-today k-calendar-nav-today">TODAY</span>
|
|
4453
4450
|
</span>
|
|
4454
4451
|
`, 'k-calendar-header k-hstack'));
|
|
4455
4452
|
const monthWeekHeader = () => (table([
|
|
@@ -4461,7 +4458,7 @@ const repeat = (count, mapper) => new Array(count).fill('1').map(mapper);
|
|
|
4461
4458
|
const content = (rows, cells = 1) => (table([
|
|
4462
4459
|
tbody([tr([th('1', 'k-calendar-th')], 'k-calendar-tr')].concat(repeat(rows, () => tr(repeat(cells, c => td(`<span class="k-link">${c}</span>`, 'k-calendar-td')), 'k-calendar-tr'))), 'k-calendar-tbody')
|
|
4463
4460
|
], 'k-calendar-table'));
|
|
4464
|
-
const scrollable$1 = (children) => div$1(children, 'k-flex k-content k-
|
|
4461
|
+
const scrollable$1 = (children) => div$1(children, 'k-flex k-content k-scrollable');
|
|
4465
4462
|
const view = (contentElement, className, renderWeekHeader) => (div$1([
|
|
4466
4463
|
monthHeader(),
|
|
4467
4464
|
renderWeekHeader ? monthWeekHeader() : null,
|
|
@@ -5718,8 +5715,10 @@ class CalendarComponent {
|
|
|
5718
5715
|
return this.type === 'classic' ? undefined : this.disabled;
|
|
5719
5716
|
}
|
|
5720
5717
|
ngOnInit() {
|
|
5721
|
-
|
|
5722
|
-
|
|
5718
|
+
if (this.type === 'infinite') {
|
|
5719
|
+
this.dom.calculateHeights(this.element.nativeElement);
|
|
5720
|
+
this.scrollSyncService.configure(this.activeViewEnum);
|
|
5721
|
+
}
|
|
5723
5722
|
this.localizationChangeSubscription = this.localization.changes.subscribe(() => this.cdr.markForCheck());
|
|
5724
5723
|
this.viewChangeSubscription = this.bus.viewChanged.subscribe(({ view }) => this.handleActiveViewChange(CalendarViewEnum[view]));
|
|
5725
5724
|
this.control = this.injector.get(NgControl, null);
|
|
@@ -10090,7 +10089,7 @@ const span = domContainerFactory('span');
|
|
|
10090
10089
|
const listTitle = () => span('hour', 'k-title k-timeselector-title');
|
|
10091
10090
|
const listItem = () => li('<span>02</span>', 'k-item');
|
|
10092
10091
|
const list = () => ul([listItem()], 'k-reset');
|
|
10093
|
-
const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-
|
|
10092
|
+
const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-scrollable'));
|
|
10094
10093
|
const timeListWrapper = () => {
|
|
10095
10094
|
if (!isDocumentAvailable()) {
|
|
10096
10095
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.2-dev.202209131211",
|
|
4
4
|
"description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|