@progress/kendo-angular-common 16.5.0 → 16.6.0-develop.2

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 (40) hide show
  1. package/adornments/adornments.module.d.ts +2 -1
  2. package/adornments/prefix.directive.d.ts +1 -1
  3. package/adornments/separator.component.d.ts +1 -1
  4. package/adornments/suffix.directive.d.ts +1 -1
  5. package/directives.d.ts +45 -0
  6. package/draggable/draggable.directive.d.ts +1 -1
  7. package/draggable/draggable.module.d.ts +2 -2
  8. package/esm2020/adornments/adornments.module.mjs +9 -7
  9. package/esm2020/adornments/prefix.directive.mjs +3 -2
  10. package/esm2020/adornments/separator.component.mjs +3 -2
  11. package/esm2020/adornments/suffix.directive.mjs +3 -2
  12. package/esm2020/directives.mjs +68 -0
  13. package/esm2020/draggable/draggable.directive.mjs +3 -2
  14. package/esm2020/draggable/draggable.module.mjs +4 -5
  15. package/esm2020/events/events-outside-angular.directive.mjs +3 -2
  16. package/esm2020/events/events.module.mjs +3 -2
  17. package/esm2020/index.mjs +2 -0
  18. package/esm2020/resize-sensor/resize-batch.service.mjs +5 -2
  19. package/esm2020/resize-sensor/resize-sensor.component.mjs +3 -2
  20. package/esm2020/resize-sensor/resize-sensor.module.mjs +6 -6
  21. package/esm2020/template-context/index.mjs +5 -0
  22. package/esm2020/template-context/template-context.directive.mjs +35 -0
  23. package/esm2020/toggle-button-tab-stop/toggle-button-tab-stop.directive.mjs +3 -2
  24. package/esm2020/toggle-button-tab-stop/toggle-button-tab-stop.module.mjs +6 -3
  25. package/esm2020/watermark/watermark.component.mjs +6 -4
  26. package/esm2020/watermark/watermark.module.mjs +4 -5
  27. package/events/events-outside-angular.directive.d.ts +1 -1
  28. package/events/events.module.d.ts +2 -1
  29. package/fesm2015/progress-kendo-angular-common.mjs +211 -109
  30. package/fesm2020/progress-kendo-angular-common.mjs +211 -109
  31. package/index.d.ts +2 -0
  32. package/package.json +2 -2
  33. package/resize-sensor/resize-sensor.component.d.ts +1 -1
  34. package/resize-sensor/resize-sensor.module.d.ts +3 -2
  35. package/template-context/index.d.ts +5 -0
  36. package/template-context/template-context.directive.d.ts +17 -0
  37. package/toggle-button-tab-stop/toggle-button-tab-stop.directive.d.ts +1 -1
  38. package/toggle-button-tab-stop/toggle-button-tab-stop.module.d.ts +5 -1
  39. package/watermark/watermark.component.d.ts +1 -1
  40. package/watermark/watermark.module.d.ts +2 -2
@@ -7,9 +7,8 @@ import { EventEmitter, Directive, Input, Output, NgModule, Injectable, Component
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';
10
- import * as i1 from '@angular/common';
11
- import { CommonModule } from '@angular/common';
12
10
  import { merge, fromEvent, from, Subscription } from 'rxjs';
11
+ import { NgIf, NgStyle } from '@angular/common';
13
12
 
14
13
  /**
15
14
  * @hidden
@@ -228,11 +227,12 @@ class DraggableDirective {
228
227
  }
229
228
  }
230
229
  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 });
231
- DraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableDirective, selector: "[kendoDraggable]", inputs: { enableDrag: "enableDrag" }, outputs: { kendoPress: "kendoPress", kendoDrag: "kendoDrag", kendoRelease: "kendoRelease" }, usesOnChanges: true, ngImport: i0 });
230
+ 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 });
232
231
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, decorators: [{
233
232
  type: Directive,
234
233
  args: [{
235
- selector: '[kendoDraggable]'
234
+ selector: '[kendoDraggable]',
235
+ standalone: true
236
236
  }]
237
237
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { enableDrag: [{
238
238
  type: Input
@@ -246,18 +246,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
246
246
 
247
247
  /**
248
248
  * @hidden
249
+ * IMPORTANT: NgModule export kept for backwards compatibility
249
250
  */
250
251
  class DraggableModule {
251
252
  }
252
253
  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, declarations: [DraggableDirective], imports: [CommonModule], exports: [DraggableDirective] });
