dhx-suite 8.3.3 → 8.3.5
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/elements/ToggleGroup.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 +28 -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;
|
|
@@ -68,7 +68,7 @@ export declare class ToggleGroup extends View implements IToggleGroup {
|
|
|
68
68
|
private items;
|
|
69
69
|
private props;
|
|
70
70
|
constructor(container: HTMLElement | string | null, config: IToggleGroupConfig);
|
|
71
|
-
setValue(value
|
|
71
|
+
setValue(value?: IToggleGroupValue): void | boolean;
|
|
72
72
|
getValue(): IToggleGroupValue;
|
|
73
73
|
getValue(id: string): IToggleValue | boolean;
|
|
74
74
|
isSelected(): {
|
|
@@ -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,31 @@
|
|
|
1
|
+
# Version 8.3.5 (January 11, 2024)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
- DataCollection/DataProxy. Fix the problem with the header Accept type while sending a request with the `load()` method
|
|
6
|
+
- Form. Fix triggering of the `change` event during the call of `setValue()` for controls
|
|
7
|
+
- Form. The `beforeChange` event doesn't block selection of a radio button, if there hasn't been a selected button in RadioGroup
|
|
8
|
+
- Form. Fix the issue with a numeric filter validating an empty value in an input
|
|
9
|
+
- Grid/TreeGrid. Closing editor in a numeric column cell by pressing the ESC key clears the cell's value
|
|
10
|
+
|
|
11
|
+
# Version 8.3.4 (January 4, 2024)
|
|
12
|
+
|
|
13
|
+
### Fixes
|
|
14
|
+
|
|
15
|
+
- Calendar. The week number at the start of the year calculates incorrectly
|
|
16
|
+
- Colorpicker. Changing the value in the *palette* mode does not change the value in *picker* mode
|
|
17
|
+
- Form. Fix the issue related to the `destructor()` method in DatePicker control (popup is not hidden)
|
|
18
|
+
- Form. Incorrect type for the `hide()` method
|
|
19
|
+
- Form. The *number* input type cannot display the 0 number
|
|
20
|
+
- Form. The `destructor()` method invokes an error, if the popup is open
|
|
21
|
+
- Form. The colorpicker `value` property works incorrectly
|
|
22
|
+
- Form. The timepicker value is displayed incorrectly, if you specify the `value` property without a value
|
|
23
|
+
- Grid/TreeGrid. Fix the issue related to the `autoHeight` property. The Grid takes hidden columns into account
|
|
24
|
+
- Grid/TreeGrid. Fix the issue related to the `beforeSort` event. The sort direction sticks
|
|
25
|
+
- TreeGrid. The footer summary calculates incorrectly in case of the empty value
|
|
26
|
+
- Pagination. Fix the issue related to the `add()` method. Populating data with the `add()` method breaks the pagination
|
|
27
|
+
- Pagination. The applied filter(s) does not refresh pagination
|
|
28
|
+
|
|
1
29
|
# Version 8.3.3 (December 7, 2023)
|
|
2
30
|
|
|
3
31
|
### Fixes
|