dhx-suite 7.3.7 → 7.3.8
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/Grid.d.ts +1 -1
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +12 -1
- package/codebase/types/ts-navbar/sources/types.d.ts +2 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +14 -0
|
@@ -43,7 +43,7 @@ export declare class Grid extends View implements IGrid {
|
|
|
43
43
|
getCellRect(rowId: Id, colId: Id): ICellRect;
|
|
44
44
|
getColumn(colId: Id): ICol;
|
|
45
45
|
addSpan(spanObj: ISpan): void;
|
|
46
|
-
getSpan(rowId: Id, colId: Id): ISpan;
|
|
46
|
+
getSpan(rowId: Id, colId: Id): ISpan | null;
|
|
47
47
|
removeSpan(rowId: Id, colId: Id): void;
|
|
48
48
|
editCell(rowId: Id, colId: Id, editorType?: EditorType): void;
|
|
49
49
|
editEnd(withoutSave?: boolean): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridEvents, ICol, ICoords, IRendererConfig, GridSystemEvents } from "../types";
|
|
1
|
+
import { GridEvents, ICol, ICoords, IRendererConfig, GridSystemEvents, IGridConfig, ISpan } from "../types";
|
|
2
2
|
declare type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | GridEvents.cellMouseDown | GridEvents.cellDblClick | GridEvents.cellRightClick;
|
|
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;
|
|
@@ -16,4 +16,15 @@ export declare function getTreeCell(content: any, row: any, col: ICol, conf: IRe
|
|
|
16
16
|
export declare function getCells(conf: IRendererConfig): any[];
|
|
17
17
|
export declare function getSpans(config: IRendererConfig, frozen?: boolean): any[];
|
|
18
18
|
export declare function getShifts(conf: IRendererConfig): ICoords;
|
|
19
|
+
export declare function normalizeSpan(span: ISpan, renderConfig: IGridConfig): {
|
|
20
|
+
$renderFrom: string[];
|
|
21
|
+
row: string | number;
|
|
22
|
+
column: string | number;
|
|
23
|
+
rowspan?: number;
|
|
24
|
+
colspan?: number;
|
|
25
|
+
text?: string | number;
|
|
26
|
+
css?: string;
|
|
27
|
+
tooltip?: boolean;
|
|
28
|
+
tooltipTemplate?: (spanValue: any, span: ISpan) => string;
|
|
29
|
+
};
|
|
19
30
|
export {};
|
|
@@ -120,6 +120,7 @@ export interface IInput extends IItem {
|
|
|
120
120
|
placeholder?: string;
|
|
121
121
|
width?: string;
|
|
122
122
|
label?: string;
|
|
123
|
+
hiddenLabel?: boolean;
|
|
123
124
|
value?: string;
|
|
124
125
|
}
|
|
125
126
|
export interface IImageButton extends IItem {
|
|
@@ -161,6 +162,7 @@ export interface IDatePicker extends IItem {
|
|
|
161
162
|
placeholder?: string;
|
|
162
163
|
width?: string;
|
|
163
164
|
label?: string;
|
|
165
|
+
hiddenLabel?: boolean;
|
|
164
166
|
value?: string | Date;
|
|
165
167
|
dateFormat?: string;
|
|
166
168
|
}
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
Version 7.3.8 (September 19, 2022)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
- Calendar. Fix the issue which appeared when the "width" property specified as a number was used together with "weekNumbers: true"
|
|
6
|
+
- Grid. Fix the behavior of selection with frozen spans
|
|
7
|
+
- Grid. Fix the incorrect work of the "dragItem" property when the item's ID was defined as a number
|
|
8
|
+
- Grid. Fix the issue which caused the resized width of the columns to be reset to the initial values after dragging the columns
|
|
9
|
+
- Grid. Fix the issue with the "getCells()" method which returned incorrect results if multiple cells were selected with the Shift key
|
|
10
|
+
- Layout. Fix the issue with the "attachHTML()" method
|
|
11
|
+
- Ribbon. Input control. Fix the behavior of the label which caused focus not to be moved to the input field
|
|
12
|
+
- Toolbar. Input control. Fix the behavior of the label which caused focus not to be moved to the input field
|
|
13
|
+
- TreeGrid. Fix the incorrect calculation of the columns and rows displayed on the screen when calling the "hideColumn()" or "hideRow()" methods correspondingly
|
|
14
|
+
|
|
1
15
|
# Version 7.3.7 (September 5, 2022)
|
|
2
16
|
|
|
3
17
|
### Fixes
|