@progress/telerik-angular-report-viewer 29.26.211 → 29.26.402
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/README.md +1 -1
- package/dist/cjs/telerik-report-viewer.component.d.ts +2 -1
- package/dist/cjs/telerik-report-viewer.component.js +8 -6
- package/dist/cjs/telerik-report-viewer.component.js.map +1 -1
- package/dist/dependencies/telerikReportViewer.d.ts +85 -83
- package/dist/dependencies/telerikReportViewer.js +303 -95
- package/dist/dependencies/telerikReportViewerTemplate.html +5 -5
- package/dist/es/telerik-report-viewer.component.d.ts +2 -1
- package/dist/es/telerik-report-viewer.component.js +8 -6
- package/dist/es/telerik-report-viewer.component.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ While the component is not native (the theming mechanism uses Kendo UI for jQuer
|
|
|
22
22
|
and has a dependency to jQuery itself), it brings reporting value to your Angular applications
|
|
23
23
|
in no time.
|
|
24
24
|
|
|
25
|
-
This version of the Angular Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 20.0.26.
|
|
25
|
+
This version of the Angular Report Viewer requires Telerik Report Server or Telerik Reporting REST Service 20.0.26.402.
|
|
26
26
|
|
|
27
27
|
## License
|
|
28
28
|
|
|
@@ -48,6 +48,7 @@ export declare class TelerikReportViewerComponent implements AfterViewInit, OnDe
|
|
|
48
48
|
commands: any;
|
|
49
49
|
container: any;
|
|
50
50
|
containerStyle: any;
|
|
51
|
+
localizationResources: any;
|
|
51
52
|
viewerObject: any;
|
|
52
53
|
reportViewerID: string;
|
|
53
54
|
ngOnInit(): void;
|
|
@@ -74,5 +75,5 @@ export declare class TelerikReportViewerComponent implements AfterViewInit, OnDe
|
|
|
74
75
|
dispose(): void;
|
|
75
76
|
getReportParameters(): any;
|
|
76
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<TelerikReportViewerComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TelerikReportViewerComponent, "tr-viewer", never, { "id": { "alias": "id"; "required": false; }; "serviceUrl": { "alias": "serviceUrl"; "required": false; }; "reportServer": { "alias": "reportServer"; "required": false; }; "templateUrl": { "alias": "templateUrl"; "required": false; }; "initialPageAreaImageUrl": { "alias": "initialPageAreaImageUrl"; "required": false; }; "reportSource": { "alias": "reportSource"; "required": false; }; "sendEmail": { "alias": "sendEmail"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "scaleMode": { "alias": "scaleMode"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "pageMode": { "alias": "pageMode"; "required": false; }; "persistSession": { "alias": "persistSession"; "required": false; }; "parameterEditors": { "alias": "parameterEditors"; "required": false; }; "authenticationToken": { "alias": "authenticationToken"; "required": false; }; "printMode": { "alias": "printMode"; "required": false; }; "selector": { "alias": "selector"; "required": false; }; "disabledButtonClass": { "alias": "disabledButtonClass"; "required": false; }; "checkedButtonClass": { "alias": "checkedButtonClass"; "required": false; }; "enableAccessibility": { "alias": "enableAccessibility"; "required": false; }; "searchMetadataOnDemand": { "alias": "searchMetadataOnDemand"; "required": false; }; "parametersAreaVisible": { "alias": "parametersAreaVisible"; "required": false; }; "documentMapVisible": { "alias": "documentMapVisible"; "required": false; }; "ready": { "alias": "ready"; "required": false; }; "error": { "alias": "error"; "required": false; }; "parametersAreaPosition": { "alias": "parametersAreaPosition"; "required": false; }; "documentMapAreaPosition": { "alias": "documentMapAreaPosition"; "required": false; }; "exportBegin": { "alias": "exportBegin"; "required": false; }; "exportEnd": { "alias": "exportEnd"; "required": false; }; "sendEmailBegin": { "alias": "sendEmailBegin"; "required": false; }; "sendEmailEnd": { "alias": "sendEmailEnd"; "required": false; }; "pageReady": { "alias": "pageReady"; "required": false; }; "printBegin": { "alias": "printBegin"; "required": false; }; "printEnd": { "alias": "printEnd"; "required": false; }; "renderingBegin": { "alias": "renderingBegin"; "required": false; }; "renderingEnd": { "alias": "renderingEnd"; "required": false; }; "updateUi": { "alias": "updateUi"; "required": false; }; "interactiveActionExecuting": { "alias": "interactiveActionExecuting"; "required": false; }; "interactiveActionEnter": { "alias": "interactiveActionEnter"; "required": false; }; "interactiveActionLeave": { "alias": "interactiveActionLeave"; "required": false; }; "viewerToolTipOpening": { "alias": "viewerToolTipOpening"; "required": false; }; "keepClientAlive": { "alias": "keepClientAlive"; "required": false; }; "containerStyle": { "alias": "containerStyle"; "required": false; }; }, {}, never, never, false, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TelerikReportViewerComponent, "tr-viewer", never, { "id": { "alias": "id"; "required": false; }; "serviceUrl": { "alias": "serviceUrl"; "required": false; }; "reportServer": { "alias": "reportServer"; "required": false; }; "templateUrl": { "alias": "templateUrl"; "required": false; }; "initialPageAreaImageUrl": { "alias": "initialPageAreaImageUrl"; "required": false; }; "reportSource": { "alias": "reportSource"; "required": false; }; "sendEmail": { "alias": "sendEmail"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "scaleMode": { "alias": "scaleMode"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "pageMode": { "alias": "pageMode"; "required": false; }; "persistSession": { "alias": "persistSession"; "required": false; }; "parameterEditors": { "alias": "parameterEditors"; "required": false; }; "authenticationToken": { "alias": "authenticationToken"; "required": false; }; "printMode": { "alias": "printMode"; "required": false; }; "selector": { "alias": "selector"; "required": false; }; "disabledButtonClass": { "alias": "disabledButtonClass"; "required": false; }; "checkedButtonClass": { "alias": "checkedButtonClass"; "required": false; }; "enableAccessibility": { "alias": "enableAccessibility"; "required": false; }; "searchMetadataOnDemand": { "alias": "searchMetadataOnDemand"; "required": false; }; "parametersAreaVisible": { "alias": "parametersAreaVisible"; "required": false; }; "documentMapVisible": { "alias": "documentMapVisible"; "required": false; }; "ready": { "alias": "ready"; "required": false; }; "error": { "alias": "error"; "required": false; }; "parametersAreaPosition": { "alias": "parametersAreaPosition"; "required": false; }; "documentMapAreaPosition": { "alias": "documentMapAreaPosition"; "required": false; }; "exportBegin": { "alias": "exportBegin"; "required": false; }; "exportEnd": { "alias": "exportEnd"; "required": false; }; "sendEmailBegin": { "alias": "sendEmailBegin"; "required": false; }; "sendEmailEnd": { "alias": "sendEmailEnd"; "required": false; }; "pageReady": { "alias": "pageReady"; "required": false; }; "printBegin": { "alias": "printBegin"; "required": false; }; "printEnd": { "alias": "printEnd"; "required": false; }; "renderingBegin": { "alias": "renderingBegin"; "required": false; }; "renderingEnd": { "alias": "renderingEnd"; "required": false; }; "updateUi": { "alias": "updateUi"; "required": false; }; "interactiveActionExecuting": { "alias": "interactiveActionExecuting"; "required": false; }; "interactiveActionEnter": { "alias": "interactiveActionEnter"; "required": false; }; "interactiveActionLeave": { "alias": "interactiveActionLeave"; "required": false; }; "viewerToolTipOpening": { "alias": "viewerToolTipOpening"; "required": false; }; "keepClientAlive": { "alias": "keepClientAlive"; "required": false; }; "containerStyle": { "alias": "containerStyle"; "required": false; }; "localizationResources": { "alias": "localizationResources"; "required": false; }; }, {}, never, never, false, never>;
|
|
78
79
|
}
|
|
@@ -55,7 +55,9 @@ class TelerikReportViewerComponent {
|
|
|
55
55
|
documentMapVisible: this.documentMapVisible,
|
|
56
56
|
documentMapAreaPosition: this.documentMapAreaPosition,
|
|
57
57
|
parametersAreaPosition: this.parametersAreaPosition,
|
|
58
|
-
keepClientAlive: this.keepClientAlive
|
|
58
|
+
keepClientAlive: this.keepClientAlive,
|
|
59
|
+
localizationResources: this.localizationResources,
|
|
60
|
+
wrapper: "angular"
|
|
59
61
|
});
|
|
60
62
|
this.commands = this.viewerObject.commands;
|
|
61
63
|
}
|
|
@@ -90,17 +92,15 @@ TelerikReportViewerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TelerikRepor
|
|
|
90
92
|
} if (rf & 2) {
|
|
91
93
|
let _t;
|
|
92
94
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
93
|
-
} }, 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" }, standalone: false, decls:
|
|
94
|
-
i0.ɵɵ
|
|
95
|
-
i0.ɵɵtext(2, "Loading Report Viewer...");
|
|
96
|
-
i0.ɵɵelementEnd();
|
|
95
|
+
} }, 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", localizationResources: "localizationResources" }, standalone: false, decls: 2, vars: 2, consts: [["container", ""], [3, "ngStyle"]], template: function TelerikReportViewerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
96
|
+
i0.ɵɵelement(0, "div", 1, 0);
|
|
97
97
|
} if (rf & 2) {
|
|
98
98
|
i0.ɵɵproperty("ngStyle", ctx.containerStyle);
|
|
99
99
|
i0.ɵɵattribute("id", ctx.reportViewerID);
|
|
100
100
|
} }, dependencies: [i1.NgStyle], encapsulation: 2 });
|
|
101
101
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TelerikReportViewerComponent, [{
|
|
102
102
|
type: core_1.Component,
|
|
103
|
-
args: [{ selector: 'tr-viewer', standalone: false, template: '<div [ngStyle]="containerStyle" [attr.id]="reportViewerID" #container
|
|
103
|
+
args: [{ selector: 'tr-viewer', standalone: false, template: '<div [ngStyle]="containerStyle" [attr.id]="reportViewerID" #container></div>', encapsulation: core_1.ViewEncapsulation.None }]
|
|
104
104
|
}], null, { id: [{
|
|
105
105
|
type: core_1.Input
|
|
106
106
|
}], serviceUrl: [{
|
|
@@ -190,6 +190,8 @@ TelerikReportViewerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TelerikRepor
|
|
|
190
190
|
args: ['container']
|
|
191
191
|
}], containerStyle: [{
|
|
192
192
|
type: core_1.Input
|
|
193
|
+
}], localizationResources: [{
|
|
194
|
+
type: core_1.Input
|
|
193
195
|
}] }); })();
|
|
194
196
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TelerikReportViewerComponent, { className: "TelerikReportViewerComponent", filePath: "src/telerik-report-viewer.component.ts", lineNumber: 42 }); })();
|
|
195
197
|
//# sourceMappingURL=telerik-report-viewer.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telerik-report-viewer.component.js","sourceRoot":"","sources":["../../src/telerik-report-viewer.component.ts"],"names":[],"mappings":";;;AAAA,wCAAyG;AAEzG,uCAAqC;AACrC,6EAAmE;;;;AA8BnE,MAQa,4BAA4B;
|
|
1
|
+
{"version":3,"file":"telerik-report-viewer.component.js","sourceRoot":"","sources":["../../src/telerik-report-viewer.component.ts"],"names":[],"mappings":";;;AAAA,wCAAyG;AAEzG,uCAAqC;AACrC,6EAAmE;;;;AA8BnE,MAQa,4BAA4B;IAwiCrC,QAAQ;QACJ,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,EAAE,IAAI,eAAe,CAAC;QACjD,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;IAC5F,CAAC;IAOD,eAAe;QACX,IAAI,CAAC,YAAY,GAAG,IAAI,kCAAY,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC/D,EAAE,EAAE,IAAI,CAAC,cAAc;YACvB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,cAAc,EAAE,IAAI,CAAC,WAAW;YAChC,uBAAuB,EAAE,IAAI,CAAC,uBAAuB;YACrD,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,SAAS,EAAE,IA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;YAmBG,qBAAqB;kBAA7B,YAAK;;kFAthCG,4BAA4B"}
|
|
@@ -1,83 +1,85 @@
|
|
|
1
|
-
export class ReportViewer {
|
|
2
|
-
constructor(element: Element, options: TelerikReportViewerOptions);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
interface TelerikReportViewerOptions {
|
|
6
|
-
id?: string;
|
|
7
|
-
serviceUrl?: string;
|
|
8
|
-
reportServer?: ReportServerOptions;
|
|
9
|
-
trvTemplateUrl?: string;
|
|
10
|
-
reportSource?: ReportSourceOptions;
|
|
11
|
-
sendEmail?: SendEmailOptions;
|
|
12
|
-
scale?: number;
|
|
13
|
-
scaleMode?: string;
|
|
14
|
-
viewMode?: string;
|
|
15
|
-
pageMode?: string;
|
|
16
|
-
printMode?: string;
|
|
17
|
-
parametersAreaPosition?: string;
|
|
18
|
-
documentMapAreaPosition?: string;
|
|
19
|
-
persistSession?: boolean;
|
|
20
|
-
parameters?: ParametersOptions;
|
|
21
|
-
parameterEditors?: ParameterEditor[];
|
|
22
|
-
authenticationToken?: string;
|
|
23
|
-
enableAccessibility?: boolean;
|
|
24
|
-
parametersAreaVisible?: boolean;
|
|
25
|
-
documentMapVisible?: boolean;
|
|
26
|
-
searchMetadataOnDemand?: boolean;
|
|
27
|
-
initialPageAreaImageUrl?: string;
|
|
28
|
-
selector?: string;
|
|
29
|
-
disabledButtonClass?: string;
|
|
30
|
-
checkedButtonClass?: string;
|
|
31
|
-
ready?: Function;
|
|
32
|
-
exportBegin?: Function;
|
|
33
|
-
exportEnd?: Function;
|
|
34
|
-
printBegin?: Function;
|
|
35
|
-
printEnd?: Function;
|
|
36
|
-
sendEmailBegin?: Function;
|
|
37
|
-
sendEmailEnd?: Function;
|
|
38
|
-
renderingBegin?: Function;
|
|
39
|
-
renderingEnd?: Function;
|
|
40
|
-
updateUi?: Function;
|
|
41
|
-
pageReady?: Function;
|
|
42
|
-
error?: Function;
|
|
43
|
-
viewerToolTipOpening?: Function;
|
|
44
|
-
interactiveActionExecuting?: Function;
|
|
45
|
-
interactiveActionEnter?: Function;
|
|
46
|
-
interactiveActionLeave?: Function;
|
|
47
|
-
keepClientAlive?: boolean;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
1
|
+
export class ReportViewer {
|
|
2
|
+
constructor(element: Element, options: TelerikReportViewerOptions);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
interface TelerikReportViewerOptions {
|
|
6
|
+
id?: string;
|
|
7
|
+
serviceUrl?: string;
|
|
8
|
+
reportServer?: ReportServerOptions;
|
|
9
|
+
trvTemplateUrl?: string;
|
|
10
|
+
reportSource?: ReportSourceOptions;
|
|
11
|
+
sendEmail?: SendEmailOptions;
|
|
12
|
+
scale?: number;
|
|
13
|
+
scaleMode?: string;
|
|
14
|
+
viewMode?: string;
|
|
15
|
+
pageMode?: string;
|
|
16
|
+
printMode?: string;
|
|
17
|
+
parametersAreaPosition?: string;
|
|
18
|
+
documentMapAreaPosition?: string;
|
|
19
|
+
persistSession?: boolean;
|
|
20
|
+
parameters?: ParametersOptions;
|
|
21
|
+
parameterEditors?: ParameterEditor[];
|
|
22
|
+
authenticationToken?: string;
|
|
23
|
+
enableAccessibility?: boolean;
|
|
24
|
+
parametersAreaVisible?: boolean;
|
|
25
|
+
documentMapVisible?: boolean;
|
|
26
|
+
searchMetadataOnDemand?: boolean;
|
|
27
|
+
initialPageAreaImageUrl?: string;
|
|
28
|
+
selector?: string;
|
|
29
|
+
disabledButtonClass?: string;
|
|
30
|
+
checkedButtonClass?: string;
|
|
31
|
+
ready?: Function;
|
|
32
|
+
exportBegin?: Function;
|
|
33
|
+
exportEnd?: Function;
|
|
34
|
+
printBegin?: Function;
|
|
35
|
+
printEnd?: Function;
|
|
36
|
+
sendEmailBegin?: Function;
|
|
37
|
+
sendEmailEnd?: Function;
|
|
38
|
+
renderingBegin?: Function;
|
|
39
|
+
renderingEnd?: Function;
|
|
40
|
+
updateUi?: Function;
|
|
41
|
+
pageReady?: Function;
|
|
42
|
+
error?: Function;
|
|
43
|
+
viewerToolTipOpening?: Function;
|
|
44
|
+
interactiveActionExecuting?: Function;
|
|
45
|
+
interactiveActionEnter?: Function;
|
|
46
|
+
interactiveActionLeave?: Function;
|
|
47
|
+
keepClientAlive?: boolean;
|
|
48
|
+
localizationResources?: any;
|
|
49
|
+
wrapper?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
interface ReportServerOptions {
|
|
53
|
+
url?: string;
|
|
54
|
+
username?: string;
|
|
55
|
+
password?: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface ReportSourceOptions {
|
|
59
|
+
report?: string;
|
|
60
|
+
parameters?: any;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
interface SendEmailOptions {
|
|
64
|
+
enabled?: boolean;
|
|
65
|
+
from?: string;
|
|
66
|
+
to?: string;
|
|
67
|
+
cc?: string;
|
|
68
|
+
subject?: string;
|
|
69
|
+
body?: string;
|
|
70
|
+
format?: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
interface ParametersOptions {
|
|
74
|
+
editors?: EditorsOptions;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
interface EditorsOptions {
|
|
78
|
+
singleSelect?: string;
|
|
79
|
+
multiSelect?: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
interface ParameterEditor {
|
|
83
|
+
match?: Function;
|
|
84
|
+
createEditor?: Function;
|
|
85
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var $ = require("jquery");
|
|
2
2
|
/*
|
|
3
|
-
* TelerikReporting v20.0.26.
|
|
3
|
+
* TelerikReporting v20.0.26.402 (https://www.telerik.com/products/reporting.aspx)
|
|
4
4
|
* Copyright 2026 Progress Software EAD. All rights reserved.
|
|
5
5
|
*
|
|
6
6
|
* Telerik Reporting commercial licenses may be obtained at
|
|
@@ -14,7 +14,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
14
14
|
|
|
15
15
|
var dist = {exports: {}};
|
|
16
16
|
|
|
17
|
-
/*! @license DOMPurify 3.2
|
|
17
|
+
/*! @license DOMPurify 3.3.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.2/LICENSE */
|
|
18
18
|
|
|
19
19
|
var purify_cjs;
|
|
20
20
|
var hasRequiredPurify_cjs;
|
|
@@ -50,12 +50,18 @@ var telerikReportViewer = (function (exports) {
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
if (!apply) {
|
|
53
|
-
apply = function apply(
|
|
54
|
-
|
|
53
|
+
apply = function apply(func, thisArg) {
|
|
54
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
55
|
+
args[_key - 2] = arguments[_key];
|
|
56
|
+
}
|
|
57
|
+
return func.apply(thisArg, args);
|
|
55
58
|
};
|
|
56
59
|
}
|
|
57
60
|
if (!construct) {
|
|
58
|
-
construct = function construct(Func
|
|
61
|
+
construct = function construct(Func) {
|
|
62
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
63
|
+
args[_key2 - 1] = arguments[_key2];
|
|
64
|
+
}
|
|
59
65
|
return new Func(...args);
|
|
60
66
|
};
|
|
61
67
|
}
|
|
@@ -84,8 +90,8 @@ var telerikReportViewer = (function (exports) {
|
|
|
84
90
|
if (thisArg instanceof RegExp) {
|
|
85
91
|
thisArg.lastIndex = 0;
|
|
86
92
|
}
|
|
87
|
-
for (var
|
|
88
|
-
args[
|
|
93
|
+
for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
|
|
94
|
+
args[_key3 - 1] = arguments[_key3];
|
|
89
95
|
}
|
|
90
96
|
return apply(func, thisArg, args);
|
|
91
97
|
};
|
|
@@ -96,12 +102,12 @@ var telerikReportViewer = (function (exports) {
|
|
|
96
102
|
* @param func - The constructor function to be wrapped and called.
|
|
97
103
|
* @returns A new function that constructs an instance of the given constructor function with the provided arguments.
|
|
98
104
|
*/
|
|
99
|
-
function unconstruct(
|
|
105
|
+
function unconstruct(Func) {
|
|
100
106
|
return function () {
|
|
101
|
-
for (var
|
|
102
|
-
args[
|
|
107
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
108
|
+
args[_key4] = arguments[_key4];
|
|
103
109
|
}
|
|
104
|
-
return construct(
|
|
110
|
+
return construct(Func, args);
|
|
105
111
|
};
|
|
106
112
|
}
|
|
107
113
|
/**
|
|
@@ -200,8 +206,8 @@ var telerikReportViewer = (function (exports) {
|
|
|
200
206
|
return fallbackValue;
|
|
201
207
|
}
|
|
202
208
|
|
|
203
|
-
const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
|
|
204
|
-
const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
|
|
209
|
+
const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
|
|
210
|
+
const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
|
|
205
211
|
const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);
|
|
206
212
|
// List of SVG elements that are disallowed by default.
|
|
207
213
|
// We still need to know them so that we can do namespace
|
|
@@ -214,8 +220,8 @@ var telerikReportViewer = (function (exports) {
|
|
|
214
220
|
const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
|
|
215
221
|
const text = freeze(['#text']);
|
|
216
222
|
|
|
217
|
-
const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
|
|
218
|
-
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
|
223
|
+
const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
|
|
224
|
+
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
|
219
225
|
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
|
|
220
226
|
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
221
227
|
|
|
@@ -313,7 +319,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
313
319
|
function createDOMPurify() {
|
|
314
320
|
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
315
321
|
const DOMPurify = root => createDOMPurify(root);
|
|
316
|
-
DOMPurify.version = '3.2
|
|
322
|
+
DOMPurify.version = '3.3.2';
|
|
317
323
|
DOMPurify.removed = [];
|
|
318
324
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
319
325
|
// Not running in a browser, provide a factory function
|
|
@@ -424,6 +430,21 @@ var telerikReportViewer = (function (exports) {
|
|
|
424
430
|
let FORBID_TAGS = null;
|
|
425
431
|
/* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
|
|
426
432
|
let FORBID_ATTR = null;
|
|
433
|
+
/* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */
|
|
434
|
+
const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {
|
|
435
|
+
tagCheck: {
|
|
436
|
+
writable: true,
|
|
437
|
+
configurable: false,
|
|
438
|
+
enumerable: true,
|
|
439
|
+
value: null
|
|
440
|
+
},
|
|
441
|
+
attributeCheck: {
|
|
442
|
+
writable: true,
|
|
443
|
+
configurable: false,
|
|
444
|
+
enumerable: true,
|
|
445
|
+
value: null
|
|
446
|
+
}
|
|
447
|
+
}));
|
|
427
448
|
/* Decide if ARIA attributes are okay */
|
|
428
449
|
let ALLOW_ARIA_ATTR = true;
|
|
429
450
|
/* Decide if custom data attributes are okay */
|
|
@@ -593,7 +614,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
593
614
|
/* Parse profile info */
|
|
594
615
|
if (USE_PROFILES) {
|
|
595
616
|
ALLOWED_TAGS = addToSet({}, text);
|
|
596
|
-
ALLOWED_ATTR =
|
|
617
|
+
ALLOWED_ATTR = create(null);
|
|
597
618
|
if (USE_PROFILES.html === true) {
|
|
598
619
|
addToSet(ALLOWED_TAGS, html$1);
|
|
599
620
|
addToSet(ALLOWED_ATTR, html);
|
|
@@ -614,18 +635,33 @@ var telerikReportViewer = (function (exports) {
|
|
|
614
635
|
addToSet(ALLOWED_ATTR, xml);
|
|
615
636
|
}
|
|
616
637
|
}
|
|
638
|
+
/* Prevent function-based ADD_ATTR / ADD_TAGS from leaking across calls */
|
|
639
|
+
if (!objectHasOwnProperty(cfg, 'ADD_TAGS')) {
|
|
640
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = null;
|
|
641
|
+
}
|
|
642
|
+
if (!objectHasOwnProperty(cfg, 'ADD_ATTR')) {
|
|
643
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
644
|
+
}
|
|
617
645
|
/* Merge configuration parameters */
|
|
618
646
|
if (cfg.ADD_TAGS) {
|
|
619
|
-
if (
|
|
620
|
-
|
|
647
|
+
if (typeof cfg.ADD_TAGS === 'function') {
|
|
648
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
|
|
649
|
+
} else {
|
|
650
|
+
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
651
|
+
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
652
|
+
}
|
|
653
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
621
654
|
}
|
|
622
|
-
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
623
655
|
}
|
|
624
656
|
if (cfg.ADD_ATTR) {
|
|
625
|
-
if (
|
|
626
|
-
|
|
657
|
+
if (typeof cfg.ADD_ATTR === 'function') {
|
|
658
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
|
|
659
|
+
} else {
|
|
660
|
+
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
661
|
+
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
662
|
+
}
|
|
663
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
627
664
|
}
|
|
628
|
-
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
629
665
|
}
|
|
630
666
|
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
631
667
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
@@ -636,6 +672,12 @@ var telerikReportViewer = (function (exports) {
|
|
|
636
672
|
}
|
|
637
673
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
638
674
|
}
|
|
675
|
+
if (cfg.ADD_FORBID_CONTENTS) {
|
|
676
|
+
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
677
|
+
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
678
|
+
}
|
|
679
|
+
addToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);
|
|
680
|
+
}
|
|
639
681
|
/* Add #text in case KEEP_CONTENT is set to true */
|
|
640
682
|
if (KEEP_CONTENT) {
|
|
641
683
|
ALLOWED_TAGS['#text'] = true;
|
|
@@ -933,7 +975,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
933
975
|
return true;
|
|
934
976
|
}
|
|
935
977
|
/* Remove element if anything forbids its presence */
|
|
936
|
-
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
978
|
+
if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {
|
|
937
979
|
/* Check if we have a custom element to handle */
|
|
938
980
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
939
981
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
@@ -997,6 +1039,10 @@ var telerikReportViewer = (function (exports) {
|
|
|
997
1039
|
*/
|
|
998
1040
|
// eslint-disable-next-line complexity
|
|
999
1041
|
const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
|
|
1042
|
+
/* FORBID_ATTR must always win, even if ADD_ATTR predicate would allow it */
|
|
1043
|
+
if (FORBID_ATTR[lcName]) {
|
|
1044
|
+
return false;
|
|
1045
|
+
}
|
|
1000
1046
|
/* Make sure attribute cannot clobber */
|
|
1001
1047
|
if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
|
|
1002
1048
|
return false;
|
|
@@ -1005,12 +1051,12 @@ var telerikReportViewer = (function (exports) {
|
|
|
1005
1051
|
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
|
1006
1052
|
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
|
1007
1053
|
We don't need to check the value; it's always URI safe. */
|
|
1008
|
-
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1054
|
+
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1009
1055
|
if (
|
|
1010
1056
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1011
1057
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1012
1058
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
1013
|
-
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) ||
|
|
1059
|
+
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) ||
|
|
1014
1060
|
// Alternative, second condition checks if it's an `is`-attribute, AND
|
|
1015
1061
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1016
1062
|
lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {
|
|
@@ -1089,7 +1135,12 @@ var telerikReportViewer = (function (exports) {
|
|
|
1089
1135
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1090
1136
|
}
|
|
1091
1137
|
/* Work around a security issue with comments inside attributes */
|
|
1092
|
-
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
1138
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {
|
|
1139
|
+
_removeAttribute(name, currentNode);
|
|
1140
|
+
continue;
|
|
1141
|
+
}
|
|
1142
|
+
/* Make sure we cannot easily use animated hrefs, even if animations are allowed */
|
|
1143
|
+
if (lcName === 'attributename' && stringMatch(value, 'href')) {
|
|
1093
1144
|
_removeAttribute(name, currentNode);
|
|
1094
1145
|
continue;
|
|
1095
1146
|
}
|
|
@@ -1366,28 +1417,28 @@ var telerikReportViewer = (function (exports) {
|
|
|
1366
1417
|
t(exports$1, requirePurify_cjs()) ;
|
|
1367
1418
|
}(commonjsGlobal, function(e, t) {
|
|
1368
1419
|
function i(e2, t2, i2, n2) {
|
|
1369
|
-
return new (i2 || (i2 = Promise))(function(
|
|
1370
|
-
function
|
|
1420
|
+
return new (i2 || (i2 = Promise))(function(r2, s2) {
|
|
1421
|
+
function o2(e3) {
|
|
1371
1422
|
try {
|
|
1372
|
-
|
|
1423
|
+
l2(n2.next(e3));
|
|
1373
1424
|
} catch (e4) {
|
|
1374
|
-
|
|
1425
|
+
s2(e4);
|
|
1375
1426
|
}
|
|
1376
1427
|
}
|
|
1377
|
-
function
|
|
1428
|
+
function a2(e3) {
|
|
1378
1429
|
try {
|
|
1379
|
-
|
|
1430
|
+
l2(n2.throw(e3));
|
|
1380
1431
|
} catch (e4) {
|
|
1381
|
-
|
|
1432
|
+
s2(e4);
|
|
1382
1433
|
}
|
|
1383
1434
|
}
|
|
1384
|
-
function
|
|
1385
|
-
var
|
|
1386
|
-
e3.done ?
|
|
1387
|
-
e4(
|
|
1388
|
-
})).then(
|
|
1435
|
+
function l2(e3) {
|
|
1436
|
+
var t3;
|
|
1437
|
+
e3.done ? r2(e3.value) : (t3 = e3.value, t3 instanceof i2 ? t3 : new i2(function(e4) {
|
|
1438
|
+
e4(t3);
|
|
1439
|
+
})).then(o2, a2);
|
|
1389
1440
|
}
|
|
1390
|
-
|
|
1441
|
+
l2((n2 = n2.apply(e2, t2 || [])).next());
|
|
1391
1442
|
});
|
|
1392
1443
|
}
|
|
1393
1444
|
class n {
|
|
@@ -1473,7 +1524,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1473
1524
|
return t2 && (n2["Content-Type"] = i2 ? "application/x-www-form-urlencoded; charset=UTF-8" : "application/json; charset=UTF-8"), e2 && (n2.authorization = "Bearer " + e2), n2;
|
|
1474
1525
|
}
|
|
1475
1526
|
function f(e2) {
|
|
1476
|
-
return i(this, 0, void 0, function* () {
|
|
1527
|
+
return i(this, void 0, void 0, function* () {
|
|
1477
1528
|
if (!e2.ok) {
|
|
1478
1529
|
let t2 = yield e2.text(), i2 = new g(t2, e2.statusText);
|
|
1479
1530
|
return Promise.reject(i2);
|
|
@@ -1680,7 +1731,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1680
1731
|
if (!(i2 = n2[e2]))
|
|
1681
1732
|
return this;
|
|
1682
1733
|
if (i2 === t2 || i2.listener && i2.listener === t2)
|
|
1683
|
-
0
|
|
1734
|
+
0 === --this._eventsCount ? this._events = new E() : (delete n2[e2], n2.removeListener && this.emit("removeListener", e2, i2.listener || t2));
|
|
1684
1735
|
else if ("function" != typeof i2) {
|
|
1685
1736
|
for (r2 = -1, s2 = i2.length; s2-- > 0; )
|
|
1686
1737
|
if (i2[s2] === t2 || i2[s2].listener && i2[s2].listener === t2) {
|
|
@@ -1690,7 +1741,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1690
1741
|
if (r2 < 0)
|
|
1691
1742
|
return this;
|
|
1692
1743
|
if (1 === i2.length) {
|
|
1693
|
-
if (i2[0] = void 0, 0
|
|
1744
|
+
if (i2[0] = void 0, 0 === --this._eventsCount)
|
|
1694
1745
|
return this._events = new E(), this;
|
|
1695
1746
|
delete n2[e2];
|
|
1696
1747
|
} else
|
|
@@ -1709,7 +1760,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1709
1760
|
if (!(i2 = this._events))
|
|
1710
1761
|
return this;
|
|
1711
1762
|
if (!i2.removeListener)
|
|
1712
|
-
return 0 === arguments.length ? (this._events = new E(), this._eventsCount = 0) : i2[e2] && (0
|
|
1763
|
+
return 0 === arguments.length ? (this._events = new E(), this._eventsCount = 0) : i2[e2] && (0 === --this._eventsCount ? this._events = new E() : delete i2[e2]), this;
|
|
1713
1764
|
if (0 === arguments.length) {
|
|
1714
1765
|
for (var n2, r2 = Object.keys(i2), s2 = 0; s2 < r2.length; ++s2)
|
|
1715
1766
|
"removeListener" !== (n2 = r2[s2]) && this.removeAllListeners(n2);
|
|
@@ -1795,7 +1846,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1795
1846
|
return delete this._events[e2];
|
|
1796
1847
|
}
|
|
1797
1848
|
emit(e2, ...t2) {
|
|
1798
|
-
return i(this, 0, void 0, function* () {
|
|
1849
|
+
return i(this, void 0, void 0, function* () {
|
|
1799
1850
|
O(e2);
|
|
1800
1851
|
const i2 = this.listeners(e2), n2 = [];
|
|
1801
1852
|
if (i2 && i2.length) {
|
|
@@ -1835,7 +1886,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
1835
1886
|
return this.awaitEventEmitter.on(e2, t2), this;
|
|
1836
1887
|
}
|
|
1837
1888
|
emitAsync(e2, ...t2) {
|
|
1838
|
-
return i(this, 0, void 0, function* () {
|
|
1889
|
+
return i(this, void 0, void 0, function* () {
|
|
1839
1890
|
yield this.awaitEventEmitter.emit(e2, ...t2);
|
|
1840
1891
|
});
|
|
1841
1892
|
}
|
|
@@ -3087,7 +3138,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
3087
3138
|
this.emit("toolTipClosing", e2);
|
|
3088
3139
|
}
|
|
3089
3140
|
printReport() {
|
|
3090
|
-
return i(this, 0, void 0, function* () {
|
|
3141
|
+
return i(this, void 0, void 0, function* () {
|
|
3091
3142
|
let e2 = this.createDeviceInfo();
|
|
3092
3143
|
e2.ImmediatePrint = true;
|
|
3093
3144
|
let t2 = new c(e2);
|
|
@@ -3100,13 +3151,13 @@ var telerikReportViewer = (function (exports) {
|
|
|
3100
3151
|
});
|
|
3101
3152
|
}
|
|
3102
3153
|
exportReport(e2) {
|
|
3103
|
-
return i(this, 0, void 0, function* () {
|
|
3154
|
+
return i(this, void 0, void 0, function* () {
|
|
3104
3155
|
let t2 = this.createDeviceInfo(), n2 = new a(t2, e2);
|
|
3105
3156
|
if (yield this.emitAsync("exportStart", n2), !n2.isCancelled) {
|
|
3106
3157
|
let r2 = new l(t2, e2);
|
|
3107
3158
|
if (this.emit("exportStarted", r2), r2.handled)
|
|
3108
3159
|
return;
|
|
3109
|
-
this.setUIState("ExportInProgress", true), this.exportAsync(e2, n2.deviceInfo).then((t3) => i(this, 0, void 0, function* () {
|
|
3160
|
+
this.setUIState("ExportInProgress", true), this.exportAsync(e2, n2.deviceInfo).then((t3) => i(this, void 0, void 0, function* () {
|
|
3110
3161
|
let i2 = this.serviceClient.getDocumentUrl(this.clientId, this.reportInstanceId, t3);
|
|
3111
3162
|
i2 += "?response-content-disposition=attachment";
|
|
3112
3163
|
let n3 = new h(i2, e2, "_self");
|
|
@@ -3139,7 +3190,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
3139
3190
|
return this.serviceClient.getAIResponse(this.clientId, this.reportInstanceId, this.documentId, this.threadId, e2).then((e3) => e3 || "");
|
|
3140
3191
|
}
|
|
3141
3192
|
exportAsync(e2, t2) {
|
|
3142
|
-
return this.initializeClient().then(this.registerInstance.bind(this)).then(() => this.registerDocumentAsync(e2, t2, false, this.documentId)).then((e3) => i(this, 0, void 0, function* () {
|
|
3193
|
+
return this.initializeClient().then(this.registerInstance.bind(this)).then(() => this.registerDocumentAsync(e2, t2, false, this.documentId)).then((e3) => i(this, void 0, void 0, function* () {
|
|
3143
3194
|
return yield this.getDocumentInfo(false, e3).catch((e4) => this.raiseError(e4)), e3;
|
|
3144
3195
|
}));
|
|
3145
3196
|
}
|
|
@@ -3227,10 +3278,10 @@ var telerikReportViewer = (function (exports) {
|
|
|
3227
3278
|
registerInstance() {
|
|
3228
3279
|
return this.registerInstancePromise || (this.registerInstancePromise = this.serviceClient.createReportInstance(this.clientId, this.getReport(), this.parameterValues).then(this.setReportInstanceId.bind(this)).catch(this.clearReportInstanceId.bind(this))), this.registerInstancePromise;
|
|
3229
3280
|
}
|
|
3230
|
-
registerDocumentAsync(e2, t2, n2
|
|
3231
|
-
return i(this,
|
|
3232
|
-
return (yield this.serviceClient.createReportDocument(this.clientId, this.reportInstanceId,
|
|
3233
|
-
this.handleRequestError(
|
|
3281
|
+
registerDocumentAsync(e2, t2, n2) {
|
|
3282
|
+
return i(this, arguments, void 0, function* (e3, t3, i2, n3 = "", r2 = "") {
|
|
3283
|
+
return (yield this.serviceClient.createReportDocument(this.clientId, this.reportInstanceId, e3, t3, !i2, n3, r2).catch((t4) => {
|
|
3284
|
+
this.handleRequestError(t4, be(this.options.messages.ReportViewer_ErrorCreatingReportDocument, le(this.getReport()), le(e3)));
|
|
3234
3285
|
})) || "";
|
|
3235
3286
|
});
|
|
3236
3287
|
}
|
|
@@ -3280,7 +3331,7 @@ var telerikReportViewer = (function (exports) {
|
|
|
3280
3331
|
}
|
|
3281
3332
|
getDocumentInfo(t2, n2) {
|
|
3282
3333
|
return t2 && this.emit("beginLoadReport"), new Promise((r2, s2) => {
|
|
3283
|
-
let o2 = () => i(this, 0, void 0, function* () {
|
|
3334
|
+
let o2 = () => i(this, void 0, void 0, function* () {
|
|
3284
3335
|
this.cancelLoad ? s2(this.options.messages.ReportViewer_RenderingCancelled) : (yield this.registerInstancePromise, this.serviceClient.getDocumentInfo(this.clientId, this.reportInstanceId, n2).then((i2) => {
|
|
3285
3336
|
i2 && i2.documentReady ? r2(i2) : (t2 && (this.getPageMode() === e.PageMode.ContinuousScroll && i2.pageCount > this.pageCount && this.emit("pageLoaded"), this.pageCount = i2.pageCount, this.emit("reportLoadProgress", i2)), window.setTimeout(o2, 500));
|
|
3286
3337
|
}).catch((e2) => {
|
|
@@ -4546,7 +4597,7 @@ ${e3.text} (${e3.id})`;
|
|
|
4546
4597
|
}
|
|
4547
4598
|
|
|
4548
4599
|
var sr$1 = {
|
|
4549
|
-
//
|
|
4600
|
+
// Warning and error string resources
|
|
4550
4601
|
controllerNotInitialized: "Controller is not initialized.",
|
|
4551
4602
|
noReportInstance: "No report instance.",
|
|
4552
4603
|
missingTemplate: "!obsolete resource!",
|
|
@@ -4582,7 +4633,10 @@ ${e3.text} (${e3.id})`;
|
|
|
4582
4633
|
promisesChainStopError: "Error shown. Throwing promises chain stop error.",
|
|
4583
4634
|
renderingCancelled: "Report processing was canceled.",
|
|
4584
4635
|
tryReportPreview: "The report may now be previewed.",
|
|
4585
|
-
|
|
4636
|
+
optionsNotInitialized: "The report viewer configuration options are not initialized",
|
|
4637
|
+
serviceUrlNotSpecified: "The serviceUrl is not specified.",
|
|
4638
|
+
reportServerUrlNotSpecified: "The report server URL is not specified.",
|
|
4639
|
+
// Viewer template string resources
|
|
4586
4640
|
parameterEditorSelectNone: "clear selection",
|
|
4587
4641
|
parameterEditorSelectAll: "select all",
|
|
4588
4642
|
parametersAreaPreviewButton: "Preview",
|
|
@@ -4629,7 +4683,7 @@ ${e3.text} (${e3.id})`;
|
|
|
4629
4683
|
sendEmailFormatLabel: "Format:",
|
|
4630
4684
|
sendEmailSendLabel: "Send",
|
|
4631
4685
|
sendEmailCancelLabel: "Cancel",
|
|
4632
|
-
//
|
|
4686
|
+
// Accessibility string resources
|
|
4633
4687
|
ariaLabelPageNumberSelector: "Page number selector. Showing page {0} of {1}.",
|
|
4634
4688
|
ariaLabelPageNumberEditor: "Page number editor",
|
|
4635
4689
|
ariaLabelExpandable: "Expandable",
|
|
@@ -4690,7 +4744,7 @@ ${e3.text} (${e3.id})`;
|
|
|
4690
4744
|
ariaLabelSendEmailFormat: "Report format:",
|
|
4691
4745
|
ariaLabelSendEmailSend: "Send email",
|
|
4692
4746
|
ariaLabelSendEmailCancel: "Cancel sending email",
|
|
4693
|
-
//
|
|
4747
|
+
// Search dialog resources
|
|
4694
4748
|
searchDialogTitle: "Search in report contents",
|
|
4695
4749
|
searchDialogSearchInProgress: "searching...",
|
|
4696
4750
|
searchDialogNoResultsLabel: "No results",
|
|
@@ -4710,6 +4764,7 @@ ${e3.text} (${e3.id})`;
|
|
|
4710
4764
|
sendEmailValidationSingleEmail: "The field accepts a single email address only",
|
|
4711
4765
|
sendEmailValidationFormatRequired: "Format field is required",
|
|
4712
4766
|
errorSendingDocument: "Error sending report document (Report = '{0}').",
|
|
4767
|
+
// AI Prompt dialog resources
|
|
4713
4768
|
aiPromptDialogConsentTitle: "Before you start with AI",
|
|
4714
4769
|
aiPromptDialogConsentAccept: "Consent",
|
|
4715
4770
|
aiPromptDialogConsentReject: "Cancel",
|
|
@@ -8770,6 +8825,161 @@ ${e3.text} (${e3.id})`;
|
|
|
8770
8825
|
}
|
|
8771
8826
|
}
|
|
8772
8827
|
|
|
8828
|
+
const NoLicenseIcon = () => `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8829
|
+
<path
|
|
8830
|
+
fillRule="evenodd"
|
|
8831
|
+
clipRule="evenodd"
|
|
8832
|
+
d="M18.5631 11.7812H10.4369L14.5 21.2619L18.5631 11.7812ZM18.5631 9.96875H10.4369L12.3788 5.4375H16.6212L18.5631 9.96875ZM20.5351 11.7812L17.2221 19.5116L23.9861 11.7812H20.5351ZM20.5351 9.96875L18.5931 5.4375H20.8437L24.2422 9.96875H20.5351ZM8.46492 9.96875L10.4069 5.4375H8.15625L4.75781 9.96875H8.46492ZM11.7779 19.5116L8.46492 11.7812H5.01386L11.7779 19.5116ZM27.1875 10.875L14.5 25.375L1.8125 10.875L7.25 3.625H21.75L27.1875 10.875Z"
|
|
8833
|
+
fill="black"
|
|
8834
|
+
/>
|
|
8835
|
+
<path
|
|
8836
|
+
d="M23.0996 15.7998L31.0811 30.7578L30.9785 30.9316H15.0215L14.918 30.7578L22.9258 15.7998H23.0996Z"
|
|
8837
|
+
fill="#FFC000"
|
|
8838
|
+
stroke="black"
|
|
8839
|
+
strokeWidth="1.6"
|
|
8840
|
+
/>
|
|
8841
|
+
<rect x="22.25" y="21" width="1.5" height="5" rx="0.75" fill="black" />
|
|
8842
|
+
<path
|
|
8843
|
+
d="M24 28C24 27.4477 23.5523 27 23 27C22.4479 27.0002 22 27.4478 22 28C22 28.5522 22.4479 28.9998 23 29C23.5523 29 24 28.5523 24 28Z"
|
|
8844
|
+
fill="black"
|
|
8845
|
+
/>
|
|
8846
|
+
</svg>`;
|
|
8847
|
+
const ProductNotLicensedIcon = () => `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8848
|
+
<path
|
|
8849
|
+
fillRule="evenodd"
|
|
8850
|
+
clipRule="evenodd"
|
|
8851
|
+
d="M22.702 2.1821C24.3149 2.51082 25.8077 3.27291 27.0199 4.38645C28.2321 5.49999 29.1179 6.92286 29.582 8.5021C30.012 9.9501 30.076 11.4821 29.768 12.9621C29.3228 14.9898 28.2025 16.8063 26.5904 18.1143C24.9783 19.4223 22.9699 20.1443 20.894 20.1621C20.018 20.1621 19.146 20.0361 18.308 19.7821L16.708 21.6581L15.95 22.0081H14V25.0081L13 26.0081H10V29.0081L9 30.0081H3L2 29.0081V24.3941L2.292 23.6881L12.24 13.7401C11.9577 12.8308 11.8226 11.8821 11.84 10.9301C11.8582 9.59817 12.1701 8.28666 12.7533 7.08907C13.3365 5.89147 14.1767 4.83728 15.214 4.00164C16.2514 3.166 17.4603 2.56949 18.7546 2.25464C20.0489 1.93978 21.3967 1.91633 22.702 2.1821ZM25.338 16.5821C26.5944 15.5647 27.4681 14.1509 27.816 12.5721L27.824 12.5821C28.0718 11.4277 28.0272 10.2297 27.6943 9.09691C27.3614 7.96412 26.7507 6.93248 25.9177 6.09572C25.0847 5.25896 24.0558 4.64361 22.9246 4.30557C21.7933 3.96753 20.5955 3.91753 19.44 4.1601C17.8816 4.506 16.4837 5.36334 15.4688 6.59561C14.454 7.82789 13.8806 9.36426 13.84 10.9601C13.82 11.8721 13.98 12.7761 14.318 13.6201L14.098 14.7061L4 24.8081V28.0081H8V25.0081L9 24.0081H12V21.0081L13 20.0081H15.49L17.242 17.9761L18.364 17.6961C19.1728 18.0121 20.0337 18.1736 20.902 18.1721C22.5181 18.1597 24.082 17.5991 25.338 16.5821ZM23.662 11.1181C23.8197 10.9002 23.9318 10.6527 23.9916 10.3905C24.0515 10.1283 24.0578 9.85665 24.0103 9.59192C23.9627 9.32718 23.8622 9.07476 23.7148 8.84975C23.5675 8.62474 23.3762 8.43177 23.1526 8.28238C22.9289 8.133 22.6774 8.03026 22.4131 7.98033C22.1488 7.93039 21.8771 7.93428 21.6144 7.99176C21.3516 8.04925 21.1031 8.15914 20.8838 8.31487C20.6645 8.4706 20.4789 8.66896 20.338 8.8981C20.067 9.33887 19.9774 9.86752 20.088 10.373C20.1985 10.8784 20.5007 11.3214 20.931 11.6087C21.3613 11.8961 21.8862 12.0055 22.3954 11.914C22.9047 11.8226 23.3587 11.5373 23.662 11.1181Z"
|
|
8852
|
+
fill="black"
|
|
8853
|
+
/>
|
|
8854
|
+
<path
|
|
8855
|
+
d="M23.1299 16.0186L31.1387 31.0273L31.0068 31.25H14.9932L14.8604 31.0273L22.8955 16.0186H23.1299Z"
|
|
8856
|
+
fill="#FFC000"
|
|
8857
|
+
stroke="black"
|
|
8858
|
+
strokeWidth="1.5"
|
|
8859
|
+
/>
|
|
8860
|
+
<rect x="22.25" y="21.2686" width="1.5" height="5" rx="0.75" fill="black" />
|
|
8861
|
+
<path
|
|
8862
|
+
d="M24 28.2686C24 27.7163 23.5523 27.2686 23 27.2686C22.4479 27.2687 22 27.7164 22 28.2686C22 28.8207 22.4479 29.2684 23 29.2686C23.5523 29.2686 24 28.8208 24 28.2686Z"
|
|
8863
|
+
fill="black"
|
|
8864
|
+
/>
|
|
8865
|
+
</svg>`;
|
|
8866
|
+
const ExpiredTrialIcon = () => `<svg width="38" height="38" viewBox="0 0 38 38" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8867
|
+
<g clipPath="url(#clip0_1_5398)">
|
|
8868
|
+
<path
|
|
8869
|
+
d="M24.9056 7.60146L34.4998 10.1722L31.9299 19.7659L13.7653 30.2532L6.7419 18.0883L24.9056 7.60146Z"
|
|
8870
|
+
stroke="black"
|
|
8871
|
+
strokeWidth="1.75"
|
|
8872
|
+
/>
|
|
8873
|
+
<path
|
|
8874
|
+
d="M13.0913 19.7635L15.4762 23.8942L14.6279 24.384L12.2431 20.2533L13.0913 19.7635ZM14.3623 19.0297L14.7473 19.6964L11.3769 21.6423L10.992 20.9756L14.3623 19.0297ZM14.8475 18.7496L16.388 17.8602C16.7038 17.6778 17.0025 17.5684 17.2841 17.532C17.5675 17.4944 17.8242 17.5328 18.0542 17.6472C18.2841 17.7616 18.4772 17.954 18.6333 18.2244C18.7611 18.4457 18.833 18.6576 18.8491 18.8602C18.866 19.0598 18.8369 19.2518 18.7619 19.4364C18.6876 19.6179 18.5778 19.7923 18.4322 19.9596L18.2446 20.257L16.9055 21.0301L16.5166 20.3695L17.5124 19.7946C17.6618 19.7083 17.7704 19.6103 17.8381 19.5006C17.9059 19.3909 17.9371 19.2745 17.9317 19.1516C17.9281 19.0275 17.8903 18.9031 17.8183 18.7782C17.7418 18.6458 17.6512 18.5456 17.5463 18.4775C17.4415 18.4095 17.3242 18.3788 17.1944 18.3857C17.0647 18.3925 16.9242 18.4395 16.7729 18.5269L16.0835 18.9249L18.0834 22.3889L17.2323 22.8803L14.8475 18.7496ZM19.5417 21.547L17.5367 20.2496L18.4328 19.7247L20.4294 20.9815L20.4523 21.0212L19.5417 21.547ZM19.4746 16.0781L21.8595 20.2088L21.0112 20.6986L18.6264 16.5679L19.4746 16.0781ZM22.4103 15.3251L23.2638 19.398L22.3588 19.9205L21.5088 14.9037L22.0847 14.5712L22.4103 15.3251ZM25.3207 18.2105L22.2174 15.4365L21.7187 14.7825L22.3003 14.4467L26.2285 17.6864L25.3207 18.2105ZM24.3818 16.7023L24.7668 17.369L22.5851 18.6286L22.2002 17.9619L24.3818 16.7023ZM28.8837 15.2683L29.267 15.9321L27.1874 17.1327L26.8041 16.4689L28.8837 15.2683ZM25.0778 12.8432L27.4626 16.9739L26.6115 17.4652L24.2267 13.3345L25.0778 12.8432Z"
|
|
8875
|
+
fill="black"
|
|
8876
|
+
/>
|
|
8877
|
+
<circle cx="30.1049" cy="12.7084" r="1.12128" transform="rotate(15 30.1049 12.7084)" fill="black" />
|
|
8878
|
+
</g>
|
|
8879
|
+
<path
|
|
8880
|
+
d="M27.6201 19.7998L35.6016 34.7578L35.499 34.9316H19.542L19.4385 34.7578L27.4463 19.7998H27.6201Z"
|
|
8881
|
+
fill="#FFC000"
|
|
8882
|
+
stroke="black"
|
|
8883
|
+
strokeWidth="1.6"
|
|
8884
|
+
/>
|
|
8885
|
+
<rect x="26.7705" y="25" width="1.5" height="5" rx="0.75" fill="black" />
|
|
8886
|
+
<path
|
|
8887
|
+
d="M28.5205 32C28.5205 31.4477 28.0728 31 27.5205 31C26.9684 31.0002 26.5205 31.4478 26.5205 32C26.5205 32.5522 26.9684 32.9998 27.5205 33C28.0728 33 28.5205 32.5523 28.5205 32Z"
|
|
8888
|
+
fill="black"
|
|
8889
|
+
/>
|
|
8890
|
+
<defs>
|
|
8891
|
+
<clipPath id="clip0_1_5398">
|
|
8892
|
+
<rect width="30" height="31.1538" fill="white" transform="translate(8.06323) rotate(15)" />
|
|
8893
|
+
</clipPath>
|
|
8894
|
+
</defs>
|
|
8895
|
+
</svg>`;
|
|
8896
|
+
const ExpiredLicenseSubscriptionIcon = () => `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8897
|
+
<path
|
|
8898
|
+
d="M27.8295 9.38659C28.8049 12.1653 28.7404 15.1391 27.774 17.7996C26.8014 20.4767 24.9215 22.8356 22.2691 24.367C19.7765 25.8061 16.9908 26.2908 14.3393 25.9323C11.6293 25.5682 9.06228 24.3215 7.08577 22.3155L8.23679 21.1826C9.95578 22.9294 12.1925 24.0142 14.5527 24.333C16.8583 24.6438 19.2821 24.2206 21.457 22.965C23.7719 21.6284 25.4118 19.5739 26.2565 17.2495C27.0643 15.0253 27.1474 12.5486 26.3976 10.2107L24.951 11.0459L25.5942 7.15112L29.2888 8.54145L27.8284 9.38462L27.8295 9.38659Z"
|
|
8899
|
+
fill="black"
|
|
8900
|
+
/>
|
|
8901
|
+
<path
|
|
8902
|
+
fillRule="evenodd"
|
|
8903
|
+
clipRule="evenodd"
|
|
8904
|
+
d="M16.3594 8.08301C17.1842 8.16959 17.8382 8.41741 18.3281 8.8252C18.8135 9.2331 19.1263 9.78023 19.2607 10.4639L17.2939 10.6875C17.1732 10.1497 16.8607 9.78518 16.3594 9.59375V12.2617C17.6035 12.5557 18.4514 12.9408 18.9004 13.4102C19.3516 13.8819 19.5771 14.4863 19.5771 15.2246C19.5771 16.0494 19.2949 16.7425 18.7275 17.3076C18.1601 17.8728 17.3712 18.2233 16.3594 18.3623V19.6387H15.2334V18.3779C14.3448 18.2822 13.6246 17.9934 13.0664 17.5059C12.5081 17.0182 12.155 16.3275 12 15.4365L14.0127 15.2266C14.0947 15.5912 14.2497 15.9036 14.4775 16.168C14.7053 16.4321 14.9555 16.6218 15.2334 16.7402V13.8799C14.2264 13.6247 13.4906 13.2395 13.0234 12.7246C12.554 12.2073 12.3164 11.5801 12.3164 10.8418C12.3165 10.0946 12.5834 9.46575 13.1143 8.95996C13.6452 8.45184 14.3516 8.16053 15.2334 8.08301V7C15.6731 7 15.9197 7 16.3594 7V8.08301ZM16.3574 16.8535H16.3594C16.7467 16.7783 17.0661 16.6149 17.3076 16.3643C17.5537 16.1113 17.6738 15.8147 17.6738 15.4707C17.6738 15.1677 17.5715 14.9033 17.3643 14.6846C17.1615 14.4636 16.8267 14.2943 16.3574 14.1758V16.8535ZM15.2334 9.56836C14.9304 9.66408 14.6911 9.82132 14.5156 10.04C14.3379 10.2588 14.252 10.5004 14.252 10.7646C14.252 11.0062 14.3314 11.2301 14.4932 11.4375C14.655 11.6424 14.9038 11.8113 15.2363 11.9365V9.56836H15.2334Z"
|
|
8905
|
+
fill="black"
|
|
8906
|
+
/>
|
|
8907
|
+
<path
|
|
8908
|
+
d="M2.71127 18.5075L4.18352 17.6575C3.21672 14.9028 3.27173 11.9581 4.21167 9.31563C5.17535 6.60942 7.06671 4.22018 9.74281 2.67513C12.0972 1.31581 14.709 0.807832 17.2232 1.05612C19.8041 1.3106 22.2798 2.36266 24.2693 4.10853L23.7361 4.71636L23.2029 5.32418C23.1532 5.27918 23.1016 5.23531 23.0511 5.19342C21.3484 3.75295 19.2504 2.88549 17.0678 2.66937C14.8802 2.45355 12.6065 2.89529 10.5561 4.07914C8.2194 5.42821 6.56974 7.50687 5.7328 9.85834C4.94555 12.068 4.87307 14.5175 5.61235 16.8326L6.69304 16.2087L6.98491 16.4014L6.40585 19.8979L2.71127 18.5075Z"
|
|
8909
|
+
fill="black"
|
|
8910
|
+
/>
|
|
8911
|
+
<path
|
|
8912
|
+
d="M23.0996 15.7998L31.0811 30.7578L30.9785 30.9316H15.0215L14.918 30.7578L22.9258 15.7998H23.0996Z"
|
|
8913
|
+
fill="#FFC000"
|
|
8914
|
+
stroke="black"
|
|
8915
|
+
strokeWidth="1.6"
|
|
8916
|
+
/>
|
|
8917
|
+
<rect x="22.25" y="21" width="1.5" height="5" rx="0.75" fill="black" />
|
|
8918
|
+
<path
|
|
8919
|
+
d="M24 28C24 27.4477 23.5523 27 23 27C22.4479 27.0002 22 27.4478 22 28C22 28.5522 22.4479 28.9998 23 29C23.5523 29 24 28.5523 24 28Z"
|
|
8920
|
+
fill="black"
|
|
8921
|
+
/>
|
|
8922
|
+
</svg>`;
|
|
8923
|
+
const BannerTemplate = (bannerInfo) => `<div class="trv-license-banner">
|
|
8924
|
+
<span class="trv-license-icon">${bannerInfo.icon}</span>
|
|
8925
|
+
<div class="trv-license-content">
|
|
8926
|
+
<span class="trv-license-title">${bannerInfo.title}</span>
|
|
8927
|
+
<span class="trv-license-description">${bannerInfo.message}
|
|
8928
|
+
${bannerInfo.actionMessage ? `<a title='${bannerInfo.actionMessage}' href='${bannerInfo.actionLink}' target='_blank'>${bannerInfo.actionMessage}</a>` : ""}
|
|
8929
|
+
</span>
|
|
8930
|
+
</div>
|
|
8931
|
+
<div class="trv-license-actions">
|
|
8932
|
+
<a title=${bannerInfo.ctaMessage} class="trv-license-cta-button" href=${bannerInfo.ctaLink} target="_blank">${bannerInfo.ctaMessage}</a>
|
|
8933
|
+
<button title="Close" class="trv-license-close-button">
|
|
8934
|
+
<svg width="20" height="20" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8935
|
+
<path
|
|
8936
|
+
d="M11.9309 3.1838C12.1754 2.93933 12.5712 2.93937 12.8157 3.1838C13.0601 3.4283 13.0601 3.82407 12.8157 4.06857L8.885 7.99923L12.8166 11.9309C13.0611 12.1754 13.0611 12.5721 12.8166 12.8166C12.5721 13.0611 12.1754 13.0611 11.9309 12.8166L7.99925 8.88497L4.06859 12.8166C3.8241 13.0611 3.42732 13.0611 3.18285 12.8166C2.93862 12.5721 2.93851 12.1753 3.18285 11.9309L7.11449 7.99923L3.18382 4.06857C2.93947 3.82413 2.93955 3.42829 3.18382 3.1838C3.42831 2.9393 3.82508 2.9393 4.06957 3.1838L7.99925 7.11349L11.9309 3.1838Z"
|
|
8937
|
+
fill="#212529"
|
|
8938
|
+
/>
|
|
8939
|
+
</svg>
|
|
8940
|
+
</button>
|
|
8941
|
+
</div>
|
|
8942
|
+
</div>`;
|
|
8943
|
+
class Banner {
|
|
8944
|
+
$banner;
|
|
8945
|
+
constructor(licenseInfo, onClose) {
|
|
8946
|
+
this.title = licenseInfo.title;
|
|
8947
|
+
this.message = licenseInfo.message;
|
|
8948
|
+
this.icon = this.getIconFromId(licenseInfo.messageIcon);
|
|
8949
|
+
this.actionLink = licenseInfo.actionLink;
|
|
8950
|
+
this.actionMessage = licenseInfo.actionMessage;
|
|
8951
|
+
this.ctaMessage = licenseInfo.callToActionMessage;
|
|
8952
|
+
this.ctaLink = licenseInfo.callToActionLink;
|
|
8953
|
+
this.onClose = onClose;
|
|
8954
|
+
}
|
|
8955
|
+
getIconFromId = (iconId) => {
|
|
8956
|
+
switch (iconId) {
|
|
8957
|
+
case 0:
|
|
8958
|
+
return ProductNotLicensedIcon();
|
|
8959
|
+
case 1:
|
|
8960
|
+
return NoLicenseIcon();
|
|
8961
|
+
case 2:
|
|
8962
|
+
return ExpiredLicenseSubscriptionIcon();
|
|
8963
|
+
case 3:
|
|
8964
|
+
return ExpiredTrialIcon();
|
|
8965
|
+
default:
|
|
8966
|
+
return ProductNotLicensedIcon();
|
|
8967
|
+
}
|
|
8968
|
+
};
|
|
8969
|
+
hideBanner = () => {
|
|
8970
|
+
this.onClose();
|
|
8971
|
+
this.$banner.remove();
|
|
8972
|
+
};
|
|
8973
|
+
createBanner = (rootElement) => {
|
|
8974
|
+
if (!rootElement || $(rootElement)?.length === 0) {
|
|
8975
|
+
return;
|
|
8976
|
+
}
|
|
8977
|
+
this.$banner = $(BannerTemplate(this));
|
|
8978
|
+
$(rootElement).prepend(this.$banner);
|
|
8979
|
+
this.$banner.find(".trv-license-close-button").one("click", this.hideBanner);
|
|
8980
|
+
};
|
|
8981
|
+
}
|
|
8982
|
+
|
|
8773
8983
|
var viewModeReverseMap = {
|
|
8774
8984
|
[distExports.ViewMode.Interactive]: ViewModes.INTERACTIVE,
|
|
8775
8985
|
[distExports.ViewMode.PrintPreview]: ViewModes.PRINT_PREVIEW
|
|
@@ -8806,7 +9016,6 @@ ${e3.text} (${e3.id})`;
|
|
|
8806
9016
|
[PrintModes.FORCE_PDF_PLUGIN]: distExports.PrintMode.ForcePDFPlugin,
|
|
8807
9017
|
[PrintModes.FORCE_PDF_FILE]: distExports.PrintMode.ForcePDFFile
|
|
8808
9018
|
};
|
|
8809
|
-
var commonMessages = parseMessages();
|
|
8810
9019
|
var TOOLIP_SHOW_TIMEOUT = 100;
|
|
8811
9020
|
function parseMessages() {
|
|
8812
9021
|
var result = {};
|
|
@@ -8852,6 +9061,11 @@ ${e3.text} (${e3.id})`;
|
|
|
8852
9061
|
};
|
|
8853
9062
|
}
|
|
8854
9063
|
function ReportViewer(dom, options) {
|
|
9064
|
+
if (!options) {
|
|
9065
|
+
options = {};
|
|
9066
|
+
}
|
|
9067
|
+
$.extend(stringResources, options.localizationResources || {});
|
|
9068
|
+
var commonMessages = parseMessages();
|
|
8855
9069
|
var svcApiUrl = options.serviceUrl;
|
|
8856
9070
|
var reportServerUrlSVCApiUrl = "";
|
|
8857
9071
|
if (options.reportServer) {
|
|
@@ -8865,6 +9079,7 @@ ${e3.text} (${e3.id})`;
|
|
|
8865
9079
|
var settings = {};
|
|
8866
9080
|
var notificationService = {};
|
|
8867
9081
|
var client = {};
|
|
9082
|
+
var controllerOptions = {};
|
|
8868
9083
|
var controller = {};
|
|
8869
9084
|
var perspectiveManager;
|
|
8870
9085
|
var history = {};
|
|
@@ -8875,7 +9090,7 @@ ${e3.text} (${e3.id})`;
|
|
|
8875
9090
|
if (!validateOptions(options)) {
|
|
8876
9091
|
return;
|
|
8877
9092
|
}
|
|
8878
|
-
var version = "20.0.26.
|
|
9093
|
+
var version = "20.0.26.402";
|
|
8879
9094
|
options = $.extend({}, getDefaultOptions(svcApiUrl, version), options);
|
|
8880
9095
|
settings = new ReportViewerSettings(
|
|
8881
9096
|
persistanceKey,
|
|
@@ -8896,21 +9111,22 @@ ${e3.text} (${e3.id})`;
|
|
|
8896
9111
|
);
|
|
8897
9112
|
notificationService = new NotificationService();
|
|
8898
9113
|
client = new distExports.ServiceClient(options);
|
|
9114
|
+
controllerOptions = new distExports.ReportControllerOptions(
|
|
9115
|
+
options.keepClientAlive,
|
|
9116
|
+
options.authenticationToken,
|
|
9117
|
+
options.reportSource,
|
|
9118
|
+
printModeMap[options.printMode],
|
|
9119
|
+
pageModeMap[options.pageMode],
|
|
9120
|
+
viewModeMap[options.viewMode],
|
|
9121
|
+
scaleModeMap[options.scaleMode],
|
|
9122
|
+
options.scale,
|
|
9123
|
+
commonMessages,
|
|
9124
|
+
options.enableAccessibility,
|
|
9125
|
+
options.searchMetadataOnDemand
|
|
9126
|
+
);
|
|
8899
9127
|
controller = new distExports.ReportController(
|
|
8900
9128
|
client,
|
|
8901
|
-
|
|
8902
|
-
options.keepClientAlive,
|
|
8903
|
-
options.authenticationToken,
|
|
8904
|
-
options.reportSource,
|
|
8905
|
-
printModeMap[options.printMode],
|
|
8906
|
-
pageModeMap[options.pageMode],
|
|
8907
|
-
viewModeMap[options.viewMode],
|
|
8908
|
-
scaleModeMap[options.scaleMode],
|
|
8909
|
-
options.scale,
|
|
8910
|
-
commonMessages,
|
|
8911
|
-
options.enableAccessibility,
|
|
8912
|
-
options.searchMetadataOnDemand
|
|
8913
|
-
)
|
|
9129
|
+
controllerOptions
|
|
8914
9130
|
);
|
|
8915
9131
|
history = new HistoryManager({
|
|
8916
9132
|
controller,
|
|
@@ -9242,18 +9458,14 @@ ${e3.text} (${e3.id})`;
|
|
|
9242
9458
|
}
|
|
9243
9459
|
};
|
|
9244
9460
|
function validateOptions(options2) {
|
|
9245
|
-
if (!options2) {
|
|
9246
|
-
$placeholder.text("The report viewer configuration options are not initialized.");
|
|
9247
|
-
return false;
|
|
9248
|
-
}
|
|
9249
9461
|
if (options2.reportServer) {
|
|
9250
9462
|
if (!options2.reportServer.url) {
|
|
9251
|
-
$placeholder.text(
|
|
9463
|
+
$placeholder.text(stringResources.reportServerUrlNotSpecified);
|
|
9252
9464
|
return false;
|
|
9253
9465
|
}
|
|
9254
9466
|
} else {
|
|
9255
9467
|
if (!options2.serviceUrl) {
|
|
9256
|
-
$placeholder.text(
|
|
9468
|
+
$placeholder.text(stringResources.serviceUrlNotSpecified);
|
|
9257
9469
|
return false;
|
|
9258
9470
|
}
|
|
9259
9471
|
}
|
|
@@ -9356,6 +9568,9 @@ ${e3.text} (${e3.id})`;
|
|
|
9356
9568
|
},
|
|
9357
9569
|
options
|
|
9358
9570
|
);
|
|
9571
|
+
if (options.wrapper && (options.wrapper === "angular" || options.wrapper === "react") && (!options.localizationResources || jQuery.isEmptyObject(options.localizationResources))) {
|
|
9572
|
+
refreshLocalization();
|
|
9573
|
+
}
|
|
9359
9574
|
new distExports.ContentArea($placeholder[0], controller, commonMessages, {
|
|
9360
9575
|
enableAccessibility: options.enableAccessibility,
|
|
9361
9576
|
initialPageAreaImageUrl: options.initialPageAreaImageUrl
|
|
@@ -9409,6 +9624,11 @@ ${e3.text} (${e3.id})`;
|
|
|
9409
9624
|
}
|
|
9410
9625
|
);
|
|
9411
9626
|
}
|
|
9627
|
+
function refreshLocalization() {
|
|
9628
|
+
commonMessages = parseMessages();
|
|
9629
|
+
controllerOptions.message = commonMessages;
|
|
9630
|
+
controller.setOptions(controllerOptions);
|
|
9631
|
+
}
|
|
9412
9632
|
function initSplitter() {
|
|
9413
9633
|
var parameterAreaPaneOptions = {
|
|
9414
9634
|
max: "500px",
|
|
@@ -9577,21 +9797,9 @@ ${e3.text} (${e3.id})`;
|
|
|
9577
9797
|
init();
|
|
9578
9798
|
if (!(options.webDesignerPreview || options.serverPreview)) {
|
|
9579
9799
|
if (controller.shouldShowLicenseBanner()) {
|
|
9580
|
-
|
|
9581
|
-
const
|
|
9582
|
-
|
|
9583
|
-
hideOnClick: false,
|
|
9584
|
-
autoHideAfter: 0,
|
|
9585
|
-
button: true,
|
|
9586
|
-
hide: () => {
|
|
9587
|
-
controller.saveToSessionStorage("hideBanner", "true");
|
|
9588
|
-
}
|
|
9589
|
-
}).data("kendoNotification");
|
|
9590
|
-
const licenseData = controller.getConfigurationInfo()?.license;
|
|
9591
|
-
licenseBanner.show(`<span class='trv-license-message'>${licenseData?.title || licenseData?.message} ${licenseData?.actionMessage}</span>
|
|
9592
|
-
<a class='trv-license-link' target='_blank' href='${licenseData?.actionLink}'>
|
|
9593
|
-
<span class='k-icon k-i-question-circle'></span>
|
|
9594
|
-
</a>`, "warning");
|
|
9800
|
+
const configurationInfo = controller.getConfigurationInfo();
|
|
9801
|
+
const banner = new Banner(configurationInfo.license, () => controller.saveToSessionStorage("hideBanner", "true"));
|
|
9802
|
+
banner.createBanner(".trv-content-wrapper");
|
|
9595
9803
|
}
|
|
9596
9804
|
if (controller.shouldShowLicenseOverlay()) {
|
|
9597
9805
|
$(".trv-content-wrapper")?.prepend('<div class="trv-license-overlay"></div>');
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<title>Telerik HTML5 Report Viewer Templates</title>
|
|
5
5
|
|
|
6
6
|
<!--Telerik served resources. For more information see: http://docs.telerik.com/reporting/html5-report-viewer-styling-and-appearance -->
|
|
7
|
-
<link href="{service}resources/font/fonticons-20.0.26.
|
|
8
|
-
<link href="{service}resources/styles/telerikReportViewer-20.0.26.
|
|
7
|
+
<link href="{service}resources/font/fonticons-20.0.26.402.css/" rel="stylesheet" />
|
|
8
|
+
<link href="{service}resources/styles/telerikReportViewer-20.0.26.402.css/" rel="stylesheet" />
|
|
9
9
|
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<div class="trv-parameter-header k-card-header">
|
|
15
15
|
<div class="trv-parameter-title k-card-title"></div>
|
|
16
16
|
</div>
|
|
17
|
-
<div class="trv-parameter-error k-notification k-
|
|
17
|
+
<div class="trv-parameter-error k-notification k-notification-error">
|
|
18
18
|
<span class="k-notification-status k-icon k-i-x-outline"></span>
|
|
19
19
|
<span class="trv-parameter-error-message k-notification-content"></span>
|
|
20
20
|
</div>
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
</button>
|
|
120
120
|
</span>
|
|
121
121
|
|
|
122
|
-
<span data-role="custom-element" aria-label="ariaLabelMenuPageNumber" title="menuPageNumberTitle">
|
|
122
|
+
<span data-role="custom-element" class="trv-toolbar-page-selector" aria-label="ariaLabelMenuPageNumber" title="menuPageNumberTitle">
|
|
123
123
|
<span class="trv-replace-string">menuPageText</span>
|
|
124
124
|
<input data-role="telerik_ReportViewer_PageNumberInput" type="number" />
|
|
125
125
|
<span class="trv-replace-string">menuPageOfText</span>
|
|
@@ -387,4 +387,4 @@
|
|
|
387
387
|
|
|
388
388
|
</body>
|
|
389
389
|
</html>
|
|
390
|
-
<!-- DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM
|
|
390
|
+
<!-- DO NOT MODIFY OR DELETE THIS LINE! UPGRADE WIZARD CHECKSUM 9924a45e73a735402bd51858d04948d8 -->
|
|
@@ -48,6 +48,7 @@ export declare class TelerikReportViewerComponent implements AfterViewInit, OnDe
|
|
|
48
48
|
commands: any;
|
|
49
49
|
container: any;
|
|
50
50
|
containerStyle: any;
|
|
51
|
+
localizationResources: any;
|
|
51
52
|
viewerObject: any;
|
|
52
53
|
reportViewerID: string;
|
|
53
54
|
ngOnInit(): void;
|
|
@@ -74,5 +75,5 @@ export declare class TelerikReportViewerComponent implements AfterViewInit, OnDe
|
|
|
74
75
|
dispose(): void;
|
|
75
76
|
getReportParameters(): any;
|
|
76
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<TelerikReportViewerComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TelerikReportViewerComponent, "tr-viewer", never, { "id": { "alias": "id"; "required": false; }; "serviceUrl": { "alias": "serviceUrl"; "required": false; }; "reportServer": { "alias": "reportServer"; "required": false; }; "templateUrl": { "alias": "templateUrl"; "required": false; }; "initialPageAreaImageUrl": { "alias": "initialPageAreaImageUrl"; "required": false; }; "reportSource": { "alias": "reportSource"; "required": false; }; "sendEmail": { "alias": "sendEmail"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "scaleMode": { "alias": "scaleMode"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "pageMode": { "alias": "pageMode"; "required": false; }; "persistSession": { "alias": "persistSession"; "required": false; }; "parameterEditors": { "alias": "parameterEditors"; "required": false; }; "authenticationToken": { "alias": "authenticationToken"; "required": false; }; "printMode": { "alias": "printMode"; "required": false; }; "selector": { "alias": "selector"; "required": false; }; "disabledButtonClass": { "alias": "disabledButtonClass"; "required": false; }; "checkedButtonClass": { "alias": "checkedButtonClass"; "required": false; }; "enableAccessibility": { "alias": "enableAccessibility"; "required": false; }; "searchMetadataOnDemand": { "alias": "searchMetadataOnDemand"; "required": false; }; "parametersAreaVisible": { "alias": "parametersAreaVisible"; "required": false; }; "documentMapVisible": { "alias": "documentMapVisible"; "required": false; }; "ready": { "alias": "ready"; "required": false; }; "error": { "alias": "error"; "required": false; }; "parametersAreaPosition": { "alias": "parametersAreaPosition"; "required": false; }; "documentMapAreaPosition": { "alias": "documentMapAreaPosition"; "required": false; }; "exportBegin": { "alias": "exportBegin"; "required": false; }; "exportEnd": { "alias": "exportEnd"; "required": false; }; "sendEmailBegin": { "alias": "sendEmailBegin"; "required": false; }; "sendEmailEnd": { "alias": "sendEmailEnd"; "required": false; }; "pageReady": { "alias": "pageReady"; "required": false; }; "printBegin": { "alias": "printBegin"; "required": false; }; "printEnd": { "alias": "printEnd"; "required": false; }; "renderingBegin": { "alias": "renderingBegin"; "required": false; }; "renderingEnd": { "alias": "renderingEnd"; "required": false; }; "updateUi": { "alias": "updateUi"; "required": false; }; "interactiveActionExecuting": { "alias": "interactiveActionExecuting"; "required": false; }; "interactiveActionEnter": { "alias": "interactiveActionEnter"; "required": false; }; "interactiveActionLeave": { "alias": "interactiveActionLeave"; "required": false; }; "viewerToolTipOpening": { "alias": "viewerToolTipOpening"; "required": false; }; "keepClientAlive": { "alias": "keepClientAlive"; "required": false; }; "containerStyle": { "alias": "containerStyle"; "required": false; }; }, {}, never, never, false, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TelerikReportViewerComponent, "tr-viewer", never, { "id": { "alias": "id"; "required": false; }; "serviceUrl": { "alias": "serviceUrl"; "required": false; }; "reportServer": { "alias": "reportServer"; "required": false; }; "templateUrl": { "alias": "templateUrl"; "required": false; }; "initialPageAreaImageUrl": { "alias": "initialPageAreaImageUrl"; "required": false; }; "reportSource": { "alias": "reportSource"; "required": false; }; "sendEmail": { "alias": "sendEmail"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "scaleMode": { "alias": "scaleMode"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "pageMode": { "alias": "pageMode"; "required": false; }; "persistSession": { "alias": "persistSession"; "required": false; }; "parameterEditors": { "alias": "parameterEditors"; "required": false; }; "authenticationToken": { "alias": "authenticationToken"; "required": false; }; "printMode": { "alias": "printMode"; "required": false; }; "selector": { "alias": "selector"; "required": false; }; "disabledButtonClass": { "alias": "disabledButtonClass"; "required": false; }; "checkedButtonClass": { "alias": "checkedButtonClass"; "required": false; }; "enableAccessibility": { "alias": "enableAccessibility"; "required": false; }; "searchMetadataOnDemand": { "alias": "searchMetadataOnDemand"; "required": false; }; "parametersAreaVisible": { "alias": "parametersAreaVisible"; "required": false; }; "documentMapVisible": { "alias": "documentMapVisible"; "required": false; }; "ready": { "alias": "ready"; "required": false; }; "error": { "alias": "error"; "required": false; }; "parametersAreaPosition": { "alias": "parametersAreaPosition"; "required": false; }; "documentMapAreaPosition": { "alias": "documentMapAreaPosition"; "required": false; }; "exportBegin": { "alias": "exportBegin"; "required": false; }; "exportEnd": { "alias": "exportEnd"; "required": false; }; "sendEmailBegin": { "alias": "sendEmailBegin"; "required": false; }; "sendEmailEnd": { "alias": "sendEmailEnd"; "required": false; }; "pageReady": { "alias": "pageReady"; "required": false; }; "printBegin": { "alias": "printBegin"; "required": false; }; "printEnd": { "alias": "printEnd"; "required": false; }; "renderingBegin": { "alias": "renderingBegin"; "required": false; }; "renderingEnd": { "alias": "renderingEnd"; "required": false; }; "updateUi": { "alias": "updateUi"; "required": false; }; "interactiveActionExecuting": { "alias": "interactiveActionExecuting"; "required": false; }; "interactiveActionEnter": { "alias": "interactiveActionEnter"; "required": false; }; "interactiveActionLeave": { "alias": "interactiveActionLeave"; "required": false; }; "viewerToolTipOpening": { "alias": "viewerToolTipOpening"; "required": false; }; "keepClientAlive": { "alias": "keepClientAlive"; "required": false; }; "containerStyle": { "alias": "containerStyle"; "required": false; }; "localizationResources": { "alias": "localizationResources"; "required": false; }; }, {}, never, never, false, never>;
|
|
78
79
|
}
|
|
@@ -52,7 +52,9 @@ export class TelerikReportViewerComponent {
|
|
|
52
52
|
documentMapVisible: this.documentMapVisible,
|
|
53
53
|
documentMapAreaPosition: this.documentMapAreaPosition,
|
|
54
54
|
parametersAreaPosition: this.parametersAreaPosition,
|
|
55
|
-
keepClientAlive: this.keepClientAlive
|
|
55
|
+
keepClientAlive: this.keepClientAlive,
|
|
56
|
+
localizationResources: this.localizationResources,
|
|
57
|
+
wrapper: "angular"
|
|
56
58
|
});
|
|
57
59
|
this.commands = this.viewerObject.commands;
|
|
58
60
|
}
|
|
@@ -86,17 +88,15 @@ TelerikReportViewerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TelerikRepor
|
|
|
86
88
|
} if (rf & 2) {
|
|
87
89
|
let _t;
|
|
88
90
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
89
|
-
} }, 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" }, standalone: false, decls:
|
|
90
|
-
i0.ɵɵ
|
|
91
|
-
i0.ɵɵtext(2, "Loading Report Viewer...");
|
|
92
|
-
i0.ɵɵelementEnd();
|
|
91
|
+
} }, 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", localizationResources: "localizationResources" }, standalone: false, decls: 2, vars: 2, consts: [["container", ""], [3, "ngStyle"]], template: function TelerikReportViewerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
i0.ɵɵelement(0, "div", 1, 0);
|
|
93
93
|
} if (rf & 2) {
|
|
94
94
|
i0.ɵɵproperty("ngStyle", ctx.containerStyle);
|
|
95
95
|
i0.ɵɵattribute("id", ctx.reportViewerID);
|
|
96
96
|
} }, dependencies: [i1.NgStyle], encapsulation: 2 });
|
|
97
97
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TelerikReportViewerComponent, [{
|
|
98
98
|
type: Component,
|
|
99
|
-
args: [{ selector: 'tr-viewer', standalone: false, template: '<div [ngStyle]="containerStyle" [attr.id]="reportViewerID" #container
|
|
99
|
+
args: [{ selector: 'tr-viewer', standalone: false, template: '<div [ngStyle]="containerStyle" [attr.id]="reportViewerID" #container></div>', encapsulation: ViewEncapsulation.None }]
|
|
100
100
|
}], null, { id: [{
|
|
101
101
|
type: Input
|
|
102
102
|
}], serviceUrl: [{
|
|
@@ -186,6 +186,8 @@ TelerikReportViewerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TelerikRepor
|
|
|
186
186
|
args: ['container']
|
|
187
187
|
}], containerStyle: [{
|
|
188
188
|
type: Input
|
|
189
|
+
}], localizationResources: [{
|
|
190
|
+
type: Input
|
|
189
191
|
}] }); })();
|
|
190
192
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TelerikReportViewerComponent, { className: "TelerikReportViewerComponent", filePath: "src/telerik-report-viewer.component.ts", lineNumber: 42 }); })();
|
|
191
193
|
//# sourceMappingURL=telerik-report-viewer.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telerik-report-viewer.component.js","sourceRoot":"","sources":["../../src/telerik-report-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAiB,iBAAiB,EAAE,SAAS,EAAa,MAAM,eAAe,CAAC;AAEzG,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;;;;AAsCnE,MAAM,OAAO,4BAA4B;
|
|
1
|
+
{"version":3,"file":"telerik-report-viewer.component.js","sourceRoot":"","sources":["../../src/telerik-report-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAiB,iBAAiB,EAAE,SAAS,EAAa,MAAM,eAAe,CAAC;AAEzG,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;;;;AAsCnE,MAAM,OAAO,4BAA4B;IAwiCrC,QAAQ;QACJ,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,EAAE,IAAI,eAAe,CAAC;QACjD,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;IAC5F,CAAC;IAOD,eAAe;QACX,IAAI,CAAC,YAAY,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE;YAC/D,EAAE,EAAE,IAAI,CAAC,cAAc;YACvB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,cAAc,EAAE,IA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AiBG,eAAe;kBAAvB,KAAK;YAwCkB,SAAS;kBAAhC,SAAS;mBAAC,WAAW;YAsBb,cAAc;kBAAtB,KAAK;YAmBG,qBAAqB;kBAA7B,KAAK;;kFAthCG,4BAA4B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/telerik-angular-report-viewer",
|
|
3
3
|
"description": "Progress® Telerik® Report Viewer for Angular",
|
|
4
|
-
"version": "29.26.
|
|
4
|
+
"version": "29.26.402",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "See LICENSE.md",
|
|
7
7
|
"homepage": "https://www.telerik.com/reporting",
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
"jquery": "^1.10.0 || ^2.2.0 || ^3.7.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@progress/telerik-jquery-report-viewer": "29.26.
|
|
54
|
+
"@progress/telerik-jquery-report-viewer": "29.26.402"
|
|
55
55
|
}
|
|
56
56
|
}
|