@progress/kendo-angular-pdf-export 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.
@@ -0,0 +1,11 @@
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 { PDFExportMarginComponent } from "./pdf-export-margin.component";
6
+ import { PDFExportTemplateDirective } from "./pdf-export-template.directive";
7
+ import { PDFExportComponent } from "./pdf-export.component";
8
+ /**
9
+ * Utility array that contains all `PDFExport` related components and directives
10
+ */
11
+ export declare const KENDO_PDFEXPORT: readonly [typeof PDFExportComponent, typeof PDFExportMarginComponent, typeof PDFExportTemplateDirective];
@@ -0,0 +1,15 @@
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 { PDFExportMarginComponent } from "./pdf-export-margin.component";
6
+ import { PDFExportTemplateDirective } from "./pdf-export-template.directive";
7
+ import { PDFExportComponent } from "./pdf-export.component";
8
+ /**
9
+ * Utility array that contains all `PDFExport` related components and directives
10
+ */
11
+ export const KENDO_PDFEXPORT = [
12
+ PDFExportComponent,
13
+ PDFExportMarginComponent,
14
+ PDFExportTemplateDirective
15
+ ];
package/esm2020/index.mjs CHANGED
@@ -7,3 +7,4 @@ export { PDFExportModule } from './pdf-export.module';
7
7
  export { PDFExportMarginComponent } from './pdf-export-margin.component';
8
8
  export { PDFExportTemplateDirective } from './pdf-export-template.directive';
9
9
  export { compileTemplate } from './compile-template';
10
+ export * from './directives';
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-pdf-export',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721814050,
13
- version: '16.5.0',
12
+ publishDate: 1721846960,
13
+ version: '16.6.0-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -25,12 +25,13 @@ export class PDFExportMarginComponent {
25
25
  }
26
26
  }
27
27
  PDFExportMarginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportMarginComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
- PDFExportMarginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportMarginComponent, selector: "kendo-pdf-export-margin", inputs: { left: "left", top: "top", right: "right", bottom: "bottom" }, ngImport: i0, template: ``, isInline: true });
28
+ PDFExportMarginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportMarginComponent, isStandalone: true, selector: "kendo-pdf-export-margin", inputs: { left: "left", top: "top", right: "right", bottom: "bottom" }, ngImport: i0, template: ``, isInline: true });
29
29
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportMarginComponent, decorators: [{
30
30
  type: Component,
31
31
  args: [{
32
32
  selector: 'kendo-pdf-export-margin',
33
- template: ``
33
+ template: ``,
34
+ standalone: true
34
35
  }]
35
36
  }], propDecorators: { left: [{
36
37
  type: Input
@@ -10,11 +10,12 @@ export class PDFExportTemplateDirective {
10
10
  }
11
11
  }
12
12
  PDFExportTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
13
- PDFExportTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportTemplateDirective, selector: "[kendoPDFTemplate]", ngImport: i0 });
13
+ PDFExportTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportTemplateDirective, isStandalone: true, selector: "[kendoPDFTemplate]", ngImport: i0 });
14
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportTemplateDirective, decorators: [{
15
15
  type: Directive,
16
16
  args: [{
17
- selector: '[kendoPDFTemplate]'
17
+ selector: '[kendoPDFTemplate]',
18
+ standalone: true
18
19
  }]
19
20
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
20
21
  type: Optional
@@ -141,12 +141,13 @@ export class PDFExportComponent {
141
141
  }
142
142
  }
143
143
  PDFExportComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
144
- PDFExportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportComponent, selector: "kendo-pdf-export", inputs: { autoPrint: "autoPrint", author: "author", avoidLinks: "avoidLinks", forcePageBreak: "forcePageBreak", keepTogether: "keepTogether", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", landscape: "landscape", margin: "margin", paperSize: "paperSize", repeatHeaders: "repeatHeaders", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, queries: [{ propertyName: "pageTemplateDirective", first: true, predicate: PDFExportTemplateDirective, descendants: true }, { propertyName: "marginComponent", first: true, predicate: PDFExportMarginComponent, descendants: true }], ngImport: i0, template: `<div><ng-content></ng-content></div>`, isInline: true });
144
+ PDFExportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportComponent, isStandalone: true, selector: "kendo-pdf-export", inputs: { autoPrint: "autoPrint", author: "author", avoidLinks: "avoidLinks", forcePageBreak: "forcePageBreak", keepTogether: "keepTogether", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", landscape: "landscape", margin: "margin", paperSize: "paperSize", repeatHeaders: "repeatHeaders", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, queries: [{ propertyName: "pageTemplateDirective", first: true, predicate: PDFExportTemplateDirective, descendants: true }, { propertyName: "marginComponent", first: true, predicate: PDFExportMarginComponent, descendants: true }], ngImport: i0, template: `<div><ng-content></ng-content></div>`, isInline: true });
145
145
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportComponent, decorators: [{
146
146
  type: Component,
147
147
  args: [{
148
148
  selector: 'kendo-pdf-export',
149
- template: `<div><ng-content></ng-content></div>`
149
+ template: `<div><ng-content></ng-content></div>`,
150
+ standalone: true
150
151
  }]
151
152
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { autoPrint: [{
152
153
  type: Input
@@ -3,31 +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 { PDFExportComponent } from './pdf-export.component';
7
- import { PDFExportMarginComponent } from './pdf-export-margin.component';
8
- import { PDFExportTemplateDirective } from './pdf-export-template.directive';
6
+ import { KENDO_PDFEXPORT } from './directives';
9
7
  import * as i0 from "@angular/core";
10
- const COMPONENT_DIRECTIVES = [
11
- PDFExportComponent,
12
- PDFExportMarginComponent,
13
- PDFExportTemplateDirective
14
- ];
8
+ import * as i1 from "./pdf-export.component";
9
+ import * as i2 from "./pdf-export-margin.component";
10
+ import * as i3 from "./pdf-export-template.directive";
11
+ // IMPORTANT: NgModule export kept for backwards compatibility
15
12
  /**
16
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the PDF Export directive.
17
14
  */
18
15
  export class PDFExportModule {
19
16
  }
20
17
  PDFExportModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
- PDFExportModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, declarations: [PDFExportComponent,
22
- PDFExportMarginComponent,
23
- PDFExportTemplateDirective], exports: [PDFExportComponent,
24
- PDFExportMarginComponent,
25
- PDFExportTemplateDirective] });
26
- PDFExportModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule });
18
+ PDFExportModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, imports: [i1.PDFExportComponent, i2.PDFExportMarginComponent, i3.PDFExportTemplateDirective], exports: [i1.PDFExportComponent, i2.PDFExportMarginComponent, i3.PDFExportTemplateDirective] });
19
+ PDFExportModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, imports: [i1.PDFExportComponent, i2.PDFExportMarginComponent] });
27
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, decorators: [{
28
21
  type: NgModule,
29
22
  args: [{
30
- declarations: [COMPONENT_DIRECTIVES],
31
- exports: [COMPONENT_DIRECTIVES]
23
+ imports: [...KENDO_PDFEXPORT],
24
+ exports: [...KENDO_PDFEXPORT]
32
25
  }]
33
26
  }] });
@@ -15,8 +15,8 @@ const packageMetadata = {
15
15
  name: '@progress/kendo-angular-pdf-export',
16
16
  productName: 'Kendo UI for Angular',
17
17
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
18
- publishDate: 1721814050,
19
- version: '16.5.0',
18
+ publishDate: 1721846960,
19
+ version: '16.6.0-develop.2',
20
20
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
21
21
  };
22
22
 
@@ -26,11 +26,12 @@ class PDFExportTemplateDirective {
26
26
  }
27
27
  }
28
28
  PDFExportTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
