dhx-chart 7.3.10 → 7.3.12

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.
@@ -43,7 +43,7 @@ export declare class Grid extends View implements IGrid {
43
43
  getCellRect(rowId: Id, colId: Id): ICellRect;
44
44
  getColumn(colId: Id): ICol;
45
45
  addSpan(spanObj: ISpan): void;
46
- getSpan(rowId: Id, colId: Id): ISpan | null;
46
+ getSpan(rowId: Id, colId: Id): ISpan;
47
47
  removeSpan(rowId: Id, colId: Id): void;
48
48
  editCell(rowId: Id, colId: Id, editorType?: EditorType): void;
49
49
  editEnd(withoutSave?: boolean): void;
@@ -10,3 +10,4 @@ export declare function isTooltip(config: IGridConfig, element: ICol | ISpan): b
10
10
  export declare function isHtmlEnable(config: IGridConfig, col: ICol): boolean;
11
11
  export declare function getTotalWidth(columns: ICol[]): number;
12
12
  export declare function getTotalHeight(rows: IRow[]): number;
13
+ export declare function scrollFixedColsAndRows(e: WheelEvent): void;
@@ -230,6 +230,7 @@ export interface ISpan {
230
230
  css?: string;
231
231
  tooltip?: boolean;
232
232
  tooltipTemplate?: (spanValue: any, span: ISpan) => string;
233
+ $markCss?: string;
233
234
  }
234
235
  declare type MarkFunction = (cell: any, columnCells: any[], row: IRow, column: ICol) => string;
235
236
  export interface IMark {
@@ -395,12 +396,19 @@ export interface ISystemEventHandlersMap {
395
396
  export interface ICellContent {
396
397
  element?: any;
397
398
  toHtml: (column: ICol, config: IRendererConfig) => any;
398
- match?: (obj: any, value: any, item?: any, multi?: boolean) => boolean;
399
+ match?: (obj: IMatch) => boolean;
399
400
  destroy?: () => void;
400
401
  calculate?: (col: any[], roots: any[]) => string | number;
401
402
  validate?: (colId: Id, data: any[]) => any[];
402
403
  value?: any;
403
404
  }
405
+ interface IMatch {
406
+ val: any;
407
+ match: any;
408
+ obj?: any;
409
+ multi?: boolean;
410
+ col?: ICol;
411
+ }
404
412
  export interface IContentList {
405
413
  [key: string]: ICellContent;
406
414
  }
@@ -3,14 +3,14 @@ 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 | 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)[];
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)[];
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[];
@@ -26,5 +26,6 @@ export declare function normalizeSpan(span: ISpan, renderConfig: IGridConfig): {
26
26
  css?: string;
27
27
  tooltip?: boolean;
28
28
  tooltipTemplate?: (spanValue: any, span: ISpan) => string;
29
+ $markCss?: string;
29
30
  };
30
31
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-chart",
3
- "version": "7.3.10",
3
+ "version": "7.3.12",
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.7.3.10 Standard
4
+ dhtmlxChart v.7.3.12 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 7.3.12 (November 17, 2022)
2
+ ----------------------------
3
+
4
+ Version 7.3.11 (November 3, 2022)
5
+ ----------------------------
6
+
1
7
  Version 7.3.10 (October 18, 2022)
2
8
  ----------------------------
3
9