@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
@@ -8,9 +8,10 @@ import * as i2 from "./suffix.directive";
8
8
  import * as i3 from "./separator.component";
9
9
  /**
10
10
  * @hidden
11
+ * IMPORTANT: NgModule export kept for backwards compatibility
11
12
  */
12
13
  export declare class AdornmentsModule {
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AdornmentsModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdornmentsModule, [typeof i1.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i3.SeparatorComponent], never, [typeof i1.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i3.SeparatorComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdornmentsModule, never, [typeof i1.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i3.SeparatorComponent], [typeof i1.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i3.SeparatorComponent]>;
15
16
  static ɵinj: i0.ɵɵInjectorDeclaration<AdornmentsModule>;
16
17
  }
@@ -38,5 +38,5 @@ export declare class PrefixTemplateDirective {
38
38
  private _showSeparator;
39
39
  constructor(templateRef: TemplateRef<any>);
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<PrefixTemplateDirective, [{ optional: true; }]>;
41
- static ɵdir: i0.ɵɵDirectiveDeclaration<PrefixTemplateDirective, "[kendoPrefixTemplate]", never, { "showSeparator": "showSeparator"; }, {}, never, never, false, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PrefixTemplateDirective, "[kendoPrefixTemplate]", never, { "showSeparator": "showSeparator"; }, {}, never, never, true, never>;
42
42
  }
@@ -32,5 +32,5 @@ export declare class SeparatorComponent {
32
32
  get horizontal(): boolean;
33
33
  hostClass: boolean;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<SeparatorComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<SeparatorComponent, "kendo-separator", never, { "orientation": "orientation"; }, {}, never, never, false, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeparatorComponent, "kendo-separator", never, { "orientation": "orientation"; }, {}, never, never, true, never>;
36
36
  }
@@ -37,5 +37,5 @@ export declare class SuffixTemplateDirective {
37
37
  private _showSeparator;
38
38
  constructor(templateRef: TemplateRef<any>);
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<SuffixTemplateDirective, [{ optional: true; }]>;
40
- static ɵdir: i0.ɵɵDirectiveDeclaration<SuffixTemplateDirective, "[kendoSuffixTemplate]", never, { "showSeparator": "showSeparator"; }, {}, never, never, false, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SuffixTemplateDirective, "[kendoSuffixTemplate]", never, { "showSeparator": "showSeparator"; }, {}, never, never, true, never>;
41
41
  }
@@ -0,0 +1,45 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { PrefixTemplateDirective } from "./adornments/prefix.directive";
6
+ import { SeparatorComponent } from "./adornments/separator.component";
7
+ import { SuffixTemplateDirective } from "./adornments/suffix.directive";
8
+ import { DraggableDirective } from "./draggable/draggable.directive";
9
+ import { EventsOutsideAngularDirective } from "./events/events-outside-angular.directive";
10
+ import { ResizeSensorComponent } from "./resize-sensor/resize-sensor.component";
11
+ import { TemplateContextDirective } from "./template-context/template-context.directive";
12
+ import { ToggleButtonTabStopDirective } from "./toggle-button-tab-stop/toggle-button-tab-stop.directive";
13
+ import { WatermarkOverlayComponent } from "./watermark/watermark.component";
14
+ /**
15
+ * @hidden
16
+ */
17
+ export declare const KENDO_ADORNMENTS: readonly [typeof PrefixTemplateDirective, typeof SuffixTemplateDirective, typeof SeparatorComponent];
18
+ /**
19
+ * @hidden
20
+ */
21
+ export declare const KENDO_COMMON: readonly [typeof PrefixTemplateDirective, typeof SuffixTemplateDirective, typeof SeparatorComponent, typeof DraggableDirective, typeof EventsOutsideAngularDirective, typeof ResizeSensorComponent, typeof ToggleButtonTabStopDirective, typeof WatermarkOverlayComponent];
22
+ /**
23
+ * @hidden
24
+ */
25
+ export declare const KENDO_DRAGGABLE: readonly [typeof DraggableDirective];
26
+ /**
27
+ * @hidden
28
+ */
29
+ export declare const KENDO_EVENTS: readonly [typeof EventsOutsideAngularDirective];
30
+ /**
31
+ * @hidden
32
+ */
33
+ export declare const KENDO_RESIZESENSOR: readonly [typeof ResizeSensorComponent];
34
+ /**
35
+ * @hidden
36
+ */
37
+ export declare const KENDO_TOGGLEBUTTONTABSTOP: readonly [typeof ToggleButtonTabStopDirective];
38
+ /**
39
+ * @hidden
40
+ */
41
+ export declare const KENDO_WATERMARK: readonly [typeof WatermarkOverlayComponent];
42
+ /**
43
+ * @hidden
44
+ */
45
+ export declare const KENDO_TEMPLATE_CONTEXT: readonly [typeof TemplateContextDirective];
@@ -19,5 +19,5 @@ export declare class DraggableDirective implements OnInit, OnChanges, OnDestroy
19
19
  private toggleDraggable;
20
20
  private destroyDraggable;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableDirective, "[kendoDraggable]", never, { "enableDrag": "enableDrag"; }, { "kendoPress": "kendoPress"; "kendoDrag": "kendoDrag"; "kendoRelease": "kendoRelease"; }, never, never, false, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableDirective, "[kendoDraggable]", never, { "enableDrag": "enableDrag"; }, { "kendoPress": "kendoPress"; "kendoDrag": "kendoDrag"; "kendoRelease": "kendoRelease"; }, never, never, true, never>;
23
23
  }
