dhx-suite 8.3.3 → 8.3.4

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,7 +32,7 @@ export declare class Form extends View implements IForm {
32
32
  show(): void;
33
33
  hide(init?: boolean): void;
34
34
  setFocus(name: string): void;
35
- blur(name: string): void;
35
+ blur(name?: string): void;
36
36
  isVisible(name?: string): boolean;
37
37
  disable(): void;
38
38
  enable(): void;
@@ -46,7 +46,7 @@ export interface IForm {
46
46
  clear(method?: ClearMethod): void;
47
47
  setValue(obj: FormData | IAnyObj): void;
48
48
  setFocus(name: string): void;
49
- blur(name: string): void;
49
+ blur(name?: string): void;
50
50
  getValue(asFormData?: boolean): FormData | IAnyObj;
51
51
  getItem(name: string): any;
52
52
  forEach(callback: TFormDataCallback): void;
@@ -4,7 +4,7 @@ import { Id, ITouchParam } from "../../ts-common/types";
4
4
  import { View } from "../../ts-common/view";
5
5
  import { DataEvents, DragEvents, IDataCollection, IDataEventsHandlersMap, IDataItem, IDragEventsHandlersMap } from "../../ts-data";
6
6
  import { Exporter } from "./Exporter";
7
- import { Dirs, EditorType, GridEvents, IAdjustBy, ICellRect, ICol, IContentList, ICoords, IEventHandlersMap, IGrid, IGridConfig, IRow, IScrollState, ISelection, ISpan, GridSystemEvents, ISystemEventHandlersMap, IColumnsWidth, ISortingState, SortFunction, IHeaderFilter, IAdjustColumns, IFooter, IHeader } from "./types";
7
+ import { Dirs, EditorType, GridEvents, IAdjustBy, ICellRect, ICol, IContentList, ICoords, IEventHandlersMap, IGrid, IGridConfig, IRow, IScrollState, ISelection, ISpan, GridSystemEvents, ISystemEventHandlersMap, IColumnsWidth, ISortingState, SortFunction, IHeaderFilter, IAdjustColumns, IFooter, IHeader, INormalizeColumnsParams } from "./types";
8
8
  export declare class Grid extends View implements IGrid {
9
9
  version: string;
10
10
  data: IDataCollection;
@@ -55,7 +55,7 @@ export declare class Grid extends View implements IGrid {
55
55
  paint(): void;
56
56
  protected _createView(): any;
57
57
  protected _parseColumns(configChanged?: boolean): void;
58
- protected normalizeColumns(config: IGridConfig, configChanged?: boolean): void;
58
+ protected normalizeColumns({ config, columns, configChanged }: INormalizeColumnsParams): void;
59
59
  protected getNormalizeContentHeight(row: IFooter | IHeader, col: ICol, config: IGridConfig): number;
60
60
  protected _parseData(): void;
61
61
  protected _createCollection(prep: (data: any[]) => any[]): void;
@@ -1,5 +1,5 @@
1
1
  import { Grid } from "./Grid";
2
- import { IGridConfig, ICol, IProGrid, IFooter, IHeader } from "./types";
2
+ import { IGridConfig, ICol, IRow, IProGrid, IFooter, IHeader } from "./types";
3
3
  import { IDataCollection, IDataItem } from "../../ts-data";
4
4
  import { ScrollView } from "../../ts-common/ScrollView";
5
5
  export declare class ProGrid extends Grid implements IProGrid {
@@ -8,7 +8,7 @@ export declare class ProGrid extends Grid implements IProGrid {
8
8
  protected _createView(): any;
9
9
  protected _setEventHandlers(): void;
10
10
  protected getNormalizeContentHeight(row: IFooter | IHeader, col: ICol, config: IGridConfig): number;
11
- protected _prepareData(data: IDataItem[] | IDataCollection): any;
11
+ protected _prepareData(data: IDataItem[] | IDataCollection): IDataItem[] | IRow[];
12
12
  protected _prepareDataFromTo(data: IDataCollection, from: number, to: number): IDataItem[];
13
13
  protected _dragStart(event: any): void;
14
14
  private _lazyLoad;
@@ -591,4 +591,9 @@ export declare enum Split {
591
591
  top = "topSplit",
592
592
  bottom = "bottomSplit"
593
593
  }
594
+ export interface INormalizeColumnsParams {
595
+ config: IGridConfig;
596
+ columns: ICol[];
597
+ configChanged?: boolean;
598
+ }
594
599
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-suite",
3
- "version": "8.3.3",
3
+ "version": "8.3.4",
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.3 Standard
4
+ dhtmlxSuite v.8.3.4 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.4 (January 4, 2024)
2
+
3
+ ### Fixes
4
+
5
+ - Calendar. The week number at the start of the year calculates incorrectly
6
+ - Colorpicker. Changing the value in the *palette* mode does not change the value in *picker* mode
7
+ - Form. Fix the issue related to the `destructor()` method in DatePicker control (popup is not hidden)
8
+ - Form. Incorrect type for the `hide()` method
9
+ - Form. The *number* input type cannot display the 0 number
10
+ - Form. The `destructor()` method invokes an error, if the popup is open
11
+ - Form. The colorpicker `value` property works incorrectly
12
+ - Form. The timepicker value is displayed incorrectly, if you specify the `value` property without a value
13
+ - Grid/TreeGrid. Fix the issue related to the `autoHeight` property. The Grid takes hidden columns into account
14
+ - Grid/TreeGrid. Fix the issue related to the `beforeSort` event. The sort direction sticks
15
+ - TreeGrid. The footer summary calculates incorrectly in case of the empty value
16
+ - Pagination. Fix the issue related to the `add()` method. Populating data with the `add()` method breaks the pagination
17
+ - Pagination. The applied filter(s) does not refresh pagination
18
+
1
19
  # Version 8.3.3 (December 7, 2023)
2
20
 
3
21
  ### Fixes