dhx-chart 7.3.6 → 7.3.8
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.
- package/codebase/chart.min.css +1 -1
- package/codebase/chart.min.js +3 -3
- package/codebase/types/ts-common/KeyManager.d.ts +2 -0
- package/codebase/types/ts-data/sources/treecollection.d.ts +1 -0
- package/codebase/types/ts-grid/sources/Grid.d.ts +2 -1
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +12 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +6 -0
|
@@ -4,6 +4,7 @@ export interface IKeyManager {
|
|
|
4
4
|
addHotKey(key: string, handler: any): void;
|
|
5
5
|
removeHotKey(key?: string, context?: any): void;
|
|
6
6
|
exist(key: string): boolean;
|
|
7
|
+
getKeyStorageLength(): number;
|
|
7
8
|
}
|
|
8
9
|
export declare class KeyManager implements IKeyManager {
|
|
9
10
|
private _keysStorage;
|
|
@@ -14,4 +15,5 @@ export declare class KeyManager implements IKeyManager {
|
|
|
14
15
|
addHotKey(key: string, handler: any): void;
|
|
15
16
|
removeHotKey(key?: string, handler?: anyFunction): void;
|
|
16
17
|
exist(key: string): boolean;
|
|
18
|
+
getKeyStorageLength(): number;
|
|
17
19
|
}
|
|
@@ -48,6 +48,7 @@ export declare class TreeCollection<T extends IDataItem = IDataItem> extends Dat
|
|
|
48
48
|
protected _removeCore(id: any): void;
|
|
49
49
|
protected _addToOrder(_order: any, obj: any, index: number): void;
|
|
50
50
|
protected _parse_data(data: any, parent?: Id): void;
|
|
51
|
+
protected _applySmart(): void;
|
|
51
52
|
private _fastDeleteChilds;
|
|
52
53
|
private _recursiveFilter;
|
|
53
54
|
private _serialize;
|
|
@@ -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;
|
|
46
|
+
getSpan(rowId: Id, colId: Id): ISpan | null;
|
|
47
47
|
removeSpan(rowId: Id, colId: Id): void;
|
|
48
48
|
editCell(rowId: Id, colId: Id, editorType?: EditorType): void;
|
|
49
49
|
editEnd(withoutSave?: boolean): void;
|
|
@@ -51,6 +51,7 @@ export declare class Grid extends View implements IGrid {
|
|
|
51
51
|
getHeaderFilter(colId: Id): HTMLElement | Combobox;
|
|
52
52
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
53
53
|
edit(rowId: Id, colId: Id, editorType?: EditorType): void;
|
|
54
|
+
paint(): void;
|
|
54
55
|
protected _createView(): any;
|
|
55
56
|
protected _parseColumns(configChanged?: boolean): void;
|
|
56
57
|
protected _parseData(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridEvents, ICol, ICoords, IRendererConfig, GridSystemEvents } from "../types";
|
|
1
|
+
import { GridEvents, ICol, ICoords, IRendererConfig, GridSystemEvents, IGridConfig, ISpan } from "../types";
|
|
2
2
|
declare type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | GridEvents.cellMouseDown | GridEvents.cellDblClick | GridEvents.cellRightClick;
|
|
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;
|
|
@@ -16,4 +16,15 @@ export declare function getTreeCell(content: any, row: any, col: ICol, conf: IRe
|
|
|
16
16
|
export declare function getCells(conf: IRendererConfig): any[];
|
|
17
17
|
export declare function getSpans(config: IRendererConfig, frozen?: boolean): any[];
|
|
18
18
|
export declare function getShifts(conf: IRendererConfig): ICoords;
|
|
19
|
+
export declare function normalizeSpan(span: ISpan, renderConfig: IGridConfig): {
|
|
20
|
+
$renderFrom: string[];
|
|
21
|
+
row: import("../../../ts-common/types").Id;
|
|
22
|
+
column: import("../../../ts-common/types").Id;
|
|
23
|
+
rowspan?: number;
|
|
24
|
+
colspan?: number;
|
|
25
|
+
text?: import("../../../ts-common/types").Id;
|
|
26
|
+
css?: string;
|
|
27
|
+
tooltip?: boolean;
|
|
28
|
+
tooltipTemplate?: (spanValue: any, span: ISpan) => string;
|
|
29
|
+
};
|
|
19
30
|
export {};
|
package/package.json
CHANGED
package/readme.txt
CHANGED