@progress/kendo-angular-dateinputs 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/kendo-angular-dateinputs.umd.js +1 -1
- package/calendar/view-list.component.d.ts +0 -1
- 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/calendar/view-list.component.js +2 -3
- package/esm2015/dateinput/dateinput.component.js +4 -4
- 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 +24 -28
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -80,7 +80,6 @@ export class ViewListComponent {
|
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
82
82
|
this.cols = new Array(this.service.rowLength({ prependCell: this.weekNumber })).fill('');
|
|
83
|
-
this.colWidth = Math.round(100 / this.cols.length);
|
|
84
83
|
this.weekNames = hasChange(changes, 'weekNumber') && this.weekNumber ? this.getWeekNames() : this.weekNames;
|
|
85
84
|
const activeViewChanged = hasChange(changes, 'activeView');
|
|
86
85
|
const focusedDate = this.focusedDate;
|
|
@@ -182,7 +181,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
182
181
|
<table class="k-calendar-weekdays k-calendar-table" style="table-layout: auto;" *ngIf="isMonthView()">
|
|
183
182
|
<thead class="k-calendar-thead">
|
|
184
183
|
<tr class="k-calendar-tr">
|
|
185
|
-
<th class="k-calendar-th" *ngFor="let name of weekNames"
|
|
184
|
+
<th class="k-calendar-th" *ngFor="let name of weekNames">{{name}}</th>
|
|
186
185
|
</tr>
|
|
187
186
|
</thead>
|
|
188
187
|
</table>
|
|
@@ -245,7 +244,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
245
244
|
<table class="k-calendar-weekdays k-calendar-table" style="table-layout: auto;" *ngIf="isMonthView()">
|
|
246
245
|
<thead class="k-calendar-thead">
|
|
247
246
|
<tr class="k-calendar-tr">
|
|
248
|
-
<th class="k-calendar-th" *ngFor="let name of weekNames"
|
|
247
|
+
<th class="k-calendar-th" *ngFor="let name of weekNames">{{name}}</th>
|
|
249
248
|
</tr>
|
|
250
249
|
</thead>
|
|
251
250
|
</table>
|
|
@@ -1440,7 +1440,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
1440
1440
|
(click)="handleButtonClick(1)"
|
|
1441
1441
|
[title]="localization.get('increment')"
|
|
1442
1442
|
[attr.aria-label]="localization.get('increment')">
|
|
1443
|
-
<span class="k-button-icon k-icon k-i-
|
|
1443
|
+
<span class="k-button-icon k-icon k-i-caret-alt-up"></span>
|
|
1444
1444
|
</button>
|
|
1445
1445
|
<button
|
|
1446
1446
|
#spindown
|
|
@@ -1452,7 +1452,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
1452
1452
|
(mouseleave)="arrowDirection = arrow.None"
|
|
1453
1453
|
[title]="localization.get('decrement')"
|
|
1454
1454
|
[attr.aria-label]="localization.get('decrement')">
|
|
1455
|
-
<span class="k-button-icon k-icon k-i-
|
|
1455
|
+
<span class="k-button-icon k-icon k-i-caret-alt-down"></span>
|
|
1456
1456
|
</button>
|
|
1457
1457
|
</span>
|
|
1458
1458
|
`, 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 });
|
|
@@ -1517,7 +1517,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1517
1517
|
(click)="handleButtonClick(1)"
|
|
1518
1518
|
[title]="localization.get('increment')"
|
|
1519
1519
|
[attr.aria-label]="localization.get('increment')">
|
|
1520
|
-
<span class="k-button-icon k-icon k-i-
|
|
1520
|
+
<span class="k-button-icon k-icon k-i-caret-alt-up"></span>
|
|
1521
1521
|
</button>
|
|
1522
1522
|
<button
|
|
1523
1523
|
#spindown
|
|
@@ -1529,7 +1529,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1529
1529
|
(mouseleave)="arrowDirection = arrow.None"
|
|
1530
1530
|
[title]="localization.get('decrement')"
|
|
1531
1531
|
[attr.aria-label]="localization.get('decrement')">
|
|
1532
|
-
<span class="k-button-icon k-icon k-i-
|
|
1532
|
+
<span class="k-button-icon k-icon k-i-caret-alt-down"></span>
|
|
1533
1533
|
</button>
|
|
1534
1534
|
</span>
|
|
1535
1535
|
`
|
|
@@ -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: 1662549271,
|
|
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: 1662549271,
|
|
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,
|
|
@@ -4850,7 +4847,6 @@ class ViewListComponent {
|
|
|
4850
4847
|
return;
|
|
4851
4848
|
}
|
|
4852
4849
|
this.cols = new Array(this.service.rowLength({ prependCell: this.weekNumber })).fill('');
|
|
4853
|
-
this.colWidth = Math.round(100 / this.cols.length);
|
|
4854
4850
|
this.weekNames = hasChange(changes, 'weekNumber') && this.weekNumber ? this.getWeekNames() : this.weekNames;
|
|
4855
4851
|
const activeViewChanged = hasChange(changes, 'activeView');
|
|
4856
4852
|
const focusedDate = this.focusedDate;
|
|
@@ -4952,7 +4948,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4952
4948
|
<table class="k-calendar-weekdays k-calendar-table" style="table-layout: auto;" *ngIf="isMonthView()">
|
|
4953
4949
|
<thead class="k-calendar-thead">
|
|
4954
4950
|
<tr class="k-calendar-tr">
|
|
4955
|
-
<th class="k-calendar-th" *ngFor="let name of weekNames"
|
|
4951
|
+
<th class="k-calendar-th" *ngFor="let name of weekNames">{{name}}</th>
|
|
4956
4952
|
</tr>
|
|
4957
4953
|
</thead>
|
|
4958
4954
|
</table>
|
|
@@ -5015,7 +5011,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5015
5011
|
<table class="k-calendar-weekdays k-calendar-table" style="table-layout: auto;" *ngIf="isMonthView()">
|
|
5016
5012
|
<thead class="k-calendar-thead">
|
|
5017
5013
|
<tr class="k-calendar-tr">
|
|
5018
|
-
<th class="k-calendar-th" *ngFor="let name of weekNames"
|
|
5014
|
+
<th class="k-calendar-th" *ngFor="let name of weekNames">{{name}}</th>
|
|
5019
5015
|
</tr>
|
|
5020
5016
|
</thead>
|
|
5021
5017
|
</table>
|
|
@@ -7982,7 +7978,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
7982
7978
|
(click)="handleButtonClick(1)"
|
|
7983
7979
|
[title]="localization.get('increment')"
|
|
7984
7980
|
[attr.aria-label]="localization.get('increment')">
|
|
7985
|
-
<span class="k-button-icon k-icon k-i-
|
|
7981
|
+
<span class="k-button-icon k-icon k-i-caret-alt-up"></span>
|
|
7986
7982
|
</button>
|
|
7987
7983
|
<button
|
|
7988
7984
|
#spindown
|
|
@@ -7994,7 +7990,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
7994
7990
|
(mouseleave)="arrowDirection = arrow.None"
|
|
7995
7991
|
[title]="localization.get('decrement')"
|
|
7996
7992
|
[attr.aria-label]="localization.get('decrement')">
|
|
7997
|
-
<span class="k-button-icon k-icon k-i-
|
|
7993
|
+
<span class="k-button-icon k-icon k-i-caret-alt-down"></span>
|
|
7998
7994
|
</button>
|
|
7999
7995
|
</span>
|
|
8000
7996
|
`, isInline: true, directives: [{ type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -8059,7 +8055,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8059
8055
|
(click)="handleButtonClick(1)"
|
|
8060
8056
|
[title]="localization.get('increment')"
|
|
8061
8057
|
[attr.aria-label]="localization.get('increment')">
|
|
8062
|
-
<span class="k-button-icon k-icon k-i-
|
|
8058
|
+
<span class="k-button-icon k-icon k-i-caret-alt-up"></span>
|
|
8063
8059
|
</button>
|
|
8064
8060
|
<button
|
|
8065
8061
|
#spindown
|
|
@@ -8071,7 +8067,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8071
8067
|
(mouseleave)="arrowDirection = arrow.None"
|
|
8072
8068
|
[title]="localization.get('decrement')"
|
|
8073
8069
|
[attr.aria-label]="localization.get('decrement')">
|
|
8074
|
-
<span class="k-button-icon k-icon k-i-
|
|
8070
|
+
<span class="k-button-icon k-icon k-i-caret-alt-down"></span>
|
|
8075
8071
|
</button>
|
|
8076
8072
|
</span>
|
|
8077
8073
|
`
|
|
@@ -10091,7 +10087,7 @@ const span = domContainerFactory('span');
|
|
|
10091
10087
|
const listTitle = () => span('hour', 'k-title k-timeselector-title');
|
|
10092
10088
|
const listItem = () => li('<span>02</span>', 'k-item');
|
|
10093
10089
|
const list = () => ul([listItem()], 'k-reset');
|
|
10094
|
-
const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-
|
|
10090
|
+
const scrollable = () => (div([list()], 'k-time-container k-flex k-content k-scrollable'));
|
|
10095
10091
|
const timeListWrapper = () => {
|
|
10096
10092
|
if (!isDocumentAvailable()) {
|
|
10097
10093
|
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.1",
|
|
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",
|