@progress/kendo-angular-common 17.0.0-develop.4 → 17.0.0-develop.40

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.
Files changed (88) hide show
  1. package/adornments/prefix.directive.d.ts +1 -1
  2. package/adornments/separator-orientation.d.ts +1 -1
  3. package/adornments/separator.component.d.ts +1 -1
  4. package/adornments/suffix.directive.d.ts +1 -1
  5. package/adornments.d.ts +0 -1
  6. package/draggable/draggable.directive.d.ts +1 -1
  7. package/draggable.d.ts +0 -1
  8. package/{esm2020 → esm2022}/adornments/prefix.directive.mjs +8 -7
  9. package/{esm2020 → esm2022}/adornments/separator.component.mjs +13 -15
  10. package/{esm2020 → esm2022}/adornments/suffix.directive.mjs +8 -7
  11. package/{esm2020 → esm2022}/adornments.mjs +0 -1
  12. package/{esm2020 → esm2022}/draggable/draggable.directive.mjs +10 -7
  13. package/{esm2020 → esm2022}/draggable.mjs +0 -1
  14. package/{esm2020 → esm2022}/events/events-outside-angular.directive.mjs +9 -4
  15. package/{esm2020 → esm2022}/events.mjs +0 -1
  16. package/{esm2020 → esm2022}/preventable-event.mjs +1 -3
  17. package/{esm2020 → esm2022}/resize-sensor/compat.service.mjs +6 -0
  18. package/{esm2020 → esm2022}/resize-sensor/observer.service.mjs +6 -3
  19. package/{esm2020 → esm2022}/resize-sensor/resize-batch.service.mjs +7 -5
  20. package/{esm2020 → esm2022}/resize-sensor/resize-sensor.component.mjs +15 -13
  21. package/{esm2020 → esm2022}/resize-sensor/resize.service.mjs +7 -3
  22. package/{esm2020 → esm2022}/resize-sensor.mjs +0 -1
  23. package/{esm2020 → esm2022}/template-context/template-context.directive.mjs +8 -6
  24. package/{esm2020 → esm2022}/toggle-button-tab-stop/toggle-button-tab-stop.directive.mjs +44 -28
  25. package/{esm2020 → esm2022}/toggle-button-tab-stop/toggle-button-tab-stop.mjs +1 -0
  26. package/{esm2020 → esm2022}/toggle-button-tab-stop.mjs +0 -1
  27. package/{esm2020 → esm2022}/utils/scrollbar-width.service.mjs +4 -4
  28. package/{esm2020 → esm2022}/watermark/index.mjs +0 -1
  29. package/{esm2020 → esm2022}/watermark/watermark.component.mjs +11 -12
  30. package/events/events-outside-angular.directive.d.ts +1 -1
  31. package/events.d.ts +0 -1
  32. package/{fesm2020 → fesm2022}/progress-kendo-angular-common.mjs +228 -290
  33. package/package.json +10 -16
  34. package/resize-sensor/resize-sensor.component.d.ts +1 -1
  35. package/resize-sensor.d.ts +0 -1
  36. package/template-context/template-context.directive.d.ts +1 -1
  37. package/toggle-button-tab-stop/toggle-button-tab-stop.directive.d.ts +1 -1
  38. package/toggle-button-tab-stop.d.ts +0 -1
  39. package/watermark/index.d.ts +0 -1
  40. package/adornments/adornments.module.d.ts +0 -17
  41. package/draggable/draggable.module.d.ts +0 -15
  42. package/esm2020/adornments/adornments.module.mjs +0 -26
  43. package/esm2020/draggable/draggable.module.mjs +0 -23
  44. package/esm2020/events/events.module.mjs +0 -23
  45. package/esm2020/resize-sensor/resize-sensor.module.mjs +0 -25
  46. package/esm2020/toggle-button-tab-stop/toggle-button-tab-stop.module.mjs +0 -23
  47. package/esm2020/watermark/watermark.module.mjs +0 -23
  48. package/events/events.module.d.ts +0 -15
  49. package/fesm2015/progress-kendo-angular-common.mjs +0 -1628
  50. package/resize-sensor/resize-sensor.module.d.ts +0 -15
  51. package/toggle-button-tab-stop/toggle-button-tab-stop.module.d.ts +0 -15
  52. package/watermark/watermark.module.d.ts +0 -15
  53. /package/{esm2020 → esm2022}/adornments/separator-orientation.mjs +0 -0
  54. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  55. /package/{esm2020 → esm2022}/dom-queries/closest-by-selector.mjs +0 -0
  56. /package/{esm2020 → esm2022}/dom-queries/closest-in-scope.mjs +0 -0
  57. /package/{esm2020 → esm2022}/dom-queries/closest.mjs +0 -0
  58. /package/{esm2020 → esm2022}/dom-queries/contains.mjs +0 -0
  59. /package/{esm2020 → esm2022}/dom-queries/find-element.mjs +0 -0
  60. /package/{esm2020 → esm2022}/dom-queries/find-focusable-child.mjs +0 -0
  61. /package/{esm2020 → esm2022}/dom-queries/find-focusable.mjs +0 -0
  62. /package/{esm2020 → esm2022}/dom-queries/has-classes.mjs +0 -0
  63. /package/{esm2020 → esm2022}/dom-queries/is-focusable-with-tab-key.mjs +0 -0
  64. /package/{esm2020 → esm2022}/dom-queries/is-focusable.mjs +0 -0
  65. /package/{esm2020 → esm2022}/dom-queries/is-visible.mjs +0 -0
  66. /package/{esm2020 → esm2022}/dom-queries/matches-classes.mjs +0 -0
  67. /package/{esm2020 → esm2022}/dom-queries/matches-node-name.mjs +0 -0
  68. /package/{esm2020 → esm2022}/dom-queries/rtl-scroll-position.mjs +0 -0
  69. /package/{esm2020 → esm2022}/dom-queries.mjs +0 -0
  70. /package/{esm2020 → esm2022}/enums/keys.mjs +0 -0
  71. /package/{esm2020 → esm2022}/enums.mjs +0 -0
  72. /package/{esm2020 → esm2022}/index.mjs +0 -0
  73. /package/{esm2020 → esm2022}/progress-kendo-angular-common.mjs +0 -0
  74. /package/{esm2020 → esm2022}/template-context/index.mjs +0 -0
  75. /package/{esm2020 → esm2022}/tokens.mjs +0 -0
  76. /package/{esm2020 → esm2022}/utils/any-changed.mjs +0 -0
  77. /package/{esm2020 → esm2022}/utils/detect-browser.mjs +0 -0
  78. /package/{esm2020 → esm2022}/utils/focusable-selectors.mjs +0 -0
  79. /package/{esm2020 → esm2022}/utils/forms-utils.mjs +0 -0
  80. /package/{esm2020 → esm2022}/utils/guid.mjs +0 -0
  81. /package/{esm2020 → esm2022}/utils/has-observers.mjs +0 -0
  82. /package/{esm2020 → esm2022}/utils/html-attributes.mjs +0 -0
  83. /package/{esm2020 → esm2022}/utils/is-changed.mjs +0 -0
  84. /package/{esm2020 → esm2022}/utils/is-document-available.mjs +0 -0
  85. /package/{esm2020 → esm2022}/utils/ng-class-parser.mjs +0 -0
  86. /package/{esm2020 → esm2022}/utils.mjs +0 -0
  87. /package/{esm2020 → esm2022}/watermark/utils.mjs +0 -0
  88. /package/{esm2020 → esm2022}/watermark/validation.mjs +0 -0
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { EventEmitter, Directive, Input, Output, NgModule, Injectable, Component, HostBinding, ViewChild, Optional, isDevMode } from '@angular/core';
6
+ import { EventEmitter, Directive, Input, Output, Injectable, Component, HostBinding, ViewChild, Optional, isDevMode } from '@angular/core';
7
7
  import { detectDesktopBrowser, detectMobileOS } from '@progress/kendo-common';