254
- DraggableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, imports: [CommonModule] });
254
+ DraggableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, imports: [DraggableDirective], exports: [DraggableDirective] });
255
+ DraggableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule });
255
256
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, decorators: [{
256
257
  type: NgModule,
257
258
  args: [{
258
- declarations: [DraggableDirective],
259
259
  exports: [DraggableDirective],
260
- imports: [CommonModule]
260
+ imports: [DraggableDirective]
261
261
  }]
262
262
  }] });
263
263
 
@@ -425,11 +425,12 @@ class EventsOutsideAngularDirective {
425
425
  }
426
426
  }
427
427
  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 });
428
- EventsOutsideAngularDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: { events: ["kendoEventsOutsideAngular", "events"], scope: "scope" }, ngImport: i0 });
428
+ 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 });
429
429
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsOutsideAngularDirective, decorators: [{
430
430
  type: Directive,
431
431
  args: [{
432
- selector: '[kendoEventsOutsideAngular]'
432
+ selector: '[kendoEventsOutsideAngular]',
433
+ standalone: true
433
434
  }]
434
435
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { events: [{
435
436
  type: Input,
@@ -440,16 +441,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
440
441
 
441
442
  /**
442
443
  * @hidden
444
+ * IMPORTANT: NgModule export kept for backwards compatibility
443
445
  */
444
446
  class EventsModule {
445
447
  }
446
448
  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, declarations: [EventsOutsideAngularDirective], exports: [EventsOutsideAngularDirective] });
449
+ EventsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: EventsModule, imports: [EventsOutsideAngularDirective], exports: [EventsOutsideAngularDirective] });
448
450
  EventsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsModule });
449
451
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsModule, decorators: [{
450
452
  type: NgModule,
451
453
  args: [{
452
- declarations: [EventsOutsideAngularDirective],
454
+ imports: [EventsOutsideAngularDirective],
453
455
  exports: [EventsOutsideAngularDirective]
454
456
  }]
455
457
  }] });
@@ -692,9 +694,12 @@ class ResizeBatchService {
692
694
  }
693
695
  }
694
696
  ResizeBatchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
695
- ResizeBatchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService });
697
+ ResizeBatchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService, providedIn: 'root' });
696
698
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService, decorators: [{
697
- type: Injectable
699
+ type: Injectable,
700
+ args: [{
701
+ providedIn: 'root'
702
+ }]
698
703
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
699
704
 
700
705
  /**
@@ -742,12 +747,13 @@ class ResizeSensorComponent {
742
747
  }
743
748
  }
744
749
  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, selector: "kendo-resize-sensor", inputs: { rateLimit: "rateLimit" }, outputs: { resize: "resize" }, ngImport: i0, template: '', isInline: true });
750
+ 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
751
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorComponent, decorators: [{
747
752
  type: Component,
748
753
  args: [{
749
754
  selector: 'kendo-resize-sensor',
750
- template: ''
755
+ template: '',
756
+ standalone: true
751
757
  }]
752
758
  }], ctorParameters: function () { return [{ type: ResizeBatchService }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { rateLimit: [{
753
759
  type: Input
@@ -755,20 +761,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
755
761
  type: Output
756
762
  }] } });
757
763
 
758
- const COMPONENT_DIRECTIVES = [ResizeSensorComponent];
759
764
  /**
760
- * Resize Sensor module
765
+ * @hidden
766
+ * IMPORTANT: NgModule export kept for backwards compatibility
761
767
  */
762
768
  class ResizeSensorModule {
763
769
  }
764
770
  ResizeSensorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
765
- ResizeSensorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, declarations: [ResizeSensorComponent], exports: [ResizeSensorComponent] });
766
- ResizeSensorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, providers: [ResizeBatchService] });
771
+ ResizeSensorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, imports: [ResizeSensorComponent], exports: [ResizeSensorComponent] });
772
+ ResizeSensorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, providers: [ResizeBatchService], imports: [ResizeSensorComponent] });
767
773
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, decorators: [{
768
774
  type: NgModule,
769
775
  args: [{
770
- declarations: [COMPONENT_DIRECTIVES],
771
- exports: [COMPONENT_DIRECTIVES],
776
+ imports: [ResizeSensorComponent],
777
+ exports: [ResizeSensorComponent],
772
778
  providers: [ResizeBatchService]
773
779
  }]
774
780
  }] });
