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