8
8
  import { take, auditTime } from 'rxjs/operators';
9
9
  import { Draggable } from '@progress/kendo-draggable';
@@ -186,13 +186,16 @@ const isControlRequired = (control) => {
186
186
  };
187
187
 
188
188
  class DraggableDirective {
189
+ element;
190
+ ngZone;
191
+ enableDrag = true;
192
+ kendoPress = new EventEmitter();
193
+ kendoDrag = new EventEmitter();
194
+ kendoRelease = new EventEmitter();
195
+ draggable;
189
196
  constructor(element, ngZone) {
190
197
  this.element = element;
191
198
  this.ngZone = ngZone;
192
- this.enableDrag = true;
193
- this.kendoPress = new EventEmitter();
194
- this.kendoDrag = new EventEmitter();
195
- this.kendoRelease = new EventEmitter();
196
199
  }
197
200
  ngOnInit() {
198
201
  this.toggleDraggable();
@@ -224,10 +227,10 @@ class DraggableDirective {
224
227
  this.draggable = undefined;
225
228
  }
226
229
  }
230
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DraggableDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
231
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DraggableDirective, isStandalone: true, selector: "[kendoDraggable]", inputs: { enableDrag: "enableDrag" }, outputs: { kendoPress: "kendoPress", kendoDrag: "kendoDrag", kendoRelease: "kendoRelease" }, usesOnChanges: true, ngImport: i0 });
227
232
  }
