ng2-pdfjs-viewer 5.0.7 → 13.2.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,53 @@
1
+ import { EventEmitter, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PdfJsViewerComponent {
4
+ iframe: ElementRef;
5
+ viewerId: string;
6
+ onBeforePrint: EventEmitter<any>;
7
+ onAfterPrint: EventEmitter<any>;
8
+ onDocumentLoad: EventEmitter<any>;
9
+ onPageChange: EventEmitter<any>;
10
+ viewerFolder: string;
11
+ externalWindow: boolean;
12
+ showSpinner: boolean;
13
+ downloadFileName: string;
14
+ openFile: boolean;
15
+ download: boolean;
16
+ startDownload: boolean;
17
+ viewBookmark: boolean;
18
+ print: boolean;
19
+ startPrint: boolean;
20
+ fullScreen: boolean;
21
+ find: boolean;
22
+ zoom: string;
23
+ nameddest: string;
24
+ pagemode: string;
25
+ lastPage: boolean;
26
+ rotatecw: boolean;
27
+ rotateccw: boolean;
28
+ cursor: string;
29
+ scroll: string;
30
+ spread: string;
31
+ locale: string;
32
+ useOnlyCssZoom: boolean;
33
+ errorOverride: boolean;
34
+ errorAppend: boolean;
35
+ errorMessage: string;
36
+ diagnosticLogs: boolean;
37
+ externalWindowOptions: string;
38
+ viewerTab: any;
39
+ private _src;
40
+ private _page;
41
+ set page(_page: number);
42
+ get page(): number;
43
+ set pdfSrc(_src: string | Blob | Uint8Array);
44
+ get pdfSrc(): string | Blob | Uint8Array;
45
+ get PDFViewerApplicationOptions(): any;
46
+ get PDFViewerApplication(): any;
47
+ receiveMessage(viewerEvent: any): void;
48
+ ngOnInit(): void;
49
+ refresh(): void;
50
+ private loadPdf;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdfJsViewerComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdfJsViewerComponent, "ng2-pdfjs-viewer", never, { "viewerId": "viewerId"; "viewerFolder": "viewerFolder"; "externalWindow": "externalWindow"; "showSpinner": "showSpinner"; "downloadFileName": "downloadFileName"; "openFile": "openFile"; "download": "download"; "startDownload": "startDownload"; "viewBookmark": "viewBookmark"; "print": "print"; "startPrint": "startPrint"; "fullScreen": "fullScreen"; "find": "find"; "zoom": "zoom"; "nameddest": "nameddest"; "pagemode": "pagemode"; "lastPage": "lastPage"; "rotatecw": "rotatecw"; "rotateccw": "rotateccw"; "cursor": "cursor"; "scroll": "scroll"; "spread": "spread"; "locale": "locale"; "useOnlyCssZoom": "useOnlyCssZoom"; "errorOverride": "errorOverride"; "errorAppend": "errorAppend"; "errorMessage": "errorMessage"; "diagnosticLogs": "diagnosticLogs"; "externalWindowOptions": "externalWindowOptions"; "page": "page"; "pdfSrc": "pdfSrc"; }, { "onBeforePrint": "onBeforePrint"; "onAfterPrint": "onAfterPrint"; "onDocumentLoad": "onDocumentLoad"; "onPageChange": "onPageChange"; }, never, never>;
53
+ }
package/index.js DELETED
@@ -1,435 +0,0 @@
1
- import { Component, EventEmitter, Input, NgModule, Output, ViewChild } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
-
4
- /**
5
- * @fileoverview added by tsickle
6
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7
- */
8
- var PdfJsViewerComponent = /** @class */ (function () {
9
- function PdfJsViewerComponent() {
10
- this.onBeforePrint = new EventEmitter();
11
- this.onAfterPrint = new EventEmitter();
12
- this.onDocumentLoad = new EventEmitter();
13
- this.onPageChange = new EventEmitter();
14
- this.externalWindow = false;
15
- this.showSpinner = true;
16
- this.openFile = true;
17
- this.download = true;
18
- this.viewBookmark = true;
19
- this.print = true;
20
- this.fullScreen = true;
21
- //@Input() public showFullScreen: boolean;
22
- this.find = true;
23
- this.useOnlyCssZoom = false;
24
- this.errorOverride = false;
25
- this.errorAppend = true;
26
- this.diagnosticLogs = true;
27
- }
28
- Object.defineProperty(PdfJsViewerComponent.prototype, "page", {
29
- get: /**
30
- * @return {?}
31
- */
32
- function () {
33
- if (this.PDFViewerApplication) {
34
- return this.PDFViewerApplication.page;
35
- }
36
- else {
37
- if (this.diagnosticLogs)
38
- console.warn("Document is not loaded yet!!!. Try to retrieve page# after full load.");
39
- }
40
- },
41
- set: /**
42
- * @param {?} _page
43
- * @return {?}
44
- */
45
- function (_page) {
46
- this._page = _page;
47
- if (this.PDFViewerApplication) {
48
- this.PDFViewerApplication.page = this._page;
49
- }
50
- else {
51
- if (this.diagnosticLogs)
52
- console.warn("Document is not loaded yet!!!. Try to set page# after full load. Ignore this warning if you are not setting page# using '.' notation. (E.g. pdfViewer.page = 5;)");
53
- }
54
- },
55
- enumerable: true,
56
- configurable: true
57
- });
58
- Object.defineProperty(PdfJsViewerComponent.prototype, "pdfSrc", {
59
- get: /**
60
- * @return {?}
61
- */
62
- function () {
63
- return this._src;
64
- },
65
- set: /**
66
- * @param {?} _src
67
- * @return {?}
68
- */
69
- function (_src) {
70
- this._src = _src;
71
- },
72
- enumerable: true,
73
- configurable: true
74
- });
75
- Object.defineProperty(PdfJsViewerComponent.prototype, "PDFViewerApplicationOptions", {
76
- get: /**
77
- * @return {?}
78
- */
79
- function () {
80
- /** @type {?} */
81
- var pdfViewerOptions = null;
82
- if (this.externalWindow) {
83
- if (this.viewerTab) {
84
- pdfViewerOptions = this.viewerTab.PDFViewerApplicationOptions;
85
- }
86
- }
87
- else {
88
- if (this.iframe.nativeElement.contentWindow) {
89
- pdfViewerOptions = this.iframe.nativeElement.contentWindow.PDFViewerApplicationOptions;
90
- }
91
- }
92
- return pdfViewerOptions;
93
- },
94
- enumerable: true,
95
- configurable: true
96
- });
97
- Object.defineProperty(PdfJsViewerComponent.prototype, "PDFViewerApplication", {
98
- get: /**
99
- * @return {?}
100
- */
101
- function () {
102
- /** @type {?} */
103
- var pdfViewer = null;
104
- if (this.externalWindow) {
105
- if (this.viewerTab) {
106
- pdfViewer = this.viewerTab.PDFViewerApplication;
107
- }
108
- }
109
- else {
110
- if (this.iframe.nativeElement.contentWindow) {
111
- pdfViewer = this.iframe.nativeElement.contentWindow.PDFViewerApplication;
112
- }
113
- }
114
- return pdfViewer;
115
- },
116
- enumerable: true,
117
- configurable: true
118
- });
119
- /**
120
- * @param {?} viewerEvent
121
- * @return {?}
122
- */
123
- PdfJsViewerComponent.prototype.receiveMessage = /**
124
- * @param {?} viewerEvent
125
- * @return {?}
126
- */
127
- function (viewerEvent) {
128
- if (viewerEvent.data && viewerEvent.data.viewerId && viewerEvent.data.event) {
129
- /** @type {?} */
130
- var viewerId = viewerEvent.data.viewerId;
131
- /** @type {?} */
132
- var event_1 = viewerEvent.data.event;
133
- /** @type {?} */
134
- var param = viewerEvent.data.param;
135
- if (this.viewerId == viewerId) {
136
- if (this.onBeforePrint && event_1 == "beforePrint") {
137
- this.onBeforePrint.emit();
138
- }
139
- else if (this.onAfterPrint && event_1 == "afterPrint") {
140
- this.onAfterPrint.emit();
141
- }
142
- else if (this.onDocumentLoad && event_1 == "pagesLoaded") {
143
- this.onDocumentLoad.emit(param);
144
- }
145
- else if (this.onPageChange && event_1 == "pageChange") {
146
- this.onPageChange.emit(param);
147
- }
148
- }
149
- }
150
- };
151
- /**
152
- * @return {?}
153
- */
154
- PdfJsViewerComponent.prototype.ngOnInit = /**
155
- * @return {?}
156
- */
157
- function () {
158
- window.addEventListener("message", this.receiveMessage.bind(this), false);
159
- if (!this.externalWindow) { // Load pdf for embedded views
160
- this.loadPdf();
161
- }
162
- };
163
- /**
164
- * @return {?}
165
- */
166
- PdfJsViewerComponent.prototype.refresh = /**
167
- * @return {?}
168
- */
169
- function () {
170
- this.loadPdf();
171
- };
172
- /**
173
- * @private
174
- * @return {?}
175
- */
176
- PdfJsViewerComponent.prototype.loadPdf = /**
177
- * @private
178
- * @return {?}
179
- */
180
- function () {
181
- if (!this._src) {
182
- return;
183
- }
184
- // console.log(`Tab is - ${this.viewerTab}`);
185
- // if (this.viewerTab) {
186
- // console.log(`Status of window - ${this.viewerTab.closed}`);
187
- // }
188
- if (this.externalWindow && (typeof this.viewerTab === 'undefined' || this.viewerTab.closed)) {
189
- this.viewerTab = window.open('', '_blank', this.externalWindowOptions || '');
190
- if (this.viewerTab == null) {
191
- if (this.diagnosticLogs)
192
- console.error("ng2-pdfjs-viewer: For 'externalWindow = true'. i.e opening in new tab to work, pop-ups should be enabled.");
193
- return;
194
- }
195
- if (this.showSpinner) {
196
- this.viewerTab.document.write("\n <style>\n .loader {\n position: fixed;\n left: 40%;\n top: 40%;\n border: 16px solid #f3f3f3;\n border-radius: 50%;\n border-top: 16px solid #3498db;\n width: 120px;\n height: 120px;\n animation: spin 2s linear infinite;\n }\n @keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n </style>\n <div class=\"loader\"></div>\n ");
197
- }
198
- }
199
- /** @type {?} */
200
- var fileUrl;
201
- //if (typeof this.src === "string") {
202
- // fileUrl = this.src;
203
- //}
204
- if (this._src instanceof Blob) {
205
- fileUrl = encodeURIComponent(URL.createObjectURL(this._src));
206
- }
207
- else if (this._src instanceof Uint8Array) {
208
- /** @type {?} */
209
- var blob = new Blob([this._src], { type: "application/pdf" });
210
- fileUrl = encodeURIComponent(URL.createObjectURL(blob));
211
- }
212
- else {
213
- fileUrl = this._src;
214
- }
215
- /** @type {?} */
216
- var viewerUrl;
217
- if (this.viewerFolder) {
218
- viewerUrl = this.viewerFolder + "/web/viewer.html";
219
- }
220
- else {
221
- viewerUrl = "assets/pdfjs/web/viewer.html";
222
- }
223
- viewerUrl += "?file=" + fileUrl;
224
- if (typeof this.viewerId !== 'undefined') {
225
- viewerUrl += "&viewerId=" + this.viewerId;
226
- }
227
- if (typeof this.onBeforePrint !== 'undefined') {
228
- viewerUrl += "&beforePrint=true";
229
- }
230
- if (typeof this.onAfterPrint !== 'undefined') {
231
- viewerUrl += "&afterPrint=true";
232
- }
233
- if (typeof this.onDocumentLoad !== 'undefined') {
234
- viewerUrl += "&pagesLoaded=true";
235
- }
236
- if (typeof this.onPageChange !== 'undefined') {
237
- viewerUrl += "&pageChange=true";
238
- }
239
- if (this.downloadFileName) {
240
- if (!this.downloadFileName.endsWith(".pdf")) {
241
- this.downloadFileName += ".pdf";
242
- }
243
- viewerUrl += "&fileName=" + this.downloadFileName;
244
- }
245
- if (typeof this.openFile !== 'undefined') {
246
- viewerUrl += "&openFile=" + this.openFile;
247
- }
248
- if (typeof this.download !== 'undefined') {
249
- viewerUrl += "&download=" + this.download;
250
- }
251
- if (this.startDownload) {
252
- viewerUrl += "&startDownload=" + this.startDownload;
253
- }
254
- if (typeof this.viewBookmark !== 'undefined') {
255
- viewerUrl += "&viewBookmark=" + this.viewBookmark;
256
- }
257
- if (typeof this.print !== 'undefined') {
258
- viewerUrl += "&print=" + this.print;
259
- }
260
- if (this.startPrint) {
261
- viewerUrl += "&startPrint=" + this.startPrint;
262
- }
263
- if (typeof this.fullScreen !== 'undefined') {
264
- viewerUrl += "&fullScreen=" + this.fullScreen;
265
- }
266
- // if (this.showFullScreen) {
267
- // viewerUrl += `&showFullScreen=${this.showFullScreen}`;
268
- // }
269
- if (typeof this.find !== 'undefined') {
270
- viewerUrl += "&find=" + this.find;
271
- }
272
- if (this.lastPage) {
273
- viewerUrl += "&lastpage=" + this.lastPage;
274
- }
275
- if (this.rotatecw) {
276
- viewerUrl += "&rotatecw=" + this.rotatecw;
277
- }
278
- if (this.rotateccw) {
279
- viewerUrl += "&rotateccw=" + this.rotateccw;
280
- }
281
- if (this.cursor) {
282
- viewerUrl += "&cursor=" + this.cursor;
283
- }
284
- if (this.scroll) {
285
- viewerUrl += "&scroll=" + this.scroll;
286
- }
287
- if (this.spread) {
288
- viewerUrl += "&spread=" + this.spread;
289
- }
290
- if (this.locale) {
291
- viewerUrl += "&locale=" + this.locale;
292
- }
293
- if (this.useOnlyCssZoom) {
294
- viewerUrl += "&useOnlyCssZoom=" + this.useOnlyCssZoom;
295
- }
296
- if (this._page || this.zoom || this.nameddest || this.pagemode)
297
- viewerUrl += "#";
298
- if (this._page) {
299
- viewerUrl += "&page=" + this._page;
300
- }
301
- if (this.zoom) {
302
- viewerUrl += "&zoom=" + this.zoom;
303
- }
304
- if (this.nameddest) {
305
- viewerUrl += "&nameddest=" + this.nameddest;
306
- }
307
- if (this.pagemode) {
308
- viewerUrl += "&pagemode=" + this.pagemode;
309
- }
310
- if (this.errorOverride || this.errorAppend) {
311
- viewerUrl += "&errorMessage=" + this.errorMessage;
312
- if (this.errorOverride) {
313
- viewerUrl += "&errorOverride=" + this.errorOverride;
314
- }
315
- if (this.errorAppend) {
316
- viewerUrl += "&errorAppend=" + this.errorAppend;
317
- }
318
- }
319
- if (this.externalWindow) {
320
- this.viewerTab.location.href = viewerUrl;
321
- }
322
- else {
323
- this.iframe.nativeElement.src = viewerUrl;
324
- }
325
- // console.log(`
326
- // pdfSrc = ${this.pdfSrc}
327
- // fileUrl = ${fileUrl}
328
- // externalWindow = ${this.externalWindow}
329
- // downloadFileName = ${this.downloadFileName}
330
- // viewerFolder = ${this.viewerFolder}
331
- // openFile = ${this.openFile}
332
- // download = ${this.download}
333
- // startDownload = ${this.startDownload}
334
- // viewBookmark = ${this.viewBookmark}
335
- // print = ${this.print}
336
- // startPrint = ${this.startPrint}
337
- // fullScreen = ${this.fullScreen}
338
- // find = ${this.find}
339
- // lastPage = ${this.lastPage}
340
- // rotatecw = ${this.rotatecw}
341
- // rotateccw = ${this.rotateccw}
342
- // cursor = ${this.cursor}
343
- // scrollMode = ${this.scroll}
344
- // spread = ${this.spread}
345
- // page = ${this.page}
346
- // zoom = ${this.zoom}
347
- // nameddest = ${this.nameddest}
348
- // pagemode = ${this.pagemode}
349
- // pagemode = ${this.errorOverride}
350
- // pagemode = ${this.errorAppend}
351
- // pagemode = ${this.errorMessage}
352
- // `);
353
- };
354
- PdfJsViewerComponent.decorators = [
355
- { type: Component, args: [{
356
- selector: 'ng2-pdfjs-viewer',
357
- template: "<iframe title=\"ng2-pdfjs-viewer\" [hidden]=\"externalWindow || (!externalWindow && !pdfSrc)\" #iframe width=\"100%\" height=\"100%\"></iframe>"
358
- },] },
359
- ];
360
- PdfJsViewerComponent.propDecorators = {
361
- iframe: [{ type: ViewChild, args: ['iframe', { static: true },] }],
362
- viewerId: [{ type: Input }],
363
- onBeforePrint: [{ type: Output }],
364
- onAfterPrint: [{ type: Output }],
365
- onDocumentLoad: [{ type: Output }],
366
- onPageChange: [{ type: Output }],
367
- viewerFolder: [{ type: Input }],
368
- externalWindow: [{ type: Input }],
369
- showSpinner: [{ type: Input }],
370
- downloadFileName: [{ type: Input }],
371
- openFile: [{ type: Input }],
372
- download: [{ type: Input }],
373
- startDownload: [{ type: Input }],
374
- viewBookmark: [{ type: Input }],
375
- print: [{ type: Input }],
376
- startPrint: [{ type: Input }],
377
- fullScreen: [{ type: Input }],
378
- find: [{ type: Input }],
379
- zoom: [{ type: Input }],
380
- nameddest: [{ type: Input }],
381
- pagemode: [{ type: Input }],
382
- lastPage: [{ type: Input }],
383
- rotatecw: [{ type: Input }],
384
- rotateccw: [{ type: Input }],
385
- cursor: [{ type: Input }],
386
- scroll: [{ type: Input }],
387
- spread: [{ type: Input }],
388
- locale: [{ type: Input }],
389
- useOnlyCssZoom: [{ type: Input }],
390
- errorOverride: [{ type: Input }],
391
- errorAppend: [{ type: Input }],
392
- errorMessage: [{ type: Input }],
393
- diagnosticLogs: [{ type: Input }],
394
- externalWindowOptions: [{ type: Input }],
395
- page: [{ type: Input }],
396
- pdfSrc: [{ type: Input }]
397
- };
398
- return PdfJsViewerComponent;
399
- }());
400
-
401
- /**
402
- * @fileoverview added by tsickle
403
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
404
- */
405
- var PdfJsViewerModule = /** @class */ (function () {
406
- function PdfJsViewerModule() {
407
- }
408
- /**
409
- * @return {?}
410
- */
411
- PdfJsViewerModule.forRoot = /**
412
- * @return {?}
413
- */
414
- function () {
415
- return {
416
- ngModule: PdfJsViewerModule
417
- };
418
- };
419
- PdfJsViewerModule.decorators = [
420
- { type: NgModule, args: [{
421
- imports: [
422
- CommonModule
423
- ],
424
- declarations: [
425
- PdfJsViewerComponent
426
- ],
427
- exports: [
428
- PdfJsViewerComponent
429
- ]
430
- },] },
431
- ];
432
- return PdfJsViewerModule;
433
- }());
434
-
435
- export { PdfJsViewerModule, PdfJsViewerComponent };
@@ -1,48 +0,0 @@
1
- import { EventEmitter, ElementRef } from '@angular/core';
2
- export declare class PdfJsViewerComponent {
3
- iframe: ElementRef;
4
- viewerId: string;
5
- onBeforePrint: EventEmitter<any>;
6
- onAfterPrint: EventEmitter<any>;
7
- onDocumentLoad: EventEmitter<any>;
8
- onPageChange: EventEmitter<any>;
9
- viewerFolder: string;
10
- externalWindow: boolean;
11
- showSpinner: boolean;
12
- downloadFileName: string;
13
- openFile: boolean;
14
- download: boolean;
15
- startDownload: boolean;
16
- viewBookmark: boolean;
17
- print: boolean;
18
- startPrint: boolean;
19
- fullScreen: boolean;
20
- find: boolean;
21
- zoom: string;
22
- nameddest: string;
23
- pagemode: string;
24
- lastPage: boolean;
25
- rotatecw: boolean;
26
- rotateccw: boolean;
27
- cursor: string;
28
- scroll: string;
29
- spread: string;
30
- locale: string;
31
- useOnlyCssZoom: boolean;
32
- errorOverride: boolean;
33
- errorAppend: boolean;
34
- errorMessage: string;
35
- diagnosticLogs: boolean;
36
- externalWindowOptions: string;
37
- viewerTab: any;
38
- private _src;
39
- private _page;
40
- page: number;
41
- pdfSrc: string | Blob | Uint8Array;
42
- readonly PDFViewerApplicationOptions: any;
43
- readonly PDFViewerApplication: any;
44
- receiveMessage(viewerEvent: any): void;
45
- ngOnInit(): void;
46
- refresh(): void;
47
- private loadPdf;
48
- }
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"PdfJsViewerModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":8,"character":4}],"declarations":[{"__symbolic":"reference","name":"PdfJsViewerComponent"}],"exports":[{"__symbolic":"reference","name":"PdfJsViewerComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"PdfJsViewerModule"}}}}},"PdfJsViewerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ng2-pdfjs-viewer","template":"<iframe title=\"ng2-pdfjs-viewer\" [hidden]=\"externalWindow || (!externalWindow && !pdfSrc)\" #iframe width=\"100%\" height=\"100%\"></iframe>"}]}],"members":{"iframe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":7,"character":3},"arguments":["iframe",{"static":true}]}]}],"viewerId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"onBeforePrint":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":9,"character":3}}]}],"onAfterPrint":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":10,"character":3}}]}],"onDocumentLoad":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":11,"character":3}}]}],"onPageChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"viewerFolder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"externalWindow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"showSpinner":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"downloadFileName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"openFile":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"download":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"startDownload":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"viewBookmark":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"print":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"startPrint":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"fullScreen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"find":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"nameddest":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"pagemode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"lastPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"rotatecw":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"rotateccw":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"cursor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"scroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"spread":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"useOnlyCssZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"errorOverride":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"errorAppend":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"errorMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"diagnosticLogs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"externalWindowOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"page":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"pdfSrc":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":65,"character":3}}]}],"receiveMessage":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"refresh":[{"__symbolic":"method"}],"loadPdf":[{"__symbolic":"method"}]}}},"origins":{"PdfJsViewerModule":"./index","PdfJsViewerComponent":"./ng2-pdfjs-viewer.component"},"importAs":"ng2-pdfjs-viewer"}