dhx-suite 7.3.11 → 7.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/types/ts-grid/sources/types.d.ts +12 -3
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +9 -9
- package/codebase/types/ts-grid/sources/ui/editors/InputEditor.d.ts +1 -1
- package/codebase/types/ts-layout/sources/Cell.d.ts +1 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +26 -4
|
@@ -50,6 +50,7 @@ export interface IGridConfig extends IDragConfig {
|
|
|
50
50
|
$editable?: {
|
|
51
51
|
row: any;
|
|
52
52
|
col: any;
|
|
53
|
+
isSpan: boolean;
|
|
53
54
|
editorType?: EditorType;
|
|
54
55
|
editor?: IEditor;
|
|
55
56
|
};
|
|
@@ -230,7 +231,7 @@ export interface ISpan {
|
|
|
230
231
|
css?: string;
|
|
231
232
|
tooltip?: boolean;
|
|
232
233
|
tooltipTemplate?: (spanValue: any, span: ISpan) => string;
|
|
233
|
-
$markCss
|
|
234
|
+
$markCss?: string;
|
|
234
235
|
}
|
|
235
236
|
declare type MarkFunction = (cell: any, columnCells: any[], row: IRow, column: ICol) => string;
|
|
236
237
|
export interface IMark {
|
|
@@ -396,12 +397,19 @@ export interface ISystemEventHandlersMap {
|
|
|
396
397
|
export interface ICellContent {
|
|
397
398
|
element?: any;
|
|
398
399
|
toHtml: (column: ICol, config: IRendererConfig) => any;
|
|
399
|
-
match?: (obj:
|
|
400
|
+
match?: (obj: IMatch) => boolean;
|
|
400
401
|
destroy?: () => void;
|
|
401
402
|
calculate?: (col: any[], roots: any[]) => string | number;
|
|
402
403
|
validate?: (colId: Id, data: any[]) => any[];
|
|
403
404
|
value?: any;
|
|
404
405
|
}
|
|
406
|
+
interface IMatch {
|
|
407
|
+
val: any;
|
|
408
|
+
match: any;
|
|
409
|
+
obj?: any;
|
|
410
|
+
multi?: boolean;
|
|
411
|
+
col?: ICol;
|
|
412
|
+
}
|
|
405
413
|
export interface IContentList {
|
|
406
414
|
[key: string]: ICellContent;
|
|
407
415
|
}
|
|
@@ -438,6 +446,7 @@ export interface ISizes {
|
|
|
438
446
|
export interface ICell {
|
|
439
447
|
row: IRow;
|
|
440
448
|
column: ICol;
|
|
449
|
+
$preventedUnselect?: boolean;
|
|
441
450
|
}
|
|
442
451
|
export interface IRow {
|
|
443
452
|
id?: Id;
|
|
@@ -446,7 +455,7 @@ export interface IRow {
|
|
|
446
455
|
[key: string]: any;
|
|
447
456
|
}
|
|
448
457
|
export interface IEditor {
|
|
449
|
-
toHTML(): any;
|
|
458
|
+
toHTML(text?: string): any;
|
|
450
459
|
endEdit(withoutSave?: boolean): void;
|
|
451
460
|
}
|
|
452
461
|
export declare type ISelectionType = "cell" | "row" | "complex";
|
|
@@ -3,14 +3,14 @@ declare type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | Gri
|
|
|
3
3
|
declare type touchEvents = GridSystemEvents.cellTouchEnd | GridSystemEvents.cellTouchMove;
|
|
4
4
|
declare function handleMouse(rowStart: number, colStart: number, conf: IRendererConfig, type: mouseEvents & touchEvents, e: any): void;
|
|
5
5
|
export declare function getHandlers(row: number, column: number, conf: IRendererConfig): {
|
|
6
|
-
onclick: (number |
|
|
7
|
-
onmouseover: (number |
|
|
8
|
-
onmousedown: (number |
|
|
9
|
-
ondblclick: (number |
|
|
10
|
-
oncontextmenu: (number |
|
|
11
|
-
ontouchstart: (number |
|
|
12
|
-
ontouchmove: (number |
|
|
13
|
-
ontouchend: (number |
|
|
6
|
+
onclick: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
|
|
7
|
+
onmouseover: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
|
|
8
|
+
onmousedown: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
|
|
9
|
+
ondblclick: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
|
|
10
|
+
oncontextmenu: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
|
|
11
|
+
ontouchstart: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
|
|
12
|
+
ontouchmove: (number | IRendererConfig | GridSystemEvents | typeof handleMouse)[];
|
|
13
|
+
ontouchend: (number | IRendererConfig | GridSystemEvents | typeof handleMouse)[];
|
|
14
14
|
};
|
|
15
15
|
export declare function getTreeCell(content: any, row: any, col: ICol, conf: IRendererConfig): any;
|
|
16
16
|
export declare function getCells(conf: IRendererConfig): any[];
|
|
@@ -26,6 +26,6 @@ export declare function normalizeSpan(span: ISpan, renderConfig: IGridConfig): {
|
|
|
26
26
|
css?: string;
|
|
27
27
|
tooltip?: boolean;
|
|
28
28
|
tooltipTemplate?: (spanValue: any, span: ISpan) => string;
|
|
29
|
-
$markCss
|
|
29
|
+
$markCss?: string;
|
|
30
30
|
};
|
|
31
31
|
export {};
|
|
@@ -11,6 +11,6 @@ export declare class InputEditor implements IEditor {
|
|
|
11
11
|
protected _input: HTMLInputElement;
|
|
12
12
|
constructor(row: IRow, col: ICol, config: IRendererConfig);
|
|
13
13
|
endEdit(withoutSave?: boolean): void;
|
|
14
|
-
toHTML(): any;
|
|
14
|
+
toHTML(text?: string): any;
|
|
15
15
|
protected _initHandlers(): void;
|
|
16
16
|
}
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,4 +1,26 @@
|
|
|
1
|
-
Version 7.3.
|
|
1
|
+
# Version 7.3.13 (December 14, 2022)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
- Grid. Fix the issue with checkbox editors of the column which appeared after double-click on one of the checkboxes
|
|
6
|
+
- Grid. Fix work of the beforeUnSelect event
|
|
7
|
+
- Grid. Now you can edit content in the spans of columns/rows via double-click on it
|
|
8
|
+
- Layout. Fix the issue with resizing of cells for which sizes were not specified. The issue appeared after one of the Layout cells was hidden
|
|
9
|
+
|
|
10
|
+
# Version 7.3.12 (November 17, 2022)
|
|
11
|
+
|
|
12
|
+
### Fixes
|
|
13
|
+
|
|
14
|
+
- Calendar. Fix the issue with calling the "clear()" method when two calendars are linked
|
|
15
|
+
- Gird. Fix the issue with the type: "percent" property of a column
|
|
16
|
+
- Grid. Fix issues with selectFilter and comboFilter. Now they don't ignore the "type" and "format" properties of a column
|
|
17
|
+
- Grid. Fix the error thrown when exporting data to CSV format
|
|
18
|
+
- Grid. Now custom tooltip will be also displayed for cells with empty values
|
|
19
|
+
- Grid. Now it is possible to prevent a custom tooltip from being shown via returning false from the "tooltipTemplate" function
|
|
20
|
+
- TreeGrid. Fix the error appeared on initialization of the component when "data" was defined as "TreeGridCollection" instance and "spans" were applied
|
|
21
|
+
- Window. Fix the issue with overlay positioning for a modal window (z-index is changed)
|
|
22
|
+
|
|
23
|
+
# Version 7.3.11 (November 3, 2022)
|
|
2
24
|
|
|
3
25
|
### Fixes
|
|
4
26
|
|
|
@@ -12,7 +34,7 @@ Version 7.3.11 (November 3, 2022)
|
|
|
12
34
|
- Layout. Fix the issue with resizing of a cell
|
|
13
35
|
- Toolbar. Input control. Now autocomplete of an input field is disabled by default. To enable it, use the "autocomplete" property of the control
|
|
14
36
|
|
|
15
|
-
Version 7.3.10 (October 18, 2022)
|
|
37
|
+
# Version 7.3.10 (October 18, 2022)
|
|
16
38
|
|
|
17
39
|
### Fixes
|
|
18
40
|
|
|
@@ -22,7 +44,7 @@ Version 7.3.10 (October 18, 2022)
|
|
|
22
44
|
- Message. Fix position of the overlay for the confirm message
|
|
23
45
|
- Window. Fix the issue with incorrect positioning of the active window
|
|
24
46
|
|
|
25
|
-
Version 7.3.9 (September 26, 2022)
|
|
47
|
+
# Version 7.3.9 (September 26, 2022)
|
|
26
48
|
|
|
27
49
|
### Fixes
|
|
28
50
|
|
|
@@ -31,7 +53,7 @@ Version 7.3.9 (September 26, 2022)
|
|
|
31
53
|
- Form. Combo control. Fix the issue with validation of the control in the "multiselection:true" mode
|
|
32
54
|
- List, DataView, Combobox&Combo control of Form. Fix work with IDs specified as numbers
|
|
33
55
|
|
|
34
|
-
Version 7.3.8 (September 19, 2022)
|
|
56
|
+
# Version 7.3.8 (September 19, 2022)
|
|
35
57
|
|
|
36
58
|
### Fixes
|
|
37
59
|
|