dhx-chart 8.3.4 → 8.3.6

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.
@@ -78,6 +78,7 @@ export declare class Grid extends View implements IGrid {
78
78
  didMount: () => void;
79
79
  };
80
80
  protected _normalizeDataType(): void;
81
+ protected _applyLocalFilter(beforePrepareData?: boolean): void;
81
82
  private _canDataParse;
82
83
  private _init;
83
84
  private _attachDataCollection;
@@ -107,12 +107,13 @@ interface IFixedRows {
107
107
  top: IRow[];
108
108
  bottom: IRow[];
109
109
  }
110
- export interface IRendererConfig extends IGridConfig {
110
+ export interface IRendererConfig extends Required<IGridConfig> {
111
111
  scroll?: IScrollState;
112
112
  datacollection: any;
113
113
  filteredColumns?: ICol[];
114
114
  currentColumns?: ICol[];
115
115
  currentRows?: IRow[];
116
+ currentSpans?: ISpan[];
116
117
  fixedColumns?: IFixedColumns;
117
118
  fixedRows?: IFixedRows;
118
119
  firstColId?: Id;
@@ -308,6 +309,8 @@ export interface ISpan {
308
309
  tooltipTemplate?: (spanValue: any, span: ISpan) => string;
309
310
  $markCss?: string;
310
311
  $type?: colType;
312
+ $rowsVisibility?: number[];
313
+ $colsVisibility?: number[];
311
314
  }
312
315
  export interface IComboFilterConfig {
313
316
  data?: DataCollection<any> | any[];
@@ -1,4 +1,5 @@
1
1
  import { GridEvents, GridSystemEvents, ICol, ICoords, IGridConfig, IRendererConfig, ISpan, Split } from "../types";
2
+ import { IDataCollection, IDataItem } from "../../../ts-data";
2
3
  type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | GridEvents.cellMouseDown | GridEvents.cellDblClick | GridEvents.cellRightClick;
3
4
  type touchEvents = GridSystemEvents.cellTouchEnd | GridSystemEvents.cellTouchMove;
4
5
  declare function handleMouse(rowStart: number, colStart: number, conf: IRendererConfig, type: mouseEvents & touchEvents, e: any): void;
@@ -16,9 +17,11 @@ export declare function getTreeCell(content: any, row: any, col: ICol, conf: IRe
16
17
  export declare function getCells(conf: IRendererConfig): any[];
17
18
  export declare function getSpans(config: IRendererConfig, mode?: Split): any[];
18
19
  export declare function getShifts(conf: IRendererConfig): ICoords;
19
- export declare function normalizeSpan(span: ISpan, config: IGridConfig): {
20
+ export declare function normalizeSpan(span: ISpan, config: IGridConfig, data: IDataCollection<IDataItem>): {
20
21
  $renderFrom: string[];
21
22
  $type: any;
23
+ $rowsVisibility: number[];
24
+ $colsVisibility: number[];
22
25
  row: import("../../../ts-common/types").Id;
23
26
  column: import("../../../ts-common/types").Id;
24
27
  rowspan?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-chart",
3
- "version": "8.3.4",
3
+ "version": "8.3.6",
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.4 Standard
4
+ dhtmlxChart v.8.3.6 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,9 @@
1
+ Version 8.3.6 (January 24, 2024)
2
+ ----------------------------
3
+
4
+ Version 8.3.5 (January 11, 2024)
5
+ ----------------------------
6
+
1
7
  Version 8.3.4 (January 4, 2024)
2
8
  ----------------------------
3
9