29
- PDFExportTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportTemplateDirective, selector: "[kendoPDFTemplate]", ngImport: i0 });
29
+ PDFExportTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportTemplateDirective, isStandalone: true, selector: "[kendoPDFTemplate]", ngImport: i0 });
30
30
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportTemplateDirective, decorators: [{
31
31
  type: Directive,
32
32
  args: [{
33
- selector: '[kendoPDFTemplate]'
33
+ selector: '[kendoPDFTemplate]',
34
+ standalone: true
34
35
  }]
35
36
  }], ctorParameters: function () {
36
37
  return [{ type: i0.TemplateRef, decorators: [{
@@ -59,12 +60,13 @@ class PDFExportMarginComponent {
59
60
  }
60
61
  }
61
62
  PDFExportMarginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportMarginComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
62
- PDFExportMarginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportMarginComponent, selector: "kendo-pdf-export-margin", inputs: { left: "left", top: "top", right: "right", bottom: "bottom" }, ngImport: i0, template: ``, isInline: true });
63
+ PDFExportMarginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportMarginComponent, isStandalone: true, selector: "kendo-pdf-export-margin", inputs: { left: "left", top: "top", right: "right", bottom: "bottom" }, ngImport: i0, template: ``, isInline: true });
63
64
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportMarginComponent, decorators: [{
64
65
  type: Component,
65
66
  args: [{
66
67
  selector: 'kendo-pdf-export-margin',
67
- template: ``
68
+ template: ``,
69
+ standalone: true
68
70
  }]
69
71
  }], propDecorators: { left: [{
70
72
  type: Input
@@ -228,12 +230,13 @@ class PDFExportComponent {
228
230
  }
229
231
  }
230
232
  PDFExportComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
231
- PDFExportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportComponent, selector: "kendo-pdf-export", inputs: { autoPrint: "autoPrint", author: "author", avoidLinks: "avoidLinks", forcePageBreak: "forcePageBreak", keepTogether: "keepTogether", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", landscape: "landscape", margin: "margin", paperSize: "paperSize", repeatHeaders: "repeatHeaders", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, queries: [{ propertyName: "pageTemplateDirective", first: true, predicate: PDFExportTemplateDirective, descendants: true }, { propertyName: "marginComponent", first: true, predicate: PDFExportMarginComponent, descendants: true }], ngImport: i0, template: `<div><ng-content></ng-content></div>`, isInline: true });
233
+ PDFExportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportComponent, isStandalone: true, selector: "kendo-pdf-export", inputs: { autoPrint: "autoPrint", author: "author", avoidLinks: "avoidLinks", forcePageBreak: "forcePageBreak", keepTogether: "keepTogether", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", landscape: "landscape", margin: "margin", paperSize: "paperSize", repeatHeaders: "repeatHeaders", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, queries: [{ propertyName: "pageTemplateDirective", first: true, predicate: PDFExportTemplateDirective, descendants: true }, { propertyName: "marginComponent", first: true, predicate: PDFExportMarginComponent, descendants: true }], ngImport: i0, template: `<div><ng-content></ng-content></div>`, isInline: true });
232
234
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportComponent, decorators: [{
233
235
  type: Component,
234
236
  args: [{
235
237
  selector: 'kendo-pdf-export',
236
- template: `<div><ng-content></ng-content></div>`
238
+ template: `<div><ng-content></ng-content></div>`,
239
+ standalone: true
237
240
  }]
238
241
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { autoPrint: [{
239
242
  type: Input
@@ -287,28 +290,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
287
290
  args: [PDFExportMarginComponent, { static: false }]
288
291
  }] } });
289
292
 
290
- const COMPONENT_DIRECTIVES = [
293
+ /**
294
+ * Utility array that contains all `PDFExport` related components and directives
295
+ */
296
+ const KENDO_PDFEXPORT = [
291
297
  PDFExportComponent,
292
298
  PDFExportMarginComponent,
293
299
  PDFExportTemplateDirective
294
300
  ];
301
+
302
+ // IMPORTANT: NgModule export kept for backwards compatibility
295
303
  /**
296
304
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the PDF Export directive.
297
305
  */
298
306
  class PDFExportModule {
299
307
  }
300
308
  PDFExportModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
301
- PDFExportModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, declarations: [PDFExportComponent,
302
- PDFExportMarginComponent,
303
- PDFExportTemplateDirective], exports: [PDFExportComponent,
304
- PDFExportMarginComponent,
305
- PDFExportTemplateDirective] });
306
- PDFExportModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule });
309
+ PDFExportModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, imports: [PDFExportComponent, PDFExportMarginComponent, PDFExportTemplateDirective], exports: [PDFExportComponent, PDFExportMarginComponent, PDFExportTemplateDirective] });
310
+ PDFExportModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, imports: [PDFExportComponent, PDFExportMarginComponent] });
307
311
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, decorators: [{
308
312
  type: NgModule,
309
313
  args: [{
310
- declarations: [COMPONENT_DIRECTIVES],
311
- exports: [COMPONENT_DIRECTIVES]
314
+ imports: [...KENDO_PDFEXPORT],
315
+ exports: [...KENDO_PDFEXPORT]
312
316
  }]
313
317
  }] });
