dhx-chart 8.0.1 → 8.0.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.
@@ -28,4 +28,5 @@ export declare class Selection implements ISelection {
28
28
  private _findIndex;
29
29
  private _setBrowserFocus;
30
30
  private _getReverseScrollState;
31
+ private _normalizeCell;
31
32
  }
@@ -60,6 +60,7 @@ export interface IGridConfig extends IDragConfig {
60
60
  };
61
61
  $resizing?: string | number;
62
62
  $scrollBarWidth?: IScrollBarWidth;
63
+ $data?: any[];
63
64
  groupTitleTemplate?: (groupName: string, groupItems: IDataItem[]) => string;
64
65
  /** @deprecated See a documentation: https://docs.dhtmlx.com/ */
65
66
  editing?: boolean;
@@ -115,7 +116,7 @@ export interface IRendererConfig extends IGridConfig {
115
116
  htmlEnable?: boolean;
116
117
  content?: IContentList;
117
118
  gridId?: string;
118
- $renderFrom?: "fixedCols" | "fixedRows" | "render" | "both";
119
+ $renderFrom?: "leftFixedCols" | "rightFixedCols" | "topFixedRows" | "bottomFixedRows" | "render" | "both";
119
120
  _events?: IEventSystem<GridSystemEvents>;
120
121
  }
121
122
  export interface ISortingState {
@@ -3,20 +3,20 @@ declare type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | Gri
3
3
  declare type touchEvents = GridSystemEvents.cellTouchEnd | GridSystemEvents.cellTouchMove;
4
4
  declare function handleMouse(rowStart: number, colStart: number, conf: IRendererConfig, type: mouseEvents & touchEvents, e: any): void;
5
5
  export declare function getHandlers(row: number, column: number, conf: IRendererConfig): {
6
- onclick: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
7
- onmouseover: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
8
- onmousedown: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
9
- ondblclick: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
10
- oncontextmenu: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
11
- ontouchstart: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
12
- ontouchmove: (number | IRendererConfig | GridSystemEvents | typeof handleMouse)[];
13
- ontouchend: (number | IRendererConfig | GridSystemEvents | typeof handleMouse)[];
6
+ onclick: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
7
+ onmouseover: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
8
+ onmousedown: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
9
+ ondblclick: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
10
+ oncontextmenu: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
11
+ ontouchstart: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
12
+ ontouchmove: (number | GridSystemEvents | IRendererConfig | typeof handleMouse)[];
13
+ ontouchend: (number | GridSystemEvents | IRendererConfig | typeof handleMouse)[];
14
14
  };
15
15
  export declare function getTreeCell(content: any, row: any, col: ICol, conf: IRendererConfig): any;
16
16
  export declare function getCells(conf: IRendererConfig): any[];
17
17
  export declare function getSpans(config: IRendererConfig, mode?: Split): any[];
18
18
  export declare function getShifts(conf: IRendererConfig): ICoords;
19
- export declare function normalizeSpan(span: ISpan, renderConfig: IGridConfig): {
19
+ export declare function normalizeSpan(span: ISpan, config: IGridConfig): {
20
20
  $renderFrom: string[];
21
21
  row: import("../../../ts-common/types").Id;
22
22
  column: import("../../../ts-common/types").Id;
@@ -1,3 +1,3 @@
1
1
  import { ILayoutState, IRendererConfig, Split } from "./../types";
2
2
  export declare function getFixedColsHeader(renderConfig: IRendererConfig, layout: ILayoutState, mode: Split.left | Split.right): any;
3
- export declare function getFixedCols(renderConfig: IRendererConfig, layout: ILayoutState, mode: Split.left | Split.right): any[];
3
+ export declare function getFixedCols(renderConfig: IRendererConfig, layout: ILayoutState, mode: Split.left | Split.right, source?: Split.top | Split.bottom): any[];
@@ -1,6 +1,7 @@
1
1
  import { IGrid, IGridConfig, IProGrid, IRendererConfig, IRow, Split, IScrollBarWidth } from "../types";
2
2
  export declare const BORDERS = 2;
3
3
  export declare function calcScrollBarWidth(config: IGridConfig | IRendererConfig, customScroll?: boolean): IScrollBarWidth;
4
+ export declare function getCurrFixedCols(config: IGridConfig, split: Split.left | Split.right): import("../types").ICol[];
4
5
  export declare function getRenderConfig(obj: any, data: IRow[], wrapperSizes: any): IRendererConfig;
5
6
  export declare function getEvents(config: IRendererConfig, mode?: Split): {};
6
7
  export declare function render(vm: any, obj: IGrid, htmlEvents: any, selection: any, uid: string): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-chart",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
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.0.1 Standard
4
+ dhtmlxChart v.8.0.3 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.0.3 (April 12, 2023)
2
+ ----------------------------
3
+
4
+ Version 8.0.2 (March 20, 2023)
5
+ ----------------------------
6
+
1
7
  Version 8.0.1 (March 13, 2023)
2
8
  ----------------------------
3
9