dhx-suite 7.3.0 → 7.3.3

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.
@@ -13,4 +13,5 @@ export declare class Loader {
13
13
  private _addToChain;
14
14
  private _findPrevState;
15
15
  private _removeFromOrder;
16
+ private _getUniqueOrder;
16
17
  }
@@ -212,7 +212,8 @@ export declare enum DataEvents {
212
212
  load = "load",
213
213
  loadError = "loaderror",
214
214
  beforeLazyLoad = "beforelazyload",
215
- afterLazyLoad = "afterlazyload"
215
+ afterLazyLoad = "afterlazyload",
216
+ dataRequest = "dataRequest"
216
217
  }
217
218
  export interface IDataEventsHandlersMap {
218
219
  [key: string]: (...args: any[]) => any;
@@ -226,6 +227,7 @@ export interface IDataEventsHandlersMap {
226
227
  [DataEvents.loadError]: (response: any) => void;
227
228
  [DataEvents.beforeLazyLoad]: () => boolean | void;
228
229
  [DataEvents.afterLazyLoad]: (from: number, count: number) => void;
230
+ [DataEvents.dataRequest]: (from: number, to: number) => void;
229
231
  }
230
232
  export declare enum DragEvents {
231
233
  beforeDrag = "beforeDrag",
@@ -16,6 +16,7 @@ export interface IGridConfig extends IDragConfig {
16
16
  sortable?: boolean;
17
17
  rowCss?: (row: IRow) => string;
18
18
  leftSplit?: number;
19
+ topSplit?: number;
19
20
  selection?: ISelectionType;
20
21
  multiselection?: boolean;
21
22
  dragItem?: IDragType;
@@ -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 | 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)[];
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)[];
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[];
@@ -1,4 +1,5 @@
1
- import { IFixedRowsConfig, IRendererConfig } from "../types";
1
+ import { IFixedRowsConfig, IRendererConfig, ILayoutState } from "../types";
2
2
  export declare function getRows(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any[];
3
3
  export declare function getFixedSpans(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any[];
4
4
  export declare function getFixedRows(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any;
5
+ export declare function getFixedDataRows(config: IRendererConfig, layout: ILayoutState): any[];
@@ -1,5 +1,5 @@
1
1
  import { IPosition, ITooltipConfig, Position } from "./types";
2
- export declare function findPosition(targetRect: ClientRect, position: Position, width: number, height: number): IPosition;
2
+ export declare function findPosition(targetRect: ClientRect, position: Position, width: number, height: number, margin?: number, recursion?: number): IPosition;
3
3
  export declare function getZIndex(node: Element | HTMLElement): any;
4
4
  export declare function tooltip(text: string, config: ITooltipConfig): void;
5
5
  export declare function enableTooltip(): void;
@@ -25,6 +25,7 @@ export interface ITooltipConfig extends IScreenPosition {
25
25
  showDelay?: number;
26
26
  hideDelay?: number;
27
27
  htmlEnable?: boolean;
28
+ margin?: number;
28
29
  }
29
30
  export interface IPosition {
30
31
  left: number;
@@ -39,7 +40,9 @@ export interface IScreenPosition {
39
40
  export declare enum Position {
40
41
  right = "right",
41
42
  bottom = "bottom",
42
- center = "center"
43
+ center = "center",
44
+ left = "left",
45
+ top = "top"
43
46
  }
44
47
  export declare enum MessageContainerPosition {
45
48
  topLeft = "top-left",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-suite",
3
- "version": "7.3.0",
3
+ "version": "7.3.3",
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.7.3.0 Standard
4
+ dhtmlxSuite v.7.3.3 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,37 @@
1
+ # Version 7.3.3 (April 25, 2022)
2
+
3
+ ### Fixes
4
+
5
+ - Form. Combo control. Fix the issue with re-setting of the same value of the readonly Combo control after the clear() method of Form was called
6
+ - Form. Fix the issue which caused the getValue() method to return the null value as a string
7
+ - Grid. Fix the issue with filtering of a big data set which caused the symbols to get lost when typing them into the header filter. Now you have more time for typing symbols into the input filter of Grid
8
+ - Toolbar. Fix the issue which caused the getState() method not to return the value of a datePicker
9
+ - Vault and Suite. Fix the conflict appeared between CSS styles of the Vault and Suite scrollbars when including source files of the components to the one page
10
+
11
+ # Version 7.3.2 (April 4, 2022)
12
+
13
+ ### Fixes
14
+
15
+ - Data. Now the , ; " symbols will be wrapped into the quotes when serializing a data set into the CSV format
16
+ - Form. Text control. Fix the incorrect display of the long value of the Text control
17
+ - Grid, TreeGrid. Now the Grid and TreeGrid packages includes the ability to localize the "datePicker" and "combobox" column editors
18
+ - Grid. Fix the issue which caused the empty row/col objects to be returned after calling events for custom templates of Grid columns
19
+ - Grid. Fix the issue with processing of Date objects when exporting the Grid data into the CSV/Excel format
20
+ - Grid. Fix the issue with the htmlEnable: true property which didn't take into account the line breaks of the cells content when the autoHeight:false property of Grid was applied
21
+
22
+ # Version 7.3.1 (March 17, 2022)
23
+
24
+ ### Fixes
25
+
26
+ - Data. Fix the issue with serialization of data into CSV format which caused the incorrect structure of the output data if the initial data set contained a comma (",") in a value
27
+ - DataCollection. Fix the issue with the save() method of DataCollection which sent multiple requests (when making multiple changes) to the server instead one
28
+ - Form. Fix the incorrect work of the destruct() method when calling it from the change event
29
+ - Grid. Fix the issue which caused a selected item still to remain selected after it was removed from the data collection
30
+ - Grid. Fix the issue with applying the adjust property of Grid after the data reloading
31
+ - Grid. Fix the script error thrown after removing all selected options from the "multiselect" editor of a cell
32
+ - Grid. Pagination. Fix the issue which caused pagination not to work when using lazy loading of Grid data
33
+ - List. Pagination. Fix the issue which caused pagination not to work when using lazy loading of List data
34
+
1
35
  # Version 7.3 (January 19, 2022)
2
36
 
3
37
  ### New functionality