@@ -4,12 +4,12 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "./draggable.directive";
7
- import * as i2 from "@angular/common";
8
7
  /**
9
8
  * @hidden
9
+ * IMPORTANT: NgModule export kept for backwards compatibility
10
10
  */
11
11
  export declare class DraggableModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DraggableModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<DraggableModule, [typeof i1.DraggableDirective], [typeof i2.CommonModule], [typeof i1.DraggableDirective]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DraggableModule, never, [typeof i1.DraggableDirective], [typeof i1.DraggableDirective]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<DraggableModule>;
15
15
  }
@@ -3,22 +3,24 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { PrefixTemplateDirective } from './prefix.directive';
7
- import { SuffixTemplateDirective } from './suffix.directive';
8
- import { SeparatorComponent } from './separator.component';
6
+ import { KENDO_ADORNMENTS } from '../directives';
9
7
  import * as i0 from "@angular/core";
8
+ import * as i1 from "./prefix.directive";
9
+ import * as i2 from "./suffix.directive";
10
+ import * as i3 from "./separator.component";
10
11
  /**
11
12
  * @hidden
13
+ * IMPORTANT: NgModule export kept for backwards compatibility
12
14
  */
13
15
  export class AdornmentsModule {
14
16
  }
15
17
  AdornmentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
16
- AdornmentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, declarations: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent], exports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent] });
17
- AdornmentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule });
18
+ AdornmentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, imports: [i1.PrefixTemplateDirective, i2.SuffixTemplateDirective, i3.SeparatorComponent], exports: [i1.PrefixTemplateDirective, i2.SuffixTemplateDirective, i3.SeparatorComponent] });
19
+ AdornmentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, imports: [i3.SeparatorComponent] });
18
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdornmentsModule, decorators: [{
19
21
  type: NgModule,
20
22
  args: [{
21
- declarations: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent],
22
- exports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent]
23
+ imports: [...KENDO_ADORNMENTS],
24
+ exports: [...KENDO_ADORNMENTS]
23
25
  }]
24
26
  }] });
@@ -44,11 +44,12 @@ export class PrefixTemplateDirective {
44
44
  }
45
45
  }
46
46
  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 });
