dhx-suite 8.3.11 → 8.3.13
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.css +1 -1
- package/codebase/suite.min.js +3 -3
- package/codebase/suite.min.js.map +1 -1
- package/codebase/types/ts-combobox/sources/keyListener.d.ts +2 -0
- package/codebase/types/ts-form/sources/elements/colorpicker.d.ts +2 -0
- package/codebase/types/ts-form/sources/elements/container.d.ts +2 -0
- package/codebase/types/ts-form/sources/elements/dateinput.d.ts +2 -0
- package/codebase/types/ts-form/sources/elements/timeinput.d.ts +2 -0
- package/codebase/types/ts-grid/sources/Grid.d.ts +1 -1
- package/codebase/types/ts-grid/sources/types.d.ts +3 -2
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +3 -4
- package/codebase/types/ts-layout/sources/Layout.d.ts +1 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +18 -0
|
@@ -3,10 +3,12 @@ export declare class KeyListener {
|
|
|
3
3
|
private _sequence;
|
|
4
4
|
private _currentAction;
|
|
5
5
|
private _clearTimeout;
|
|
6
|
+
private _handler;
|
|
6
7
|
constructor();
|
|
7
8
|
startNewListen(action: (seq: string) => any): void;
|
|
8
9
|
endListen(): void;
|
|
9
10
|
reset(): void;
|
|
11
|
+
destructor(): void;
|
|
10
12
|
private _change;
|
|
11
13
|
private _addClearTimeout;
|
|
12
14
|
}
|
|
@@ -94,6 +94,8 @@ export declare class ColorPicker extends Label implements IColorPicker {
|
|
|
94
94
|
onfocus: () => void;
|
|
95
95
|
oninput: (e: Event) => void;
|
|
96
96
|
onchange: (e: Event) => void;
|
|
97
|
+
onkeydown: (event: KeyboardEvent) => void;
|
|
98
|
+
onmousedown: () => void;
|
|
97
99
|
};
|
|
98
100
|
protected _initHotkeys(): void;
|
|
99
101
|
protected _draw(): any;
|
|
@@ -22,6 +22,7 @@ export interface IContainer {
|
|
|
22
22
|
isDisabled(): boolean;
|
|
23
23
|
setProperties(propertyConfig: IContainerProps): void;
|
|
24
24
|
getProperties(): IContainerProps;
|
|
25
|
+
destructor(): void;
|
|
25
26
|
}
|
|
26
27
|
export interface IContainerHandlersMap extends IBaseHandlersMap {
|
|
27
28
|
[ItemEvent.beforeHide]: (init: boolean) => boolean | void;
|
|
@@ -38,6 +39,7 @@ export declare class Container extends Label implements IContainer {
|
|
|
38
39
|
events: IEventSystem<ItemEvent, IContainerHandlersMap>;
|
|
39
40
|
private _props;
|
|
40
41
|
constructor(container: any, config: IContainerConfig);
|
|
42
|
+
destructor(): void;
|
|
41
43
|
attach(widget: any): void;
|
|
42
44
|
attachHTML(html: string): void;
|
|
43
45
|
show(): void;
|
|
@@ -100,6 +100,8 @@ export declare class DatePicker extends Label implements IDatePicker {
|
|
|
100
100
|
onfocus: () => void;
|
|
101
101
|
oninput: (e: Event) => void;
|
|
102
102
|
onchange: (e: Event) => void;
|
|
103
|
+
onkeydown: (event: KeyboardEvent) => void;
|
|
104
|
+
onmousedown: () => void;
|
|
103
105
|
};
|
|
104
106
|
protected _initHotkeys(): void;
|
|
105
107
|
protected _draw(): any;
|
|
@@ -92,6 +92,8 @@ export declare class TimePicker extends Label implements ITimePicker {
|
|
|
92
92
|
onfocus: () => void;
|
|
93
93
|
onblur: () => void;
|
|
94
94
|
oninput: (e: Event) => void;
|
|
95
|
+
onkeydown: (event: KeyboardEvent) => void;
|
|
96
|
+
onmousedown: () => void;
|
|
95
97
|
};
|
|
96
98
|
protected _initHotkeys(): void;
|
|
97
99
|
protected _draw(): any;
|
|
@@ -79,6 +79,7 @@ export declare class Grid extends View implements IGrid {
|
|
|
79
79
|
};
|
|
80
80
|
protected _normalizeDataType(): void;
|
|
81
81
|
protected _applyLocalFilter(beforePrepareData?: boolean): void;
|
|
82
|
+
protected _normalizeSpans(): void;
|
|
82
83
|
private _canDataParse;
|
|
83
84
|
private _init;
|
|
84
85
|
private _attachDataCollection;
|
|
@@ -90,7 +91,6 @@ export declare class Grid extends View implements IGrid {
|
|
|
90
91
|
private _render;
|
|
91
92
|
private _initHotKey;
|
|
92
93
|
private _normalizeConfig;
|
|
93
|
-
private _normalizeSpans;
|
|
94
94
|
private _autoScroll;
|
|
95
95
|
private _applyAutoWidth;
|
|
96
96
|
}
|
|
@@ -107,6 +107,7 @@ interface IFixedRows {
|
|
|
107
107
|
top: IRow[];
|
|
108
108
|
bottom: IRow[];
|
|
109
109
|
}
|
|
110
|
+
type RenderFrom = "leftFixedCols" | "rightFixedCols" | "topFixedRows" | "bottomFixedRows" | "render";
|
|
110
111
|
export interface IRendererConfig extends Required<IGridConfig> {
|
|
111
112
|
scroll?: IScrollState;
|
|
112
113
|
datacollection: any;
|
|
@@ -126,7 +127,7 @@ export interface IRendererConfig extends Required<IGridConfig> {
|
|
|
126
127
|
filterLocation?: string;
|
|
127
128
|
content?: IContentList;
|
|
128
129
|
gridId?: string;
|
|
129
|
-
$renderFrom?:
|
|
130
|
+
$renderFrom?: RenderFrom;
|
|
130
131
|
_events?: IEventSystem<GridSystemEvents>;
|
|
131
132
|
}
|
|
132
133
|
export interface ISortingState {
|
|
@@ -307,9 +308,9 @@ export interface ISpan {
|
|
|
307
308
|
css?: string;
|
|
308
309
|
tooltip?: boolean;
|
|
309
310
|
tooltipTemplate?: (spanValue: any, span: ISpan) => string;
|
|
310
|
-
$type?: colType;
|
|
311
311
|
$rowsVisibility?: number[];
|
|
312
312
|
$colsVisibility?: number[];
|
|
313
|
+
$renderFrom?: RenderFrom[];
|
|
313
314
|
}
|
|
314
315
|
export interface IComboFilterConfig {
|
|
315
316
|
data?: DataCollection<any> | any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridEvents, GridSystemEvents, ICol, ICoords, IGridConfig, IRendererConfig, ISpan, Split } from "../types";
|
|
2
|
-
import { IDataCollection
|
|
2
|
+
import { IDataCollection } from "../../../ts-data";
|
|
3
3
|
type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | GridEvents.cellMouseDown | GridEvents.cellDblClick | GridEvents.cellRightClick;
|
|
4
4
|
type touchEvents = GridSystemEvents.cellTouchEnd | GridSystemEvents.cellTouchMove;
|
|
5
5
|
declare function handleMouse(rowStart: number, colStart: number, conf: IRendererConfig, type: mouseEvents & touchEvents, e: any): void;
|
|
@@ -17,9 +17,8 @@ export declare function getTreeCell(content: any, row: any, col: ICol, conf: IRe
|
|
|
17
17
|
export declare function getCells(conf: IRendererConfig): any[];
|
|
18
18
|
export declare function getSpans(config: IRendererConfig, mode?: Split): any[];
|
|
19
19
|
export declare function getShifts(conf: IRendererConfig): ICoords;
|
|
20
|
-
export declare function normalizeSpan(span: ISpan, config: IGridConfig, data: IDataCollection
|
|
21
|
-
$renderFrom:
|
|
22
|
-
$type: any;
|
|
20
|
+
export declare function normalizeSpan(span: ISpan, config: IGridConfig, data: IDataCollection): {
|
|
21
|
+
$renderFrom: any[];
|
|
23
22
|
$rowsVisibility: number[];
|
|
24
23
|
$colsVisibility: number[];
|
|
25
24
|
row: import("../../../ts-common/types").Id;
|
|
@@ -21,6 +21,7 @@ export declare class Layout extends Cell implements ILayout {
|
|
|
21
21
|
cell(id: string): any;
|
|
22
22
|
progressShow(): void;
|
|
23
23
|
progressHide(): void;
|
|
24
|
+
protected _initHandlers(): void;
|
|
24
25
|
protected _getCss(content?: boolean): string;
|
|
25
26
|
private _parseConfig;
|
|
26
27
|
protected _createCell(cell: ILayoutConfig): ICell;
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# Version 8.3.13 (June 24, 2024)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
- Window. The [`Tabbar.tabAlign`](/tabbar/api/tabbar_tabalign_config/) property is ignored if the Tabbar is placed within the Window control
|
|
6
|
+
- Form. The `helpMessage` is displayed in the incorrect position if the Form is scrolled to the bottom edge
|
|
7
|
+
- Core. Memory leaks (Layout, Combobox, Form components)
|
|
8
|
+
|
|
9
|
+
# Version 8.3.12 (May 17, 2024)
|
|
10
|
+
|
|
11
|
+
### Updates
|
|
12
|
+
|
|
13
|
+
- Icons. Add new icons
|
|
14
|
+
|
|
15
|
+
### Fixes
|
|
16
|
+
|
|
17
|
+
- TreeGrid. Fix the issue with spans not applying to columns
|
|
18
|
+
|
|
1
19
|
# Version 8.3.11 (May 8, 2024)
|
|
2
20
|
|
|
3
21
|
### Fixes
|