dhx-chart 9.1.0 → 9.1.1
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-common/core.d.ts +5 -1
- package/codebase/types/ts-grid/sources/helpers/data.d.ts +6 -2
- package/codebase/types/ts-grid/sources/ui/editors/ComboboxEditor.d.ts +1 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +3 -0
|
@@ -32,5 +32,9 @@ export interface IContainerConfig {
|
|
|
32
32
|
export declare const getStringWidth: (value: string, config?: IContainerConfig) => number;
|
|
33
33
|
export declare const rgbToHex: (color: string) => string;
|
|
34
34
|
export declare function getCloneObject(obj: any): any;
|
|
35
|
-
export declare function getTextLines(ctx
|
|
35
|
+
export declare function getTextLines({ ctx, text, maxWidth }: {
|
|
36
|
+
ctx: any;
|
|
37
|
+
text: any;
|
|
38
|
+
maxWidth: any;
|
|
39
|
+
}): string[];
|
|
36
40
|
export {};
|
|
@@ -11,8 +11,12 @@ export declare function measureTextHeight({ text, width, lineHeight, font, htmlE
|
|
|
11
11
|
}): number;
|
|
12
12
|
export declare function countColumns(config: IGridConfig, columns: ICol[]): number;
|
|
13
13
|
export declare function calculateVisibleRange(viewPortSize: ISizes, scroll: IScrollState, config: IGridConfig, data: IRow[]): IRange;
|
|
14
|
-
export declare function getUnique(arr: any[], name: string, multiselection: boolean): any[];
|
|
15
|
-
export declare const getMaxRowHeight: (
|
|
14
|
+
export declare function getUnique(arr: any[], name: string, multiselection: boolean, editorType: ICol["editorType"]): any[];
|
|
15
|
+
export declare const getMaxRowHeight: ({ cols, row, config, }: {
|
|
16
|
+
row: IRow;
|
|
17
|
+
cols: ICol[];
|
|
18
|
+
config?: IContainerConfig;
|
|
19
|
+
}) => number;
|
|
16
20
|
export declare const getCalculatedRowHeight: (height: number, config?: {
|
|
17
21
|
rowHeight: number;
|
|
18
22
|
verticalOffset?: number;
|
package/package.json
CHANGED
package/readme.txt
CHANGED