@@ -950,7 +956,7 @@ class WatermarkOverlayComponent {
950
956
  }
951
957
  }
952
958
  WatermarkOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
953
- WatermarkOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", host: { properties: { "style": "this.watermarkStyle" } }, viewQueries: [{ propertyName: "banner", first: true, predicate: ["banner"], descendants: true }], ngImport: i0, template: `
959
+ 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: `
954
960
  <div #banner *ngIf="isOpen && bannerMounted" [ngStyle]="bannerStyles">
955
961
  <span [ngStyle]="{ display: 'flex', alignSelf: 'center', marginRight: '8px' }">
956
962
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
@@ -976,7 +982,7 @@ WatermarkOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
976
982
  </button>
977
983
  </div>
978
984
  </div>
979
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
985
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
980
986
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkOverlayComponent, decorators: [{
981
987
  type: Component,
982
988
  args: [{
@@ -1007,7 +1013,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1007
1013
  </button>
1008
1014
  </div>
1009
1015
  </div>
1010
- `
1016
+ `,
1017
+ standalone: true,
1018
+ imports: [NgIf, NgStyle]
1011
1019
  }]
1012
1020
  }], propDecorators: { watermarkStyle: [{
1013
1021
  type: HostBinding,
@@ -1019,18 +1027,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1019
1027
 
1020
1028
  /**
1021
1029
  * @hidden
1030
+ * IMPORTANT: NgModule export kept for backwards compatibility
1022
1031
  */
1023
1032
  class WatermarkModule {
1024
1033
  }
1025
1034
  WatermarkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1026
- WatermarkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, declarations: [WatermarkOverlayComponent], imports: [CommonModule], exports: [WatermarkOverlayComponent] });
1027
- WatermarkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, imports: [CommonModule] });
1035
+ WatermarkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, imports: [WatermarkOverlayComponent], exports: [WatermarkOverlayComponent] });
1036
+ WatermarkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, imports: [WatermarkOverlayComponent] });
1028
1037
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, decorators: [{
1029
1038
  type: NgModule,
1030
1039
  args: [{
1031
- declarations: [WatermarkOverlayComponent],
1032
1040
  exports: [WatermarkOverlayComponent],
1033
- imports: [CommonModule]
1041
+ imports: [WatermarkOverlayComponent]
1034
1042
  }]
1035
1043
  }] });
1036
1044
 
@@ -1083,11 +1091,12 @@ class PrefixTemplateDirective {
1083
1091
  }
1084
1092
  }
1085
1093
  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 });
1086
- PrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PrefixTemplateDirective, selector: "[kendoPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1094
+ PrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PrefixTemplateDirective, isStandalone: true, selector: "[kendoPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1087
1095
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PrefixTemplateDirective, decorators: [{
1088
1096
  type: Directive,
1089
1097
  args: [{
1090
- selector: '[kendoPrefixTemplate]'
1098
+ selector: '[kendoPrefixTemplate]',
1099
+ standalone: true
1091
1100
  }]
1092
1101
  }], ctorParameters: function () {
1093
1102
  return [{ type: i0.TemplateRef, decorators: [{
@@ -1136,11 +1145,12 @@ class SuffixTemplateDirective {
1136
1145
  }
1137
1146
  }
1138
1147
  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 });
1139
- SuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SuffixTemplateDirective, selector: "[kendoSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1148
+ SuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SuffixTemplateDirective, isStandalone: true, selector: "[kendoSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1140
1149
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuffixTemplateDirective, decorators: [{
1141
1150
  type: Directive,
1142
1151
  args: [{
1143
- selector: '[kendoSuffixTemplate]'
1152
+ selector: '[kendoSuffixTemplate]',
1153
+ standalone: true
1144
1154
  }]
1145
1155
  }], ctorParameters: function () {
1146
1156
  return [{ type: i0.TemplateRef, decorators: [{
@@ -1185,12 +1195,13 @@ class SeparatorComponent {
1185
1195
  }
1186
1196
  }
1187
1197
  SeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1188
- SeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SeparatorComponent, 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
+ 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 });
1189
1199
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SeparatorComponent, decorators: [{
1190
1200
  type: Component,
1191
1201
  args: [{
1192
1202
  selector: 'kendo-separator',
1193
- template: ``
1203
+ template: ``,
1204
+ standalone: true
1194
1205
  }]
1195
1206
  }], propDecorators: { orientation: [{
1196
1207
  type: Input
@@ -1208,79 +1219,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1208
1219
  /**
1209
1220
  * @hidden
1210
1221
  */
1211
- class AdornmentsModule {
1212
- }
1213
- AdornmentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1214
- AdornmentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, declarations: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent], exports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent] });
1215
- AdornmentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule });
1216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, decorators: [{
1217
- type: NgModule,
1218
- args: [{
1219
- declarations: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent],
1220
- exports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent]
1221
- }]
1222
- }] });
1223
-
1224
- class PreventableEvent {
1225
- constructor() {
1226
- this.prevented = false;
1227
- }
1228
- /**
1229
- * Prevents the default action for a specified event.
1230
- * In this way, the source component suppresses
1231
- * the built-in behavior that follows the event.
1232
- */
1233
- preventDefault() {
1234
- this.prevented = true;
1235
- }
1236
- /**
1237
- * Returns `true` if the event was prevented
1238
- * by any of its subscribers.
1239
- *
1240
- * @returns `true` if the default action was prevented.
1241
- * Otherwise, returns `false`.
1242
- */
1243
- isDefaultPrevented() {
1244
- return this.prevented;
1245
- }
1246
- }
1247
-
1248
- const canCreateElement = () => isDocumentAvailable() && document.createElement;
1249
- const propName = '--kendo-scrollbar-width';
1250
- /**
1251
- * @hidden
1252
- */
1253
- const scrollbarWidth = () => {
1254
- let scrollbarWidth = 0;
1255
- if (canCreateElement()) {
1256
- const div = document.createElement('div');
1257
- div.style.cssText = 'overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block';
1258
- div.innerHTML = '&nbsp;';
1259
- document.body.appendChild(div);
1260
- scrollbarWidth = div.offsetWidth - div.scrollWidth;
1261
- document.body.removeChild(div);
1262
- }
1263
- return scrollbarWidth;
1264
- };
1265
- /**
1266
- * @hidden
1267
- */
1268
- class ScrollbarWidthService {
1269
- constructor() {
1270
- this.changes = new EventEmitter();
1271
- if (typeof window !== 'undefined' && isDocumentAvailable()) {
1272
- document.body.style.setProperty(propName, `${scrollbarWidth()}px`);
1222
+ class TemplateContextDirective {
1223
+ constructor(viewContainerRef) {
1224
+ this.viewContainerRef = viewContainerRef;
1225
+ }
1226
+ set templateContext(context) {
1227
+ if (this.insertedViewRef) {
1228
+ this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
1229
+ this.insertedViewRef = undefined;
1230
+ }
1231
+ if (context.templateRef) {
1232
+ this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
1273
1233
  }
1274
1234
  }
1275
1235
  }
1276
- ScrollbarWidthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollbarWidthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1277
- ScrollbarWidthServiceprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollbarWidthService, providedIn: 'root' });
1278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollbarWidthService, decorators: [{
1279
- type: Injectable,
1236
+ TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1237
+ TemplateContextDirectivedir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TemplateContextDirective, isStandalone: true, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
1238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, decorators: [{
1239
+ type: Directive,
1280
1240
  args: [{
1281
- providedIn: 'root'
1241
+ // eslint-disable-next-line @angular-eslint/directive-selector
1242
+ selector: '[templateContext]',
1243
+ standalone: true
1282
1244
  }]
1283
- }], ctorParameters: function () { return []; } });
1245
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateContext: [{
1246
+ type: Input
1247
+ }] } });
1284
1248
 
1285
1249
  /**
1286
1250
  * @hidden
@@ -1480,11 +1444,12 @@ class ToggleButtonTabStopDirective {
1480
1444
  }
1481
1445
  }
1482
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 });
1483
- ToggleButtonTabStopDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToggleButtonTabStopDirective, selector: "[kendoToggleButtonTabStop]", inputs: { active: ["kendoToggleButtonTabStop", "active"], toggleButtonAriaLabel: "toggleButtonAriaLabel" }, usesOnChanges: true, ngImport: i0 });
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 });
1484
1448
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopDirective, decorators: [{
1485
1449
  type: Directive,
1486
1450
  args: [{
1487
- selector: '[kendoToggleButtonTabStop]'
1451
+ selector: '[kendoToggleButtonTabStop]',
1452
+ standalone: true
1488
1453
  }]
1489
1454
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: MultiTabStop }]; }, propDecorators: { active: [{
1490
1455
  type: Input,
@@ -1493,16 +1458,153 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1493
1458
  type: Input
1494
1459
  }] } });
1495
1460
 
1461
+ /**
1462
+ * @hidden
1463
+ */
1464
+ const KENDO_ADORNMENTS = [
1465
+ PrefixTemplateDirective,
1466
+ SuffixTemplateDirective,
1467
+ SeparatorComponent
1468
+ ];
1469
+ /**
1470
+ * @hidden
1471
+ */
1472
+ const KENDO_COMMON = [
1473
+ ...KENDO_ADORNMENTS,
1474
+ DraggableDirective,
1475
+ EventsOutsideAngularDirective,
1476
+ ResizeSensorComponent,
1477
+ ToggleButtonTabStopDirective,
1478
+ WatermarkOverlayComponent,
1479
+ ];
1480
+ /**
1481
+ * @hidden
1482
+ */
1483
+ const KENDO_DRAGGABLE = [
1484
+ DraggableDirective
1485
+ ];
1486
+ /**
1487
+ * @hidden
1488
+ */
1489
+ const KENDO_EVENTS = [
1490
+ EventsOutsideAngularDirective
1491
+ ];
1492
+ /**
1493
+ * @hidden
1494
+ */
1495
+ const KENDO_RESIZESENSOR = [
1496
+ ResizeSensorComponent
1497
+ ];
1498
+ /**
1499
+ * @hidden
1500
+ */
1501
+ const KENDO_TOGGLEBUTTONTABSTOP = [
1502
+ ToggleButtonTabStopDirective
1503
+ ];
1504
+ /**
1505
+ * @hidden
1506
+ */
1507
+ const KENDO_WATERMARK = [
1508
+ WatermarkOverlayComponent
1509
+ ];
1510
+ /**
1511
+ * @hidden
1512
+ */
1513
+ const KENDO_TEMPLATE_CONTEXT = [
1514
+ TemplateContextDirective
1515
+ ];
1516
+
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
+ */
1496
1599
  class ToggleButtonTabStopModule {
1497
1600
  }
1498
1601
  ToggleButtonTabStopModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1499
- ToggleButtonTabStopModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, declarations: [ToggleButtonTabStopDirective], exports: [ToggleButtonTabStopDirective] });
1602
+ ToggleButtonTabStopModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, imports: [ToggleButtonTabStopDirective], exports: [ToggleButtonTabStopDirective] });
1500
1603
  ToggleButtonTabStopModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule });
1501
1604
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, decorators: [{
1502
1605
  type: NgModule,
1503
1606
  args: [{
1504
- imports: [],
1505
- declarations: [ToggleButtonTabStopDirective],
1607
+ imports: [ToggleButtonTabStopDirective],
1506
1608
  exports: [ToggleButtonTabStopDirective]
1507
1609
  }]
1508
1610
  }] });
@@ -1511,5 +1613,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1511
1613
  * Generated bundle index. Do not edit.
1512
1614
  */
1513
1615
 
1514
- export { AdornmentsModule, DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KendoInput, Keys, MultiTabStop, PrefixTemplateDirective, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, ScrollbarWidthService, SeparatorComponent, SuffixTemplateDirective, 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 };
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 };
1515
1617