stimulsoft-dashboards-js-react 2025.4.2 → 2025.4.3

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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Stimulsoft.Reports.JS
3
- Version: 2025.4.2
4
- Build date: 2025.10.27
3
+ Version: 2025.4.3
4
+ Build date: 2025.11.14
5
5
  License: https://www.stimulsoft.com/en/licensing/reports
6
6
  */
7
7
  export namespace Stimulsoft.System {
@@ -3125,13 +3125,14 @@ export namespace Stimulsoft.System.Drawing {
3125
3125
  drawLine(pen: Pen, x1: number, y1: number, x2: number, y2: number): void;
3126
3126
  drawString(text: string, font: Font, brush: Brush, x: number, y: number): void;
3127
3127
  translateTransform(dx: number, dy: number): void;
3128
+ static customFontAliases: Hashtable<string, string>;
3128
3129
  static customFonts: Hashtable<string, Hashtable<FontStyle, CustomFontType>>;
3129
3130
  static getCustomFont(fontName: string, fontStyle: FontStyle): any;
3130
3131
  static clearAutoLoadFonts(): void;
3131
3132
  static addCustomFont(font: FontKitType, fontName?: string, binFont?: any, filePath?: string, fontStyle?: FontStyle, store?: boolean): void;
3132
3133
  static addCustomFontFile(filePath: string, fontName?: string, fontStyle?: FontStyle, store?: boolean): void;
3133
3134
  static addCustomFontFileAsync(callback: () => void, filePath: string, fontName?: string, fontStyle?: FontStyle, store?: boolean): void;
3134
- static addCustomFontBytes(data: ArrayBuffer | Uint8Array, fontName?: string, fontStyle?: FontStyle, store?: boolean): void;
3135
+ static addCustomFontBytes(data: ArrayBuffer | Uint8Array, fontName?: string, fontStyle?: FontStyle, store?: boolean): string;
3135
3136
  private static checkForTTC;
3136
3137
  static getFontMimeType(data: any): string;
3137
3138
  static getCustomFontsCss(embeddedData?: boolean): string;
@@ -4604,7 +4605,7 @@ export namespace Stimulsoft.Base {
4604
4605
  static addFontFile(filePath: string, fontName?: string, fontStyle?: FontStyle, store?: boolean): void;
4605
4606
  static addOpentypeFontFileAsync(callback: () => void, filePath: string, fontName?: string, fontStyle?: FontStyle, store?: boolean): void;
4606
4607
  static addFontFileAsync(callback: () => void, filePath: string, fontName?: string, fontStyle?: FontStyle, store?: boolean): void;
4607
- static addFontBytes(data: any, fontName?: string, fontStyle?: FontStyle, store?: boolean): void;
4608
+ static addFontBytes(data: any, fontName?: string, fontStyle?: FontStyle, store?: boolean): string;
4608
4609
  static setOpentypeFontsFolder(folderPatch: string): void;
4609
4610
  static setFontsFolder(folderPatch: string): void;
4610
4611
  static registerFontConfigFile(filePath: string): void;
@@ -5058,7 +5059,8 @@ export namespace Stimulsoft.Base {
5058
5059
  SharePointCloudStorage = 31,
5059
5060
  DataWorldDataSource = 32,
5060
5061
  QuickBooksDataSource = 33,
5061
- Unspecified = 34
5062
+ GraphQLDataSource = 34,
5063
+ Unspecified = 35
5062
5064
  }
5063
5065
  enum StiConnectionOrder {
5064
5066
  MsSqlDataSource = 10,
@@ -6021,6 +6023,7 @@ export namespace Stimulsoft.Base {
6021
6023
  }
6022
6024
  export namespace Stimulsoft.Base {
6023
6025
  class StiTableQuery {
6026
+ private isValidSqlIdentifier;
6024
6027
  private correctName;
6025
6028
  getName(schema: string, table: string): string;
6026
6029
  getSelectQuery(table: string): string;
@@ -6277,9 +6280,11 @@ export namespace Stimulsoft.Base {
6277
6280
  export namespace Stimulsoft.Base {
6278
6281
  import Hashtable = Stimulsoft.System.Collections.Hashtable;
6279
6282
  import DataTable = Stimulsoft.System.Data.DataTable;
6283
+ import DataSet = Stimulsoft.System.Data.DataSet;
6280
6284
  class StiGraphQLConnector extends StiDbNoSqlDataConnector {
6281
6285
  getDataTable(collectionName: string, query: string, index?: number, count?: number): DataTable;
6282
6286
  getDataTable2(collectionName: string, variable: Hashtable<string, object>): DataTable;
6287
+ getDataSet(variable: Hashtable<string, object>): DataSet;
6283
6288
  static get(connectionString: string): StiGraphQLConnector;
6284
6289
  connectionString: string;
6285
6290
  constructor(connectionString: string);
@@ -6354,13 +6359,14 @@ export namespace Stimulsoft.Base {
6354
6359
  }
6355
6360
  }
6356
6361
  export namespace Stimulsoft.Base {
6362
+ import DataSet = Stimulsoft.System.Data.DataSet;
6357
6363
  import Hashtable = Stimulsoft.System.Collections.Hashtable;
6358
6364
  import DataTable = Stimulsoft.System.Data.DataTable;
6359
6365
  class StiGraphQLHelper {
6360
6366
  private getDefaultWebClient;
6361
6367
  testConnection(): StiTestConnectionResult;
6362
6368
  getDataTable(collectionName: string, count: number): DataTable;
6363
- private getDataSet;
6369
+ getDataSet(count?: number): DataSet;
6364
6370
  private getHeaders;
6365
6371
  private loadColumnsAndStringRowsFromPackedString;
6366
6372
  private loadColumnsAndStringRowsFromString;
@@ -10212,6 +10218,7 @@ export namespace Stimulsoft.Data.Parsers {
10212
10218
  import DataTable = Stimulsoft.System.Data.DataTable;
10213
10219
  import List = Stimulsoft.System.Collections.Generic.List;
10214
10220
  import IStiMeter = Stimulsoft.Base.Meters.IStiMeter;
10221
+ import Dictionary = Stimulsoft.System.Collections.Dictionary;
10215
10222
  abstract class StiDataParser {
10216
10223
  protected runFunction(funcName: string, args: FunctionArgs): any;
10217
10224
  protected getVariableValue(name: string): any;
@@ -10231,6 +10238,7 @@ export namespace Stimulsoft.Data.Parsers {
10231
10238
  table: DataTable;
10232
10239
  meters: List<IStiMeter>;
10233
10240
  isGrandTotal: boolean;
10241
+ grandRowsConditions: Dictionary<string, object>;
10234
10242
  private nameToIndex;
10235
10243
  private nameToValue;
10236
10244
  private nameToVariable;
@@ -10251,6 +10259,7 @@ export namespace Stimulsoft.Data.Parsers {
10251
10259
  private calculateMeasureExpression;
10252
10260
  private getMeasureColumn;
10253
10261
  private getExpression;
10262
+ private passedCondition;
10254
10263
  private getDataRowValue;
10255
10264
  private grandRows;
10256
10265
  private currentRows;
@@ -19781,6 +19790,7 @@ export namespace Stimulsoft.Report.Engine.StiParser {
19781
19790
  private static isValidName;
19782
19791
  private static getCorrectedAlias;
19783
19792
  private static replaceBackslash;
19793
+ private static replaceQuotationMark;
19784
19794
  private scanNumber;
19785
19795
  private postProcessTokensList;
19786
19796
  protected createRuntimeConstantsHash(): void;
@@ -36105,6 +36115,7 @@ export namespace Stimulsoft.Report.Dictionary {
36105
36115
  import StiDataSchema = Stimulsoft.Base.StiDataSchema;
36106
36116
  import StiGraphQLConnector = Stimulsoft.Base.StiGraphQLConnector;
36107
36117
  import StiPromise = Stimulsoft.System.StiPromise;
36118
+ import DataSet = Stimulsoft.System.Data.DataSet;
36108
36119
  class StiGraphQLAdapterService extends StiNoSqlAdapterService {
36109
36120
  get name(): string;
36110
36121
  createConnector(connectionString: string): StiGraphQLConnector;
@@ -36114,7 +36125,9 @@ export namespace Stimulsoft.Report.Dictionary {
36114
36125
  getParametersFromDataAsync(data: StiData, dataSource: StiDataSource, connectionString: string): StiPromise<StiDataParametersCollection>;
36115
36126
  connectDataSourceToDataAsync(dictionary: StiDictionary, dataSource: StiDataSource, loadData: boolean): StiPromise<void>;
36116
36127
  connectDataSourceToData(dictionary: StiDictionary, dataSource: StiDataSource, loadData: boolean): void;
36128
+ getDataFromDataSource(dictionary: StiDictionary, dataSource: StiDataSource): StiData;
36117
36129
  private getVariableNames;
36130
+ getDataSet(database: StiGraphQLDatabase, report: StiReport, loadData: boolean): DataSet;
36118
36131
  testConnectionAsync(report: StiReport, connectionString: string): StiPromise<string>;
36119
36132
  retrieveSchemaAsync(report: StiReport, dataSource: StiSqlSource, connectionString: string, queryString?: string): StiPromise<StiDataSchema>;
36120
36133
  }
@@ -36907,6 +36920,8 @@ export namespace Stimulsoft.Report.Dictionary {
36907
36920
  }
36908
36921
  export namespace Stimulsoft.Report.Dictionary {
36909
36922
  import Type = Stimulsoft.System.Type;
36923
+ import DataSet = Stimulsoft.System.Data.DataSet;
36924
+ import StiPromise = Stimulsoft.System.StiPromise;
36910
36925
  class StiGraphQLDatabase extends StiNoSqlDatabase {
36911
36926
  get serviceName(): string;
36912
36927
  createDataSource(nameInSource: string, name: string): StiNoSqlSource;
@@ -36915,6 +36930,9 @@ export namespace Stimulsoft.Report.Dictionary {
36915
36930
  getSampleConnectionString(): string;
36916
36931
  get connectionType(): StiConnectionType;
36917
36932
  getDatasourceType(): Type;
36933
+ regData(dictionary: StiDictionary, loadData: boolean): void;
36934
+ regDataAsync(dictionary: StiDictionary, loadData: boolean): StiPromise<void>;
36935
+ protected regDataSetInDataStore(dictionary: StiDictionary, dataSet: DataSet): void;
36918
36936
  constructor(name?: string, alias?: string, connectionString?: string, promptUserNameAndpassword?: boolean, key?: string);
36919
36937
  }
36920
36938
  }
@@ -44101,6 +44119,7 @@ export namespace Stimulsoft.Report.Export {
44101
44119
  private convert;
44102
44120
  private convertToEMU;
44103
44121
  private compareExcellSheetNames;
44122
+ private combineTitle;
44104
44123
  private prepareData;
44105
44124
  private writeContentTypes;
44106
44125
  private writeMainRels;
@@ -54973,7 +54992,7 @@ export namespace Stimulsoft.Report.Chart {
54973
54992
  export namespace Stimulsoft.Report.Chart {
54974
54993
  class StiWireframeSurfaceArea3D extends StiClusteredColumnArea3D implements IStiWireframeSurfaceArea3D {
54975
54994
  implements(): any[];
54976
- getGideBySide(): boolean;
54995
+ getSideBySide(): boolean;
54977
54996
  setSideBySide(value: boolean): void;
54978
54997
  getDefaultSeriesType(): Stimulsoft.System.Type;
54979
54998
  getSeriesTypes(): Stimulsoft.System.Type[];
@@ -67322,6 +67341,7 @@ export namespace Stimulsoft.Dashboard.Export.Tools {
67322
67341
  class StiTableElementExportTool extends StiElementExportTool {
67323
67342
  render(element: IStiElement, destination: StiPanel, rect: Rectangle, settings: StiDashboardExportSettings): Promise<void>;
67324
67343
  static renderCellsForViewer(element: IStiTableElement, tableElementGridPageNumbers: any, onlyCurrentPageData: boolean): Promise<any[]>;
67344
+ private static fitToTable;
67325
67345
  private static renderCells;
67326
67346
  static processDataTableWithTopN(dataTable: StiDataTable): StiDataTable;
67327
67347
  private static processTopNElements;