47
- PrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PrefixTemplateDirective, selector: "[kendoPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
47
+ PrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PrefixTemplateDirective, isStandalone: true, selector: "[kendoPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
48
48
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PrefixTemplateDirective, decorators: [{
49
49
  type: Directive,
50
50
  args: [{
51
- selector: '[kendoPrefixTemplate]'
51
+ selector: '[kendoPrefixTemplate]',
52
+ standalone: true
52
53
  }]
53
54
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
54
55
  type: Optional
@@ -39,12 +39,13 @@ export class SeparatorComponent {
39
39
  }
40
40
  }
41
41
  SeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
- 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 });
42
+ 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 });
43
43
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SeparatorComponent, decorators: [{
44
44
  type: Component,
45
45
  args: [{
46
46
  selector: 'kendo-separator',
47
- template: ``
47
+ template: ``,
48
+ standalone: true
48
49
  }]
49
50
  }], propDecorators: { orientation: [{
50
51
  type: Input
@@ -43,11 +43,12 @@ export class SuffixTemplateDirective {
43
43
  }
44
44
  }
45
45
  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 });
46
- SuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SuffixTemplateDirective, selector: "[kendoSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
46
+ SuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SuffixTemplateDirective, isStandalone: true, selector: "[kendoSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
47
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuffixTemplateDirective, decorators: [{
48
48
  type: Directive,
49
49
  args: [{
50
- selector: '[kendoSuffixTemplate]'
50
+ selector: '[kendoSuffixTemplate]',
51
+ standalone: true
51
52
  }]
52
53
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
53
54
  type: Optional
@@ -0,0 +1,68 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { PrefixTemplateDirective } from "./adornments/prefix.directive";
6
+ import { SeparatorComponent } from "./adornments/separator.component";
7
+ import { SuffixTemplateDirective } from "./adornments/suffix.directive";
8
+ import { DraggableDirective } from "./draggable/draggable.directive";
9
+ import { EventsOutsideAngularDirective } from "./events/events-outside-angular.directive";
10
+ import { ResizeSensorComponent } from "./resize-sensor/resize-sensor.component";
11
+ import { TemplateContextDirective } from "./template-context/template-context.directive";
12
+ import { ToggleButtonTabStopDirective } from "./toggle-button-tab-stop/toggle-button-tab-stop.directive";
13
+ import { WatermarkOverlayComponent } from "./watermark/watermark.component";
14
+ /**
15
+ * @hidden
16
+ */
17
+ export const KENDO_ADORNMENTS = [
18
+ PrefixTemplateDirective,
19
+ SuffixTemplateDirective,
20
+ SeparatorComponent
21
+ ];
22
+ /**
23
+ * @hidden
24
+ */
25
+ export const KENDO_COMMON = [
26
+ ...KENDO_ADORNMENTS,
27
+ DraggableDirective,
28
+ EventsOutsideAngularDirective,
29
+ ResizeSensorComponent,
30
+ ToggleButtonTabStopDirective,
31
+ WatermarkOverlayComponent,
32
+ ];
33
+ /**
34
+ * @hidden
35
+ */
36
+ export const KENDO_DRAGGABLE = [
37
+ DraggableDirective
38
+ ];
39
+ /**
40
+ * @hidden
41
+ */
42
+ export const KENDO_EVENTS = [
43
+ EventsOutsideAngularDirective
44
+ ];
45
+ /**
46
+ * @hidden
47
+ */
48
+ export const KENDO_RESIZESENSOR = [
49
+ ResizeSensorComponent
50
+ ];
51
+ /**
52
+ * @hidden
53
+ */
54
+ export const KENDO_TOGGLEBUTTONTABSTOP = [
55
+ ToggleButtonTabStopDirective
56
+ ];
57
+ /**
58
+ * @hidden
59
+ */
60
+ export const KENDO_WATERMARK = [
61
+ WatermarkOverlayComponent
62
+ ];
63
+ /**
64
+ * @hidden
65
+ */
66
+ export const KENDO_TEMPLATE_CONTEXT = [
67
+ TemplateContextDirective
68
+ ];
@@ -47,11 +47,12 @@ export class DraggableDirective {
47
47
  }
48
48
  }
49
49
  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 });