228
- DraggableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
229
- DraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableDirective, isStandalone: true, selector: "[kendoDraggable]", inputs: { enableDrag: "enableDrag" }, outputs: { kendoPress: "kendoPress", kendoDrag: "kendoDrag", kendoRelease: "kendoRelease" }, usesOnChanges: true, ngImport: i0 });
230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, decorators: [{
233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DraggableDirective, decorators: [{
231
234
  type: Directive,
232
235
  args: [{
233
236
  selector: '[kendoDraggable]',
@@ -243,23 +246,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
243
246
  type: Output
244
247
  }] } });
245
248
 
246
- /**
247
- * @hidden
248
- * IMPORTANT: NgModule export kept for backwards compatibility
249
- */
250
- class DraggableModule {
251
- }
252
- DraggableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
253
- DraggableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, imports: [DraggableDirective], exports: [DraggableDirective] });
254
- DraggableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule });
255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, decorators: [{
256
- type: NgModule,
257
- args: [{
258
- exports: [DraggableDirective],
259
- imports: [DraggableDirective]
260
- }]
261
- }] });
262
-
263
249
  const closestInScope = (node, predicate, scope) => {
264
250
  while (node && node !== scope && !predicate(node)) {
265
251
  node = node.parentNode;
@@ -393,11 +379,16 @@ const isDocumentNode = (container) => container.nodeType === 9;
393
379
  * @hidden
394
380
  */
395
381
  class EventsOutsideAngularDirective {
382
+ element;
383
+ ngZone;
384
+ renderer;
385
+ events = {};
386
+ scope;
387
+ subscriptions;
396
388
  constructor(element, ngZone, renderer) {
397
389
  this.element = element;
398
390
  this.ngZone = ngZone;
399
391
  this.renderer = renderer;
400
- this.events = {};
401
392
  }
402
393
  ngOnInit() {
403
394
  if (!this.element || !this.element.nativeElement) {
@@ -421,10 +412,10 @@ class EventsOutsideAngularDirective {
421
412
  this.subscriptions = null;
422
413
  }
423
414
  }
415
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EventsOutsideAngularDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
416
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EventsOutsideAngularDirective, isStandalone: true, selector: "[kendoEventsOutsideAngular]", inputs: { events: ["kendoEventsOutsideAngular", "events"], scope: "scope" }, ngImport: i0 });
424
417
  }
425
- EventsOutsideAngularDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsOutsideAngularDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
426
- EventsOutsideAngularDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EventsOutsideAngularDirective, isStandalone: true, selector: "[kendoEventsOutsideAngular]", inputs: { events: ["kendoEventsOutsideAngular", "events"], scope: "scope" }, ngImport: i0 });
427
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsOutsideAngularDirective, decorators: [{
418
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EventsOutsideAngularDirective, decorators: [{
428
419
  type: Directive,
429
420
  args: [{
430
421
  selector: '[kendoEventsOutsideAngular]',
@@ -437,29 +428,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
437
428
  type: Input
438
429
  }] } });
439
430
 
440
- /**
441
- * @hidden
442
- * IMPORTANT: NgModule export kept for backwards compatibility
443
- */
444
- class EventsModule {
445
- }
446
- EventsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
447
- EventsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: EventsModule, imports: [EventsOutsideAngularDirective], exports: [EventsOutsideAngularDirective] });
448
- EventsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsModule });
449
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsModule, decorators: [{
450
- type: NgModule,
451
- args: [{
452
- imports: [EventsOutsideAngularDirective],
453
- exports: [EventsOutsideAngularDirective]
454
- }]
455
- }] });
456
-
457
431
  class ResizeService {
432
+ resizeBatchService;
433
+ resize = new EventEmitter();
434
+ acceptedSize = false;
435
+ lastWidth;
436
+ lastHeight;
437
+ state = 0 /* ServiceState.Initial */;
438
+ parentElement;
458
439
  constructor(resizeBatchService) {
459
440
  this.resizeBatchService = resizeBatchService;
460
- this.resize = new EventEmitter();
461
- this.acceptedSize = false;
462
- this.state = 0 /* ServiceState.Initial */;
463
441
  }
464
442
  acceptSize(size = this.measure()) {
465
443
  this.lastWidth = size.width;
@@ -523,6 +501,12 @@ const WRAP_STYLE = 'position: absolute; display: block; left: 0; top: 0; right:
523
501
  const EXPAND_CHILD_STYLE = 'position: absolute; left: 0; top: 0; transition: 0s;';
524
502
  const SHRINK_CHILD_STYLE = EXPAND_CHILD_STYLE + 'width: 200%; height: 200%;';
525
503
  class ResizeCompatService extends ResizeService {
504
+ element;
505
+ ngZone;
506
+ expand;
507
+ expandChild;
508
+ shrink;
509
+ subscription;
526
510
  constructor(resizeBatchService, element, ngZone) {
527
511
  super(resizeBatchService);
528
512
  this.element = element;
@@ -607,14 +591,17 @@ const HAS_OBSERVER = typeof ResizeObserver !== 'undefined';
607
591
  * @hidden
608
592
  */
609
593
  class ResizeObserverService extends ResizeService {
594
+ element;
595
+ ngZone;
596
+ resizeObserver;
597
+ static supported() {
598
+ return HAS_OBSERVER;
599
+ }
610
600
  constructor(resizeBatchService, element, ngZone) {
611
601
  super(resizeBatchService);
612
602
  this.element = element;
613
603
  this.ngZone = ngZone;
614
604
  }
615
- static supported() {
616
- return HAS_OBSERVER;
617
- }
618
605
  destroy() {
619
606
  super.destroy();
620
607
  if (this.resizeObserver) {
@@ -640,10 +627,12 @@ class ResizeObserverService extends ResizeService {
640
627
  * @hidden
641
628
  */
642
629
  class ResizeBatchService {
630
+ ngZone;
631
+ scheduled = [];
632
+ resolvedPromise = Promise.resolve(null);
633
+ subscription;
643
634
  constructor(ngZone) {
644
635
  this.ngZone = ngZone;
645
- this.scheduled = [];
646
- this.resolvedPromise = Promise.resolve(null);
647
636
  this.flush = this.flush.bind(this);
648
637
  }
649
638
  schedule(instance, method) {
@@ -687,10 +676,10 @@ class ResizeBatchService {
687
676
  this.scheduled = [];
688
677
  this.unsubscribe();
689
678
  }
679
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResizeBatchService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
680
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResizeBatchService, providedIn: 'root' });
690
681
  }
691
- ResizeBatchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
692
- ResizeBatchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService, providedIn: 'root' });
693
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService, decorators: [{
682
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResizeBatchService, decorators: [{
694
683
  type: Injectable,
695
684
  args: [{
696
685
  providedIn: 'root'
@@ -708,17 +697,19 @@ const DEFAULT_RATE_LIMIT = 10;
708
697
  * Triggers a "resize" event whenever the parent DOM element size changes.
709
698
  */
710
699
  class ResizeSensorComponent {
700
+ /**
701
+ * The maximum number of resize events to emit per second.
702
+ *
703
+ * Defaults to 10.
704
+ */
705
+ rateLimit = DEFAULT_RATE_LIMIT;
706
+ /**
707
+ * Fires when the parent DOM element has been resized.
708
+ */
709
+ resize = new EventEmitter();
710
+ subscription;
711
+ resizeService;
711
712
  constructor(resizeBatchService, element, ngZone) {
712
- /**
713
- * The maximum number of resize events to emit per second.
714
- *
715
- * Defaults to 10.
716
- */
717
- this.rateLimit = DEFAULT_RATE_LIMIT;
718
- /**
719
- * Fires when the parent DOM element has been resized.
720
- */
721
- this.resize = new EventEmitter();
722
713
  const serviceType = ResizeObserverService.supported() ? ResizeObserverService : ResizeCompatService;
723
714
  this.resizeService = new serviceType(resizeBatchService, element, ngZone);
724
715
  const throttleTime = 1000 / (this.rateLimit || DEFAULT_RATE_LIMIT);
@@ -740,10 +731,10 @@ class ResizeSensorComponent {
740
731
  acceptSize(size) {
741
732
  this.resizeService.acceptSize(size);
742
733
  }
734
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResizeSensorComponent, deps: [{ token: ResizeBatchService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
735
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ResizeSensorComponent, isStandalone: true, selector: "kendo-resize-sensor", inputs: { rateLimit: "rateLimit" }, outputs: { resize: "resize" }, ngImport: i0, template: '', isInline: true });
743
736
  }
744
- ResizeSensorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorComponent, deps: [{ token: ResizeBatchService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
745
- ResizeSensorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ResizeSensorComponent, isStandalone: true, selector: "kendo-resize-sensor", inputs: { rateLimit: "rateLimit" }, outputs: { resize: "resize" }, ngImport: i0, template: '', isInline: true });
746
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorComponent, decorators: [{
737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ResizeSensorComponent, decorators: [{
747
738
  type: Component,
748
739
  args: [{
749
740
  selector: 'kendo-resize-sensor',
@@ -756,24 +747,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
756
747
  type: Output
757
748
  }] } });
758
749
 
759
- /**
760
- * @hidden
761
- * IMPORTANT: NgModule export kept for backwards compatibility
762
- */
763
- class ResizeSensorModule {
764
- }
765
- ResizeSensorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
766
- ResizeSensorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, imports: [ResizeSensorComponent], exports: [ResizeSensorComponent] });
767
- ResizeSensorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, providers: [ResizeBatchService], imports: [ResizeSensorComponent] });
768
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, decorators: [{
769
- type: NgModule,
770
- args: [{
771
- imports: [ResizeSensorComponent],
772
- exports: [ResizeSensorComponent],
773
- providers: [ResizeBatchService]
774
- }]
775
- }] });
776
-
777
750
  class KendoInput {
778
751
  }
779
752
 
@@ -919,14 +892,13 @@ let bannerPresentOnPage = false;
919
892
  * @hidden
920
893
  */
921
894
  class WatermarkOverlayComponent {
922
- constructor() {
923
- this.watermarkStyle = watermarkStyles;
924
- this.isOpen = true;
925
- this.bannerMounted = false;
926
- this.bannerStyles = bannerStyles;
927
- this.buttonStyles = buttonStyles;
928
- this.licenseKeyUrl = licenseKeyUrl;
929
- }
895
+ watermarkStyle = watermarkStyles;
896
+ banner;
897
+ isOpen = true;
898
+ bannerMounted = false;
899
+ bannerStyles = bannerStyles;
900
+ buttonStyles = buttonStyles;
901
+ licenseKeyUrl = licenseKeyUrl;
930
902
  ngOnInit() {
931
903
  if (!bannerPresentOnPage) {
932
904
  this.bannerMounted = true;
@@ -949,9 +921,8 @@ class WatermarkOverlayComponent {
949
921
  get isBannerRendered() {
950
922
  return isDocumentAvailable() && this.banner && this.banner.nativeElement;
951
923
  }
952
- }
953
- WatermarkOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
954
- WatermarkOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WatermarkOverlayComponent, isStandalone: true, selector: "div[kendoWatermarkOverlay]", host: { properties: { "style": "this.watermarkStyle" } }, viewQueries: [{ propertyName: "banner", first: true, predicate: ["banner"], descendants: true }], ngImport: i0, template: `
924
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WatermarkOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
925
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WatermarkOverlayComponent, isStandalone: true, selector: "div[kendoWatermarkOverlay]", host: { properties: { "style": "this.watermarkStyle" } }, viewQueries: [{ propertyName: "banner", first: true, predicate: ["banner"], descendants: true }], ngImport: i0, template: `
955
926
  <div #banner *ngIf="isOpen && bannerMounted" [ngStyle]="bannerStyles">
956
927
  <span [ngStyle]="{ display: 'flex', alignSelf: 'center', marginRight: '8px' }">
957
928
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
@@ -978,7 +949,8 @@ WatermarkOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
978
949
  </div>
979
950
  </div>
980
951
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
981
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkOverlayComponent, decorators: [{
952
+ }
953
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WatermarkOverlayComponent, decorators: [{
982
954
  type: Component,
983
955
  args: [{
984
956
  selector: 'div[kendoWatermarkOverlay]',
@@ -1020,23 +992,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1020
992
  args: ['banner']
1021
993
  }] } });
1022
994
 
1023
- /**
1024
- * @hidden
1025
- * IMPORTANT: NgModule export kept for backwards compatibility
1026
- */
1027
- class WatermarkModule {
1028
- }
1029
- WatermarkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1030
- WatermarkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, imports: [WatermarkOverlayComponent], exports: [WatermarkOverlayComponent] });
1031
- WatermarkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, imports: [WatermarkOverlayComponent] });
1032
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, decorators: [{
1033
- type: NgModule,
1034
- args: [{
1035
- exports: [WatermarkOverlayComponent],
1036
- imports: [WatermarkOverlayComponent]
1037
- }]
1038
- }] });
1039
-
1040
995
  const allowed = ['telerik.com', 'progress.com', 'stackblitz.io', 'csb.app'];
1041
996
  /**
1042
997
  * @hidden
@@ -1069,10 +1024,7 @@ function shouldShowValidationUI(isPackageValid) {
1069
1024
  * ```
1070
1025
  */
1071
1026
  class PrefixTemplateDirective {
1072
- constructor(templateRef) {
1073
- this.templateRef = templateRef;
1074
- this._showSeparator = false;
1075
- }
1027
+ templateRef;
1076
1028
  /**
1077
1029
  * Sets the `showSeparator` attribute of the `prefixTemplate`.
1078
1030
  *
@@ -1084,10 +1036,14 @@ class PrefixTemplateDirective {
1084
1036
  get showSeparator() {
1085
1037
  return this._showSeparator;
1086
1038
  }
1039
+ _showSeparator = false;
1040
+ constructor(templateRef) {
1041
+ this.templateRef = templateRef;
1042
+ }
1043
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1044
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PrefixTemplateDirective, isStandalone: true, selector: "[kendoPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1087
1045
  }
1088
- PrefixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1089
- PrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PrefixTemplateDirective, isStandalone: true, selector: "[kendoPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1090
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PrefixTemplateDirective, decorators: [{
1046
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PrefixTemplateDirective, decorators: [{
1091
1047
  type: Directive,
1092
1048
  args: [{
1093
1049
  selector: '[kendoPrefixTemplate]',
@@ -1121,10 +1077,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1121
1077
  * ```
1122
1078
  */
1123
1079
  class SuffixTemplateDirective {
1124
- constructor(templateRef) {
1125
- this.templateRef = templateRef;
1126
- this._showSeparator = false;
1127
- }
1080
+ templateRef;
1128
1081
  /**
1129
1082
  * Sets the `showSeparator` attribute of the `suffixTemplate`.
1130
1083
  *
@@ -1136,10 +1089,14 @@ class SuffixTemplateDirective {
1136
1089
  get showSeparator() {
1137
1090
  return this._showSeparator;
1138
1091
  }
1092
+ _showSeparator = false;
1093
+ constructor(templateRef) {
1094
+ this.templateRef = templateRef;
1095
+ }
1096
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1097
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SuffixTemplateDirective, isStandalone: true, selector: "[kendoSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1139
1098
  }
1140
- SuffixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1141
- SuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SuffixTemplateDirective, isStandalone: true, selector: "[kendoSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuffixTemplateDirective, decorators: [{
1099
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuffixTemplateDirective, decorators: [{
1143
1100
  type: Directive,
1144
1101
  args: [{
1145
1102
  selector: '[kendoSuffixTemplate]',
@@ -1171,18 +1128,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1171
1128
  * ```
1172
1129
  */
1173
1130
  class SeparatorComponent {
1174
- constructor() {
1175
- /**
1176
- * Specifies the orientation of the separator. Applicable for the adornments of the [`TextAreaComponent`](slug:api_inputs_textareacomponent).
1177
- *
1178
- * @default 'vertical'
1179
- */
1180
- this.orientation = 'vertical';
1181
- /**
1182
- * @hidden
1183
- */
1184
- this.hostClass = true;
1185
- }
1131
+ /**
1132
+ * Specifies the orientation of the separator. Applicable for the adornments of the [`TextAreaComponent`](slug:api_inputs_textareacomponent).
1133
+ *
1134
+ * @default 'vertical'
1135
+ */
1136
+ orientation = 'vertical';
1186
1137
  /**
1187
1138
  * @hidden
1188
1139
  */
@@ -1195,10 +1146,14 @@ class SeparatorComponent {
1195
1146
  get horizontal() {
1196
1147
  return this.orientation === 'horizontal';
1197
1148
  }
1149
+ /**
1150
+ * @hidden
1151
+ */
1152
+ hostClass = true;
1153
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1154
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SeparatorComponent, isStandalone: true, selector: "kendo-separator", inputs: { orientation: "orientation" }, host: { properties: { "class.k-input-separator-vertical": "this.vertical", "class.k-input-separator-horizontal": "this.horizontal", "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
1198
1155
  }
1199
- SeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1200
- SeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SeparatorComponent, isStandalone: true, selector: "kendo-separator", inputs: { orientation: "orientation" }, host: { properties: { "class.k-input-separator-vertical": "this.vertical", "class.k-input-separator-horizontal": "this.horizontal", "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
1201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SeparatorComponent, decorators: [{
1156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SeparatorComponent, decorators: [{
1202
1157
  type: Component,
1203
1158
  args: [{
1204
1159
  selector: 'kendo-separator',
@@ -1218,40 +1173,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1218
1173
  args: ['class.k-input-separator']
1219
1174
  }] } });
1220
1175
 
1176
+ class PreventableEvent {
1177
+ prevented = false;
1178
+ /**
1179
+ * Prevents the default action for a specified event.
1180
+ * In this way, the source component suppresses
1181
+ * the built-in behavior that follows the event.
1182
+ */
1183
+ preventDefault() {
1184
+ this.prevented = true;
1185
+ }
1186
+ /**
1187
+ * Returns `true` if the event was prevented
1188
+ * by any of its subscribers.
1189
+ *
1190
+ * @returns `true` if the default action was prevented.
1191
+ * Otherwise, returns `false`.
1192
+ */
1193
+ isDefaultPrevented() {
1194
+ return this.prevented;
1195
+ }
1196
+ }
1197
+
1198
+ const canCreateElement = () => isDocumentAvailable() && document.createElement;
1199
+ const propName = '--kendo-scrollbar-width';
1221
1200
  /**
1222
1201
  * @hidden
1223
1202
  */
1224
- class TemplateContextDirective {
1225
- constructor(viewContainerRef) {
1226
- this.viewContainerRef = viewContainerRef;
1203
+ const scrollbarWidth = () => {
1204
+ let scrollbarWidth = 0;
1205
+ if (canCreateElement()) {
1206
+ const div = document.createElement('div');
1207
+ div.style.cssText = 'overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block';
1208
+ div.innerHTML = '&nbsp;';
1209
+ document.body.appendChild(div);
1210
+ scrollbarWidth = div.offsetWidth - div.scrollWidth;
1211
+ document.body.removeChild(div);
1227
1212
  }
1228
- set templateContext(context) {
1229
- if (this.insertedViewRef) {
1230
- this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
1231
- this.insertedViewRef = undefined;
1232
- }
1233
- if (context.templateRef) {
1234
- this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
1213
+ return scrollbarWidth;
1214
+ };
1215
+ /**
1216
+ * @hidden
1217
+ */
1218
+ class ScrollbarWidthService {
1219
+ changes = new EventEmitter();
1220
+ constructor() {
1221
+ if (typeof window !== 'undefined' && isDocumentAvailable()) {
1222
+ document.body.style.setProperty(propName, `${scrollbarWidth()}px`);
1235
1223
  }
1236
1224
  }
1225
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollbarWidthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1226
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollbarWidthService, providedIn: 'root' });
1237
1227
  }
1238
- TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1239
- TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TemplateContextDirective, isStandalone: true, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
1240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, decorators: [{
1241
- type: Directive,
1228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollbarWidthService, decorators: [{
1229
+ type: Injectable,
1242
1230
  args: [{
1243
- // eslint-disable-next-line @angular-eslint/directive-selector
1244
- selector: '[templateContext]',
1245
- standalone: true
1231
+ providedIn: 'root'
1246
1232
  }]
1247
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateContext: [{
1248
- type: Input
1249
- }] } });
1233
+ }], ctorParameters: function () { return []; } });
1250
1234
 
1251
1235
  /**
1252
1236
  * @hidden
1253
1237
  */
1254
1238
  class MultiTabStop {
1239
+ escape;
1255
1240
  }
1256
1241
 
1257
1242
  const tags = ['kendo-splitbutton', 'kendo-combobox', 'kendo-multicolumncombobox', 'kendo-datepicker', 'kendo-timepicker', 'kendo-datetimepicker'];
@@ -1275,6 +1260,29 @@ const tags = ['kendo-splitbutton', 'kendo-combobox', 'kendo-multicolumncombobox'
1275
1260
  * ```
1276
1261
  */
1277
1262
  class ToggleButtonTabStopDirective {
1263
+ hostEl;
1264
+ renderer;
1265
+ zone;
1266
+ hostComponent;
1267
+ /**
1268
+ * @hidden
1269
+ *
1270
+ * Allows setting the interactive state of the toggle button.
1271
+ *
1272
+ * @default true
1273
+ */
1274
+ active;
1275
+ /**
1276
+ * Defines the value of the `aria-label` attribute of the toggle button when active.
1277
+ *
1278
+ * @default "toggle popup"
1279
+ */
1280
+ toggleButtonAriaLabel = 'toggle popup';
1281
+ button;
1282
+ sub = new Subscription();
1283
+ focusButton;
1284
+ isSplitButton;
1285
+ observer;
1278
1286
  /**
1279
1287
  * @hidden
1280
1288
  */
@@ -1283,31 +1291,6 @@ class ToggleButtonTabStopDirective {
1283
1291
  this.renderer = renderer;
1284
1292
  this.zone = zone;
1285
1293
  this.hostComponent = hostComponent;
1286
- /**
1287
- * Defines the value of the `aria-label` attribute of the toggle button when active.
1288
- *
1289
- * @default "toggle popup"
1290
- */
1291
- this.toggleButtonAriaLabel = 'toggle popup';
1292
- this.sub = new Subscription();
1293
- this.onFocus = () => {
1294
- this.renderer.setStyle(this.button, 'box-shadow', 'inset 0 0 0 1px rgba(0, 0, 0, 0.08)');
1295
- };
1296
- this.onBlur = () => {
1297
- this.renderer.removeStyle(this.button, 'box-shadow');
1298
- };
1299
- this.onClick = (e) => {
1300
- const splitButtonToggleEnter = e instanceof KeyboardEvent && e.keyCode === Keys.Enter;
1301
- const isClick = e instanceof PointerEvent;
1302
- (splitButtonToggleEnter || isClick) && (this.focusButton = true);
1303
- };
1304
- this.onKeyDown = (e) => {
1305
- if (e.keyCode === Keys.ArrowDown && e.altKey) {
1306
- e.stopImmediatePropagation();
1307
- this.focusButton = true;
1308
- this.button.click();
1309
- }
1310
- };
1311
1294
  if (isDevMode() && tags.indexOf(hostEl.nativeElement.tagName.toLowerCase()) === -1) {
1312
1295
  console.warn(`The kendoToggleButtonTabStop directive can be applied to the following components only: ${tags}`);
1313
1296
  }
@@ -1385,6 +1368,24 @@ class ToggleButtonTabStopDirective {
1385
1368
  this.observer && this.observer.disconnect();
1386
1369
  this.observer = null;
1387
1370
  }
1371
+ onFocus = () => {
1372
+ this.renderer.setStyle(this.button, 'box-shadow', 'inset 0 0 0 1px rgba(0, 0, 0, 0.08)');
1373
+ };
1374
+ onBlur = () => {
1375
+ this.renderer.removeStyle(this.button, 'box-shadow');
1376
+ };
1377
+ onClick = (e) => {
1378
+ const splitButtonToggleEnter = e instanceof KeyboardEvent && e.keyCode === Keys.Enter;
1379
+ const isClick = e instanceof PointerEvent;
1380
+ (splitButtonToggleEnter || isClick) && (this.focusButton = true);
1381
+ };
1382
+ onKeyDown = (e) => {
1383
+ if (e.keyCode === Keys.ArrowDown && e.altKey) {
1384
+ e.stopImmediatePropagation();
1385
+ this.focusButton = true;
1386
+ this.button.click();
1387
+ }
1388
+ };
1388
1389
  addListeners() {
1389
1390
  if (this.button) {
1390
1391
  this.zone.runOutsideAngular(() => this.button.addEventListener('focus', this.onFocus));
@@ -1442,10 +1443,10 @@ class ToggleButtonTabStopDirective {
1442
1443
  this.observer.observe(mainFocusableElement, mutationConfig);
1443
1444
  });
1444
1445
  }
1446
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToggleButtonTabStopDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: MultiTabStop }], target: i0.ɵɵFactoryTarget.Directive });
1447
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ToggleButtonTabStopDirective, isStandalone: true, selector: "[kendoToggleButtonTabStop]", inputs: { active: ["kendoToggleButtonTabStop", "active"], toggleButtonAriaLabel: "toggleButtonAriaLabel" }, usesOnChanges: true, ngImport: i0 });
1445
1448
  }
1446
- ToggleButtonTabStopDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: MultiTabStop }], target: i0.ɵɵFactoryTarget.Directive });
1447
- ToggleButtonTabStopDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToggleButtonTabStopDirective, isStandalone: true, selector: "[kendoToggleButtonTabStop]", inputs: { active: ["kendoToggleButtonTabStop", "active"], toggleButtonAriaLabel: "toggleButtonAriaLabel" }, usesOnChanges: true, ngImport: i0 });
1448
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopDirective, decorators: [{
1449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToggleButtonTabStopDirective, decorators: [{
1449
1450
  type: Directive,
1450
1451
  args: [{
1451
1452
  selector: '[kendoToggleButtonTabStop]',
@@ -1458,6 +1459,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1458
1459
  type: Input
1459
1460
  }] } });
1460
1461
 
1462
+ /**
1463
+ * @hidden
1464
+ */
1465
+ class TemplateContextDirective {
1466
+ set templateContext(context) {
1467
+ if (this.insertedViewRef) {
1468
+ this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
1469
+ this.insertedViewRef = undefined;
1470
+ }
1471
+ if (context.templateRef) {
1472
+ this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
1473
+ }
1474
+ }
1475
+ insertedViewRef;
1476
+ viewContainerRef;
1477
+ constructor(viewContainerRef) {
1478
+ this.viewContainerRef = viewContainerRef;
1479
+ }
1480
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1481
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TemplateContextDirective, isStandalone: true, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
1482
+ }
1483
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TemplateContextDirective, decorators: [{
1484
+ type: Directive,
1485
+ args: [{
1486
+ // eslint-disable-next-line @angular-eslint/directive-selector
1487
+ selector: '[templateContext]',
1488
+ standalone: true
1489
+ }]
1490
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateContext: [{
1491
+ type: Input
1492
+ }] } });
1493
+
1461
1494
  /**
1462
1495
  * @hidden
1463
1496
  */
@@ -1514,104 +1547,9 @@ const KENDO_TEMPLATE_CONTEXT = [
1514
1547
  TemplateContextDirective
1515
1548
  ];
1516
1549
 
1517
- /**
1518
- * @hidden
1519
- * IMPORTANT: NgModule export kept for backwards compatibility
1520
- */
1521
- class AdornmentsModule {
1522
- }
1523
- AdornmentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1524
- AdornmentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, imports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent], exports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent] });
1525
- AdornmentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, imports: [SeparatorComponent] });
1526
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, decorators: [{
1527
- type: NgModule,
1528
- args: [{
1529
- imports: [...KENDO_ADORNMENTS],
1530
- exports: [...KENDO_ADORNMENTS]
1531
- }]
1532
- }] });
1533
-
1534
- class PreventableEvent {
1535
- constructor() {
1536
- this.prevented = false;
1537
- }
1538
- /**
1539
- * Prevents the default action for a specified event.
1540
- * In this way, the source component suppresses
1541
- * the built-in behavior that follows the event.
1542
- */
1543
- preventDefault() {
1544
- this.prevented = true;
1545
- }
1546
- /**
1547
- * Returns `true` if the event was prevented
1548
- * by any of its subscribers.
1549
- *
1550
- * @returns `true` if the default action was prevented.
1551
- * Otherwise, returns `false`.
1552
- */
1553
- isDefaultPrevented() {
1554
- return this.prevented;
1555
- }
1556
- }
1557
-
1558
- const canCreateElement = () => isDocumentAvailable() && document.createElement;
1559
- const propName = '--kendo-scrollbar-width';
1560
- /**
1561
- * @hidden
1562
- */
1563
- const scrollbarWidth = () => {
1564
- let scrollbarWidth = 0;
1565
- if (canCreateElement()) {
1566
- const div = document.createElement('div');
1567
- div.style.cssText = 'overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block';
1568
- div.innerHTML = '&nbsp;';
1569
- document.body.appendChild(div);
1570
- scrollbarWidth = div.offsetWidth - div.scrollWidth;
1571
- document.body.removeChild(div);
1572
- }
1573
- return scrollbarWidth;
1574
- };
1575
- /**
1576
- * @hidden
1577
- */
1578
- class ScrollbarWidthService {
1579
- constructor() {
1580
- this.changes = new EventEmitter();
1581
- if (typeof window !== 'undefined' && isDocumentAvailable()) {
1582
- document.body.style.setProperty(propName, `${scrollbarWidth()}px`);
1583
- }
1584
- }
1585
- }
1586
- ScrollbarWidthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollbarWidthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1587
- ScrollbarWidthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollbarWidthService, providedIn: 'root' });
1588
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollbarWidthService, decorators: [{
1589
- type: Injectable,
1590
- args: [{
1591
- providedIn: 'root'
1592
- }]
1593
- }], ctorParameters: function () { return []; } });
1594
-
1595
- /**
1596
- * @hidden
1597
- * IMPORTANT: NgModule export kept for backwards compatibility
1598
- */
1599
- class ToggleButtonTabStopModule {
1600
- }
1601
- ToggleButtonTabStopModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1602
- ToggleButtonTabStopModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, imports: [ToggleButtonTabStopDirective], exports: [ToggleButtonTabStopDirective] });
1603
- ToggleButtonTabStopModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule });
1604
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, decorators: [{
1605
- type: NgModule,
1606
- args: [{
1607
- imports: [ToggleButtonTabStopDirective],
1608
- exports: [ToggleButtonTabStopDirective]
1609
- }]
1610
- }] });
1611
-
1612
1550
  /**
1613
1551
  * Generated bundle index. Do not edit.
1614
1552
  */
1615
1553
 
1616
- export { AdornmentsModule, DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KENDO_ADORNMENTS, KENDO_COMMON, KENDO_DRAGGABLE, KENDO_EVENTS, KENDO_RESIZESENSOR, KENDO_TEMPLATE_CONTEXT, KENDO_TOGGLEBUTTONTABSTOP, KENDO_WATERMARK, KendoInput, Keys, MultiTabStop, PrefixTemplateDirective, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, ScrollbarWidthService, SeparatorComponent, SuffixTemplateDirective, TemplateContextDirective, ToggleButtonTabStopDirective, ToggleButtonTabStopModule, WatermarkModule, WatermarkOverlayComponent, anyChanged, applyAttributes, closest, closestBySelector, closestInScope, contains, findElement, findFocusable, findFocusableChild, focusableSelector, guid, hasClasses, hasObservers, isChanged, isControlRequired, isDocumentAvailable, isFirefox, isFocusable, isFocusableWithTabKey, isObject, isObjectPresent, isPresent, isSafari, isString, isVisible, matchesClasses, matchesNodeName, parseAttributes, parseCSSClassNames, removeHTMLAttributes, rtlScrollPosition, scrollbarWidth, setHTMLAttributes, shouldShowValidationUI, splitStringToArray };
1554
+ export { DraggableDirective, EventsOutsideAngularDirective, KENDO_ADORNMENTS, KENDO_COMMON, KENDO_DRAGGABLE, KENDO_EVENTS, KENDO_RESIZESENSOR, KENDO_TEMPLATE_CONTEXT, KENDO_TOGGLEBUTTONTABSTOP, KENDO_WATERMARK, KendoInput, Keys, MultiTabStop, PrefixTemplateDirective, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ScrollbarWidthService, SeparatorComponent, SuffixTemplateDirective, TemplateContextDirective, ToggleButtonTabStopDirective, WatermarkOverlayComponent, anyChanged, applyAttributes, closest, closestBySelector, closestInScope, contains, findElement, findFocusable, findFocusableChild, focusableSelector, guid, hasClasses, hasObservers, isChanged, isControlRequired, isDocumentAvailable, isFirefox, isFocusable, isFocusableWithTabKey, isObject, isObjectPresent, isPresent, isSafari, isString, isVisible, matchesClasses, matchesNodeName, parseAttributes, parseCSSClassNames, removeHTMLAttributes, rtlScrollPosition, scrollbarWidth, setHTMLAttributes, shouldShowValidationUI, splitStringToArray };
1617
1555