dhx-suite 8.3.11 → 8.3.13

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.
@@ -3,10 +3,12 @@ export declare class KeyListener {
3
3
  private _sequence;
4
4
  private _currentAction;
5
5
  private _clearTimeout;
6
+ private _handler;
6
7
  constructor();
7
8
  startNewListen(action: (seq: string) => any): void;
8
9
  endListen(): void;
9
10
  reset(): void;
11
+ destructor(): void;
10
12
  private _change;
11
13
  private _addClearTimeout;
12
14
  }
@@ -94,6 +94,8 @@ export declare class ColorPicker extends Label implements IColorPicker {
94
94
  onfocus: () => void;
95
95
  oninput: (e: Event) => void;
96
96
  onchange: (e: Event) => void;
97
+ onkeydown: (event: KeyboardEvent) => void;
98
+ onmousedown: () => void;
97
99
  };
98
100
  protected _initHotkeys(): void;
99
101
  protected _draw(): any;
@@ -22,6 +22,7 @@ export interface IContainer {
22
22
  isDisabled(): boolean;
23
23
  setProperties(propertyConfig: IContainerProps): void;
24
24
  getProperties(): IContainerProps;
25
+ destructor(): void;
25
26
  }
26
27
  export interface IContainerHandlersMap extends IBaseHandlersMap {
27
28
  [ItemEvent.beforeHide]: (init: boolean) => boolean | void;
@@ -38,6 +39,7 @@ export declare class Container extends Label implements IContainer {
38
39
  events: IEventSystem<ItemEvent, IContainerHandlersMap>;
39
40
  private _props;
40
41
  constructor(container: any, config: IContainerConfig);
42
+ destructor(): void;
41
43
  attach(widget: any): void;
42
44
  attachHTML(html: string): void;
43
45
  show(): void;
@@ -100,6 +100,8 @@ export declare class DatePicker extends Label implements IDatePicker {
100
100
  onfocus: () => void;
101
101
  oninput: (e: Event) => void;
102
102
  onchange: (e: Event) => void;
103
+ onkeydown: (event: KeyboardEvent) => void;
104
+ onmousedown: () => void;
103
105
  };
104
106
  protected _initHotkeys(): void;
105
107
  protected _draw(): any;
@@ -92,6 +92,8 @@ export declare class TimePicker extends Label implements ITimePicker {
92
92
  onfocus: () => void;
93
93
  onblur: () => void;
94
94
  oninput: (e: Event) => void;
95
+ onkeydown: (event: KeyboardEvent) => void;
96
+ onmousedown: () => void;
95
97
  };
96
98
  protected _initHotkeys(): void;
97
99
  protected _draw(): any;
@@ -79,6 +79,7 @@ export declare class Grid extends View implements IGrid {
79
79
  };
80
80
  protected _normalizeDataType(): void;
81
81
  protected _applyLocalFilter(beforePrepareData?: boolean): void;
82
+ protected _normalizeSpans(): void;
82
83
  private _canDataParse;
83
84
  private _init;
84
85
  private _attachDataCollection;
@@ -90,7 +91,6 @@ export declare class Grid extends View implements IGrid {
90
91
  private _render;
91
92
  private _initHotKey;
92
93
  private _normalizeConfig;
93
- private _normalizeSpans;
94
94
  private _autoScroll;
95
95
  private _applyAutoWidth;
96
96
  }
@@ -107,6 +107,7 @@ interface IFixedRows {
107
107
  top: IRow[];
108
108
  bottom: IRow[];
109
109
  }
110
+ type RenderFrom = "leftFixedCols" | "rightFixedCols" | "topFixedRows" | "bottomFixedRows" | "render";
110
111
  export interface IRendererConfig extends Required<IGridConfig> {
111
112
  scroll?: IScrollState;
112
113
  datacollection: any;
@@ -126,7 +127,7 @@ export interface IRendererConfig extends Required<IGridConfig> {
126
127
  filterLocation?: string;
127
128
  content?: IContentList;
128
129
  gridId?: string;
129
- $renderFrom?: "leftFixedCols" | "rightFixedCols" | "topFixedRows" | "bottomFixedRows" | "render" | "both";
130
+ $renderFrom?: RenderFrom;
130
131
  _events?: IEventSystem<GridSystemEvents>;
131
132
  }
132
133
  export interface ISortingState {
@@ -307,9 +308,9 @@ export interface ISpan {
307
308
  css?: string;
308
309
  tooltip?: boolean;
309
310
  tooltipTemplate?: (spanValue: any, span: ISpan) => string;
310
- $type?: colType;
311
311
  $rowsVisibility?: number[];
312
312
  $colsVisibility?: number[];
313
+ $renderFrom?: RenderFrom[];
313
314
  }
314
315
  export interface IComboFilterConfig {
315
316
  data?: DataCollection<any> | any[];
@@ -1,5 +1,5 @@
1
1
  import { GridEvents, GridSystemEvents, ICol, ICoords, IGridConfig, IRendererConfig, ISpan, Split } from "../types";
2
- import { IDataCollection, IDataItem } from "../../../ts-data";
2
+ import { IDataCollection } from "../../../ts-data";
3
3
  type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | GridEvents.cellMouseDown | GridEvents.cellDblClick | GridEvents.cellRightClick;
4
4
  type touchEvents = GridSystemEvents.cellTouchEnd | GridSystemEvents.cellTouchMove;
5
5
  declare function handleMouse(rowStart: number, colStart: number, conf: IRendererConfig, type: mouseEvents & touchEvents, e: any): void;
@@ -17,9 +17,8 @@ export declare function getTreeCell(content: any, row: any, col: ICol, conf: IRe
17
17
  export declare function getCells(conf: IRendererConfig): any[];
18
18
  export declare function getSpans(config: IRendererConfig, mode?: Split): any[];
19
19
  export declare function getShifts(conf: IRendererConfig): ICoords;
20
- export declare function normalizeSpan(span: ISpan, config: IGridConfig, data: IDataCollection<IDataItem>): {
21
- $renderFrom: string[];
22
- $type: any;
20
+ export declare function normalizeSpan(span: ISpan, config: IGridConfig, data: IDataCollection): {
21
+ $renderFrom: any[];
23
22
  $rowsVisibility: number[];
24
23
  $colsVisibility: number[];
25
24
  row: import("../../../ts-common/types").Id;
@@ -21,6 +21,7 @@ export declare class Layout extends Cell implements ILayout {
21
21
  cell(id: string): any;
22
22
  progressShow(): void;
23
23
  progressHide(): void;
24
+ protected _initHandlers(): void;
24
25
  protected _getCss(content?: boolean): string;
25
26
  private _parseConfig;
26
27
  protected _createCell(cell: ILayoutConfig): ICell;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-suite",
3
- "version": "8.3.11",
3
+ "version": "8.3.13",
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.3.11 Standard
4
+ dhtmlxSuite v.8.3.13 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,21 @@
1
+ # Version 8.3.13 (June 24, 2024)
2
+
3
+ ### Fixes
4
+
5
+ - Window. The [`Tabbar.tabAlign`](/tabbar/api/tabbar_tabalign_config/) property is ignored if the Tabbar is placed within the Window control
6
+ - Form. The `helpMessage` is displayed in the incorrect position if the Form is scrolled to the bottom edge
7
+ - Core. Memory leaks (Layout, Combobox, Form components)
8
+
9
+ # Version 8.3.12 (May 17, 2024)
10
+
11
+ ### Updates
12
+
13
+ - Icons. Add new icons
14
+
15
+ ### Fixes
16
+
17
+ - TreeGrid. Fix the issue with spans not applying to columns
18
+
1
19
  # Version 8.3.11 (May 8, 2024)
2
20
 
3
21
  ### Fixes