dhx-chart 8.3.3 → 8.3.4

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.
@@ -4,7 +4,7 @@ import { Id, ITouchParam } from "../../ts-common/types";
4
4
  import { View } from "../../ts-common/view";
5
5
  import { DataEvents, DragEvents, IDataCollection, IDataEventsHandlersMap, IDataItem, IDragEventsHandlersMap } from "../../ts-data";
6
6
  import { Exporter } from "./Exporter";
7
- import { Dirs, EditorType, GridEvents, IAdjustBy, ICellRect, ICol, IContentList, ICoords, IEventHandlersMap, IGrid, IGridConfig, IRow, IScrollState, ISelection, ISpan, GridSystemEvents, ISystemEventHandlersMap, IColumnsWidth, ISortingState, SortFunction, IHeaderFilter, IAdjustColumns, IFooter, IHeader } from "./types";
7
+ import { Dirs, EditorType, GridEvents, IAdjustBy, ICellRect, ICol, IContentList, ICoords, IEventHandlersMap, IGrid, IGridConfig, IRow, IScrollState, ISelection, ISpan, GridSystemEvents, ISystemEventHandlersMap, IColumnsWidth, ISortingState, SortFunction, IHeaderFilter, IAdjustColumns, IFooter, IHeader, INormalizeColumnsParams } from "./types";
8
8
  export declare class Grid extends View implements IGrid {
9
9
  version: string;
10
10
  data: IDataCollection;
@@ -55,7 +55,7 @@ export declare class Grid extends View implements IGrid {
55
55
  paint(): void;
56
56
  protected _createView(): any;
57
57
  protected _parseColumns(configChanged?: boolean): void;
58
- protected normalizeColumns(config: IGridConfig, configChanged?: boolean): void;
58
+ protected normalizeColumns({ config, columns, configChanged }: INormalizeColumnsParams): void;
59
59
  protected getNormalizeContentHeight(row: IFooter | IHeader, col: ICol, config: IGridConfig): number;
60
60
  protected _parseData(): void;
61
61
  protected _createCollection(prep: (data: any[]) => any[]): void;
@@ -1,5 +1,5 @@
1
1
  import { Grid } from "./Grid";
2
- import { IGridConfig, ICol, IProGrid, IFooter, IHeader } from "./types";
2
+ import { IGridConfig, ICol, IRow, IProGrid, IFooter, IHeader } from "./types";
3
3
  import { IDataCollection, IDataItem } from "../../ts-data";
4
4
  import { ScrollView } from "../../ts-common/ScrollView";
5
5
  export declare class ProGrid extends Grid implements IProGrid {
@@ -8,7 +8,7 @@ export declare class ProGrid extends Grid implements IProGrid {
8
8
  protected _createView(): any;
9
9
  protected _setEventHandlers(): void;
10
10
  protected getNormalizeContentHeight(row: IFooter | IHeader, col: ICol, config: IGridConfig): number;
11
- protected _prepareData(data: IDataItem[] | IDataCollection): any;
11
+ protected _prepareData(data: IDataItem[] | IDataCollection): IDataItem[] | IRow[];
12
12
  protected _prepareDataFromTo(data: IDataCollection, from: number, to: number): IDataItem[];
13
13
  protected _dragStart(event: any): void;
14
14
  private _lazyLoad;
@@ -591,4 +591,9 @@ export declare enum Split {
591
591
  top = "topSplit",
592
592
  bottom = "bottomSplit"
593
593
  }
594
+ export interface INormalizeColumnsParams {
595
+ config: IGridConfig;
596
+ columns: ICol[];
597
+ configChanged?: boolean;
598
+ }
594
599
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-chart",
3
- "version": "8.3.3",
3
+ "version": "8.3.4",
4
4
  "description": "dhtmlxChart widget",
5
5
  "homepage":"https://docs.dhtmlx.com/chart",
6
6
  "license":"GPL",
package/readme.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
3
 
4
- dhtmlxChart v.8.3.3 Standard
4
+ dhtmlxChart v.8.3.4 Standard
5
5
  This software is covered by GPL-2.0 License. Usage without proper license is prohibited.
6
6
 
7
7
  (c) XB Software.
package/whatsnew.txt CHANGED
@@ -1,3 +1,6 @@
1
+ Version 8.3.4 (January 4, 2024)
2
+ ----------------------------
3
+
1
4
  Version 8.3.3 (December 7, 2023)
2
5
  ----------------------------
3
6