dhx-chart 7.3.12 → 7.3.13
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.js +3 -3
- package/codebase/types/ts-grid/sources/types.d.ts +3 -1
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +8 -8
- package/codebase/types/ts-grid/sources/ui/editors/InputEditor.d.ts +1 -1
- package/codebase/types/ts-layout/sources/Cell.d.ts +1 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +3 -0
|
@@ -50,6 +50,7 @@ export interface IGridConfig extends IDragConfig {
|
|
|
50
50
|
$editable?: {
|
|
51
51
|
row: any;
|
|
52
52
|
col: any;
|
|
53
|
+
isSpan: boolean;
|
|
53
54
|
editorType?: EditorType;
|
|
54
55
|
editor?: IEditor;
|
|
55
56
|
};
|
|
@@ -445,6 +446,7 @@ export interface ISizes {
|
|
|
445
446
|
export interface ICell {
|
|
446
447
|
row: IRow;
|
|
447
448
|
column: ICol;
|
|
449
|
+
$preventedUnselect?: boolean;
|
|
448
450
|
}
|
|
449
451
|
export interface IRow {
|
|
450
452
|
id?: Id;
|
|
@@ -453,7 +455,7 @@ export interface IRow {
|
|
|
453
455
|
[key: string]: any;
|
|
454
456
|
}
|
|
455
457
|
export interface IEditor {
|
|
456
|
-
toHTML(): any;
|
|
458
|
+
toHTML(text?: string): any;
|
|
457
459
|
endEdit(withoutSave?: boolean): void;
|
|
458
460
|
}
|
|
459
461
|
export declare type ISelectionType = "cell" | "row" | "complex";
|
|
@@ -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 | 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)[];
|
|
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[];
|
|
@@ -11,6 +11,6 @@ export declare class InputEditor implements IEditor {
|
|
|
11
11
|
protected _input: HTMLInputElement;
|
|
12
12
|
constructor(row: IRow, col: ICol, config: IRendererConfig);
|
|
13
13
|
endEdit(withoutSave?: boolean): void;
|
|
14
|
-
toHTML(): any;
|
|
14
|
+
toHTML(text?: string): any;
|
|
15
15
|
protected _initHandlers(): void;
|
|
16
16
|
}
|
package/package.json
CHANGED
package/readme.txt
CHANGED