dhx-suite 8.3.13 → 8.3.14
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-dataview/sources/types.d.ts +1 -0
- package/codebase/types/ts-grid/sources/helpers/cells.d.ts +3 -2
- package/codebase/types/ts-layout/sources/Cell.d.ts +2 -0
- package/codebase/types/ts-list/sources/List.d.ts +2 -1
- package/codebase/types/ts-list/sources/types.d.ts +2 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +14 -0
|
@@ -35,6 +35,7 @@ export interface IDataView<T extends IDataItem = any> {
|
|
|
35
35
|
editItem(id: Id): void;
|
|
36
36
|
getFocusItem(): T;
|
|
37
37
|
setFocus(id: Id): void;
|
|
38
|
+
resetFocus(): void;
|
|
38
39
|
getFocus(): Id;
|
|
39
40
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
40
41
|
disableSelection(): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ICell, ICol, IGrid, IRow } from "./../types";
|
|
1
|
+
import { ICell, ICol, IGrid, IRow, ISpan } from "./../types";
|
|
2
2
|
import { Id } from "../../../ts-common/types";
|
|
3
3
|
export declare function getWidth(columns: ICol[], colspan: number, index: number): number;
|
|
4
|
-
export declare function getHeight(
|
|
4
|
+
export declare function getHeight(rows: IRow[], span: ISpan): number;
|
|
5
5
|
export declare function getReducedColspan(columns: ICol[], colId: Id, colspan: number): number;
|
|
6
|
+
export declare function getReducedRowspan(initialRows: IRow[], currRows: IRow[], rowIndex: number, span: ISpan): number;
|
|
6
7
|
export declare function normalizeCell(cell: ICell, grid: IGrid): ICell;
|
|
@@ -16,6 +16,7 @@ export declare class Cell extends View implements ICell {
|
|
|
16
16
|
protected _resizerHandlers: any;
|
|
17
17
|
protected _progress: boolean;
|
|
18
18
|
protected _stopProgressDefault: boolean;
|
|
19
|
+
protected _theme: string;
|
|
19
20
|
private _isLastFlexCell;
|
|
20
21
|
private _afterWindowResized;
|
|
21
22
|
constructor(parent: string | HTMLElement | ILayout, config: ICellConfig);
|
|
@@ -38,6 +39,7 @@ export declare class Cell extends View implements ICell {
|
|
|
38
39
|
progressHide(): void;
|
|
39
40
|
isVisibleProgress(): boolean;
|
|
40
41
|
toVDOM(nodes?: any[]): any;
|
|
42
|
+
protected _saveTheme(): void;
|
|
41
43
|
protected _getProgressBar(): any;
|
|
42
44
|
protected _getCss(_content?: boolean): string;
|
|
43
45
|
protected _initHandlers(): void;
|
|
@@ -14,7 +14,7 @@ export declare class List extends View implements IList {
|
|
|
14
14
|
selection: ISelection;
|
|
15
15
|
keyManager: IKeyManager;
|
|
16
16
|
protected _handlers: IHandlers;
|
|
17
|
-
protected _focus: Id;
|
|
17
|
+
protected _focus: Id | undefined;
|
|
18
18
|
protected _edited: Id;
|
|
19
19
|
protected _events: IHandlers;
|
|
20
20
|
private _topOffset;
|
|
@@ -35,6 +35,7 @@ export declare class List extends View implements IList {
|
|
|
35
35
|
editEnd(value: any, id?: Id): void;
|
|
36
36
|
getFocusItem(): any;
|
|
37
37
|
setFocus(id: Id): void;
|
|
38
|
+
resetFocus(): void;
|
|
38
39
|
getFocus(): Id;
|
|
39
40
|
destructor(): void;
|
|
40
41
|
scrollTo(id: Id): void;
|
|
@@ -48,7 +48,7 @@ export interface IListEventHandlersMap {
|
|
|
48
48
|
[ListEvents.itemMouseOver]: (id: Id, e: Event) => void;
|
|
49
49
|
[ListEvents.doubleClick]: (id: Id, e: Event) => void;
|
|
50
50
|
[ListEvents.itemRightClick]: (id: Id, e: MouseEvent) => void;
|
|
51
|
-
[ListEvents.focusChange]: (focusIndex
|
|
51
|
+
[ListEvents.focusChange]: (focusIndex?: number, id?: Id) => void;
|
|
52
52
|
[ListEvents.beforeEditStart]: (id: Id) => void | boolean;
|
|
53
53
|
[ListEvents.afterEditStart]: (id: Id) => void;
|
|
54
54
|
[ListEvents.beforeEditEnd]: (value: string, id: Id) => void | boolean;
|
|
@@ -70,6 +70,7 @@ export interface IList<T extends IDataItem = any> {
|
|
|
70
70
|
editItem(id: Id): void;
|
|
71
71
|
getFocusItem(): T;
|
|
72
72
|
setFocus(id: Id): void;
|
|
73
|
+
resetFocus(): void;
|
|
73
74
|
getFocus(): Id;
|
|
74
75
|
scrollTo(id: Id): void;
|
|
75
76
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# Version 8.3.14 (July 8, 2024)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
- Combobox. The accessibility issue in the NVDA screen reader
|
|
6
|
+
- Grid/TreeGrid. Events aren't triggered for the cell template
|
|
7
|
+
- Grid/TreeGrid. The `adjust` property isn't applied to the "id" column
|
|
8
|
+
- Grid/TreeGrid. The value of the `headerAutoHeight` property in combination with the `adjust` one is calculated incorrectly
|
|
9
|
+
- Grid/TreeGrid. Filtering is reset while dragging rows
|
|
10
|
+
- Grid/TreeGrid. The combination of the `minWidth` and `autoWidth` column properties works incorrectly
|
|
11
|
+
- Grid/TreeGrid. The scrolling functionality and key navigation are fixed
|
|
12
|
+
- Grid/TreeGrid. Filtering with the row-spanned data
|
|
13
|
+
- Layout. A theme applied to a Layout cell resets after the cell is collapsed
|
|
14
|
+
|
|
1
15
|
# Version 8.3.13 (June 24, 2024)
|
|
2
16
|
|
|
3
17
|
### Fixes
|