dhx-suite 8.3.2 → 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.
- package/codebase/suite.min.js +3 -3
- package/codebase/suite.min.js.map +1 -1
- package/codebase/types/ts-form/sources/Form.d.ts +1 -1
- package/codebase/types/ts-form/sources/types.d.ts +1 -1
- package/codebase/types/ts-grid/sources/Grid.d.ts +2 -2
- package/codebase/types/ts-grid/sources/ProGrid.d.ts +2 -2
- package/codebase/types/ts-grid/sources/types.d.ts +5 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +25 -0
|
@@ -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
|
|
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
|
|
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
|
|
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):
|
|
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;
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
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
|
+
|
|
19
|
+
# Version 8.3.3 (December 7, 2023)
|
|
20
|
+
|
|
21
|
+
### Fixes
|
|
22
|
+
|
|
23
|
+
- Grid/TreeGrid. Fix the issue with impossibility to unselect the row that was selected first
|
|
24
|
+
- Grid/TreeGrid. Fix the issue with the beforeEditEnd/afterEditEnd events firing twice when the Esc or Enter key is pressed
|
|
25
|
+
|
|
1
26
|
# Version 8.3.2 (December 4, 2023)
|
|
2
27
|
|
|
3
28
|
### Fixes
|