dhx-chart 8.1.5 → 8.1.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.
@@ -68,6 +68,10 @@ export declare class Grid extends View implements IGrid {
68
68
  protected _prepareColumnData(data: any, type: "header" | "footer"): IRow[];
69
69
  protected _dragStart(event: any): void;
70
70
  protected _getRowGhost(ids: Id[]): HTMLDivElement;
71
+ protected _initHooks(): {
72
+ didMount: () => void;
73
+ };
74
+ private _canDataParse;
71
75
  private _init;
72
76
  private _attachDataCollection;
73
77
  private _setMarks;
@@ -285,6 +285,7 @@ export interface ISpan {
285
285
  tooltip?: boolean;
286
286
  tooltipTemplate?: (spanValue: any, span: ISpan) => string;
287
287
  $markCss?: string;
288
+ $type?: colType;
288
289
  }
289
290
  declare type MarkFunction = (cell: any, columnCells: any[], row: IRow, column: ICol) => string;
290
291
  export interface IMark {
@@ -18,6 +18,7 @@ export declare function getSpans(config: IRendererConfig, mode?: Split): any[];
18
18
  export declare function getShifts(conf: IRendererConfig): ICoords;
19
19
  export declare function normalizeSpan(span: ISpan, config: IGridConfig): {
20
20
  $renderFrom: string[];
21
+ $type: any;
21
22
  row: import("../../../ts-common/types").Id;
22
23
  column: import("../../../ts-common/types").Id;
23
24
  rowspan?: number;
@@ -6,6 +6,11 @@ export declare function calcScrollBarWidth(config: IGridConfig | IRendererConfig
6
6
  }): IScrollBarWidth;
7
7
  export declare function getCurrFixedCols(config: IGridConfig, split: Split.left | Split.right): import("../types").ICol[];
8
8
  export declare function getRenderConfig(obj: any, data: IRow[], wrapperSizes: any): IRendererConfig;
9
+ export declare function getElementSizes(element: HTMLElement | any): {
10
+ width: number;
11
+ height: number;
12
+ };
9
13
  export declare function getEvents(config: IRendererConfig, mode?: Split): {};
14
+ export declare function applyAutoWidth(config: IGridConfig, wrapperSizes: any, firstApply?: boolean, resizer?: boolean, scrollViewConfig?: boolean): void;
10
15
  export declare function render(vm: any, obj: IGrid, htmlEvents: any, selection: any, uid: string): any;
11
16
  export declare function proRender(vm: any, obj: IProGrid, htmlEvents: any, selection: any, uid: string): any;
@@ -3,4 +3,4 @@ export declare function getBlockRange(block1: ClientRect, block2: ClientRect, is
3
3
  min: number;
4
4
  max: number;
5
5
  };
6
- export declare function getMarginSize(config: ICellConfig, xLayout: boolean): 0 | 10;
6
+ export declare function getMarginSize(config: ICellConfig): 0 | 12;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-chart",
3
- "version": "8.1.5",
3
+ "version": "8.1.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.1.5 Standard
4
+ dhtmlxChart v.8.1.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,6 @@
1
+ Version 8.1.6 (July 11, 2023)
2
+ ----------------------------
3
+
1
4
  Version 8.1.5 (June 19, 2023)
2
5
  ----------------------------
3
6