@mescius/wijmo.angular2.viewer 5.20232.939

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.d.ts ADDED
@@ -0,0 +1,365 @@
1
+ /*!
2
+ *
3
+ * Wijmo Library 5.20232.939
4
+ * https://developer.mescius.com/wijmo
5
+ *
6
+ * Copyright(c) MESCIUS inc. All rights reserved.
7
+ *
8
+ * Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
9
+ * us.sales@mescius.com
10
+ * https://developer.mescius.com/wijmo/licensing
11
+ *
12
+ */
13
+ /**
14
+ * {@module wijmo.angular2.viewer}
15
+ * Contains Angular 2 components for the <b>wijmo.viewer</b> module.
16
+ *
17
+ * <b>wijmo.angular2.viewer</b> is an external TypeScript module that can be imported to your code
18
+ * using its ambient module name. For example:
19
+ *
20
+ * <pre>import * as wjViewer from 'wijmo/wijmo.angular2.viewer';
21
+ * &nbsp;
22
+ * &#64;Component({
23
+ * directives: [wjViewer.WjReportViewer, wjViewer.WjPdfViewer],
24
+ * template: `
25
+ * &lt;wj-report-viewer [reportName]="sales" [serviceUrl]="'webserviceApi'"&gt;
26
+ * &lt;/wj-report-viewer;`,
27
+ * selector: 'my-cmp',
28
+ * })
29
+ * export class MyCmp {
30
+ * data: any[];
31
+ * }</pre>
32
+ *
33
+ */
34
+ /**
35
+ *
36
+ */
37
+ import * as ɵngcc0 from '@angular/core';
38
+ import * as ɵngcc1 from '@angular/common';
39
+ export declare var ___keepComment: any;
40
+ import { EventEmitter, AfterViewInit, ElementRef, Injector, OnInit, OnDestroy } from '@angular/core';
41
+ import { IWjComponentMetadata, IWjComponentMeta } from '@grapecity/wijmo.angular2.directivebase';
42
+ import * as wjcViewer from '@grapecity/wijmo.viewer';
43
+ declare var wjReportViewerMeta: IWjComponentMeta;
44
+ export { wjReportViewerMeta };
45
+ /**
46
+ * Angular 2 component for the {@link wijmo.viewer.ReportViewer} control.
47
+ *
48
+ * Use the <b>wj-report-viewer</b> component to add <b>ReportViewer</b> controls to your
49
+ * Angular 2 applications. For details about Angular 2 markup syntax, see
50
+ * <a href="/wijmo/docs/GettingStarted/Angular-Components">Angular 2 Markup</a>.
51
+ *
52
+ * The <b>WjReportViewer</b> component is derived from the <b>ReportViewer</b> control and
53
+ * inherits all its properties, events and methods.
54
+ */
55
+ export declare class WjReportViewer extends wjcViewer.ReportViewer implements OnInit, OnDestroy, AfterViewInit {
56
+ static readonly meta: IWjComponentMetadata;
57
+ private _wjBehaviour;
58
+ /**
59
+ * Indicates whether the component has been initialized by Angular.
60
+ * Changes its value from false to true right before triggering the <b>initialized</b> event.
61
+ */
62
+ isInitialized: boolean;
63
+ /**
64
+ * This event is triggered after the component has been initialized by Angular, that is
65
+ * all bound properties have been assigned and child components (if any) have been initialized.
66
+ */
67
+ initialized: EventEmitter<any>;
68
+ /**
69
+ * Defines a name of a property represented by [(ngModel)] directive (if specified).
70
+ * Default value is ''.
71
+ */
72
+ wjModelProperty: string;
73
+ /**
74
+ * Allows you to override the global <b>WjOptions.asyncBindings</b> setting for this specific component.
75
+ * See the <b>WjOptions.</b>{@link WjOptions.asyncBindings} property description for details.
76
+ */
77
+ asyncBindings: boolean;
78
+ /**
79
+ * Angular (EventEmitter) version of the Wijmo <b>gotFocus</b> event for programmatic access.
80
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
81
+ * In template bindings use the conventional <b>gotFocus</b> Wijmo event name.
82
+ */
83
+ gotFocusNg: EventEmitter<any>;
84
+ /**
85
+ * Angular (EventEmitter) version of the Wijmo <b>lostFocus</b> event for programmatic access.
86
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
87
+ * In template bindings use the conventional <b>lostFocus</b> Wijmo event name.
88
+ */
89
+ lostFocusNg: EventEmitter<any>;
90
+ /**
91
+ * Angular (EventEmitter) version of the Wijmo <b>refreshing</b> event for programmatic access.
92
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
93
+ * In template bindings use the conventional <b>refreshing</b> Wijmo event name.
94
+ */
95
+ refreshingNg: EventEmitter<any>;
96
+ /**
97
+ * Angular (EventEmitter) version of the Wijmo <b>refreshed</b> event for programmatic access.
98
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
99
+ * In template bindings use the conventional <b>refreshed</b> Wijmo event name.
100
+ */
101
+ refreshedNg: EventEmitter<any>;
102
+ /**
103
+ * Angular (EventEmitter) version of the Wijmo <b>invalidInput</b> event for programmatic access.
104
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
105
+ * In template bindings use the conventional <b>invalidInput</b> Wijmo event name.
106
+ */
107
+ invalidInputNg: EventEmitter<any>;
108
+ /**
109
+ * Angular (EventEmitter) version of the Wijmo <b>pageIndexChanged</b> event for programmatic access.
110
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
111
+ * In template bindings use the conventional <b>pageIndexChanged</b> Wijmo event name.
112
+ */
113
+ pageIndexChangedNg: EventEmitter<any>;
114
+ /**
115
+ * Angular (EventEmitter) version of the Wijmo <b>viewModeChanged</b> event for programmatic access.
116
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
117
+ * In template bindings use the conventional <b>viewModeChanged</b> Wijmo event name.
118
+ */
119
+ viewModeChangedNg: EventEmitter<any>;
120
+ /**
121
+ * This event is used to implement two-way binding to the <b>viewMode</b> property.
122
+ * It's triggered when the property value changes, with the event argument holding the new property value.
123
+ * You can bind handlers to this event in templates using the <b>viewModeChange</b> event name.
124
+ */
125
+ viewModeChangePC: EventEmitter<any>;
126
+ /**
127
+ * Angular (EventEmitter) version of the Wijmo <b>mouseModeChanged</b> event for programmatic access.
128
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
129
+ * In template bindings use the conventional <b>mouseModeChanged</b> Wijmo event name.
130
+ */
131
+ mouseModeChangedNg: EventEmitter<any>;
132
+ /**
133
+ * This event is used to implement two-way binding to the <b>mouseMode</b> property.
134
+ * It's triggered when the property value changes, with the event argument holding the new property value.
135
+ * You can bind handlers to this event in templates using the <b>mouseModeChange</b> event name.
136
+ */
137
+ mouseModeChangePC: EventEmitter<any>;
138
+ /**
139
+ * Angular (EventEmitter) version of the Wijmo <b>fullScreenChanged</b> event for programmatic access.
140
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
141
+ * In template bindings use the conventional <b>fullScreenChanged</b> Wijmo event name.
142
+ */
143
+ fullScreenChangedNg: EventEmitter<any>;
144
+ /**
145
+ * This event is used to implement two-way binding to the <b>fullScreen</b> property.
146
+ * It's triggered when the property value changes, with the event argument holding the new property value.
147
+ * You can bind handlers to this event in templates using the <b>fullScreenChange</b> event name.
148
+ */
149
+ fullScreenChangePC: EventEmitter<any>;
150
+ /**
151
+ * Angular (EventEmitter) version of the Wijmo <b>zoomFactorChanged</b> event for programmatic access.
152
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
153
+ * In template bindings use the conventional <b>zoomFactorChanged</b> Wijmo event name.
154
+ */
155
+ zoomFactorChangedNg: EventEmitter<any>;
156
+ /**
157
+ * This event is used to implement two-way binding to the <b>zoomFactor</b> property.
158
+ * It's triggered when the property value changes, with the event argument holding the new property value.
159
+ * You can bind handlers to this event in templates using the <b>zoomFactorChange</b> event name.
160
+ */
161
+ zoomFactorChangePC: EventEmitter<any>;
162
+ /**
163
+ * Angular (EventEmitter) version of the Wijmo <b>zoomModeChanged</b> event for programmatic access.
164
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
165
+ * In template bindings use the conventional <b>zoomModeChanged</b> Wijmo event name.
166
+ */
167
+ zoomModeChangedNg: EventEmitter<any>;
168
+ /**
169
+ * This event is used to implement two-way binding to the <b>zoomMode</b> property.
170
+ * It's triggered when the property value changes, with the event argument holding the new property value.
171
+ * You can bind handlers to this event in templates using the <b>zoomModeChange</b> event name.
172
+ */
173
+ zoomModeChangePC: EventEmitter<any>;
174
+ /**
175
+ * Angular (EventEmitter) version of the Wijmo <b>queryLoadingData</b> event for programmatic access.
176
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
177
+ * In template bindings use the conventional <b>queryLoadingData</b> Wijmo event name.
178
+ */
179
+ queryLoadingDataNg: EventEmitter<any>;
180
+ /**
181
+ * Angular (EventEmitter) version of the Wijmo <b>beforeSendRequest</b> event for programmatic access.
182
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
183
+ * In template bindings use the conventional <b>beforeSendRequest</b> Wijmo event name.
184
+ */
185
+ beforeSendRequestNg: EventEmitter<any>;
186
+ constructor(elRef: ElementRef, injector: Injector, parentCmp: any);
187
+ /**
188
+ * If you create a custom component inherited from a Wijmo component, you can override this
189
+ * method and perform necessary initializations that you usually do in a class constructor.
190
+ * This method is called in the last line of a Wijmo component constructor and allows you
191
+ * to not declare your custom component's constructor at all, thus preventing you from a necessity
192
+ * to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters.
193
+ */
194
+ created(): void;
195
+ ngOnInit(): void;
196
+ ngAfterViewInit(): void;
197
+ ngOnDestroy(): void;
198
+ addEventListener(target: EventTarget, type: string, fn: any, capture?: boolean): void;
199
+ static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<WjReportViewer, [null, null, { optional: true; skipSelf: true; }]>;
200
+ static ɵcmp: ɵngcc0.ɵɵComponentDeclaration<WjReportViewer, "wj-report-viewer", never, { "asyncBindings": "asyncBindings"; "wjModelProperty": "wjModelProperty"; "isDisabled": "isDisabled"; "tabOrder": "tabOrder"; "serviceUrl": "serviceUrl"; "filePath": "filePath"; "fullScreen": "fullScreen"; "zoomFactor": "zoomFactor"; "zoomMode": "zoomMode"; "mouseMode": "mouseMode"; "viewMode": "viewMode"; "requestHeaders": "requestHeaders"; "parameters": "parameters"; "paginated": "paginated"; "reportName": "reportName"; }, { "initialized": "initialized"; "gotFocusNg": "gotFocus"; "lostFocusNg": "lostFocus"; "refreshingNg": "refreshing"; "refreshedNg": "refreshed"; "invalidInputNg": "invalidInput"; "pageIndexChangedNg": "pageIndexChanged"; "viewModeChangedNg": "viewModeChanged"; "viewModeChangePC": "viewModeChange"; "mouseModeChangedNg": "mouseModeChanged"; "mouseModeChangePC": "mouseModeChange"; "fullScreenChangedNg": "fullScreenChanged"; "fullScreenChangePC": "fullScreenChange"; "zoomFactorChangedNg": "zoomFactorChanged"; "zoomFactorChangePC": "zoomFactorChange"; "zoomModeChangedNg": "zoomModeChanged"; "zoomModeChangePC": "zoomModeChange"; "queryLoadingDataNg": "queryLoadingData"; "beforeSendRequestNg": "beforeSendRequest"; }, never, never, false, never>;
201
+ }
202
+ declare var wjPdfViewerMeta: IWjComponentMeta;
203
+ export { wjPdfViewerMeta };
204
+ /**
205
+ * Angular 2 component for the {@link wijmo.viewer.PdfViewer} control.
206
+ *
207
+ * Use the <b>wj-pdf-viewer</b> component to add <b>PdfViewer</b> controls to your
208
+ * Angular 2 applications. For details about Angular 2 markup syntax, see
209
+ * <a href="/wijmo/docs/GettingStarted/Angular-Components">Angular 2 Markup</a>.
210
+ *
211
+ * The <b>WjPdfViewer</b> component is derived from the <b>PdfViewer</b> control and
212
+ * inherits all its properties, events and methods.
213
+ */
214
+ export declare class WjPdfViewer extends wjcViewer.PdfViewer implements OnInit, OnDestroy, AfterViewInit {
215
+ static readonly meta: IWjComponentMetadata;
216
+ private _wjBehaviour;
217
+ /**
218
+ * Indicates whether the component has been initialized by Angular.
219
+ * Changes its value from false to true right before triggering the <b>initialized</b> event.
220
+ */
221
+ isInitialized: boolean;
222
+ /**
223
+ * This event is triggered after the component has been initialized by Angular, that is
224
+ * all bound properties have been assigned and child components (if any) have been initialized.
225
+ */
226
+ initialized: EventEmitter<any>;
227
+ /**
228
+ * Defines a name of a property represented by [(ngModel)] directive (if specified).
229
+ * Default value is ''.
230
+ */
231
+ wjModelProperty: string;
232
+ /**
233
+ * Allows you to override the global <b>WjOptions.asyncBindings</b> setting for this specific component.
234
+ * See the <b>WjOptions.</b>{@link WjOptions.asyncBindings} property description for details.
235
+ */
236
+ asyncBindings: boolean;
237
+ /**
238
+ * Angular (EventEmitter) version of the Wijmo <b>gotFocus</b> event for programmatic access.
239
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
240
+ * In template bindings use the conventional <b>gotFocus</b> Wijmo event name.
241
+ */
242
+ gotFocusNg: EventEmitter<any>;
243
+ /**
244
+ * Angular (EventEmitter) version of the Wijmo <b>lostFocus</b> event for programmatic access.
245
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
246
+ * In template bindings use the conventional <b>lostFocus</b> Wijmo event name.
247
+ */
248
+ lostFocusNg: EventEmitter<any>;
249
+ /**
250
+ * Angular (EventEmitter) version of the Wijmo <b>refreshing</b> event for programmatic access.
251
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
252
+ * In template bindings use the conventional <b>refreshing</b> Wijmo event name.
253
+ */
254
+ refreshingNg: EventEmitter<any>;
255
+ /**
256
+ * Angular (EventEmitter) version of the Wijmo <b>refreshed</b> event for programmatic access.
257
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
258
+ * In template bindings use the conventional <b>refreshed</b> Wijmo event name.
259
+ */
260
+ refreshedNg: EventEmitter<any>;
261
+ /**
262
+ * Angular (EventEmitter) version of the Wijmo <b>invalidInput</b> event for programmatic access.
263
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
264
+ * In template bindings use the conventional <b>invalidInput</b> Wijmo event name.
265
+ */
266
+ invalidInputNg: EventEmitter<any>;
267
+ /**
268
+ * Angular (EventEmitter) version of the Wijmo <b>pageIndexChanged</b> event for programmatic access.
269
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
270
+ * In template bindings use the conventional <b>pageIndexChanged</b> Wijmo event name.
271
+ */
272
+ pageIndexChangedNg: EventEmitter<any>;
273
+ /**
274
+ * Angular (EventEmitter) version of the Wijmo <b>viewModeChanged</b> event for programmatic access.
275
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
276
+ * In template bindings use the conventional <b>viewModeChanged</b> Wijmo event name.
277
+ */
278
+ viewModeChangedNg: EventEmitter<any>;
279
+ /**
280
+ * This event is used to implement two-way binding to the <b>viewMode</b> property.
281
+ * It's triggered when the property value changes, with the event argument holding the new property value.
282
+ * You can bind handlers to this event in templates using the <b>viewModeChange</b> event name.
283
+ */
284
+ viewModeChangePC: EventEmitter<any>;
285
+ /**
286
+ * Angular (EventEmitter) version of the Wijmo <b>mouseModeChanged</b> event for programmatic access.
287
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
288
+ * In template bindings use the conventional <b>mouseModeChanged</b> Wijmo event name.
289
+ */
290
+ mouseModeChangedNg: EventEmitter<any>;
291
+ /**
292
+ * This event is used to implement two-way binding to the <b>mouseMode</b> property.
293
+ * It's triggered when the property value changes, with the event argument holding the new property value.
294
+ * You can bind handlers to this event in templates using the <b>mouseModeChange</b> event name.
295
+ */
296
+ mouseModeChangePC: EventEmitter<any>;
297
+ /**
298
+ * Angular (EventEmitter) version of the Wijmo <b>fullScreenChanged</b> event for programmatic access.
299
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
300
+ * In template bindings use the conventional <b>fullScreenChanged</b> Wijmo event name.
301
+ */
302
+ fullScreenChangedNg: EventEmitter<any>;
303
+ /**
304
+ * This event is used to implement two-way binding to the <b>fullScreen</b> property.
305
+ * It's triggered when the property value changes, with the event argument holding the new property value.
306
+ * You can bind handlers to this event in templates using the <b>fullScreenChange</b> event name.
307
+ */
308
+ fullScreenChangePC: EventEmitter<any>;
309
+ /**
310
+ * Angular (EventEmitter) version of the Wijmo <b>zoomFactorChanged</b> event for programmatic access.
311
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
312
+ * In template bindings use the conventional <b>zoomFactorChanged</b> Wijmo event name.
313
+ */
314
+ zoomFactorChangedNg: EventEmitter<any>;
315
+ /**
316
+ * This event is used to implement two-way binding to the <b>zoomFactor</b> property.
317
+ * It's triggered when the property value changes, with the event argument holding the new property value.
318
+ * You can bind handlers to this event in templates using the <b>zoomFactorChange</b> event name.
319
+ */
320
+ zoomFactorChangePC: EventEmitter<any>;
321
+ /**
322
+ * Angular (EventEmitter) version of the Wijmo <b>zoomModeChanged</b> event for programmatic access.
323
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
324
+ * In template bindings use the conventional <b>zoomModeChanged</b> Wijmo event name.
325
+ */
326
+ zoomModeChangedNg: EventEmitter<any>;
327
+ /**
328
+ * This event is used to implement two-way binding to the <b>zoomMode</b> property.
329
+ * It's triggered when the property value changes, with the event argument holding the new property value.
330
+ * You can bind handlers to this event in templates using the <b>zoomModeChange</b> event name.
331
+ */
332
+ zoomModeChangePC: EventEmitter<any>;
333
+ /**
334
+ * Angular (EventEmitter) version of the Wijmo <b>queryLoadingData</b> event for programmatic access.
335
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
336
+ * In template bindings use the conventional <b>queryLoadingData</b> Wijmo event name.
337
+ */
338
+ queryLoadingDataNg: EventEmitter<any>;
339
+ /**
340
+ * Angular (EventEmitter) version of the Wijmo <b>beforeSendRequest</b> event for programmatic access.
341
+ * Use this event name if you want to subscribe to the Angular version of the event in code.
342
+ * In template bindings use the conventional <b>beforeSendRequest</b> Wijmo event name.
343
+ */
344
+ beforeSendRequestNg: EventEmitter<any>;
345
+ constructor(elRef: ElementRef, injector: Injector, parentCmp: any);
346
+ /**
347
+ * If you create a custom component inherited from a Wijmo component, you can override this
348
+ * method and perform necessary initializations that you usually do in a class constructor.
349
+ * This method is called in the last line of a Wijmo component constructor and allows you
350
+ * to not declare your custom component's constructor at all, thus preventing you from a necessity
351
+ * to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters.
352
+ */
353
+ created(): void;
354
+ ngOnInit(): void;
355
+ ngAfterViewInit(): void;
356
+ ngOnDestroy(): void;
357
+ addEventListener(target: EventTarget, type: string, fn: any, capture?: boolean): void;
358
+ static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<WjPdfViewer, [null, null, { optional: true; skipSelf: true; }]>;
359
+ static ɵcmp: ɵngcc0.ɵɵComponentDeclaration<WjPdfViewer, "wj-pdf-viewer", never, { "asyncBindings": "asyncBindings"; "wjModelProperty": "wjModelProperty"; "isDisabled": "isDisabled"; "tabOrder": "tabOrder"; "serviceUrl": "serviceUrl"; "filePath": "filePath"; "fullScreen": "fullScreen"; "zoomFactor": "zoomFactor"; "zoomMode": "zoomMode"; "mouseMode": "mouseMode"; "viewMode": "viewMode"; "requestHeaders": "requestHeaders"; }, { "initialized": "initialized"; "gotFocusNg": "gotFocus"; "lostFocusNg": "lostFocus"; "refreshingNg": "refreshing"; "refreshedNg": "refreshed"; "invalidInputNg": "invalidInput"; "pageIndexChangedNg": "pageIndexChanged"; "viewModeChangedNg": "viewModeChanged"; "viewModeChangePC": "viewModeChange"; "mouseModeChangedNg": "mouseModeChanged"; "mouseModeChangePC": "mouseModeChange"; "fullScreenChangedNg": "fullScreenChanged"; "fullScreenChangePC": "fullScreenChange"; "zoomFactorChangedNg": "zoomFactorChanged"; "zoomFactorChangePC": "zoomFactorChange"; "zoomModeChangedNg": "zoomModeChanged"; "zoomModeChangePC": "zoomModeChange"; "queryLoadingDataNg": "queryLoadingData"; "beforeSendRequestNg": "beforeSendRequest"; }, never, never, false, never>;
360
+ }
361
+ export declare class WjViewerModule {
362
+ static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<WjViewerModule, never>;
363
+ static ɵmod: ɵngcc0.ɵɵNgModuleDeclaration<WjViewerModule, [typeof WjReportViewer, typeof WjPdfViewer], [typeof ɵngcc1.CommonModule], [typeof WjReportViewer, typeof WjPdfViewer]>;
364
+ static ɵinj: ɵngcc0.ɵɵInjectorDeclaration<WjViewerModule>;
365
+ }
package/index.js ADDED
@@ -0,0 +1,62 @@
1
+ /*!
2
+ *
3
+ * Wijmo Library 5.20232.939
4
+ * https://developer.mescius.com/wijmo
5
+ *
6
+ * Copyright(c) MESCIUS inc. All rights reserved.
7
+ *
8
+ * Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
9
+ * us.sales@mescius.com
10
+ * https://developer.mescius.com/wijmo/licensing
11
+ *
12
+ */
13
+
14
+ "use strict";var ɵngcc0 = require('@angular/core');
15
+ var ɵngcc1 = require('@angular/common');
16
+ var __extends=this&&this.__extends||function(){var extendStatics=function(e,o){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r])})(e,o)};return function(e,o){extendStatics(e,o);function __(){this.constructor=e}e.prototype=null===o?Object.create(o):(__.prototype=o.prototype,new __)}}(),__decorate=this&&this.__decorate||function(e,o,r,t){var n,i=arguments.length,a=i<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a},__param=this&&this.__param||function(e,o){return function(r,t){o(r,t,e)}},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(o[r]=e[r]);o.default=e;return o};Object.defineProperty(exports,"__esModule",{value:!0});var core_1=require("@angular/core"),common_1=require("@angular/common"),forms_1=require("@angular/forms"),wijmo_angular2_directivebase_1=require("@mescius/wijmo.angular2.directivebase"),wjcViewer=__importStar(require("@mescius/wijmo.viewer")),wjReportViewerMeta={selector:"wj-report-viewer",template:"",inputs:["asyncBindings","wjModelProperty","isDisabled","tabOrder","serviceUrl","filePath","fullScreen","zoomFactor","zoomMode","mouseMode","viewMode","requestHeaders","parameters","paginated","reportName"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput","pageIndexChangedNg: pageIndexChanged","viewModeChangedNg: viewModeChanged","viewModeChangePC: viewModeChange","mouseModeChangedNg: mouseModeChanged","mouseModeChangePC: mouseModeChange","fullScreenChangedNg: fullScreenChanged","fullScreenChangePC: fullScreenChange","zoomFactorChangedNg: zoomFactorChanged","zoomFactorChangePC: zoomFactorChange","zoomModeChangedNg: zoomModeChanged","zoomModeChangePC: zoomModeChange","queryLoadingDataNg: queryLoadingData","beforeSendRequestNg: beforeSendRequest"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directivebase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};exports.wjReportViewerMeta=wjReportViewerMeta;var WjReportViewer=function(e){__extends(WjReportViewer,e);function WjReportViewer(o,r,t){var n=e.call(this,wijmo_angular2_directivebase_1.WjDirectiveBehavior.getHostElement(o,r))||this;n.isInitialized=!1;n._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(n,o,r,t);n.created();return n}o=WjReportViewer;WjReportViewer.prototype.created=function(){};WjReportViewer.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjReportViewer.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjReportViewer.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};WjReportViewer.prototype.addEventListener=function(o,r,t,n){var i=this;void 0===n&&(n=!1);var a=wijmo_angular2_directivebase_1.WjDirectiveBehavior,d=a.getZone(this);d&&a.outsideZoneEvents[r]?d.runOutsideAngular((function(){e.prototype.addEventListener.call(i,o,r,t,n)})):e.prototype.addEventListener.call(this,o,r,t,n)};var o;WjReportViewer.meta={outputs:wjReportViewerMeta.outputs,changeEvents:{viewModeChanged:["viewMode"],mouseModeChanged:["mouseMode"],fullScreenChanged:["fullScreen"],zoomFactorChanged:["zoomFactor"],zoomModeChanged:["zoomMode"]}};
17
+ WjReportViewer.ɵfac = function WjReportViewer_Factory(t) { return new (t || WjReportViewer)(ɵngcc0.ɵɵdirectiveInject(core_1.ElementRef), ɵngcc0.ɵɵdirectiveInject(core_1.Injector), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12)); };
18
+ WjReportViewer.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WjReportViewer, selectors: [["wj-report-viewer"]], inputs: { asyncBindings: "asyncBindings", wjModelProperty: "wjModelProperty", isDisabled: "isDisabled", tabOrder: "tabOrder", serviceUrl: "serviceUrl", filePath: "filePath", fullScreen: "fullScreen", zoomFactor: "zoomFactor", zoomMode: "zoomMode", mouseMode: "mouseMode", viewMode: "viewMode", requestHeaders: "requestHeaders", parameters: "parameters", paginated: "paginated", reportName: "reportName" }, outputs: { initialized: "initialized", gotFocusNg: "gotFocus", lostFocusNg: "lostFocus", refreshingNg: "refreshing", refreshedNg: "refreshed", invalidInputNg: "invalidInput", pageIndexChangedNg: "pageIndexChanged", viewModeChangedNg: "viewModeChanged", viewModeChangePC: "viewModeChange", mouseModeChangedNg: "mouseModeChanged", mouseModeChangePC: "mouseModeChange", fullScreenChangedNg: "fullScreenChanged", fullScreenChangePC: "fullScreenChange", zoomFactorChangedNg: "zoomFactorChanged", zoomFactorChangePC: "zoomFactorChange", zoomModeChangedNg: "zoomModeChanged", zoomModeChangePC: "zoomModeChange", queryLoadingDataNg: "queryLoadingData", beforeSendRequestNg: "beforeSendRequest" }, features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: core_1.forwardRef((function () { return o; })) }].concat(wjReportViewerMeta.providers))], decls: 0, vars: 0, template: function WjReportViewer_Template(rf, ctx) { }, encapsulation: 2 });
19
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WjReportViewer, [{
20
+ type: core_1.Component,
21
+ args: [{ selector: wjReportViewerMeta.selector, template: wjReportViewerMeta.template, inputs: wjReportViewerMeta.inputs, outputs: wjReportViewerMeta.outputs, providers: [{ provide: "WjComponent", useExisting: core_1.forwardRef((function () { return o; })) }].concat(wjReportViewerMeta.providers) }]
22
+ }], function () { return [{ type: undefined, decorators: [{
23
+ type: core_1.Inject,
24
+ args: [core_1.ElementRef]
25
+ }] }, { type: undefined, decorators: [{
26
+ type: core_1.Inject,
27
+ args: [core_1.Injector]
28
+ }] }, { type: undefined, decorators: [{
29
+ type: core_1.Inject,
30
+ args: ["WjComponent"]
31
+ }, {
32
+ type: core_1.SkipSelf
33
+ }, {
34
+ type: core_1.Optional
35
+ }] }]; }, null); })();return WjReportViewer=o=__decorate([,__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional())],WjReportViewer)}(wjcViewer.ReportViewer);exports.WjReportViewer=WjReportViewer;var wjPdfViewerMeta={selector:"wj-pdf-viewer",template:"",inputs:["asyncBindings","wjModelProperty","isDisabled","tabOrder","serviceUrl","filePath","fullScreen","zoomFactor","zoomMode","mouseMode","viewMode","requestHeaders"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","refreshingNg: refreshing","refreshedNg: refreshed","invalidInputNg: invalidInput","pageIndexChangedNg: pageIndexChanged","viewModeChangedNg: viewModeChanged","viewModeChangePC: viewModeChange","mouseModeChangedNg: mouseModeChanged","mouseModeChangePC: mouseModeChange","fullScreenChangedNg: fullScreenChanged","fullScreenChangePC: fullScreenChange","zoomFactorChangedNg: zoomFactorChanged","zoomFactorChangePC: zoomFactorChange","zoomModeChangedNg: zoomModeChanged","zoomModeChangePC: zoomModeChange","queryLoadingDataNg: queryLoadingData","beforeSendRequestNg: beforeSendRequest"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directivebase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};exports.wjPdfViewerMeta=wjPdfViewerMeta;var WjPdfViewer=function(e){__extends(WjPdfViewer,e);function WjPdfViewer(o,r,t){var n=e.call(this,wijmo_angular2_directivebase_1.WjDirectiveBehavior.getHostElement(o,r))||this;n.isInitialized=!1;n._wjBehaviour=wijmo_angular2_directivebase_1.WjDirectiveBehavior.attach(n,o,r,t);n.created();return n}o=WjPdfViewer;WjPdfViewer.prototype.created=function(){};WjPdfViewer.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()};WjPdfViewer.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()};WjPdfViewer.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()};WjPdfViewer.prototype.addEventListener=function(o,r,t,n){var i=this;void 0===n&&(n=!1);var a=wijmo_angular2_directivebase_1.WjDirectiveBehavior,d=a.getZone(this);d&&a.outsideZoneEvents[r]?d.runOutsideAngular((function(){e.prototype.addEventListener.call(i,o,r,t,n)})):e.prototype.addEventListener.call(this,o,r,t,n)};var o;WjPdfViewer.meta={outputs:wjPdfViewerMeta.outputs,changeEvents:{viewModeChanged:["viewMode"],mouseModeChanged:["mouseMode"],fullScreenChanged:["fullScreen"],zoomFactorChanged:["zoomFactor"],zoomModeChanged:["zoomMode"]}};
36
+ WjPdfViewer.ɵfac = function WjPdfViewer_Factory(t) { return new (t || WjPdfViewer)(ɵngcc0.ɵɵdirectiveInject(core_1.ElementRef), ɵngcc0.ɵɵdirectiveInject(core_1.Injector), ɵngcc0.ɵɵdirectiveInject("WjComponent", 12)); };
37
+ WjPdfViewer.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WjPdfViewer, selectors: [["wj-pdf-viewer"]], inputs: { asyncBindings: "asyncBindings", wjModelProperty: "wjModelProperty", isDisabled: "isDisabled", tabOrder: "tabOrder", serviceUrl: "serviceUrl", filePath: "filePath", fullScreen: "fullScreen", zoomFactor: "zoomFactor", zoomMode: "zoomMode", mouseMode: "mouseMode", viewMode: "viewMode", requestHeaders: "requestHeaders" }, outputs: { initialized: "initialized", gotFocusNg: "gotFocus", lostFocusNg: "lostFocus", refreshingNg: "refreshing", refreshedNg: "refreshed", invalidInputNg: "invalidInput", pageIndexChangedNg: "pageIndexChanged", viewModeChangedNg: "viewModeChanged", viewModeChangePC: "viewModeChange", mouseModeChangedNg: "mouseModeChanged", mouseModeChangePC: "mouseModeChange", fullScreenChangedNg: "fullScreenChanged", fullScreenChangePC: "fullScreenChange", zoomFactorChangedNg: "zoomFactorChanged", zoomFactorChangePC: "zoomFactorChange", zoomModeChangedNg: "zoomModeChanged", zoomModeChangePC: "zoomModeChange", queryLoadingDataNg: "queryLoadingData", beforeSendRequestNg: "beforeSendRequest" }, features: [ɵngcc0.ɵɵProvidersFeature([{ provide: "WjComponent", useExisting: core_1.forwardRef((function () { return o; })) }].concat(wjPdfViewerMeta.providers))], decls: 0, vars: 0, template: function WjPdfViewer_Template(rf, ctx) { }, encapsulation: 2 });
38
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WjPdfViewer, [{
39
+ type: core_1.Component,
40
+ args: [{ selector: wjPdfViewerMeta.selector, template: wjPdfViewerMeta.template, inputs: wjPdfViewerMeta.inputs, outputs: wjPdfViewerMeta.outputs, providers: [{ provide: "WjComponent", useExisting: core_1.forwardRef((function () { return o; })) }].concat(wjPdfViewerMeta.providers) }]
41
+ }], function () { return [{ type: undefined, decorators: [{
42
+ type: core_1.Inject,
43
+ args: [core_1.ElementRef]
44
+ }] }, { type: undefined, decorators: [{
45
+ type: core_1.Inject,
46
+ args: [core_1.Injector]
47
+ }] }, { type: undefined, decorators: [{
48
+ type: core_1.Inject,
49
+ args: ["WjComponent"]
50
+ }, {
51
+ type: core_1.SkipSelf
52
+ }, {
53
+ type: core_1.Optional
54
+ }] }]; }, null); })();return WjPdfViewer=o=__decorate([,__param(0,core_1.Inject(core_1.ElementRef)),__param(1,core_1.Inject(core_1.Injector)),__param(2,core_1.Inject("WjComponent")),__param(2,core_1.SkipSelf()),__param(2,core_1.Optional())],WjPdfViewer)}(wjcViewer.PdfViewer);exports.WjPdfViewer=WjPdfViewer;var moduleExports=[WjReportViewer,WjPdfViewer],WjViewerModule=function(){function WjViewerModule(){}
55
+ WjViewerModule.ɵfac = function WjViewerModule_Factory(t) { return new (t || WjViewerModule)(); };
56
+ WjViewerModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: WjViewerModule });
57
+ WjViewerModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [common_1.CommonModule] });
58
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WjViewerModule, [{
59
+ type: core_1.NgModule,
60
+ args: [{ imports: [common_1.CommonModule], declarations: moduleExports.slice(), exports: moduleExports.slice() }]
61
+ }], function () { return []; }, null); })();
62
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(WjViewerModule, { declarations: [WjReportViewer, WjPdfViewer], imports: [ɵngcc1.CommonModule], exports: [WjReportViewer, WjPdfViewer] }); })();return WjViewerModule}();exports.WjViewerModule=WjViewerModule;
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@mescius/wijmo.angular2.viewer",
3
+ "version": "5.20232.939",
4
+ "description": "UI library for pure JS, Angular, React, Vue and more...",
5
+ "author": "MESCIUS inc",
6
+ "license": "Commercial",
7
+ "main": "./index.js",
8
+ "types": "./index.d.ts",
9
+ "dependencies": {
10
+ "@mescius/wijmo": "5.20232.939",
11
+ "@mescius/wijmo.viewer": "5.20232.939",
12
+ "@mescius/wijmo.angular2.directivebase": "5.20232.939"
13
+ },
14
+ "homepage": "https://developer.mescius.com/wijmo",
15
+ "bugs": {
16
+ "url": "https://developer.mescius.com/forums/wijmo"
17
+ },
18
+ "keywords": [
19
+ "control",
20
+ "component",
21
+ "ui",
22
+ "control library",
23
+ "component library",
24
+ "ui library",
25
+ "control-library",
26
+ "component-library",
27
+ "ui-library",
28
+ "grid",
29
+ "data grid",
30
+ "data-grid",
31
+ "datagrid",
32
+ "angular grid",
33
+ "react grid",
34
+ "vue grid",
35
+ "angular-grid",
36
+ "react-grid",
37
+ "vue-grid"
38
+ ],
39
+ "module": "./es5-esm.js",
40
+ "esm5": "./es5-esm.js",
41
+ "wj-esm5": "./es5-esm.js",
42
+ "es2015Cjs": "./es2015-commonjs.js",
43
+ "wj-es2015Cjs": "./es2015-commonjs.js",
44
+ "esm2015": "./es2015-esm.js",
45
+ "wj-esm2015": "./es2015-esm.js"
46
+ }