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
|
|
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:
|
|
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 |
|
|
7
|
-
onmouseover: (number |
|
|
8
|
-
onmousedown: (number |
|
|
9
|
-
ondblclick: (number |
|
|
10
|
-
oncontextmenu: (number |
|
|
11
|
-
ontouchstart: (number |
|
|
12
|
-
ontouchmove: (number |
|
|
13
|
-
ontouchend: (number |
|
|
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
|
|
29
|
+
$markCss?: string;
|
|
30
30
|
};
|
|
31
31
|
export {};
|
package/package.json
CHANGED
package/readme.txt
CHANGED