50
- 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 });
50
+ 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 });
51
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, decorators: [{
52
52
  type: Directive,
53
53
  args: [{
54
- selector: '[kendoDraggable]'
54
+ selector: '[kendoDraggable]',
55
+ standalone: true
55
56
  }]
56
57
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { enableDrag: [{
57
58
  type: Input
@@ -4,21 +4,20 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
6
  import { DraggableDirective } from './draggable.directive';
7
- import { CommonModule } from '@angular/common';
8
7
  import * as i0 from "@angular/core";
9
8
  /**
10
9
  * @hidden
10
+ * IMPORTANT: NgModule export kept for backwards compatibility
11
11
  */
12
12
  export class DraggableModule {
13
13
  }
14
14
  DraggableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
15
- DraggableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, declarations: [DraggableDirective], imports: [CommonModule], exports: [DraggableDirective] });
16
- DraggableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, imports: [CommonModule] });
15
+ DraggableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, imports: [DraggableDirective], exports: [DraggableDirective] });
16
+ DraggableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule });
17
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableModule, decorators: [{
18
18
  type: NgModule,
19
19
  args: [{
20
- declarations: [DraggableDirective],
21
20
  exports: [DraggableDirective],
22
- imports: [CommonModule]
21
+ imports: [DraggableDirective]
23
22
  }]
24
23
  }] });
@@ -38,11 +38,12 @@ export class EventsOutsideAngularDirective {
38
38
  }
39
39
  }
40
40
  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 });
41
- EventsOutsideAngularDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: { events: ["kendoEventsOutsideAngular", "events"], scope: "scope" }, ngImport: i0 });
41
+ 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 });
42
42
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsOutsideAngularDirective, decorators: [{
43
43
  type: Directive,
44
44
  args: [{
45
- selector: '[kendoEventsOutsideAngular]'
45
+ selector: '[kendoEventsOutsideAngular]',
46
+ standalone: true
46
47
  }]
47
48
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { events: [{
48
49
  type: Input,
@@ -7,16 +7,17 @@ import { EventsOutsideAngularDirective } from './events-outside-angular.directiv
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * @hidden
10
+ * IMPORTANT: NgModule export kept for backwards compatibility
10
11
  */
11
12
  export class EventsModule {
12
13
  }
13
14
  EventsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
- EventsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: EventsModule, declarations: [EventsOutsideAngularDirective], exports: [EventsOutsideAngularDirective] });
15
+ EventsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: EventsModule, imports: [EventsOutsideAngularDirective], exports: [EventsOutsideAngularDirective] });
15
16
  EventsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsModule });
16
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EventsModule, decorators: [{
17
18
  type: NgModule,
18
19
  args: [{
19
- declarations: [EventsOutsideAngularDirective],
20
+ imports: [EventsOutsideAngularDirective],
20
21
  exports: [EventsOutsideAngularDirective]
21
22
  }]
22
23
  }] });
package/esm2020/index.mjs CHANGED
@@ -16,3 +16,5 @@ export * from './adornments';
16
16
  export { PreventableEvent } from './preventable-event';
17
17
  export { ScrollbarWidthService, scrollbarWidth } from './utils/scrollbar-width.service';
18
18
  export * from './toggle-button-tab-stop';
19
+ export * from './directives';
20
+ export * from './template-context';
@@ -58,7 +58,10 @@ export class ResizeBatchService {
58
58
  }
59
59
  }
60
60
  ResizeBatchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
