From c0ff01ab4885aa2789985dcabfad35cd4bbca011 Mon Sep 17 00:00:00 2001 From: RamyaManickam Date: Thu, 11 Aug 2022 15:01:49 +0530 Subject: [PATCH 1/3] feature(REPORT-17592): Bold-reports 4.2 release changes --- package.json | 2 +- reports.all/index.d.ts | 57 ++++++++++++++++++++++++++++++---------- reports.all/package.json | 2 +- 3 files changed, 45 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index f35dcb3..a60ce87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@boldreports/types", - "version": "3.2.22", + "version": "2.2.23", "description": "TypeScript definitions for Bold Reports", "repository": { "type": "git", diff --git a/reports.all/index.d.ts b/reports.all/index.d.ts index 9b09360..80ac6b2 100644 --- a/reports.all/index.d.ts +++ b/reports.all/index.d.ts @@ -1,7 +1,7 @@ /** * filename: index.d.ts - * version : 3.2.22 - * Copyright Syncfusion Inc. 2001 - 2021. All rights reserved. + * version : 1.0.5 + * Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecuted under @@ -919,11 +919,31 @@ declare namespace ej { */ configurePaneSettings?: ConfigurePaneSettings; + /** Set the property as true to disable the code module configuration in RDL reports. + * @Default {false} + */ + disableCodeModule?: boolean; + /** Enable or Disable Impersonate option for report designer datasources * @Default {false} */ enableImpersonate?: boolean; + /** Set the property as true to load images as blob in GET ajax calls. + * @Default {false} + */ + enableImageBlobing?: boolean; + + /** Gets or sets the data connectors name as array of strings to filter data connectors in data panel. + * @Default {[ ]} + */ + filterDataConnectors?: any[]; + + /** Gets or sets the report items name as array of strings to filter report items in item panel. + * @Default {[ ]} + */ + filterReportItems?: any[]; + /** Gets or sets the list of custom font names. * @Default {[ ]} */ @@ -982,11 +1002,6 @@ declare namespace ej { */ serviceUrl?: string; - /** Gets or sets the tenant name of the user groups; it will be used when integrating report designer with report server. - * @Default {null} - */ - tenantName?: string; - /** Defines the settings of the ReportDesigner toolbar. */ toolbarSettings?: ToolbarSettings; @@ -996,6 +1011,11 @@ declare namespace ej { */ waitingPopupTemplate?: string; + /** Gets or sets the tab index of data panel. + * @Default {ej.ReportDesigner.DataTab.Dataset} + */ + dataTabIndex?: ej.ReportDesigner.DataTab | string; + /** This event will be triggered before AJAX loads. */ ajaxBeforeLoad?(e: AjaxBeforeLoadEventArgs): void; @@ -1357,7 +1377,7 @@ declare namespace ej { /** Specifies the margins of print layout. * @Default {} */ - margins?: number; + margins?: any; } export interface Parameters { @@ -1677,7 +1697,7 @@ declare namespace ej { //Specifies the A3 as value in pageSettings.paperSize to get specified size. A3, //Specifies the A4 as value in pageSettings.paperSize to get specified size. - Portrait, + A4, //Specifies the B4(JIS) as value in pageSettings.paperSize to get specified size. B4_JIS, //Specifies the B5(JIS) as value in pageSettings.paperSize to get specified size. @@ -1772,6 +1792,13 @@ declare namespace ej { RDLC, } + enum DataTab { + //Sets the datasource panel as default tab in data panel. + Datasource, + //Sets the dataset panel as default tab in data panel. + Dataset, + } + enum DataFormat { //Returns the report data in JSON format. JSON, @@ -1799,9 +1826,10 @@ declare namespace ej { public destroy(): void; /** Export the report to the specified format. + * @param {string} Indicates to choose the export type while exporting like PDF or Excel or Word and etc. * @returns {void} */ - public exportReport(): void; + public exportReport(show: string): void; /** Fit the report page to the container. * @returns {void} @@ -1844,9 +1872,10 @@ declare namespace ej { public gotoNextPage(): void; /** Go to specific page index of the report. + * @param {number} Indicates to pass the page number to show the page directly instead of starting from first page. * @returns {void} */ - public gotoPageIndex(): void; + public gotoPageIndex(show: number): void; /** Navigate to previous page from the current page. * @returns {void} @@ -1900,7 +1929,7 @@ declare namespace ej { /** Specifies the locale for report viewer. * @Default {en-US} */ - locale?: number; + locale?: string; /** Specifies the page settings. */ @@ -2511,7 +2540,7 @@ declare namespace ej { /** Specifies the margins of print layout. * @Default {} */ - margins?: number; + margins?: any; } export interface Parameter { @@ -2742,7 +2771,7 @@ declare namespace ej { //Specifies the A3 as value in pageSettings.paperSize to get specified size. A3, //Specifies the A4 as value in pageSettings.paperSize to get specified size. - Portrait, + A4, //Specifies the B4(JIS) as value in pageSettings.paperSize to get specified size. B4_JIS, //Specifies the B5(JIS) as value in pageSettings.paperSize to get specified size. diff --git a/reports.all/package.json b/reports.all/package.json index 80fda38..c0dda0e 100644 --- a/reports.all/package.json +++ b/reports.all/package.json @@ -1,6 +1,6 @@ { "name": "@boldreports/types", - "version": "3.2.22", + "version": "2.2.23", "typeScriptVersion": "2.3", "types": "index" } \ No newline at end of file From 852b2d581fbab689a3e38f742c5d5e859cbdcb72 Mon Sep 17 00:00:00 2001 From: RamyaManickam <88128661+RamyaManickam1927@users.noreply.github.com> Date: Thu, 11 Aug 2022 18:31:06 +0530 Subject: [PATCH 2/3] feature(REPORT-17592): Bold-reports 4.2 release changes --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a60ce87..5296f77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@boldreports/types", - "version": "2.2.23", + "version": "4.2.52", "description": "TypeScript definitions for Bold Reports", "repository": { "type": "git", @@ -22,4 +22,4 @@ "url": "https://github.com/boldreports/types/issues" }, "homepage": "https://boldreports.com" -} \ No newline at end of file +} From 6945476f1a63123cdb178bdfd08e207ee928dd8a Mon Sep 17 00:00:00 2001 From: RamyaManickam <88128661+RamyaManickam1927@users.noreply.github.com> Date: Thu, 11 Aug 2022 18:32:15 +0530 Subject: [PATCH 3/3] Update index.d.ts --- reports.all/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reports.all/index.d.ts b/reports.all/index.d.ts index 80ac6b2..ead9b64 100644 --- a/reports.all/index.d.ts +++ b/reports.all/index.d.ts @@ -1,6 +1,6 @@ /** * filename: index.d.ts - * version : 1.0.5 + * version : 4.2.52 * Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing @@ -2883,4 +2883,4 @@ interface JQuery { data(key: 'boldReportDesigner'): ej.ReportDesigner; data(key: 'boldReportViewer'): ej.ReportViewer; -} \ No newline at end of file +}