@progress/telerik-angular-report-viewer 19.23.718 → 19.23.1009

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  # Progress Telerik Report Viewer component for Angular
3
2
 
4
3
  This package is part of [Telerik Reporting](https://www.telerik.com/reporting).
@@ -18,7 +17,7 @@ While the component is not native (the theming mechanism uses Kendo UI for jQuer
18
17
  and has a dependency to jQuery itself), it brings reporting value to your Angular applications
19
18
  in no time.
20
19
 
21
- This version of the Angular Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 17.1.23.718
20
+ This version of the Angular Report Viewer requires Telerik Report Server or Telerik Reporting REST Service _reporting_version_placeholder_
22
21
 
23
22
  ## License
24
23
 
@@ -1,2 +1,2 @@
1
- export { TelerikReportingModule } from './telerik-reporting.module';
2
- export { TelerikReportViewerComponent } from './telerik-report-viewer.component';
1
+ export { TelerikReportingModule } from './telerik-reporting.module';
2
+ export { TelerikReportViewerComponent } from './telerik-report-viewer.component';
package/dist/cjs/main.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TelerikReportViewerComponent = exports.TelerikReportingModule = void 0;
4
- var telerik_reporting_module_1 = require("./telerik-reporting.module");
5
- Object.defineProperty(exports, "TelerikReportingModule", { enumerable: true, get: function () { return telerik_reporting_module_1.TelerikReportingModule; } });
6
- var telerik_report_viewer_component_1 = require("./telerik-report-viewer.component");
7
- Object.defineProperty(exports, "TelerikReportViewerComponent", { enumerable: true, get: function () { return telerik_report_viewer_component_1.TelerikReportViewerComponent; } });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TelerikReportViewerComponent = exports.TelerikReportingModule = void 0;
4
+ var telerik_reporting_module_1 = require("./telerik-reporting.module");
5
+ Object.defineProperty(exports, "TelerikReportingModule", { enumerable: true, get: function () { return telerik_reporting_module_1.TelerikReportingModule; } });
6
+ var telerik_report_viewer_component_1 = require("./telerik-report-viewer.component");
7
+ Object.defineProperty(exports, "TelerikReportViewerComponent", { enumerable: true, get: function () { return telerik_report_viewer_component_1.TelerikReportViewerComponent; } });
@@ -1,78 +1,78 @@
1
- import { AfterViewInit, OnDestroy } from '@angular/core';
2
- import '../dependencies/initExtDeps';
3
- import * as i0 from "@angular/core";
4
- export declare class TelerikReportViewerComponent implements AfterViewInit, OnDestroy {
5
- containerId: string;
6
- id: string;
7
- serviceUrl: string;
8
- reportServer: any;
9
- templateUrl: string;
10
- initialPageAreaImageUrl: string;
11
- reportSource: any;
12
- sendEmail: any;
13
- parameters: any;
14
- scale: number;
15
- scaleMode: string;
16
- viewMode: string;
17
- pageMode: string;
18
- persistSession: boolean;
19
- parameterEditors: Array<any>;
20
- authenticationToken: string;
21
- printMode: string;
22
- selector: string;
23
- disabledButtonClass: string;
24
- checkedButtonClass: string;
25
- enableAccessibility: boolean;
26
- searchMetadataOnDemand: boolean;
27
- parametersAreaVisible: boolean;
28
- documentMapVisible: boolean;
29
- ready: Function;
30
- error: Function;
31
- parametersAreaPosition: string;
32
- documentMapAreaPosition: string;
33
- exportBegin: Function;
34
- exportEnd: Function;
35
- sendEmailBegin: Function;
36
- sendEmailEnd: Function;
37
- pageReady: Function;
38
- printBegin: Function;
39
- printEnd: Function;
40
- renderingBegin: Function;
41
- renderingEnd: Function;
42
- updateUi: Function;
43
- interactiveActionExecuting: Function;
44
- interactiveActionEnter: Function;
45
- interactiveActionLeave: Function;
46
- viewerToolTipOpening: Function;
47
- keepClientAlive: boolean;
48
- commands: any;
49
- container: any;
50
- containerStyle: any;
51
- viewerObject: any;
52
- reportViewerID: string;
53
- ngOnInit(): void;
54
- ngAfterViewInit(): void;
55
- ngOnDestroy(): void;
56
- refreshReport(): any;
57
- getReportSource(): any;
58
- setReportSource(rs: any): any;
59
- getViewMode(): string;
60
- setViewMode(vm: string): any;
61
- getScale(): any;
62
- setScale(scale: any): any;
63
- pageCount(): number;
64
- currentPage(): number;
65
- setAuthenticationToken(token: string): any;
66
- getAccessibilityKeyMap(): any;
67
- setAccessibilityKeyMap(keyMap: any): any;
68
- bind(eventName: string, eventHandler: Function): void;
69
- unbind(eventName: string, eventHandler: Function): void;
70
- unbindAll(eventName: string): void;
71
- getPageMode(): string;
72
- setPageMode(psm: string): any;
73
- clearReportSource(): any;
74
- dispose(): void;
75
- getReportParameters(): any;
76
- static ɵfac: i0.ɵɵFactoryDeclaration<TelerikReportViewerComponent, never>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<TelerikReportViewerComponent, "tr-viewer", never, { "id": "id"; "serviceUrl": "serviceUrl"; "reportServer": "reportServer"; "templateUrl": "templateUrl"; "initialPageAreaImageUrl": "initialPageAreaImageUrl"; "reportSource": "reportSource"; "sendEmail": "sendEmail"; "parameters": "parameters"; "scale": "scale"; "scaleMode": "scaleMode"; "viewMode": "viewMode"; "pageMode": "pageMode"; "persistSession": "persistSession"; "parameterEditors": "parameterEditors"; "authenticationToken": "authenticationToken"; "printMode": "printMode"; "selector": "selector"; "disabledButtonClass": "disabledButtonClass"; "checkedButtonClass": "checkedButtonClass"; "enableAccessibility": "enableAccessibility"; "searchMetadataOnDemand": "searchMetadataOnDemand"; "parametersAreaVisible": "parametersAreaVisible"; "documentMapVisible": "documentMapVisible"; "ready": "ready"; "error": "error"; "parametersAreaPosition": "parametersAreaPosition"; "documentMapAreaPosition": "documentMapAreaPosition"; "exportBegin": "exportBegin"; "exportEnd": "exportEnd"; "sendEmailBegin": "sendEmailBegin"; "sendEmailEnd": "sendEmailEnd"; "pageReady": "pageReady"; "printBegin": "printBegin"; "printEnd": "printEnd"; "renderingBegin": "renderingBegin"; "renderingEnd": "renderingEnd"; "updateUi": "updateUi"; "interactiveActionExecuting": "interactiveActionExecuting"; "interactiveActionEnter": "interactiveActionEnter"; "interactiveActionLeave": "interactiveActionLeave"; "viewerToolTipOpening": "viewerToolTipOpening"; "keepClientAlive": "keepClientAlive"; "containerStyle": "containerStyle"; }, {}, never, never>;
78
- }
1
+ import { AfterViewInit, OnDestroy } from '@angular/core';
2
+ import '../dependencies/initExtDeps';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TelerikReportViewerComponent implements AfterViewInit, OnDestroy {
5
+ containerId: string;
6
+ id: string;
7
+ serviceUrl: string;
8
+ reportServer: any;
9
+ templateUrl: string;
10
+ initialPageAreaImageUrl: string;
11
+ reportSource: any;
12
+ sendEmail: any;
13
+ parameters: any;
14
+ scale: number;
15
+ scaleMode: string;
16
+ viewMode: string;
17
+ pageMode: string;
18
+ persistSession: boolean;
19
+ parameterEditors: Array<any>;
20
+ authenticationToken: string;
21
+ printMode: string;
22
+ selector: string;
23
+ disabledButtonClass: string;
24
+ checkedButtonClass: string;
25
+ enableAccessibility: boolean;
26
+ searchMetadataOnDemand: boolean;
27
+ parametersAreaVisible: boolean;
28
+ documentMapVisible: boolean;
29
+ ready: Function;
30
+ error: Function;
31
+ parametersAreaPosition: string;
32
+ documentMapAreaPosition: string;
33
+ exportBegin: Function;
34
+ exportEnd: Function;
35
+ sendEmailBegin: Function;
36
+ sendEmailEnd: Function;
37
+ pageReady: Function;
38
+ printBegin: Function;
39
+ printEnd: Function;
40
+ renderingBegin: Function;
41
+ renderingEnd: Function;
42
+ updateUi: Function;
43
+ interactiveActionExecuting: Function;
44
+ interactiveActionEnter: Function;
45
+ interactiveActionLeave: Function;
46
+ viewerToolTipOpening: Function;
47
+ keepClientAlive: boolean;
48
+ commands: any;
49
+ container: any;
50
+ containerStyle: any;
51
+ viewerObject: any;
52
+ reportViewerID: string;
53
+ ngOnInit(): void;
54
+ ngAfterViewInit(): void;
55
+ ngOnDestroy(): void;
56
+ refreshReport(): any;
57
+ getReportSource(): any;
58
+ setReportSource(rs: any): any;
59
+ getViewMode(): string;
60
+ setViewMode(vm: string): any;
61
+ getScale(): any;
62
+ setScale(scale: any): any;
63
+ pageCount(): number;
64
+ currentPage(): number;
65
+ setAuthenticationToken(token: string): any;
66
+ getAccessibilityKeyMap(): any;
67
+ setAccessibilityKeyMap(keyMap: any): any;
68
+ bind(eventName: string, eventHandler: Function): void;
69
+ unbind(eventName: string, eventHandler: Function): void;
70
+ unbindAll(eventName: string): void;
71
+ getPageMode(): string;
72
+ setPageMode(psm: string): any;
73
+ clearReportSource(): any;
74
+ dispose(): void;
75
+ getReportParameters(): any;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<TelerikReportViewerComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<TelerikReportViewerComponent, "tr-viewer", never, { "id": "id"; "serviceUrl": "serviceUrl"; "reportServer": "reportServer"; "templateUrl": "templateUrl"; "initialPageAreaImageUrl": "initialPageAreaImageUrl"; "reportSource": "reportSource"; "sendEmail": "sendEmail"; "parameters": "parameters"; "scale": "scale"; "scaleMode": "scaleMode"; "viewMode": "viewMode"; "pageMode": "pageMode"; "persistSession": "persistSession"; "parameterEditors": "parameterEditors"; "authenticationToken": "authenticationToken"; "printMode": "printMode"; "selector": "selector"; "disabledButtonClass": "disabledButtonClass"; "checkedButtonClass": "checkedButtonClass"; "enableAccessibility": "enableAccessibility"; "searchMetadataOnDemand": "searchMetadataOnDemand"; "parametersAreaVisible": "parametersAreaVisible"; "documentMapVisible": "documentMapVisible"; "ready": "ready"; "error": "error"; "parametersAreaPosition": "parametersAreaPosition"; "documentMapAreaPosition": "documentMapAreaPosition"; "exportBegin": "exportBegin"; "exportEnd": "exportEnd"; "sendEmailBegin": "sendEmailBegin"; "sendEmailEnd": "sendEmailEnd"; "pageReady": "pageReady"; "printBegin": "printBegin"; "printEnd": "printEnd"; "renderingBegin": "renderingBegin"; "renderingEnd": "renderingEnd"; "updateUi": "updateUi"; "interactiveActionExecuting": "interactiveActionExecuting"; "interactiveActionEnter": "interactiveActionEnter"; "interactiveActionLeave": "interactiveActionLeave"; "viewerToolTipOpening": "viewerToolTipOpening"; "keepClientAlive": "keepClientAlive"; "containerStyle": "containerStyle"; }, {}, never, never>;
78
+ }
@@ -1,183 +1,206 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TelerikReportViewerComponent = void 0;
4
- var core_1 = require("@angular/core");
5
- require("../dependencies/initExtDeps");
6
- var telerikReportViewer_1 = require("../dependencies/telerikReportViewer");
7
- var i0 = require("@angular/core");
8
- var i1 = require("@angular/common");
9
- var TelerikReportViewerComponent = /** @class */ (function () {
10
- function TelerikReportViewerComponent() {
11
- }
12
- TelerikReportViewerComponent.prototype.ngOnInit = function () {
13
- this.reportViewerID = this.id || "reportViewer1";
14
- this.keepClientAlive = this.keepClientAlive === undefined ? true : this.keepClientAlive;
15
- };
16
- TelerikReportViewerComponent.prototype.ngAfterViewInit = function () {
17
- this.viewerObject = new telerikReportViewer_1.ReportViewer(this.container.nativeElement, {
18
- id: this.reportViewerID,
19
- serviceUrl: this.serviceUrl,
20
- reportServer: this.reportServer,
21
- trvTemplateUrl: this.templateUrl,
22
- initialPageAreaImageUrl: this.initialPageAreaImageUrl,
23
- reportSource: this.reportSource,
24
- sendEmail: this.sendEmail,
25
- scale: this.scale,
26
- scaleMode: this.scaleMode,
27
- viewMode: this.viewMode,
28
- pageMode: this.pageMode,
29
- parameters: this.parameters,
30
- persistSession: this.persistSession,
31
- parameterEditors: this.parameterEditors,
32
- authenticationToken: this.authenticationToken,
33
- ready: this.ready,
34
- printMode: this.printMode,
35
- selector: this.selector,
36
- disabledButtonClass: this.disabledButtonClass,
37
- checkedButtonClass: this.checkedButtonClass,
38
- exportBegin: this.exportBegin,
39
- exportEnd: this.exportEnd,
40
- printBegin: this.printBegin,
41
- printEnd: this.printEnd,
42
- renderingBegin: this.renderingBegin,
43
- renderingEnd: this.renderingEnd,
44
- sendEmailBegin: this.sendEmailBegin,
45
- sendEmailEnd: this.sendEmailEnd,
46
- updateUi: this.updateUi,
47
- pageReady: this.pageReady,
48
- error: this.error,
49
- interactiveActionExecuting: this.interactiveActionExecuting,
50
- interactiveActionEnter: this.interactiveActionEnter,
51
- interactiveActionLeave: this.interactiveActionLeave,
52
- viewerToolTipOpening: this.viewerToolTipOpening,
53
- enableAccessibility: this.enableAccessibility,
54
- searchMetadataOnDemand: this.searchMetadataOnDemand,
55
- parametersAreaVisible: this.parametersAreaVisible,
56
- documentMapVisible: this.documentMapVisible,
57
- documentMapAreaPosition: this.documentMapAreaPosition,
58
- parametersAreaPosition: this.parametersAreaPosition,
59
- keepClientAlive: this.keepClientAlive
60
- });
61
- this.commands = this.viewerObject.commands;
62
- };
63
- TelerikReportViewerComponent.prototype.ngOnDestroy = function () {
64
- this.viewerObject.dispose();
65
- };
66
- TelerikReportViewerComponent.prototype.refreshReport = function () { return this.viewerObject.refreshReport(); };
67
- TelerikReportViewerComponent.prototype.getReportSource = function () { return this.viewerObject.reportSource(); };
68
- TelerikReportViewerComponent.prototype.setReportSource = function (rs) { return this.viewerObject.reportSource(rs); };
69
- TelerikReportViewerComponent.prototype.getViewMode = function () { return this.viewerObject.viewMode(); };
70
- TelerikReportViewerComponent.prototype.setViewMode = function (vm) { return this.viewerObject.viewMode(vm); };
71
- TelerikReportViewerComponent.prototype.getScale = function () { return this.viewerObject.scale(); };
72
- TelerikReportViewerComponent.prototype.setScale = function (scale) { return this.viewerObject.scale(scale); };
73
- TelerikReportViewerComponent.prototype.pageCount = function () { return this.viewerObject.pageCount(); };
74
- TelerikReportViewerComponent.prototype.currentPage = function () { return this.viewerObject.currentPage(); };
75
- TelerikReportViewerComponent.prototype.setAuthenticationToken = function (token) { return this.viewerObject.authenticationToken(token); };
76
- TelerikReportViewerComponent.prototype.getAccessibilityKeyMap = function () { return this.viewerObject.accessibilityKeyMap(); };
77
- TelerikReportViewerComponent.prototype.setAccessibilityKeyMap = function (keyMap) { return this.viewerObject.accessibilityKeyMap(keyMap); };
78
- TelerikReportViewerComponent.prototype.bind = function (eventName, eventHandler) { this.viewerObject.bind(eventName, eventHandler); };
79
- TelerikReportViewerComponent.prototype.unbind = function (eventName, eventHandler) { this.viewerObject.unbind(eventName, eventHandler); };
80
- TelerikReportViewerComponent.prototype.unbindAll = function (eventName) { this.viewerObject.unbind(eventName); };
81
- TelerikReportViewerComponent.prototype.getPageMode = function () { return this.viewerObject.pageMode(); };
82
- TelerikReportViewerComponent.prototype.setPageMode = function (psm) { return this.viewerObject.pageMode(psm); };
83
- TelerikReportViewerComponent.prototype.clearReportSource = function () { return this.viewerObject.clearReportSource(); };
84
- TelerikReportViewerComponent.prototype.dispose = function () { this.viewerObject.dispose(); };
85
- TelerikReportViewerComponent.prototype.getReportParameters = function () { return this.viewerObject.getReportParameters(); };
86
- TelerikReportViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TelerikReportViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
87
- TelerikReportViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: TelerikReportViewerComponent, selector: "tr-viewer", inputs: { id: "id", serviceUrl: "serviceUrl", reportServer: "reportServer", templateUrl: "templateUrl", initialPageAreaImageUrl: "initialPageAreaImageUrl", reportSource: "reportSource", sendEmail: "sendEmail", parameters: "parameters", scale: "scale", scaleMode: "scaleMode", viewMode: "viewMode", pageMode: "pageMode", persistSession: "persistSession", parameterEditors: "parameterEditors", authenticationToken: "authenticationToken", printMode: "printMode", selector: "selector", disabledButtonClass: "disabledButtonClass", checkedButtonClass: "checkedButtonClass", enableAccessibility: "enableAccessibility", searchMetadataOnDemand: "searchMetadataOnDemand", parametersAreaVisible: "parametersAreaVisible", documentMapVisible: "documentMapVisible", ready: "ready", error: "error", parametersAreaPosition: "parametersAreaPosition", documentMapAreaPosition: "documentMapAreaPosition", exportBegin: "exportBegin", exportEnd: "exportEnd", sendEmailBegin: "sendEmailBegin", sendEmailEnd: "sendEmailEnd", pageReady: "pageReady", printBegin: "printBegin", printEnd: "printEnd", renderingBegin: "renderingBegin", renderingEnd: "renderingEnd", updateUi: "updateUi", interactiveActionExecuting: "interactiveActionExecuting", interactiveActionEnter: "interactiveActionEnter", interactiveActionLeave: "interactiveActionLeave", viewerToolTipOpening: "viewerToolTipOpening", keepClientAlive: "keepClientAlive", containerStyle: "containerStyle" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: '<div [ngStyle]="containerStyle" [attr.id]="reportViewerID" #container>Loading Report Viewer...</div>', isInline: true, directives: [{ type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
88
- return TelerikReportViewerComponent;
89
- }());
90
- exports.TelerikReportViewerComponent = TelerikReportViewerComponent;
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TelerikReportViewerComponent, decorators: [{
92
- type: core_1.Component,
93
- args: [{ selector: 'tr-viewer', template: '<div [ngStyle]="containerStyle" [attr.id]="reportViewerID" #container>Loading Report Viewer...</div>', encapsulation: core_1.ViewEncapsulation.None, styles: [] }]
94
- }], propDecorators: { id: [{
95
- type: core_1.Input
96
- }], serviceUrl: [{
97
- type: core_1.Input
98
- }], reportServer: [{
99
- type: core_1.Input
100
- }], templateUrl: [{
101
- type: core_1.Input
102
- }], initialPageAreaImageUrl: [{
103
- type: core_1.Input
104
- }], reportSource: [{
105
- type: core_1.Input
106
- }], sendEmail: [{
107
- type: core_1.Input
108
- }], parameters: [{
109
- type: core_1.Input
110
- }], scale: [{
111
- type: core_1.Input
112
- }], scaleMode: [{
113
- type: core_1.Input
114
- }], viewMode: [{
115
- type: core_1.Input
116
- }], pageMode: [{
117
- type: core_1.Input
118
- }], persistSession: [{
119
- type: core_1.Input
120
- }], parameterEditors: [{
121
- type: core_1.Input
122
- }], authenticationToken: [{
123
- type: core_1.Input
124
- }], printMode: [{
125
- type: core_1.Input
126
- }], selector: [{
127
- type: core_1.Input
128
- }], disabledButtonClass: [{
129
- type: core_1.Input
130
- }], checkedButtonClass: [{
131
- type: core_1.Input
132
- }], enableAccessibility: [{
133
- type: core_1.Input
134
- }], searchMetadataOnDemand: [{
135
- type: core_1.Input
136
- }], parametersAreaVisible: [{
137
- type: core_1.Input
138
- }], documentMapVisible: [{
139
- type: core_1.Input
140
- }], ready: [{
141
- type: core_1.Input
142
- }], error: [{
143
- type: core_1.Input
144
- }], parametersAreaPosition: [{
145
- type: core_1.Input
146
- }], documentMapAreaPosition: [{
147
- type: core_1.Input
148
- }], exportBegin: [{
149
- type: core_1.Input
150
- }], exportEnd: [{
151
- type: core_1.Input
152
- }], sendEmailBegin: [{
153
- type: core_1.Input
154
- }], sendEmailEnd: [{
155
- type: core_1.Input
156
- }], pageReady: [{
157
- type: core_1.Input
158
- }], printBegin: [{
159
- type: core_1.Input
160
- }], printEnd: [{
161
- type: core_1.Input
162
- }], renderingBegin: [{
163
- type: core_1.Input
164
- }], renderingEnd: [{
165
- type: core_1.Input
166
- }], updateUi: [{
167
- type: core_1.Input
168
- }], interactiveActionExecuting: [{
169
- type: core_1.Input
170
- }], interactiveActionEnter: [{
171
- type: core_1.Input
172
- }], interactiveActionLeave: [{
173
- type: core_1.Input
174
- }], viewerToolTipOpening: [{
175
- type: core_1.Input
176
- }], keepClientAlive: [{
177
- type: core_1.Input
178
- }], container: [{
179
- type: core_1.ViewChild,
180
- args: ['container']
181
- }], containerStyle: [{
182
- type: core_1.Input
183
- }] } });
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.TelerikReportViewerComponent = void 0;
27
+ var core_1 = require("@angular/core");
28
+ require("../dependencies/initExtDeps");
29
+ var telerikReportViewer_1 = require("../dependencies/telerikReportViewer");
30
+ var i0 = __importStar(require("@angular/core"));
31
+ var i1 = __importStar(require("@angular/common"));
32
+ var TelerikReportViewerComponent = /** @class */ (function () {
33
+ function TelerikReportViewerComponent() {
34
+ }
35
+ TelerikReportViewerComponent.prototype.ngOnInit = function () {
36
+ this.reportViewerID = this.id || "reportViewer1";
37
+ this.keepClientAlive = this.keepClientAlive === undefined ? true : this.keepClientAlive;
38
+ };
39
+ TelerikReportViewerComponent.prototype.ngAfterViewInit = function () {
40
+ this.viewerObject = new telerikReportViewer_1.ReportViewer(this.container.nativeElement, {
41
+ id: this.reportViewerID,
42
+ serviceUrl: this.serviceUrl,
43
+ reportServer: this.reportServer,
44
+ trvTemplateUrl: this.templateUrl,
45
+ initialPageAreaImageUrl: this.initialPageAreaImageUrl,
46
+ reportSource: this.reportSource,
47
+ sendEmail: this.sendEmail,
48
+ scale: this.scale,
49
+ scaleMode: this.scaleMode,
50
+ viewMode: this.viewMode,
51
+ pageMode: this.pageMode,
52
+ parameters: this.parameters,
53
+ persistSession: this.persistSession,
54
+ parameterEditors: this.parameterEditors,
55
+ authenticationToken: this.authenticationToken,
56
+ ready: this.ready,
57
+ printMode: this.printMode,
58
+ selector: this.selector,
59
+ disabledButtonClass: this.disabledButtonClass,
60
+ checkedButtonClass: this.checkedButtonClass,
61
+ exportBegin: this.exportBegin,
62
+ exportEnd: this.exportEnd,
63
+ printBegin: this.printBegin,
64
+ printEnd: this.printEnd,
65
+ renderingBegin: this.renderingBegin,
66
+ renderingEnd: this.renderingEnd,
67
+ sendEmailBegin: this.sendEmailBegin,
68
+ sendEmailEnd: this.sendEmailEnd,
69
+ updateUi: this.updateUi,
70
+ pageReady: this.pageReady,
71
+ error: this.error,
72
+ interactiveActionExecuting: this.interactiveActionExecuting,
73
+ interactiveActionEnter: this.interactiveActionEnter,
74
+ interactiveActionLeave: this.interactiveActionLeave,
75
+ viewerToolTipOpening: this.viewerToolTipOpening,
76
+ enableAccessibility: this.enableAccessibility,
77
+ searchMetadataOnDemand: this.searchMetadataOnDemand,
78
+ parametersAreaVisible: this.parametersAreaVisible,
79
+ documentMapVisible: this.documentMapVisible,
80
+ documentMapAreaPosition: this.documentMapAreaPosition,
81
+ parametersAreaPosition: this.parametersAreaPosition,
82
+ keepClientAlive: this.keepClientAlive
83
+ });
84
+ this.commands = this.viewerObject.commands;
85
+ };
86
+ TelerikReportViewerComponent.prototype.ngOnDestroy = function () {
87
+ this.viewerObject.dispose();
88
+ };
89
+ TelerikReportViewerComponent.prototype.refreshReport = function () { return this.viewerObject.refreshReport(); };
90
+ TelerikReportViewerComponent.prototype.getReportSource = function () { return this.viewerObject.reportSource(); };
91
+ TelerikReportViewerComponent.prototype.setReportSource = function (rs) { return this.viewerObject.reportSource(rs); };
92
+ TelerikReportViewerComponent.prototype.getViewMode = function () { return this.viewerObject.viewMode(); };
93
+ TelerikReportViewerComponent.prototype.setViewMode = function (vm) { return this.viewerObject.viewMode(vm); };
94
+ TelerikReportViewerComponent.prototype.getScale = function () { return this.viewerObject.scale(); };
95
+ TelerikReportViewerComponent.prototype.setScale = function (scale) { return this.viewerObject.scale(scale); };
96
+ TelerikReportViewerComponent.prototype.pageCount = function () { return this.viewerObject.pageCount(); };
97
+ TelerikReportViewerComponent.prototype.currentPage = function () { return this.viewerObject.currentPage(); };
98
+ TelerikReportViewerComponent.prototype.setAuthenticationToken = function (token) { return this.viewerObject.authenticationToken(token); };
99
+ TelerikReportViewerComponent.prototype.getAccessibilityKeyMap = function () { return this.viewerObject.accessibilityKeyMap(); };
100
+ TelerikReportViewerComponent.prototype.setAccessibilityKeyMap = function (keyMap) { return this.viewerObject.accessibilityKeyMap(keyMap); };
101
+ TelerikReportViewerComponent.prototype.bind = function (eventName, eventHandler) { this.viewerObject.bind(eventName, eventHandler); };
102
+ TelerikReportViewerComponent.prototype.unbind = function (eventName, eventHandler) { this.viewerObject.unbind(eventName, eventHandler); };
103
+ TelerikReportViewerComponent.prototype.unbindAll = function (eventName) { this.viewerObject.unbind(eventName); };
104
+ TelerikReportViewerComponent.prototype.getPageMode = function () { return this.viewerObject.pageMode(); };
105
+ TelerikReportViewerComponent.prototype.setPageMode = function (psm) { return this.viewerObject.pageMode(psm); };
106
+ TelerikReportViewerComponent.prototype.clearReportSource = function () { return this.viewerObject.clearReportSource(); };
107
+ TelerikReportViewerComponent.prototype.dispose = function () { this.viewerObject.dispose(); };
108
+ TelerikReportViewerComponent.prototype.getReportParameters = function () { return this.viewerObject.getReportParameters(); };
109
+ TelerikReportViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TelerikReportViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
110
+ TelerikReportViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: TelerikReportViewerComponent, selector: "tr-viewer", inputs: { id: "id", serviceUrl: "serviceUrl", reportServer: "reportServer", templateUrl: "templateUrl", initialPageAreaImageUrl: "initialPageAreaImageUrl", reportSource: "reportSource", sendEmail: "sendEmail", parameters: "parameters", scale: "scale", scaleMode: "scaleMode", viewMode: "viewMode", pageMode: "pageMode", persistSession: "persistSession", parameterEditors: "parameterEditors", authenticationToken: "authenticationToken", printMode: "printMode", selector: "selector", disabledButtonClass: "disabledButtonClass", checkedButtonClass: "checkedButtonClass", enableAccessibility: "enableAccessibility", searchMetadataOnDemand: "searchMetadataOnDemand", parametersAreaVisible: "parametersAreaVisible", documentMapVisible: "documentMapVisible", ready: "ready", error: "error", parametersAreaPosition: "parametersAreaPosition", documentMapAreaPosition: "documentMapAreaPosition", exportBegin: "exportBegin", exportEnd: "exportEnd", sendEmailBegin: "sendEmailBegin", sendEmailEnd: "sendEmailEnd", pageReady: "pageReady", printBegin: "printBegin", printEnd: "printEnd", renderingBegin: "renderingBegin", renderingEnd: "renderingEnd", updateUi: "updateUi", interactiveActionExecuting: "interactiveActionExecuting", interactiveActionEnter: "interactiveActionEnter", interactiveActionLeave: "interactiveActionLeave", viewerToolTipOpening: "viewerToolTipOpening", keepClientAlive: "keepClientAlive", containerStyle: "containerStyle" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: '<div [ngStyle]="containerStyle" [attr.id]="reportViewerID" #container>Loading Report Viewer...</div>', isInline: true, directives: [{ type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
111
+ return TelerikReportViewerComponent;
112
+ }());
113
+ exports.TelerikReportViewerComponent = TelerikReportViewerComponent;
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TelerikReportViewerComponent, decorators: [{
115
+ type: core_1.Component,
116
+ args: [{ selector: 'tr-viewer', template: '<div [ngStyle]="containerStyle" [attr.id]="reportViewerID" #container>Loading Report Viewer...</div>', encapsulation: core_1.ViewEncapsulation.None, styles: [] }]
117
+ }], propDecorators: { id: [{
118
+ type: core_1.Input
119
+ }], serviceUrl: [{
120
+ type: core_1.Input
121
+ }], reportServer: [{
122
+ type: core_1.Input
123
+ }], templateUrl: [{
124
+ type: core_1.Input
125
+ }], initialPageAreaImageUrl: [{
126
+ type: core_1.Input
127
+ }], reportSource: [{
128
+ type: core_1.Input
129
+ }], sendEmail: [{
130
+ type: core_1.Input
131
+ }], parameters: [{
132
+ type: core_1.Input
133
+ }], scale: [{
134
+ type: core_1.Input
135
+ }], scaleMode: [{
136
+ type: core_1.Input
137
+ }], viewMode: [{
138
+ type: core_1.Input
139
+ }], pageMode: [{
140
+ type: core_1.Input
141
+ }], persistSession: [{
142
+ type: core_1.Input
143
+ }], parameterEditors: [{
144
+ type: core_1.Input
145
+ }], authenticationToken: [{
146
+ type: core_1.Input
147
+ }], printMode: [{
148
+ type: core_1.Input
149
+ }], selector: [{
150
+ type: core_1.Input
151
+ }], disabledButtonClass: [{
152
+ type: core_1.Input
153
+ }], checkedButtonClass: [{
154
+ type: core_1.Input
155
+ }], enableAccessibility: [{
156
+ type: core_1.Input
157
+ }], searchMetadataOnDemand: [{
158
+ type: core_1.Input
159
+ }], parametersAreaVisible: [{
160
+ type: core_1.Input
161
+ }], documentMapVisible: [{
162
+ type: core_1.Input
163
+ }], ready: [{
164
+ type: core_1.Input
165
+ }], error: [{
166
+ type: core_1.Input
167
+ }], parametersAreaPosition: [{
168
+ type: core_1.Input
169
+ }], documentMapAreaPosition: [{
170
+ type: core_1.Input
171
+ }], exportBegin: [{
172
+ type: core_1.Input
173
+ }], exportEnd: [{
174
+ type: core_1.Input
175
+ }], sendEmailBegin: [{
176
+ type: core_1.Input
177
+ }], sendEmailEnd: [{
178
+ type: core_1.Input
179
+ }], pageReady: [{
180
+ type: core_1.Input
181
+ }], printBegin: [{
182
+ type: core_1.Input
183
+ }], printEnd: [{
184
+ type: core_1.Input
185
+ }], renderingBegin: [{
186
+ type: core_1.Input
187
+ }], renderingEnd: [{
188
+ type: core_1.Input
189
+ }], updateUi: [{
190
+ type: core_1.Input
191
+ }], interactiveActionExecuting: [{
192
+ type: core_1.Input
193
+ }], interactiveActionEnter: [{
194
+ type: core_1.Input
195
+ }], interactiveActionLeave: [{
196
+ type: core_1.Input
197
+ }], viewerToolTipOpening: [{
198
+ type: core_1.Input
199
+ }], keepClientAlive: [{
200
+ type: core_1.Input
201
+ }], container: [{
202
+ type: core_1.ViewChild,
203
+ args: ['container']
204
+ }], containerStyle: [{
205
+ type: core_1.Input
206
+ }] } });