61
- ResizeBatchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService });
61
+ ResizeBatchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService, providedIn: 'root' });
62
62
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeBatchService, decorators: [{
63
- type: Injectable
63
+ type: Injectable,
64
+ args: [{
65
+ providedIn: 'root'
66
+ }]
64
67
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
@@ -54,12 +54,13 @@ export class ResizeSensorComponent {
54
54
  }
55
55
  }
56
56
  ResizeSensorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorComponent, deps: [{ token: i1.ResizeBatchService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
57
- 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 });
57
+ 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 });
58
58
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorComponent, decorators: [{
59
59
  type: Component,
60
60
  args: [{
61
61
  selector: 'kendo-resize-sensor',
62
- template: ''
62
+ template: '',
63
+ standalone: true
63
64
  }]
64
65
  }], ctorParameters: function () { return [{ type: i1.ResizeBatchService }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { rateLimit: [{
65
66
  type: Input
@@ -6,20 +6,20 @@ import { NgModule } from '@angular/core';
6
6
  import { ResizeSensorComponent } from './resize-sensor.component';
7
7
  import { ResizeBatchService } from './resize-batch.service';
8
8
  import * as i0 from "@angular/core";
9
- const COMPONENT_DIRECTIVES = [ResizeSensorComponent];
10
9
  /**
11
- * Resize Sensor module
10
+ * @hidden
11
+ * IMPORTANT: NgModule export kept for backwards compatibility
12
12
  */
13
13
  export class ResizeSensorModule {
14
14
  }
15
15
  ResizeSensorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
16
- ResizeSensorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, declarations: [ResizeSensorComponent], exports: [ResizeSensorComponent] });
17
- ResizeSensorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, providers: [ResizeBatchService] });
16
+ ResizeSensorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, imports: [ResizeSensorComponent], exports: [ResizeSensorComponent] });
17
+ ResizeSensorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, providers: [ResizeBatchService], imports: [ResizeSensorComponent] });
18
18
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeSensorModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
- declarations: [COMPONENT_DIRECTIVES],
22
- exports: [COMPONENT_DIRECTIVES],
21
+ imports: [ResizeSensorComponent],
22
+ exports: [ResizeSensorComponent],
23
23
  providers: [ResizeBatchService]
24
24
  }]
25
25
  }] });
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export { TemplateContextDirective } from './template-context.directive';
@@ -0,0 +1,35 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, ViewContainerRef, Input } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * @hidden
9
+ */
10
+ export class TemplateContextDirective {
11
+ constructor(viewContainerRef) {
12
+ this.viewContainerRef = viewContainerRef;
13
+ }
14
+ set templateContext(context) {
15
+ if (this.insertedViewRef) {
16
+ this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
17
+ this.insertedViewRef = undefined;
18
+ }
19
+ if (context.templateRef) {
20
+ this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
21
+ }
22
+ }
23
+ }
24
+ TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
25
+ TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TemplateContextDirective, isStandalone: true, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, decorators: [{
27
+ type: Directive,
28
+ args: [{
29
+ // eslint-disable-next-line @angular-eslint/directive-selector
30
+ selector: '[templateContext]',
31
+ standalone: true
32
+ }]
33
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateContext: [{
34
+ type: Input
35
+ }] } });
@@ -200,11 +200,12 @@ export class ToggleButtonTabStopDirective {
200
200
  }
201
201
  }
202
202
  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: i1.MultiTabStop }], target: i0.ɵɵFactoryTarget.Directive });
203
- 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 });
203
+ 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 });
204
204
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopDirective, decorators: [{
205
205
  type: Directive,
206
206
  args: [{
207
- selector: '[kendoToggleButtonTabStop]'
207
+ selector: '[kendoToggleButtonTabStop]',
208
+ standalone: true
208
209
  }]
209
210
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.MultiTabStop }]; }, propDecorators: { active: [{
210
211
  type: Input,
@@ -5,16 +5,19 @@
5
5
  import { NgModule } from '@angular/core';
6
6
  import { ToggleButtonTabStopDirective } from './toggle-button-tab-stop.directive';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ * IMPORTANT: NgModule export kept for backwards compatibility
11
+ */
8
12
  export class ToggleButtonTabStopModule {
9
13
  }
10
14
  ToggleButtonTabStopModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- ToggleButtonTabStopModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, declarations: [ToggleButtonTabStopDirective], exports: [ToggleButtonTabStopDirective] });
15
+ ToggleButtonTabStopModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, imports: [ToggleButtonTabStopDirective], exports: [ToggleButtonTabStopDirective] });
12
16
  ToggleButtonTabStopModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule });
