PageSourceSearch

https://ops.iris.edu.gr/_content/Telerik.WebReportDesigner.Blazor/…vF0iqD9qf1Lw59ao5ThAU6gpqkpvxBYM2BwYioqjSEI

js iris.edu.gr collected 2026-10-08 10:19:31 UTC 1,965 bytes, 43 lines download raw bytes

1window.telerikWebReportDesignerInterop = {
2    createWebReportDesignerWidget: function (designerElement, webReportDesignerOptionsString) {
3        var webReportDesignerOptions = JSON.parse(webReportDesignerOptionsString);
4
5        this.createEventHandlerReferences(webReportDesignerOptions);
6        this.resolveSignalRHubOptions(webReportDesignerOptions);
7
8        $(designerElement).telerik_WebReportDesigner(webReportDesignerOptions);
9    },
10
11    destroyWebReportDesignerWidget: function (designerElement) {
12        // If you have issues with Blazor not clearing all the DOM generated through jQuery, you may need to do it yourself.
13        // For example, widgets generating popup elements outside of the current container may remain in the DOM and
14        // you may need to remove them yourself (e.g., before destroying the Kendo widgets, so you can use the references they offer).
15        $(designerElement).empty();
16    },
17
18    findFunction: function (name) {
19        var nameParts = name.replace(/^(window\.)/, "").split(".");
20        var currentObject = window;
21        while (currentObject && nameParts.length > 0) {
22            currentObject = currentObject[nameParts.shift()];
23        }
24
25        return currentObject;
26    },
27
28    createEventHandlerReferences: function (webReportDesignerOptions) {
29        for (var key in webReportDesignerOptions.clientEventsOptions) {
30            var handlerName = webReportDesignerOptions.clientEventsOptions[key];
31            webReportDesignerOptions[key] = this.findFunction(handlerName);
32        }
33
34        delete webReportDesignerOptions.clientEventOptions;
35    },
36
37    resolveSignalRHubOptions: function (webReportDesignerOptions) {
38        var hubOptions = webReportDesignerOptions.reportGeneratorHubOptions;
39        if (hubOptions && hubOptions.accessTokenFactory) {
40            hubOptions.accessTokenFactory = this.findFunction(hubOptions.accessTokenFactory);
41        }
42    },
43};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.