314
318
 
@@ -316,5 +320,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
316
320
  * Generated bundle index. Do not edit.
317
321
  */
318
322
 
319
- export { PDFExportComponent, PDFExportMarginComponent, PDFExportModule, PDFExportTemplateDirective, compileTemplate };
323
+ export { KENDO_PDFEXPORT, PDFExportComponent, PDFExportMarginComponent, PDFExportModule, PDFExportTemplateDirective, compileTemplate };
320
324
 
@@ -15,8 +15,8 @@ const packageMetadata = {
15
15
  name: '@progress/kendo-angular-pdf-export',
16
16
  productName: 'Kendo UI for Angular',
17
17
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
18
- publishDate: 1721814050,
19
- version: '16.5.0',
18
+ publishDate: 1721846960,
19
+ version: '16.6.0-develop.2',
20
20
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
21
21
  };
22
22
 
@@ -26,11 +26,12 @@ class PDFExportTemplateDirective {
26
26
  }
27
27
  }
28
28
  PDFExportTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
29
- PDFExportTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportTemplateDirective, selector: "[kendoPDFTemplate]", ngImport: i0 });
29
+ PDFExportTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportTemplateDirective, isStandalone: true, selector: "[kendoPDFTemplate]", ngImport: i0 });
30
30
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportTemplateDirective, decorators: [{
31
31
  type: Directive,
32
32
  args: [{
33
- selector: '[kendoPDFTemplate]'
33
+ selector: '[kendoPDFTemplate]',
34
+ standalone: true
34
35
  }]
35
36
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
36
37
  type: Optional
@@ -57,12 +58,13 @@ class PDFExportMarginComponent {
57
58
  }
58
59
  }
59
60
  PDFExportMarginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportMarginComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
60
- PDFExportMarginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportMarginComponent, selector: "kendo-pdf-export-margin", inputs: { left: "left", top: "top", right: "right", bottom: "bottom" }, ngImport: i0, template: ``, isInline: true });
61
+ PDFExportMarginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportMarginComponent, isStandalone: true, selector: "kendo-pdf-export-margin", inputs: { left: "left", top: "top", right: "right", bottom: "bottom" }, ngImport: i0, template: ``, isInline: true });
61
62
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportMarginComponent, decorators: [{
62
63
  type: Component,
63
64
  args: [{
64
65
  selector: 'kendo-pdf-export-margin',
65
- template: ``
66
+ template: ``,
67
+ standalone: true
66
68
  }]
67
69
  }], propDecorators: { left: [{
68
70
  type: Input
@@ -226,12 +228,13 @@ class PDFExportComponent {
226
228
  }
227
229
  }
228
230
  PDFExportComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
229
- PDFExportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportComponent, selector: "kendo-pdf-export", inputs: { autoPrint: "autoPrint", author: "author", avoidLinks: "avoidLinks", forcePageBreak: "forcePageBreak", keepTogether: "keepTogether", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", landscape: "landscape", margin: "margin", paperSize: "paperSize", repeatHeaders: "repeatHeaders", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, queries: [{ propertyName: "pageTemplateDirective", first: true, predicate: PDFExportTemplateDirective, descendants: true }, { propertyName: "marginComponent", first: true, predicate: PDFExportMarginComponent, descendants: true }], ngImport: i0, template: `<div><ng-content></ng-content></div>`, isInline: true });
231
+ PDFExportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFExportComponent, isStandalone: true, selector: "kendo-pdf-export", inputs: { autoPrint: "autoPrint", author: "author", avoidLinks: "avoidLinks", forcePageBreak: "forcePageBreak", keepTogether: "keepTogether", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", landscape: "landscape", margin: "margin", paperSize: "paperSize", repeatHeaders: "repeatHeaders", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, queries: [{ propertyName: "pageTemplateDirective", first: true, predicate: PDFExportTemplateDirective, descendants: true }, { propertyName: "marginComponent", first: true, predicate: PDFExportMarginComponent, descendants: true }], ngImport: i0, template: `<div><ng-content></ng-content></div>`, isInline: true });
230
232
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportComponent, decorators: [{
231
233
  type: Component,
232
234
  args: [{
233
235
  selector: 'kendo-pdf-export',
234
- template: `<div><ng-content></ng-content></div>`
236
+ template: `<div><ng-content></ng-content></div>`,
237
+ standalone: true
235
238
  }]
236
239
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { autoPrint: [{
237
240
  type: Input
@@ -285,28 +288,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
285
288
  args: [PDFExportMarginComponent, { static: false }]
286
289
  }] } });
287
290
 
288
- const COMPONENT_DIRECTIVES = [
291
+ /**
292
+ * Utility array that contains all `PDFExport` related components and directives
293
+ */
294
+ const KENDO_PDFEXPORT = [
289
295
  PDFExportComponent,
290
296
  PDFExportMarginComponent,
291
297
  PDFExportTemplateDirective
292
298
  ];
299
+
300
+ // IMPORTANT: NgModule export kept for backwards compatibility
293
301
  /**
294
302
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the PDF Export directive.
295
303
  */
296
304
  class PDFExportModule {
297
305
  }
298
306
  PDFExportModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
299
- PDFExportModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, declarations: [PDFExportComponent,
300
- PDFExportMarginComponent,
301
- PDFExportTemplateDirective], exports: [PDFExportComponent,
302
- PDFExportMarginComponent,
303
- PDFExportTemplateDirective] });
304
- PDFExportModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule });
307
+ PDFExportModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, imports: [PDFExportComponent, PDFExportMarginComponent, PDFExportTemplateDirective], exports: [PDFExportComponent, PDFExportMarginComponent, PDFExportTemplateDirective] });
308
+ PDFExportModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, imports: [PDFExportComponent, PDFExportMarginComponent] });
305
309
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFExportModule, decorators: [{
306
310
  type: NgModule,
307
311
  args: [{
308
- declarations: [COMPONENT_DIRECTIVES],
309
- exports: [COMPONENT_DIRECTIVES]
312
+ imports: [...KENDO_PDFEXPORT],
313
+ exports: [...KENDO_PDFEXPORT]
310
314
  }]
311
315
  }] });
