dhx-suite 7.3.2 → 7.3.5
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-common/date.d.ts +1 -0
- package/codebase/types/ts-form/sources/elements/combo.d.ts +1 -0
- package/codebase/types/ts-grid/sources/helpers/cells.d.ts +3 -1
- package/codebase/types/ts-grid/sources/types.d.ts +1 -0
- package/codebase/types/ts-grid/sources/ui/FixedRows.d.ts +2 -1
- package/codebase/types/ts-layout/sources/Cell.d.ts +4 -1
- package/codebase/types/ts-message/sources/tooltip.d.ts +1 -1
- package/codebase/types/ts-message/sources/types.d.ts +4 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +48 -0
|
@@ -25,6 +25,7 @@ export declare class DateHelper {
|
|
|
25
25
|
static mergeHoursAndMinutes(source: Date, target: Date): Date;
|
|
26
26
|
static isWeekEnd(d: Date): boolean;
|
|
27
27
|
static getTwelweYears(d: Date): number[];
|
|
28
|
+
static getDayOrdinal(d: Date): number;
|
|
28
29
|
static getWeekNumber(d: Date): number;
|
|
29
30
|
static isSameDay(d1: Date, d2: Date): boolean;
|
|
30
31
|
static toDateObject(date: Date | string, dateFormat: string): Date;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Id } from "../../../ts-common/types";
|
|
2
|
+
import { ICol, IRow, ISpan } from "./../types";
|
|
2
3
|
export declare function getWidth(columns: ICol[], colspan: number, index: number): number;
|
|
3
4
|
export declare function getHeight(dataRows: IRow[], rowspan: number, index: number): number;
|
|
5
|
+
export declare function getSpan(rowId: Id, colId: Id, conf: any): ISpan;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { IFixedRowsConfig, IRendererConfig } from "../types";
|
|
1
|
+
import { IFixedRowsConfig, IRendererConfig, ILayoutState } from "../types";
|
|
2
2
|
export declare function getRows(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any[];
|
|
3
3
|
export declare function getFixedSpans(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any[];
|
|
4
4
|
export declare function getFixedRows(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any;
|
|
5
|
+
export declare function getFixedDataRows(config: IRendererConfig, layout: ILayoutState): any[];
|
|
@@ -14,6 +14,8 @@ export declare class Cell extends View implements ICell {
|
|
|
14
14
|
protected _parent: ILayout;
|
|
15
15
|
protected _ui: IViewLike;
|
|
16
16
|
protected _resizerHandlers: any;
|
|
17
|
+
private _isLastFlexCell;
|
|
18
|
+
private _afterWindowResized;
|
|
17
19
|
constructor(parent: string | HTMLElement | ILayout, config: ICellConfig);
|
|
18
20
|
paint(): void;
|
|
19
21
|
isVisible(): boolean;
|
|
@@ -36,8 +38,9 @@ export declare class Cell extends View implements ICell {
|
|
|
36
38
|
protected _getCollapseIcon(): "dxi dxi-chevron-right" | "dxi dxi-chevron-left" | "dxi dxi-chevron-up" | "dxi dxi-chevron-down";
|
|
37
39
|
protected _isLastCell(): boolean;
|
|
38
40
|
protected _getNextCell(): any;
|
|
39
|
-
protected _getAnyFlexCell(): any;
|
|
41
|
+
protected _getAnyFlexCell(selfInclude?: boolean): any;
|
|
40
42
|
protected _getResizerView(): any;
|
|
41
43
|
protected _isXDirection(): any;
|
|
42
44
|
protected _calculateStyle(): any;
|
|
45
|
+
private _resizedWindow;
|
|
43
46
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IPosition, ITooltipConfig, Position } from "./types";
|
|
2
|
-
export declare function findPosition(targetRect: ClientRect, position: Position, width: number, height: number): IPosition;
|
|
2
|
+
export declare function findPosition(targetRect: ClientRect, position: Position, width: number, height: number, margin?: number, recursion?: number): IPosition;
|
|
3
3
|
export declare function getZIndex(node: Element | HTMLElement): any;
|
|
4
4
|
export declare function tooltip(text: string, config: ITooltipConfig): void;
|
|
5
5
|
export declare function enableTooltip(): void;
|
|
@@ -25,6 +25,7 @@ export interface ITooltipConfig extends IScreenPosition {
|
|
|
25
25
|
showDelay?: number;
|
|
26
26
|
hideDelay?: number;
|
|
27
27
|
htmlEnable?: boolean;
|
|
28
|
+
margin?: number;
|
|
28
29
|
}
|
|
29
30
|
export interface IPosition {
|
|
30
31
|
left: number;
|
|
@@ -39,7 +40,9 @@ export interface IScreenPosition {
|
|
|
39
40
|
export declare enum Position {
|
|
40
41
|
right = "right",
|
|
41
42
|
bottom = "bottom",
|
|
42
|
-
center = "center"
|
|
43
|
+
center = "center",
|
|
44
|
+
left = "left",
|
|
45
|
+
top = "top"
|
|
43
46
|
}
|
|
44
47
|
export declare enum MessageContainerPosition {
|
|
45
48
|
topLeft = "top-left",
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,51 @@
|
|
|
1
|
+
# Version 7.3.5 (July 7, 2022)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
- Form. Fix the issue with internal paddings of Form elements when using the "setProperties()" method
|
|
6
|
+
- Form. Now it is possible to set a new value for the disabled Combobox control via API
|
|
7
|
+
- Grid. Fix the incorrect work of formatting of numbers in some cases
|
|
8
|
+
- Grid. Fix the incorrect display of dates when the date format includes milliseconds
|
|
9
|
+
- Grid. Fix the incorrect work of editing of spanned cells
|
|
10
|
+
- Grid. Fix the issue which caused "fixed" columns to hide horizontal scrollbar
|
|
11
|
+
- Grid. Fix the issue which caused sorting icons not to show the correct direction of the future sorting order
|
|
12
|
+
- Grid. Fix the issue which caused the hidden rows to become visible after filtering of data was reset
|
|
13
|
+
- Grid. Fix the issue which prevented spans from being stylized via the "addCellCss()" method
|
|
14
|
+
- Grid. Now it is possible to reset filtering in the read-only mode of comboFilter by choosing an empty option in the dropdown list
|
|
15
|
+
- List. Fix the issue which caused focus to set on an item when clicking on it even so selection functionality was disabled via "selection:false"
|
|
16
|
+
- TreeGrid. Fix the incorrect work of the "getLength()" method which returned null instead of "0" for empty TreeGrid in some cases
|
|
17
|
+
- TreeGrid. Fix the issue which caused the height of the treegrid not to be recalculated after changing the data set
|
|
18
|
+
- Window. Fix the incorrect display of modal window (it was displayed behind the non-modal one)
|
|
19
|
+
- Window. Fix the issue with positioning of the window if the values of the width and height were incorrect
|
|
20
|
+
|
|
21
|
+
# Version 7.3.4 (June 7, 2022)
|
|
22
|
+
|
|
23
|
+
### Fixes
|
|
24
|
+
|
|
25
|
+
- Calendar. Fix the issue with a miscalculation of number of the last week of year
|
|
26
|
+
- Combobox. Fix the issue with setting values if the widget is disabled
|
|
27
|
+
- Form. Fix the issue with validation of the combo component. The ID is validated instead of value
|
|
28
|
+
- Form. Fix the issue with sending the html form (if *dhx.Form* is included into the *form* tag) when pressing the "enter" key, if any input field is in focus
|
|
29
|
+
- Form. Fix the issue with activating/displaying the initially hidden control (`hidden: true`) of the "container" form using the `show()` method
|
|
30
|
+
- Form. Fix the issue with including a toolbar into the "container" form (errors in console)
|
|
31
|
+
- Grid. Fix the issue with selection when adding spans into the grid component
|
|
32
|
+
- Grid. Fix the issue with reselection a cell after calling the `grid.selection.removeCell()` metod
|
|
33
|
+
- Layout. Fix the issue with the initially collapsed cell which includes the `min-width` and `min-height` settings. Instead of being collapsed, the cell takes the specified min sizes
|
|
34
|
+
- Layout. Fix the issue with dynamic resizing a cell when resizing a viewport (in some cases)
|
|
35
|
+
- Layout. Fix the issue with resizing cells which contain the iframe element
|
|
36
|
+
- Tree. Fix the issue with dynamic loading of the child elements, if the url for autoloading includes "?"
|
|
37
|
+
- Custom scroll. Fix the issue with custom scrolling on MacOS
|
|
38
|
+
|
|
39
|
+
# Version 7.3.3 (April 25, 2022)
|
|
40
|
+
|
|
41
|
+
### Fixes
|
|
42
|
+
|
|
43
|
+
- Form. Combo control. Fix the issue with re-setting of the same value of the readonly Combo control after the clear() method of Form was called
|
|
44
|
+
- Form. Fix the issue which caused the getValue() method to return the null value as a string
|
|
45
|
+
- Grid. Fix the issue with filtering of a big data set which caused the symbols to get lost when typing them into the header filter. Now you have more time for typing symbols into the input filter of Grid
|
|
46
|
+
- Toolbar. Fix the issue which caused the getState() method not to return the value of a datePicker
|
|
47
|
+
- Vault and Suite. Fix the conflict appeared between CSS styles of the Vault and Suite scrollbars when including source files of the components to the one page
|
|
48
|
+
|
|
1
49
|
# Version 7.3.2 (April 4, 2022)
|
|
2
50
|
|
|
3
51
|
### Fixes
|