dhx-chart 8.3.12 → 8.3.14
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/chart.min.js.map +1 -1
- package/codebase/types/ts-combobox/sources/keyListener.d.ts +2 -0
- package/codebase/types/ts-grid/sources/helpers/cells.d.ts +3 -2
- package/codebase/types/ts-layout/sources/Cell.d.ts +2 -0
- package/codebase/types/ts-layout/sources/Layout.d.ts +1 -0
- package/codebase/types/ts-list/sources/List.d.ts +2 -1
- package/codebase/types/ts-list/sources/types.d.ts +2 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +6 -0
|
@@ -3,10 +3,12 @@ export declare class KeyListener {
|
|
|
3
3
|
private _sequence;
|
|
4
4
|
private _currentAction;
|
|
5
5
|
private _clearTimeout;
|
|
6
|
+
private _handler;
|
|
6
7
|
constructor();
|
|
7
8
|
startNewListen(action: (seq: string) => any): void;
|
|
8
9
|
endListen(): void;
|
|
9
10
|
reset(): void;
|
|
11
|
+
destructor(): void;
|
|
10
12
|
private _change;
|
|
11
13
|
private _addClearTimeout;
|
|
12
14
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ICell, ICol, IGrid, IRow } from "./../types";
|
|
1
|
+
import { ICell, ICol, IGrid, IRow, ISpan } from "./../types";
|
|
2
2
|
import { Id } from "../../../ts-common/types";
|
|
3
3
|
export declare function getWidth(columns: ICol[], colspan: number, index: number): number;
|
|
4
|
-
export declare function getHeight(
|
|
4
|
+
export declare function getHeight(rows: IRow[], span: ISpan): number;
|
|
5
5
|
export declare function getReducedColspan(columns: ICol[], colId: Id, colspan: number): number;
|
|
6
|
+
export declare function getReducedRowspan(initialRows: IRow[], currRows: IRow[], rowIndex: number, span: ISpan): number;
|
|
6
7
|
export declare function normalizeCell(cell: ICell, grid: IGrid): ICell;
|
|
@@ -16,6 +16,7 @@ export declare class Cell extends View implements ICell {
|
|
|
16
16
|
protected _resizerHandlers: any;
|
|
17
17
|
protected _progress: boolean;
|
|
18
18
|
protected _stopProgressDefault: boolean;
|
|
19
|
+
protected _theme: string;
|
|
19
20
|
private _isLastFlexCell;
|
|
20
21
|
private _afterWindowResized;
|
|
21
22
|
constructor(parent: string | HTMLElement | ILayout, config: ICellConfig);
|
|
@@ -38,6 +39,7 @@ export declare class Cell extends View implements ICell {
|
|
|
38
39
|
progressHide(): void;
|
|
39
40
|
isVisibleProgress(): boolean;
|
|
40
41
|
toVDOM(nodes?: any[]): any;
|
|
42
|
+
protected _saveTheme(): void;
|
|
41
43
|
protected _getProgressBar(): any;
|
|
42
44
|
protected _getCss(_content?: boolean): string;
|
|
43
45
|
protected _initHandlers(): void;
|
|
@@ -21,6 +21,7 @@ export declare class Layout extends Cell implements ILayout {
|
|
|
21
21
|
cell(id: string): any;
|
|
22
22
|
progressShow(): void;
|
|
23
23
|
progressHide(): void;
|
|
24
|
+
protected _initHandlers(): void;
|
|
24
25
|
protected _getCss(content?: boolean): string;
|
|
25
26
|
private _parseConfig;
|
|
26
27
|
protected _createCell(cell: ILayoutConfig): ICell;
|
|
@@ -14,7 +14,7 @@ export declare class List extends View implements IList {
|
|
|
14
14
|
selection: ISelection;
|
|
15
15
|
keyManager: IKeyManager;
|
|
16
16
|
protected _handlers: IHandlers;
|
|
17
|
-
protected _focus: Id;
|
|
17
|
+
protected _focus: Id | undefined;
|
|
18
18
|
protected _edited: Id;
|
|
19
19
|
protected _events: IHandlers;
|
|
20
20
|
private _topOffset;
|
|
@@ -35,6 +35,7 @@ export declare class List extends View implements IList {
|
|
|
35
35
|
editEnd(value: any, id?: Id): void;
|
|
36
36
|
getFocusItem(): any;
|
|
37
37
|
setFocus(id: Id): void;
|
|
38
|
+
resetFocus(): void;
|
|
38
39
|
getFocus(): Id;
|
|
39
40
|
destructor(): void;
|
|
40
41
|
scrollTo(id: Id): void;
|
|
@@ -48,7 +48,7 @@ export interface IListEventHandlersMap {
|
|
|
48
48
|
[ListEvents.itemMouseOver]: (id: Id, e: Event) => void;
|
|
49
49
|
[ListEvents.doubleClick]: (id: Id, e: Event) => void;
|
|
50
50
|
[ListEvents.itemRightClick]: (id: Id, e: MouseEvent) => void;
|
|
51
|
-
[ListEvents.focusChange]: (focusIndex
|
|
51
|
+
[ListEvents.focusChange]: (focusIndex?: number, id?: Id) => void;
|
|
52
52
|
[ListEvents.beforeEditStart]: (id: Id) => void | boolean;
|
|
53
53
|
[ListEvents.afterEditStart]: (id: Id) => void;
|
|
54
54
|
[ListEvents.beforeEditEnd]: (value: string, id: Id) => void | boolean;
|
|
@@ -70,6 +70,7 @@ export interface IList<T extends IDataItem = any> {
|
|
|
70
70
|
editItem(id: Id): void;
|
|
71
71
|
getFocusItem(): T;
|
|
72
72
|
setFocus(id: Id): void;
|
|
73
|
+
resetFocus(): void;
|
|
73
74
|
getFocus(): Id;
|
|
74
75
|
scrollTo(id: Id): void;
|
|
75
76
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
package/package.json
CHANGED
package/readme.txt
CHANGED