dhx-chart 7.3.0 → 7.3.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.css +1 -1
- package/codebase/chart.min.js +3 -3
- package/codebase/types/ts-data/sources/datacollection/loader.d.ts +1 -0
- package/codebase/types/ts-data/sources/types.d.ts +3 -1
- package/codebase/types/ts-grid/sources/types.d.ts +1 -0
- package/codebase/types/ts-grid/sources/ui/FixedRows.d.ts +2 -1
- package/codebase/types/ts-message/sources/tooltip.d.ts +1 -1
- package/codebase/types/ts-message/sources/types.d.ts +4 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +9 -0
|
@@ -212,7 +212,8 @@ export declare enum DataEvents {
|
|
|
212
212
|
load = "load",
|
|
213
213
|
loadError = "loaderror",
|
|
214
214
|
beforeLazyLoad = "beforelazyload",
|
|
215
|
-
afterLazyLoad = "afterlazyload"
|
|
215
|
+
afterLazyLoad = "afterlazyload",
|
|
216
|
+
dataRequest = "dataRequest"
|
|
216
217
|
}
|
|
217
218
|
export interface IDataEventsHandlersMap {
|
|
218
219
|
[key: string]: (...args: any[]) => any;
|
|
@@ -226,6 +227,7 @@ export interface IDataEventsHandlersMap {
|
|
|
226
227
|
[DataEvents.loadError]: (response: any) => void;
|
|
227
228
|
[DataEvents.beforeLazyLoad]: () => boolean | void;
|
|
228
229
|
[DataEvents.afterLazyLoad]: (from: number, count: number) => void;
|
|
230
|
+
[DataEvents.dataRequest]: (from: number, to: number) => void;
|
|
229
231
|
}
|
|
230
232
|
export declare enum DragEvents {
|
|
231
233
|
beforeDrag = "beforeDrag",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { IFixedRowsConfig, IRendererConfig } from "../types";
|
|
1
|
+
import { IFixedRowsConfig, IRendererConfig, ILayoutState } from "../types";
|
|
2
2
|
export declare function getRows(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any[];
|
|
3
3
|
export declare function getFixedSpans(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any[];
|
|
4
4
|
export declare function getFixedRows(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any;
|
|
5
|
+
export declare function getFixedDataRows(config: IRendererConfig, layout: ILayoutState): any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IPosition, ITooltipConfig, Position } from "./types";
|
|
2
|
-
export declare function findPosition(targetRect: ClientRect, position: Position, width: number, height: number): IPosition;
|
|
2
|
+
export declare function findPosition(targetRect: ClientRect, position: Position, width: number, height: number, margin?: number, recursion?: number): IPosition;
|
|
3
3
|
export declare function getZIndex(node: Element | HTMLElement): any;
|
|
4
4
|
export declare function tooltip(text: string, config: ITooltipConfig): void;
|
|
5
5
|
export declare function enableTooltip(): void;
|
|
@@ -25,6 +25,7 @@ export interface ITooltipConfig extends IScreenPosition {
|
|
|
25
25
|
showDelay?: number;
|
|
26
26
|
hideDelay?: number;
|
|
27
27
|
htmlEnable?: boolean;
|
|
28
|
+
margin?: number;
|
|
28
29
|
}
|
|
29
30
|
export interface IPosition {
|
|
30
31
|
left: number;
|
|
@@ -39,7 +40,9 @@ export interface IScreenPosition {
|
|
|
39
40
|
export declare enum Position {
|
|
40
41
|
right = "right",
|
|
41
42
|
bottom = "bottom",
|
|
42
|
-
center = "center"
|
|
43
|
+
center = "center",
|
|
44
|
+
left = "left",
|
|
45
|
+
top = "top"
|
|
43
46
|
}
|
|
44
47
|
export declare enum MessageContainerPosition {
|
|
45
48
|
topLeft = "top-left",
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
Version 7.3.3 (April 25, 2022)
|
|
2
|
+
----------------------------
|
|
3
|
+
|
|
4
|
+
Version 7.3.2 (April 4, 2022)
|
|
5
|
+
----------------------------
|
|
6
|
+
|
|
7
|
+
Version 7.3.1 (March 17, 2022)
|
|
8
|
+
----------------------------
|
|
9
|
+
|
|
1
10
|
Version 7.3.0 (January 19, 2022)
|
|
2
11
|
----------------------------
|
|
3
12
|
|