@progress/kendo-angular-pdf-export 12.0.0 → 12.0.1-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.
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pdf-export.component.mjs +1 -1
- package/fesm2015/progress-kendo-angular-pdf-export.mjs +3 -3
- package/fesm2020/progress-kendo-angular-pdf-export.mjs +3 -3
- package/package.json +7 -7
- package/pdf-export-margin.component.d.ts +8 -36
- package/pdf-export.component.d.ts +10 -24
|
@@ -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:
|
|
13
|
-
version: '12.0.
|
|
12
|
+
publishDate: 1683097752,
|
|
13
|
+
version: '12.0.1-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -44,7 +44,7 @@ export class PDFExportComponent {
|
|
|
44
44
|
this.creator = 'Kendo UI PDF Generator';
|
|
45
45
|
/**
|
|
46
46
|
* Specifies the name of the exported PDF file.
|
|
47
|
-
* @default "
|
|
47
|
+
* @default "export.pdf"
|
|
48
48
|
*/
|
|
49
49
|
this.fileName = 'export.pdf';
|
|
50
50
|
validatePackage(packageMetadata);
|
|
@@ -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:
|
|
19
|
-
version: '12.0.
|
|
18
|
+
publishDate: 1683097752,
|
|
19
|
+
version: '12.0.1-develop.2',
|
|
20
20
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -131,7 +131,7 @@ class PDFExportComponent {
|
|
|
131
131
|
this.creator = 'Kendo UI PDF Generator';
|
|
132
132
|
/**
|
|
133
133
|
* Specifies the name of the exported PDF file.
|
|
134
|
-
* @default "
|
|
134
|
+
* @default "export.pdf"
|
|
135
135
|
*/
|
|
136
136
|
this.fileName = 'export.pdf';
|
|
137
137
|
validatePackage(packageMetadata);
|
|
@@ -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:
|
|
19
|
-
version: '12.0.
|
|
18
|
+
publishDate: 1683097752,
|
|
19
|
+
version: '12.0.1-develop.2',
|
|
20
20
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -129,7 +129,7 @@ class PDFExportComponent {
|
|
|
129
129
|
this.creator = 'Kendo UI PDF Generator';
|
|
130
130
|
/**
|
|
131
131
|
* Specifies the name of the exported PDF file.
|
|
132
|
-
* @default "
|
|
132
|
+
* @default "export.pdf"
|
|
133
133
|
*/
|
|
134
134
|
this.fileName = 'export.pdf';
|
|
135
135
|
validatePackage(packageMetadata);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pdf-export",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.1-develop.2",
|
|
4
4
|
"description": "Kendo UI for Angular PDF Export Component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"friendlyName": "PDFExport"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/animations": "13 -
|
|
20
|
-
"@angular/common": "13 -
|
|
21
|
-
"@angular/core": "13 -
|
|
22
|
-
"@angular/platform-browser": "13 -
|
|
19
|
+
"@angular/animations": "13 - 16",
|
|
20
|
+
"@angular/common": "13 - 16",
|
|
21
|
+
"@angular/core": "13 - 16",
|
|
22
|
+
"@angular/platform-browser": "13 - 16",
|
|
23
23
|
"@progress/kendo-drawing": "^1.17.2",
|
|
24
24
|
"@progress/kendo-licensing": "^1.0.2",
|
|
25
|
-
"@progress/kendo-angular-common": "12.0.
|
|
25
|
+
"@progress/kendo-angular-common": "12.0.1-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": "12.0.
|
|
30
|
+
"@progress/kendo-angular-schematics": "12.0.1-develop.2",
|
|
31
31
|
"@progress/kendo-file-saver": "^1.0.1"
|
|
32
32
|
},
|
|
33
33
|
"schematics": "./schematics/collection.json",
|
|
@@ -9,51 +9,23 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class PDFExportMarginComponent implements pdf.PageMargin {
|
|
11
11
|
/**
|
|
12
|
-
* The bottom margin.
|
|
13
|
-
*
|
|
14
|
-
* The supported units are:
|
|
15
|
-
* * `"mm"`
|
|
16
|
-
* * `"cm"`
|
|
17
|
-
* * `"in"`
|
|
18
|
-
* * `"pt"` (default).
|
|
19
|
-
*
|
|
20
|
-
* > Numbers are considered to be points (`"pt"`).
|
|
12
|
+
* The bottom margin. The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"` (default).
|
|
13
|
+
* Numbers are considered to be points (`"pt"`).
|
|
21
14
|
*/
|
|
22
15
|
left?: number | string;
|
|
23
16
|
/**
|
|
24
|
-
* The top margin.
|
|
25
|
-
*
|
|
26
|
-
* The supported units are:
|
|
27
|
-
* * `"mm"`
|
|
28
|
-
* * `"cm"`
|
|
29
|
-
* * `"in"`
|
|
30
|
-
* * `"pt"` (default).
|
|
31
|
-
*
|
|
32
|
-
* > Numbers are considered to be points (`"pt"`).
|
|
17
|
+
* The top margin. The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"` (default).
|
|
18
|
+
* Numbers are considered to be points (`"pt"`).
|
|
33
19
|
*/
|
|
34
20
|
top?: number | string;
|
|
35
21
|
/**
|
|
36
|
-
* The right margin.
|
|
37
|
-
*
|
|
38
|
-
* The supported units are:
|
|
39
|
-
* * `"mm"`
|
|
40
|
-
* * `"cm"`
|
|
41
|
-
* * `"in"`
|
|
42
|
-
* * `"pt"` (default).
|
|
43
|
-
*
|
|
44
|
-
* > Numbers are considered to be points (`"pt"`).
|
|
22
|
+
* The right margin. The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"` (default).
|
|
23
|
+
* Numbers are considered to be points (`"pt"`).
|
|
45
24
|
*/
|
|
46
25
|
right?: number | string;
|
|
47
26
|
/**
|
|
48
|
-
* The bottom margin.
|
|
49
|
-
*
|
|
50
|
-
* The supported units are:
|
|
51
|
-
* * `"mm"`
|
|
52
|
-
* * `"cm"`
|
|
53
|
-
* * `"in"`
|
|
54
|
-
* * `"pt"` (default).
|
|
55
|
-
*
|
|
56
|
-
* > Numbers are considered to be points (`"pt"`).
|
|
27
|
+
* The bottom margin. The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"` (default).
|
|
28
|
+
* Numbers are considered to be points (`"pt"`).
|
|
57
29
|
*/
|
|
58
30
|
bottom?: number | string;
|
|
59
31
|
/**
|
|
@@ -44,10 +44,8 @@ export declare class PDFExportComponent implements pdf.PDFOptions {
|
|
|
44
44
|
protected element: ElementRef;
|
|
45
45
|
/**
|
|
46
46
|
* Specifies if the Print dialog should be opened immediately after loading the document.
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* > Requires `@progress/kendo-drawing` v1.9.0 or later.
|
|
47
|
+
* Requires `@progress/kendo-drawing` v1.9.0 or later.
|
|
48
|
+
* @default false
|
|
51
49
|
*/
|
|
52
50
|
autoPrint?: boolean;
|
|
53
51
|
/**
|
|
@@ -86,7 +84,7 @@ export declare class PDFExportComponent implements pdf.PDFOptions {
|
|
|
86
84
|
imageResolution: number;
|
|
87
85
|
/**
|
|
88
86
|
* Specifies the name of the exported PDF file.
|
|
89
|
-
* @default "
|
|
87
|
+
* @default "export.pdf"
|
|
90
88
|
*/
|
|
91
89
|
fileName: string;
|
|
92
90
|
/**
|
|
@@ -107,15 +105,7 @@ export declare class PDFExportComponent implements pdf.PDFOptions {
|
|
|
107
105
|
*/
|
|
108
106
|
landscape: boolean;
|
|
109
107
|
/**
|
|
110
|
-
* Specifies the margins of the page.
|
|
111
|
-
*
|
|
112
|
-
* > Numbers are treated as points (`"pt"`).
|
|
113
|
-
*
|
|
114
|
-
* The supported units are:
|
|
115
|
-
* * `"mm"`
|
|
116
|
-
* * `"cm"`
|
|
117
|
-
* * `"in"`
|
|
118
|
-
* * `"pt"` (default).
|
|
108
|
+
* Specifies the margins of the page. Numbers are treated as points (`"pt"`).
|
|
119
109
|
*
|
|
120
110
|
*/
|
|
121
111
|
margin: string | number | pdf.PageMargin;
|
|
@@ -126,10 +116,9 @@ export declare class PDFExportComponent implements pdf.PDFOptions {
|
|
|
126
116
|
* If `paperSize` is set, the content is split across multiple pages. This enables the `repeatHeaders` and
|
|
127
117
|
* `scale` options, and allows you to specify a template.
|
|
128
118
|
*
|
|
129
|
-
* The
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* * An array of two strings which specify the width and height in units. The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"`.
|
|
119
|
+
* The paper size can be a `PaperSize`, an array of two numbers which specify the width and height in points (1 pt = 1/72 in), or an
|
|
120
|
+
* array of two strings which specify the width and height in units. The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"`.
|
|
121
|
+
* @default 'auto'
|
|
133
122
|
*/
|
|
134
123
|
paperSize: PaperSize;
|
|
135
124
|
/**
|
|
@@ -154,15 +143,12 @@ export declare class PDFExportComponent implements pdf.PDFOptions {
|
|
|
154
143
|
};
|
|
155
144
|
/**
|
|
156
145
|
* The URL of the server-side proxy which streams the file to the end user. You need to use a proxy if
|
|
157
|
-
* the browser is not capable of saving files locally
|
|
146
|
+
* the browser is not capable of saving files locally.
|
|
158
147
|
* It is your responsibility to implement the server-side proxy. The proxy returns the decoded file with
|
|
159
148
|
* the `"Content-Disposition"` header set to `attachment; filename="<fileName.pdf>"`.
|
|
160
149
|
*
|
|
161
|
-
* In the request body, the proxy receives a POST request with the
|
|
162
|
-
* -
|
|
163
|
-
* - `"base64"`—The base-64 encoded file content.
|
|
164
|
-
* - `"fileName"`—The file name, as requested by the caller.
|
|
165
|
-
*
|
|
150
|
+
* In the request body, the proxy receives a POST request with the specific parameters.
|
|
151
|
+
* [See exmaple](slug:server_proxy#toc-implementations).
|
|
166
152
|
*/
|
|
167
153
|
proxyURL: string;
|
|
168
154
|
/**
|