dhx-suite 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/suite.min.js +3 -3
- package/codebase/suite.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 +11 -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
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
# Version 9.1.1. (February 24, 2025)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
- Combobox. Adding a new option in the "multiselection" mode opens the popup list
|
|
6
|
+
- Form. The problem with updating the value of the `preMessage` property of the Textarea control
|
|
7
|
+
- Grid. After editing grouped data with the `adjust:true` option in the Grid configuration, the adjustable cell width is reset on ungrouping data
|
|
8
|
+
- Grid. The issue with using a sub-row when the `dhx.scrollViewConfig.enable` configuration option is set to *true*
|
|
9
|
+
- Grid. An error caused by the use of options containing commas in the "combobox" editor
|
|
10
|
+
- Grid. Incorrect calculation of the row `autoHeight`, if the length of a word in a cell exceeds the column width
|
|
11
|
+
|
|
1
12
|
# Version 9.1 (February 18, 2025)
|
|
2
13
|
|
|
3
14
|
### Breaking changes
|