312
316
 
@@ -314,5 +318,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
314
318
  * Generated bundle index. Do not edit.
315
319
  */
316
320
 
317
- export { PDFExportComponent, PDFExportMarginComponent, PDFExportModule, PDFExportTemplateDirective, compileTemplate };
321
+ export { KENDO_PDFEXPORT, PDFExportComponent, PDFExportMarginComponent, PDFExportModule, PDFExportTemplateDirective, compileTemplate };
318
322
 
package/index.d.ts CHANGED
@@ -7,3 +7,4 @@ export { PDFExportModule } from './pdf-export.module';
7
7
  export { PDFExportMarginComponent } from './pdf-export-margin.component';
8
8
  export { PDFExportTemplateDirective } from './pdf-export-template.directive';
9
9
  export { compileTemplate } from './compile-template';
10
+ export * from './directives';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-pdf-export",
3
- "version": "16.5.0",
3
+ "version": "16.6.0-develop.2",
4
4
  "description": "Kendo UI for Angular PDF Export Component",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -22,12 +22,12 @@
22
22
  "@angular/platform-browser": "15 - 18",
23
23
  "@progress/kendo-drawing": "^1.19.0",
24
24
  "@progress/kendo-licensing": "^1.0.2",
25
- "@progress/kendo-angular-common": "16.5.0",
25
+ "@progress/kendo-angular-common": "16.6.0-develop.2",
26
26
  "rxjs": "^6.5.3 || ^7.0.0"
27
27
  },
28
28
  "dependencies": {
29
29
  "tslib": "^2.3.1",
30
- "@progress/kendo-angular-schematics": "16.5.0",
30
+ "@progress/kendo-angular-schematics": "16.6.0-develop.2",
31
31
  "@progress/kendo-file-saver": "^1.0.1"
32
32
  },