13
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToggleButtonTabStopModule, decorators: [{
14
18
  type: NgModule,
15
19
  args: [{
16
- imports: [],
17
- declarations: [ToggleButtonTabStopDirective],
20
+ imports: [ToggleButtonTabStopDirective],
18
21
  exports: [ToggleButtonTabStopDirective]
19
22
  }]
20
23
  }] });
@@ -5,8 +5,8 @@
5
5
  import { Component, ElementRef, HostBinding, ViewChild } from '@angular/core';
6
6
  import { watermarkStyles, bannerStyles, licenseKeyUrl, buttonStyles } from './utils';
7
7
  import { isDocumentAvailable } from '../utils';
8
+ import { NgIf, NgStyle } from '@angular/common';
8
9
  import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/common";
10
10
  let bannerPresentOnPage = false;
11
11
  /**
12
12
  * @hidden
@@ -44,7 +44,7 @@ export class WatermarkOverlayComponent {
44
44
  }
45
45
  }
46
46
  WatermarkOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
47
- 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: `
47
+ 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: `
48
48
  <div #banner *ngIf="isOpen && bannerMounted" [ngStyle]="bannerStyles">
49
49
  <span [ngStyle]="{ display: 'flex', alignSelf: 'center', marginRight: '8px' }">
50
50
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
@@ -70,7 +70,7 @@ WatermarkOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
70
70
  </button>
71
71
  </div>
72
72
  </div>
73
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
73
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
74
74
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkOverlayComponent, decorators: [{
75
75
  type: Component,
76
76
  args: [{
@@ -101,7 +101,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
101
101
  </button>
102
102
  </div>
103
103
  </div>
104
- `
104
+ `,
105
+ standalone: true,
106
+ imports: [NgIf, NgStyle]
105
107
  }]
106
108
  }], propDecorators: { watermarkStyle: [{
107
109
  type: HostBinding,
@@ -3,22 +3,21 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
6
  import { WatermarkOverlayComponent } from './watermark.component';
8
7
  import * as i0 from "@angular/core";
9
8
  /**
10
9
  * @hidden
10
+ * IMPORTANT: NgModule export kept for backwards compatibility
11
11
  */
12
12
  export class WatermarkModule {
13
13
  }
14
14
  WatermarkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
15
- WatermarkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, declarations: [WatermarkOverlayComponent], imports: [CommonModule], exports: [WatermarkOverlayComponent] });
16
- WatermarkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, imports: [CommonModule] });
15
+ WatermarkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, imports: [WatermarkOverlayComponent], exports: [WatermarkOverlayComponent] });
16
+ WatermarkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, imports: [WatermarkOverlayComponent] });
17
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WatermarkModule, decorators: [{
18
18
  type: NgModule,
19
19
  args: [{
20
- declarations: [WatermarkOverlayComponent],
21
20
  exports: [WatermarkOverlayComponent],
22
- imports: [CommonModule]
21
+ imports: [WatermarkOverlayComponent]
23
22
  }]
24
23
  }] });
@@ -18,5 +18,5 @@ export declare class EventsOutsideAngularDirective implements OnInit, OnDestroy
18
18
  ngOnInit(): void;
19
19
  ngOnDestroy(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<EventsOutsideAngularDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<EventsOutsideAngularDirective, "[kendoEventsOutsideAngular]", never, { "events": "kendoEventsOutsideAngular"; "scope": "scope"; }, {}, never, never, false, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EventsOutsideAngularDirective, "[kendoEventsOutsideAngular]", never, { "events": "kendoEventsOutsideAngular"; "scope": "scope"; }, {}, never, never, true, never>;
22
22
  }
@@ -6,9 +6,10 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "./events-outside-angular.directive";
7
7
  /**
8
8
  * @hidden
9
+ * IMPORTANT: NgModule export kept for backwards compatibility
9
10
  */
10
11
  export declare class EventsModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<EventsModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<EventsModule, [typeof i1.EventsOutsideAngularDirective], never, [typeof i1.EventsOutsideAngularDirective]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EventsModule, never, [typeof i1.EventsOutsideAngularDirective], [typeof i1.EventsOutsideAngularDirective]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<EventsModule>;
14
15
  }