@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.
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1763729109,
14
- version: '21.1.1-develop.2',
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, NgFor } from '@angular/common';
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: "14.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: `
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
- [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"
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
- [scope]="this"
302
- [attr.role]="'presentation'"
301
+ [scope]="this"
302
+ [attr.role]="'presentation'"
303
303
  >
304
- <li *ngFor="let item of data; let index = index;" class="k-item"
305
- [attr.data-timelist-item-index]="index"
306
- [attr.role]="'option'"
307
- [attr.aria-selected]="index === currentSelectedIndex"
308
- >
309
- <span>{{item.text}}</span>
310
- </li>
311
- </ul>
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
- `, 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"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
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
- [attr.role]="roleAttribute"
322
- [attr.aria-label]="ariaLabel"
323
- [skip]="skip"
324
- [take]="total"
325
- [total]="total"
326
- [itemHeight]="itemHeight"
327
- [maxScrollDifference]="listHeight"
328
- [topOffset]="topOffset"
329
- [bottomOffset]="bottomOffset"
330
- class="k-time-container"
331
- tabindex="-1"
332
- >
333
- <ul [ngStyle]="style" class="k-reset"
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
- [scope]="this"
338
- [attr.role]="'presentation'"
339
+ [scope]="this"
340
+ [attr.role]="'presentation'"
339
341
  >
340
- <li *ngFor="let item of data; let index = index;" class="k-item"
341
- [attr.data-timelist-item-index]="index"
342
- [attr.role]="'option'"
343
- [attr.aria-selected]="index === currentSelectedIndex"
344
- >
345
- <span>{{item.text}}</span>
346
- </li>
347
- </ul>
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, NgFor]
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