dhx-chart 7.3.7 → 7.3.9
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/chart.min.js +3 -3
- package/codebase/types/ts-combobox/sources/Combobox.d.ts +2 -2
- package/codebase/types/ts-combobox/sources/types.d.ts +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-layout/sources/Cell.d.ts +1 -1
- package/codebase/types/ts-layout/sources/types.d.ts +1 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +6 -0
|
@@ -25,9 +25,9 @@ export declare class Combobox extends View implements ICombobox {
|
|
|
25
25
|
disable(): void;
|
|
26
26
|
isDisabled(): boolean;
|
|
27
27
|
clear(): void | boolean;
|
|
28
|
-
getValue<T extends boolean = false>(asArray?: T): T extends true ?
|
|
28
|
+
getValue<T extends boolean = false>(asArray?: T): T extends true ? Id[] : Id;
|
|
29
29
|
setValue(ids: Id[] | Id): void | boolean;
|
|
30
|
-
addOption(value: string): void;
|
|
30
|
+
addOption(value: string, join?: boolean): void;
|
|
31
31
|
destructor(): void;
|
|
32
32
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
33
33
|
setState(state: State): void;
|
|
@@ -21,7 +21,7 @@ export interface IComboboxConfig {
|
|
|
21
21
|
helpMessage?: string;
|
|
22
22
|
hiddenLabel?: boolean;
|
|
23
23
|
css?: string;
|
|
24
|
-
value?:
|
|
24
|
+
value?: Id | Id[];
|
|
25
25
|
newOptions?: boolean;
|
|
26
26
|
htmlEnable?: boolean;
|
|
27
27
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
@@ -73,9 +73,9 @@ export interface ICombobox {
|
|
|
73
73
|
clear(): void;
|
|
74
74
|
focus(): void;
|
|
75
75
|
blur(): void;
|
|
76
|
-
getValue(asArray?: boolean): Id[] |
|
|
76
|
+
getValue(asArray?: boolean): Id[] | Id;
|
|
77
77
|
setValue(ids: Id[] | Id): void;
|
|
78
|
-
addOption(value: string): void;
|
|
78
|
+
addOption(value: string, join?: boolean): void;
|
|
79
79
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
80
80
|
setState(state: State): void;
|
|
81
81
|
}
|
|
@@ -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: import("../../../ts-common/types").Id;
|
|
22
|
+
column: import("../../../ts-common/types").Id;
|
|
23
|
+
rowspan?: number;
|
|
24
|
+
colspan?: number;
|
|
25
|
+
text?: import("../../../ts-common/types").Id;
|
|
26
|
+
css?: string;
|
|
27
|
+
tooltip?: boolean;
|
|
28
|
+
tooltipTemplate?: (spanValue: any, span: ISpan) => string;
|
|
29
|
+
};
|
|
19
30
|
export {};
|
|
@@ -29,7 +29,7 @@ export declare class Cell extends View implements ICell {
|
|
|
29
29
|
destructor(): void;
|
|
30
30
|
getWidget(): IViewLike;
|
|
31
31
|
getCellView(): any;
|
|
32
|
-
attach(
|
|
32
|
+
attach(component: any, config?: any): IViewLike;
|
|
33
33
|
attachHTML(html: string): void;
|
|
34
34
|
toVDOM(nodes?: any[]): any;
|
|
35
35
|
protected _getCss(_content?: boolean): string;
|
|
@@ -52,7 +52,7 @@ export interface ICell extends IView {
|
|
|
52
52
|
id: string;
|
|
53
53
|
config: ICellConfig;
|
|
54
54
|
events: IEventSystem<LayoutEvents, ILayoutEventHandlersMap>;
|
|
55
|
-
attach(
|
|
55
|
+
attach(component: string | IViewFn | IView | IViewConstructor, config?: any): IViewLike;
|
|
56
56
|
attachHTML(html: string): void;
|
|
57
57
|
isVisible(): boolean;
|
|
58
58
|
toVDOM(nodes?: any[]): any;
|
package/package.json
CHANGED
package/readme.txt
CHANGED