dhx-suite 8.2.0 → 8.2.2
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/Exporter.d.ts +1 -0
- package/codebase/types/ts-grid/sources/Grid.d.ts +0 -1
- package/codebase/types/ts-grid/sources/types.d.ts +15 -3
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +8 -8
- package/codebase/types/ts-navbar/sources/types.d.ts +1 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +22 -0
|
@@ -174,6 +174,16 @@ export interface IProGrid extends IGrid {
|
|
|
174
174
|
export declare type EditorType = "input" | "select" | "datePicker" | "checkbox" | "combobox" | "multiselect" | "textarea";
|
|
175
175
|
export interface IComboEditorConfig {
|
|
176
176
|
newOptions?: boolean;
|
|
177
|
+
readOnly?: boolean;
|
|
178
|
+
selectAllButton?: boolean;
|
|
179
|
+
placeholder?: string;
|
|
180
|
+
itemHeight?: number | string;
|
|
181
|
+
listHeight?: number | string;
|
|
182
|
+
css?: string;
|
|
183
|
+
template?: (item: {
|
|
184
|
+
id: Id;
|
|
185
|
+
value: string;
|
|
186
|
+
}) => string;
|
|
177
187
|
}
|
|
178
188
|
export interface IBaseHandlersMap {
|
|
179
189
|
[key: string]: (...args: any[]) => any;
|
|
@@ -314,9 +324,10 @@ export interface IPositions {
|
|
|
314
324
|
yEnd: number;
|
|
315
325
|
}
|
|
316
326
|
export interface ICellCss {
|
|
317
|
-
color
|
|
318
|
-
background
|
|
319
|
-
fontSize
|
|
327
|
+
color?: string;
|
|
328
|
+
background?: string;
|
|
329
|
+
fontSize?: number;
|
|
330
|
+
bold?: boolean;
|
|
320
331
|
}
|
|
321
332
|
export interface IExportData {
|
|
322
333
|
columns: Array<{
|
|
@@ -521,6 +532,7 @@ export interface ICell {
|
|
|
521
532
|
export interface IRow {
|
|
522
533
|
id?: Id;
|
|
523
534
|
height?: number;
|
|
535
|
+
hidden?: boolean;
|
|
524
536
|
$height?: number;
|
|
525
537
|
[key: string]: any;
|
|
526
538
|
}
|
|
@@ -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 | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
7
|
+
onmouseover: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
8
|
+
onmousedown: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
9
|
+
ondblclick: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
10
|
+
oncontextmenu: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
11
|
+
ontouchstart: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
12
|
+
ontouchmove: (number | GridSystemEvents | IRendererConfig | typeof handleMouse)[];
|
|
13
|
+
ontouchend: (number | GridSystemEvents | IRendererConfig | 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[];
|
|
@@ -51,7 +51,7 @@ export interface IItem extends IDataItem {
|
|
|
51
51
|
hidden?: boolean;
|
|
52
52
|
disabled?: boolean;
|
|
53
53
|
}
|
|
54
|
-
export declare type IMenuElement = ISpacer | ISeparator |
|
|
54
|
+
export declare type IMenuElement = ISpacer | ISeparator | IMenuItem | ICustomHTML;
|
|
55
55
|
export interface IMenuItem extends IItem, IHtmlExtendable {
|
|
56
56
|
type?: "menuItem";
|
|
57
57
|
$openIcon?: string;
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
# Version 8.2.2 (September 13, 2023)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
- DataView. Fix the issue with the FocusChange event not triggering on selecting an item with the mouse click
|
|
6
|
+
- Grid/TreeGrid. Fix export to Excel with the non-numeric footer content
|
|
7
|
+
- Grid/TreeGrid. Fix the problem with setting columns' width during export to Excel if the `adjust` config is enabled
|
|
8
|
+
- Grid/TreeGrid. Fix export to Excel of the applied cell alignment
|
|
9
|
+
- Grid/TreeGrid. Fix export to Excel of the font weight applied to cells
|
|
10
|
+
- Menu. Fix the problem with rendering of the count badge at the root level
|
|
11
|
+
- Tree. Fix the impossibility to override the checkbox configuration via the dataset
|
|
12
|
+
- TreeGrid. Fix the issue with resetting changes in the edited cells after data ungrouping
|
|
13
|
+
|
|
14
|
+
# Version 8.2.1 (August 31, 2023)
|
|
15
|
+
|
|
16
|
+
### Fixes
|
|
17
|
+
|
|
18
|
+
- Combobox. Fix the displaying of templates
|
|
19
|
+
- Context Menu. Fix the problem with closing of the context menu when clicking on the scrollbar
|
|
20
|
+
- Grid/TreeGrid. Fix the issue when calling of the destructor() method caused a crash of an app based on the Optimus framework
|
|
21
|
+
- Grid/TreeGrid. Fix the rendering of hidden columns
|
|
22
|
+
|
|
1
23
|
# Version 8.2 (August 28, 2023)
|
|
2
24
|
|
|
3
25
|
### New functionality
|