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.
@@ -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: any, text: string, maxWidth: number): string[];
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: (row: IRow, cols: ICol[], config?: IContainerConfig) => number;
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;
@@ -14,4 +14,5 @@ export declare class ComboboxEditor implements IEditor {
14
14
  endEdit(withoutSave?: boolean): void;
15
15
  toHTML(): any;
16
16
  protected _initHandlers(): void;
17
+ private _setCustomOptions;
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-suite",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "description": "dhtmlxSuite widget",
5
5
  "homepage":"https://docs.dhtmlx.com",
6
6
  "license":"GPL",
package/readme.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
3
 
4
- dhtmlxSuite v.9.1.0 Standard
4
+ dhtmlxSuite v.9.1.1 Standard
5
5
  This software is covered by GPL-2.0 License. Usage without proper license is prohibited.
6
6
 
7
7
  (c) XB Software.
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