dhx-chart 7.3.11 → 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.
@@ -230,7 +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
+ $markCss?: string;
234
234
  }
235
235
  declare type MarkFunction = (cell: any, columnCells: any[], row: IRow, column: ICol) => string;
236
236
  export interface IMark {
@@ -396,12 +396,19 @@ export interface ISystemEventHandlersMap {
396
396
  export interface ICellContent {
397
397
  element?: any;
398
398
  toHtml: (column: ICol, config: IRendererConfig) => any;
399
- match?: (obj: any, value: any, item?: any, multi?: boolean) => boolean;
399
+ match?: (obj: IMatch) => boolean;
400
400
  destroy?: () => void;
401
401
  calculate?: (col: any[], roots: any[]) => string | number;
402
402
  validate?: (colId: Id, data: any[]) => any[];
403
403
  value?: any;
404
404
  }
405
+ interface IMatch {
406
+ val: any;
407
+ match: any;
408
+ obj?: any;
409
+ multi?: boolean;
410
+ col?: ICol;
411
+ }
405
412
  export interface IContentList {
406
413
  [key: string]: ICellContent;
407
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,6 +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
+ $markCss?: string;
30
30
  };
31
31
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-chart",
3
- "version": "7.3.11",
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.11 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,6 @@
1
+ Version 7.3.12 (November 17, 2022)
2
+ ----------------------------
3
+
1
4
  Version 7.3.11 (November 3, 2022)
2
5
  ----------------------------
3
6