@progress/kendo-angular-dateinputs 21.1.1-develop.2 → 21.2.0-develop.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/esm2022/calendar/calendar.component.mjs +222 -221
- package/esm2022/calendar/footer.component.mjs +31 -29
- package/esm2022/calendar/header.component.mjs +157 -145
- package/esm2022/calendar/horizontal-view-list.component.mjs +139 -123
- package/esm2022/calendar/multiview-calendar.component.mjs +110 -107
- package/esm2022/calendar/navigation.component.mjs +55 -49
- package/esm2022/calendar/view-list.component.mjs +148 -135
- package/esm2022/calendar/view.component.mjs +107 -89
- package/esm2022/dateinput/dateinput.component.mjs +142 -137
- package/esm2022/datepicker/datepicker.component.mjs +315 -303
- package/esm2022/daterange/date-range-popup.component.mjs +264 -253
- package/esm2022/daterange/date-range.component.mjs +10 -7
- package/esm2022/datetimepicker/datetimepicker.component.mjs +677 -657
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/timepicker/timelist.component.mjs +55 -51
- package/esm2022/timepicker/timepicker.component.mjs +379 -367
- package/esm2022/timepicker/timeselector.component.mjs +138 -123
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +2943 -2783
- package/package.json +11 -11
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '21.
|
|
13
|
+
publishDate: 1763998218,
|
|
14
|
+
version: '21.2.0-develop.1',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -18,7 +18,7 @@ import { DayPeriodService } from './services/dayperiod.service';
|
|
|
18
18
|
import { closestInScope } from '../common/dom-queries';
|
|
19
19
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
20
20
|
import { Keys, EventsOutsideAngularDirective, normalizeNumpadKeys } from '@progress/kendo-angular-common';
|
|
21
|
-
import { NgStyle
|
|
21
|
+
import { NgStyle } from '@angular/common';
|
|
22
22
|
import * as i0 from "@angular/core";
|
|
23
23
|
import * as i1 from "./services/dom.service";
|
|
24
24
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
@@ -280,37 +280,39 @@ export class TimeListComponent {
|
|
|
280
280
|
this.domEvents.push(this.renderer.listen(element, 'mouseover', () => !this.isActive && this.focus()), this.renderer.listen(element, 'click', () => this.focus()), this.renderer.listen(element, 'blur', () => this.isActive = false), this.renderer.listen(element, 'focus', () => this.isActive = true), this.renderer.listen(element, 'keydown', this.handleKeyDown.bind(this)));
|
|
281
281
|
}
|
|
282
282
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TimeListComponent, deps: [{ token: i0.ElementRef }, { token: i0.Injector }, { token: i1.TimePickerDOMService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
283
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
283
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: TimeListComponent, isStandalone: true, selector: "kendo-timelist", inputs: { min: "min", max: "max", part: "part", step: "step", disabled: "disabled", value: "value", isLast: "isLast", isFirst: "isFirst" }, outputs: { valueChange: "valueChange", tabOutLastPart: "tabOutLastPart", tabOutFirstPart: "tabOutFirstPart" }, host: { properties: { "attr.tabindex": "this.tabIndex", "class.k-time-list": "this.componentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
284
284
|
<kendo-virtualization
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
285
|
+
[attr.role]="roleAttribute"
|
|
286
|
+
[attr.aria-label]="ariaLabel"
|
|
287
|
+
[skip]="skip"
|
|
288
|
+
[take]="total"
|
|
289
|
+
[total]="total"
|
|
290
|
+
[itemHeight]="itemHeight"
|
|
291
|
+
[maxScrollDifference]="listHeight"
|
|
292
|
+
[topOffset]="topOffset"
|
|
293
|
+
[bottomOffset]="bottomOffset"
|
|
294
|
+
class="k-time-container"
|
|
295
|
+
tabindex="-1"
|
|
296
|
+
>
|
|
297
|
+
<ul [ngStyle]="style" class="k-reset"
|
|
298
298
|
[kendoEventsOutsideAngular]="{
|
|
299
299
|
click: handleItemClick
|
|
300
300
|
}"
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
[scope]="this"
|
|
302
|
+
[attr.role]="'presentation'"
|
|
303
303
|
>
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
</
|
|
311
|
-
|
|
304
|
+
@for (item of data; track $index; let index = $index) {
|
|
305
|
+
<li class="k-item"
|
|
306
|
+
[attr.data-timelist-item-index]="index"
|
|
307
|
+
[attr.role]="'option'"
|
|
308
|
+
[attr.aria-selected]="index === currentSelectedIndex"
|
|
309
|
+
>
|
|
310
|
+
<span>{{item.text}}</span>
|
|
311
|
+
</li>
|
|
312
|
+
}
|
|
313
|
+
</ul>
|
|
312
314
|
</kendo-virtualization>
|
|
313
|
-
|
|
315
|
+
`, isInline: true, dependencies: [{ kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
314
316
|
}
|
|
315
317
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TimeListComponent, decorators: [{
|
|
316
318
|
type: Component,
|
|
@@ -318,37 +320,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
318
320
|
selector: 'kendo-timelist',
|
|
319
321
|
template: `
|
|
320
322
|
<kendo-virtualization
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
323
|
+
[attr.role]="roleAttribute"
|
|
324
|
+
[attr.aria-label]="ariaLabel"
|
|
325
|
+
[skip]="skip"
|
|
326
|
+
[take]="total"
|
|
327
|
+
[total]="total"
|
|
328
|
+
[itemHeight]="itemHeight"
|
|
329
|
+
[maxScrollDifference]="listHeight"
|
|
330
|
+
[topOffset]="topOffset"
|
|
331
|
+
[bottomOffset]="bottomOffset"
|
|
332
|
+
class="k-time-container"
|
|
333
|
+
tabindex="-1"
|
|
334
|
+
>
|
|
335
|
+
<ul [ngStyle]="style" class="k-reset"
|
|
334
336
|
[kendoEventsOutsideAngular]="{
|
|
335
337
|
click: handleItemClick
|
|
336
338
|
}"
|
|
337
|
-
|
|
338
|
-
|
|
339
|
+
[scope]="this"
|
|
340
|
+
[attr.role]="'presentation'"
|
|
339
341
|
>
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
</
|
|
347
|
-
|
|
342
|
+
@for (item of data; track $index; let index = $index) {
|
|
343
|
+
<li class="k-item"
|
|
344
|
+
[attr.data-timelist-item-index]="index"
|
|
345
|
+
[attr.role]="'option'"
|
|
346
|
+
[attr.aria-selected]="index === currentSelectedIndex"
|
|
347
|
+
>
|
|
348
|
+
<span>{{item.text}}</span>
|
|
349
|
+
</li>
|
|
350
|
+
}
|
|
351
|
+
</ul>
|
|
348
352
|
</kendo-virtualization>
|
|
349
|
-
|
|
353
|
+
`,
|
|
350
354
|
standalone: true,
|
|
351
|
-
imports: [VirtualizationComponent, NgStyle, EventsOutsideAngularDirective
|
|
355
|
+
imports: [VirtualizationComponent, NgStyle, EventsOutsideAngularDirective]
|
|
352
356
|
}]
|
|
353
357
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Injector }, { type: i1.TimePickerDOMService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i2.LocalizationService }], propDecorators: { min: [{
|
|
354
358
|
type: Input
|