dhx-chart 8.0.1 → 8.0.3
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/Selection.d.ts +1 -0
- package/codebase/types/ts-grid/sources/types.d.ts +2 -1
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +9 -9
- package/codebase/types/ts-grid/sources/ui/FixedCols.d.ts +1 -1
- package/codebase/types/ts-grid/sources/ui/render.d.ts +1 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +6 -0
|
@@ -60,6 +60,7 @@ export interface IGridConfig extends IDragConfig {
|
|
|
60
60
|
};
|
|
61
61
|
$resizing?: string | number;
|
|
62
62
|
$scrollBarWidth?: IScrollBarWidth;
|
|
63
|
+
$data?: any[];
|
|
63
64
|
groupTitleTemplate?: (groupName: string, groupItems: IDataItem[]) => string;
|
|
64
65
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
65
66
|
editing?: boolean;
|
|
@@ -115,7 +116,7 @@ export interface IRendererConfig extends IGridConfig {
|
|
|
115
116
|
htmlEnable?: boolean;
|
|
116
117
|
content?: IContentList;
|
|
117
118
|
gridId?: string;
|
|
118
|
-
$renderFrom?: "
|
|
119
|
+
$renderFrom?: "leftFixedCols" | "rightFixedCols" | "topFixedRows" | "bottomFixedRows" | "render" | "both";
|
|
119
120
|
_events?: IEventSystem<GridSystemEvents>;
|
|
120
121
|
}
|
|
121
122
|
export interface ISortingState {
|
|
@@ -3,20 +3,20 @@ 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[];
|
|
17
17
|
export declare function getSpans(config: IRendererConfig, mode?: Split): any[];
|
|
18
18
|
export declare function getShifts(conf: IRendererConfig): ICoords;
|
|
19
|
-
export declare function normalizeSpan(span: ISpan,
|
|
19
|
+
export declare function normalizeSpan(span: ISpan, config: IGridConfig): {
|
|
20
20
|
$renderFrom: string[];
|
|
21
21
|
row: import("../../../ts-common/types").Id;
|
|
22
22
|
column: import("../../../ts-common/types").Id;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ILayoutState, IRendererConfig, Split } from "./../types";
|
|
2
2
|
export declare function getFixedColsHeader(renderConfig: IRendererConfig, layout: ILayoutState, mode: Split.left | Split.right): any;
|
|
3
|
-
export declare function getFixedCols(renderConfig: IRendererConfig, layout: ILayoutState, mode: Split.left | Split.right): any[];
|
|
3
|
+
export declare function getFixedCols(renderConfig: IRendererConfig, layout: ILayoutState, mode: Split.left | Split.right, source?: Split.top | Split.bottom): any[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IGrid, IGridConfig, IProGrid, IRendererConfig, IRow, Split, IScrollBarWidth } from "../types";
|
|
2
2
|
export declare const BORDERS = 2;
|
|
3
3
|
export declare function calcScrollBarWidth(config: IGridConfig | IRendererConfig, customScroll?: boolean): IScrollBarWidth;
|
|
4
|
+
export declare function getCurrFixedCols(config: IGridConfig, split: Split.left | Split.right): import("../types").ICol[];
|
|
4
5
|
export declare function getRenderConfig(obj: any, data: IRow[], wrapperSizes: any): IRendererConfig;
|
|
5
6
|
export declare function getEvents(config: IRendererConfig, mode?: Split): {};
|
|
6
7
|
export declare function render(vm: any, obj: IGrid, htmlEvents: any, selection: any, uid: string): any;
|
package/package.json
CHANGED
package/readme.txt
CHANGED