dhx-suite 8.2.0 → 8.2.2

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.
@@ -19,6 +19,7 @@ export declare class Exporter {
19
19
  color: string;
20
20
  background: string;
21
21
  fontSize: number;
22
+ bold: boolean;
22
23
  };
23
24
  };
24
25
  };
@@ -74,7 +74,6 @@ export declare class Grid extends View implements IGrid {
74
74
  protected _getRowGhost(ids: Id[]): HTMLDivElement;
75
75
  protected _initHooks(): {
76
76
  didMount: () => void;
77
- didUnmount: (vm: any) => void;
78
77
  };
79
78
  private _canDataParse;
80
79
  private _init;
@@ -174,6 +174,16 @@ export interface IProGrid extends IGrid {
174
174
  export declare type EditorType = "input" | "select" | "datePicker" | "checkbox" | "combobox" | "multiselect" | "textarea";
175
175
  export interface IComboEditorConfig {
176
176
  newOptions?: boolean;
177
+ readOnly?: boolean;
178
+ selectAllButton?: boolean;
179
+ placeholder?: string;
180
+ itemHeight?: number | string;
181
+ listHeight?: number | string;
182
+ css?: string;
183
+ template?: (item: {
184
+ id: Id;
185
+ value: string;
186
+ }) => string;
177
187
  }
178
188
  export interface IBaseHandlersMap {
179
189
  [key: string]: (...args: any[]) => any;
@@ -314,9 +324,10 @@ export interface IPositions {
314
324
  yEnd: number;
315
325
  }
316
326
  export interface ICellCss {
317
- color: string;
318
- background: string;
319
- fontSize: number;
327
+ color?: string;
328
+ background?: string;
329
+ fontSize?: number;
330
+ bold?: boolean;
320
331
  }
321
332
  export interface IExportData {
322
333
  columns: Array<{
@@ -521,6 +532,7 @@ export interface ICell {
521
532
  export interface IRow {
522
533
  id?: Id;
523
534
  height?: number;
535
+ hidden?: boolean;
524
536
  $height?: number;
525
537
  [key: string]: any;
526
538
  }
@@ -3,14 +3,14 @@ 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 | IRendererConfig | GridEvents | typeof handleMouse)[];
7
- onmouseover: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
8
- onmousedown: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
9
- ondblclick: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
10
- oncontextmenu: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
11
- ontouchstart: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
12
- ontouchmove: (number | IRendererConfig | GridSystemEvents | typeof handleMouse)[];
13
- ontouchend: (number | IRendererConfig | GridSystemEvents | typeof handleMouse)[];
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[];
@@ -51,7 +51,7 @@ export interface IItem extends IDataItem {
51
51
  hidden?: boolean;
52
52
  disabled?: boolean;
53
53
  }
54
- export declare type IMenuElement = ISpacer | ISeparator | INavItem | IMenuItem | ICustomHTML;
54
+ export declare type IMenuElement = ISpacer | ISeparator | IMenuItem | ICustomHTML;
55
55
  export interface IMenuItem extends IItem, IHtmlExtendable {
56
56
  type?: "menuItem";
57
57
  $openIcon?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-suite",
3
- "version": "8.2.0",
3
+ "version": "8.2.2",
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.8.2.0 Standard
4
+ dhtmlxSuite v.8.2.2 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,25 @@
1
+ # Version 8.2.2 (September 13, 2023)
2
+
3
+ ### Fixes
4
+
5
+ - DataView. Fix the issue with the FocusChange event not triggering on selecting an item with the mouse click
6
+ - Grid/TreeGrid. Fix export to Excel with the non-numeric footer content
7
+ - Grid/TreeGrid. Fix the problem with setting columns' width during export to Excel if the `adjust` config is enabled
8
+ - Grid/TreeGrid. Fix export to Excel of the applied cell alignment
9
+ - Grid/TreeGrid. Fix export to Excel of the font weight applied to cells
10
+ - Menu. Fix the problem with rendering of the count badge at the root level
11
+ - Tree. Fix the impossibility to override the checkbox configuration via the dataset
12
+ - TreeGrid. Fix the issue with resetting changes in the edited cells after data ungrouping
13
+
14
+ # Version 8.2.1 (August 31, 2023)
15
+
16
+ ### Fixes
17
+
18
+ - Combobox. Fix the displaying of templates
19
+ - Context Menu. Fix the problem with closing of the context menu when clicking on the scrollbar
20
+ - Grid/TreeGrid. Fix the issue when calling of the destructor() method caused a crash of an app based on the Optimus framework
21
+ - Grid/TreeGrid. Fix the rendering of hidden columns
22
+
1
23
  # Version 8.2 (August 28, 2023)
2
24
 
3
25
  ### New functionality