33
33
  "schematics": "./schematics/collection.json",
@@ -33,5 +33,5 @@ export declare class PDFExportMarginComponent implements pdf.PageMargin {
33
33
  */
34
34
  get options(): any;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<PDFExportMarginComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<PDFExportMarginComponent, "kendo-pdf-export-margin", never, { "left": "left"; "top": "top"; "right": "right"; "bottom": "bottom"; }, {}, never, never, false, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<PDFExportMarginComponent, "kendo-pdf-export-margin", never, { "left": "left"; "top": "top"; "right": "right"; "bottom": "bottom"; }, {}, never, never, true, never>;
37
37
  }
@@ -8,5 +8,5 @@ export declare class PDFExportTemplateDirective {
8
8
  templateRef: TemplateRef<any>;
9
9
  constructor(templateRef: TemplateRef<any>);
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PDFExportTemplateDirective, [{ optional: true; }]>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<PDFExportTemplateDirective, "[kendoPDFTemplate]", never, {}, {}, never, never, false, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PDFExportTemplateDirective, "[kendoPDFTemplate]", never, {}, {}, never, never, true, never>;
12
12
  }
@@ -201,5 +201,5 @@ export declare class PDFExportComponent implements pdf.PDFOptions {
201
201
  protected exportGroup(group: Group, options: pdf.PDFOptions): Promise<string>;
202
202
  private saveDataUri;
203
203
  static ɵfac: i0.ɵɵFactoryDeclaration<PDFExportComponent, never>;
204
- static ɵcmp: i0.ɵɵComponentDeclaration<PDFExportComponent, "kendo-pdf-export", never, { "autoPrint": "autoPrint"; "author": "author"; "avoidLinks": "avoidLinks"; "forcePageBreak": "forcePageBreak"; "keepTogether": "keepTogether"; "creator": "creator"; "date": "date"; "imageResolution": "imageResolution"; "fileName": "fileName"; "forceProxy": "forceProxy"; "keywords": "keywords"; "landscape": "landscape"; "margin": "margin"; "paperSize": "paperSize"; "repeatHeaders": "repeatHeaders"; "scale": "scale"; "proxyData": "proxyData"; "proxyURL": "proxyURL"; "proxyTarget": "proxyTarget"; "producer": "producer"; "subject": "subject"; "title": "title"; }, {}, ["pageTemplateDirective", "marginComponent"], ["*"], false, never>;
204
+ static ɵcmp: i0.ɵɵComponentDeclaration<PDFExportComponent, "kendo-pdf-export", never, { "autoPrint": "autoPrint"; "author": "author"; "avoidLinks": "avoidLinks"; "forcePageBreak": "forcePageBreak"; "keepTogether": "keepTogether"; "creator": "creator"; "date": "date"; "imageResolution": "imageResolution"; "fileName": "fileName"; "forceProxy": "forceProxy"; "keywords": "keywords"; "landscape": "landscape"; "margin": "margin"; "paperSize": "paperSize"; "repeatHeaders": "repeatHeaders"; "scale": "scale"; "proxyData": "proxyData"; "proxyURL": "proxyURL"; "proxyTarget": "proxyTarget"; "producer": "producer"; "subject": "subject"; "title": "title"; }, {}, ["pageTemplateDirective", "marginComponent"], ["*"], true, never>;
205
205
  }
@@ -11,6 +11,6 @@ import * as i3 from "./pdf-export-template.directive";
11
11
  */
12
12
  export declare class PDFExportModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PDFExportModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<PDFExportModule, [typeof i1.PDFExportComponent, typeof i2.PDFExportMarginComponent, typeof i3.PDFExportTemplateDirective], never, [typeof i1.PDFExportComponent, typeof i2.PDFExportMarginComponent, typeof i3.PDFExportTemplateDirective]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PDFExportModule, never, [typeof i1.PDFExportComponent, typeof i2.PDFExportMarginComponent, typeof i3.PDFExportTemplateDirective], [typeof i1.PDFExportComponent, typeof i2.PDFExportMarginComponent, typeof i3.PDFExportTemplateDirective]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<PDFExportModule>;
16
16
  }