dhx-chart 7.3.14 → 8.0.0
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.css +1 -1
- package/codebase/chart.min.js +3 -3
- package/codebase/types/ts-chart/sources/Chart.d.ts +8 -6
- package/codebase/types/ts-chart/sources/Export.d.ts +10 -0
- package/codebase/types/ts-chart/sources/Legend.d.ts +1 -0
- package/codebase/types/ts-chart/sources/entry.d.ts +2 -1
- package/codebase/types/ts-chart/sources/series/CalendarHeatMap.d.ts +20 -0
- package/codebase/types/ts-chart/sources/series/index.d.ts +2 -0
- package/codebase/types/ts-chart/sources/shapes/legend.d.ts +1 -0
- package/codebase/types/ts-chart/sources/types.d.ts +42 -10
- package/codebase/types/ts-combobox/sources/types.d.ts +2 -0
- package/codebase/types/ts-common/dom.d.ts +2 -0
- package/codebase/types/ts-common/html.d.ts +2 -0
- package/codebase/types/ts-common/types.d.ts +1 -0
- package/codebase/types/ts-data/sources/types.d.ts +8 -4
- package/codebase/types/ts-grid/sources/Grid.d.ts +4 -5
- package/codebase/types/ts-grid/sources/ProGrid.d.ts +1 -0
- package/codebase/types/ts-grid/sources/Selection.d.ts +4 -0
- package/codebase/types/ts-grid/sources/types.d.ts +51 -7
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +2 -2
- package/codebase/types/ts-grid/sources/ui/FixedCols.d.ts +3 -3
- package/codebase/types/ts-grid/sources/ui/FixedRows.d.ts +2 -2
- package/codebase/types/ts-grid/sources/ui/content/ComboFilter.d.ts +21 -0
- package/codebase/types/ts-grid/sources/ui/content/InputFilter.d.ts +22 -0
- package/codebase/types/ts-grid/sources/ui/content/SelectFilter.d.ts +20 -0
- package/codebase/types/ts-grid/sources/ui/editors/DateEditor.d.ts +16 -0
- package/codebase/types/ts-grid/sources/ui/render.d.ts +3 -2
- package/codebase/types/ts-layout/sources/Cell.d.ts +10 -0
- package/codebase/types/ts-layout/sources/Layout.d.ts +3 -0
- package/codebase/types/ts-layout/sources/types.d.ts +5 -0
- package/codebase/types/ts-message/sources/message.d.ts +3 -1
- package/codebase/types/ts-popup/sources/Popup.d.ts +1 -0
- package/codebase/types/ts-popup/sources/types.d.ts +2 -0
- package/codebase/types/ts-slider/sources/types.d.ts +2 -0
- package/codebase/types/ts-timepicker/sources/Timepicker.d.ts +3 -1
- package/codebase/types/ts-timepicker/sources/types.d.ts +2 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +3 -0
|
@@ -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
|
+
protected _progress: boolean;
|
|
18
|
+
protected _stopProgressDefault: boolean;
|
|
17
19
|
private _isLastFlexCell;
|
|
18
20
|
private _afterWindowResized;
|
|
19
21
|
constructor(parent: string | HTMLElement | ILayout, config: ICellConfig);
|
|
@@ -31,7 +33,12 @@ export declare class Cell extends View implements ICell {
|
|
|
31
33
|
getCellView(): any;
|
|
32
34
|
attach(component: any, config?: any): IViewLike;
|
|
33
35
|
attachHTML(html: string): void;
|
|
36
|
+
detach(): void;
|
|
37
|
+
progressShow(): void;
|
|
38
|
+
progressHide(): void;
|
|
39
|
+
isVisibleProgress(): boolean;
|
|
34
40
|
toVDOM(nodes?: any[]): any;
|
|
41
|
+
protected _getProgressBar(): any;
|
|
35
42
|
protected _getCss(_content?: boolean): string;
|
|
36
43
|
protected _initHandlers(): void;
|
|
37
44
|
protected _getCollapsedSize(cell: ICell, nextCell: ICell): number;
|
|
@@ -41,6 +48,9 @@ export declare class Cell extends View implements ICell {
|
|
|
41
48
|
protected _getAnyFlexCell(selfInclude?: boolean): any;
|
|
42
49
|
protected _getResizerView(): any;
|
|
43
50
|
protected _isXDirection(): any;
|
|
51
|
+
protected _checkProgress(): boolean;
|
|
52
|
+
protected _checkAutoProgress(): boolean;
|
|
53
|
+
protected _calculateProgressState(): void;
|
|
44
54
|
protected _calculateStyle(): any;
|
|
45
55
|
private _resizedWindow;
|
|
46
56
|
private _resetCellsSize;
|
|
@@ -5,6 +5,7 @@ export declare class Layout extends Cell implements ILayout {
|
|
|
5
5
|
protected _all: any;
|
|
6
6
|
protected _cells: ICell[];
|
|
7
7
|
protected _root: ILayout;
|
|
8
|
+
protected _progress: boolean;
|
|
8
9
|
private _xLayout;
|
|
9
10
|
private _isViewLayout;
|
|
10
11
|
constructor(parent: any, config: ILayoutConfig);
|
|
@@ -18,6 +19,8 @@ export declare class Layout extends Cell implements ILayout {
|
|
|
18
19
|
forEach(callback: LayoutCallback, parent?: string, level?: number): void;
|
|
19
20
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
20
21
|
cell(id: string): any;
|
|
22
|
+
progressShow(): void;
|
|
23
|
+
progressHide(): void;
|
|
21
24
|
protected _getCss(content?: boolean): string;
|
|
22
25
|
private _parseConfig;
|
|
23
26
|
protected _createCell(cell: ILayoutConfig): ICell;
|
|
@@ -31,6 +31,7 @@ export interface ICellConfig {
|
|
|
31
31
|
tab?: string;
|
|
32
32
|
tabCss?: string;
|
|
33
33
|
full?: boolean;
|
|
34
|
+
progressDefault?: boolean;
|
|
34
35
|
init?: (c: ICell, cfg: ICellConfig | IView) => void;
|
|
35
36
|
$fixed?: boolean;
|
|
36
37
|
$autoWidth?: boolean;
|
|
@@ -65,6 +66,10 @@ export interface ICell extends IView {
|
|
|
65
66
|
collapse(): void;
|
|
66
67
|
expand(): void;
|
|
67
68
|
toggle(): void;
|
|
69
|
+
detach(): void;
|
|
70
|
+
progressShow(): void;
|
|
71
|
+
progressHide(): void;
|
|
72
|
+
isVisibleProgress(): boolean;
|
|
68
73
|
}
|
|
69
74
|
export interface IProCell extends ICell {
|
|
70
75
|
scrollView: ScrollView;
|
|
@@ -16,6 +16,7 @@ export interface IPopup {
|
|
|
16
16
|
export interface IPopupConfig {
|
|
17
17
|
css?: string;
|
|
18
18
|
events?: IEventSystem<any>;
|
|
19
|
+
theme?: HTMLElement | string;
|
|
19
20
|
}
|
|
20
21
|
export declare enum PopupEvents {
|
|
21
22
|
beforeHide = "beforeHide",
|
|
@@ -29,6 +30,7 @@ export interface IShowConfig {
|
|
|
29
30
|
auto?: boolean;
|
|
30
31
|
mode?: Position;
|
|
31
32
|
indent?: number | string;
|
|
33
|
+
theme?: string | HTMLElement;
|
|
32
34
|
}
|
|
33
35
|
export interface IPopupEventHandlersMap {
|
|
34
36
|
[key: string]: (...args: any[]) => any;
|
|
@@ -13,6 +13,7 @@ export interface ISlider {
|
|
|
13
13
|
blur(): void;
|
|
14
14
|
}
|
|
15
15
|
export declare enum SliderEvents {
|
|
16
|
+
beforeChange = "beforeChange",
|
|
16
17
|
change = "change",
|
|
17
18
|
focus = "focus",
|
|
18
19
|
blur = "blur",
|
|
@@ -22,6 +23,7 @@ export declare enum SliderEvents {
|
|
|
22
23
|
}
|
|
23
24
|
export interface ISliderEventHandlersMap {
|
|
24
25
|
[key: string]: (...args: any[]) => any;
|
|
26
|
+
[SliderEvents.beforeChange]: (value: number, oldValue: number, isRange: boolean) => void;
|
|
25
27
|
[SliderEvents.change]: (value: number, oldValue: number, isRange: boolean) => void;
|
|
26
28
|
[SliderEvents.focus]: () => void;
|
|
27
29
|
[SliderEvents.blur]: () => void;
|
|
@@ -13,14 +13,16 @@ export declare class Timepicker extends View implements ITimepicker {
|
|
|
13
13
|
private _handlers;
|
|
14
14
|
private _outerHandlers;
|
|
15
15
|
constructor(container: HTMLElement | string, config?: ITimepickerConfig);
|
|
16
|
-
getValue<T extends boolean = false>(
|
|
16
|
+
getValue<T extends boolean = false>(asObject?: T): T extends true ? ITimeObject : string;
|
|
17
17
|
setValue(value: Date | number | string | any[] | ITimeObject): void;
|
|
18
18
|
clear(): void;
|
|
19
19
|
destructor(): void;
|
|
20
20
|
getRootView(): any;
|
|
21
|
+
private _getValue;
|
|
21
22
|
private _setValue;
|
|
22
23
|
private _initUI;
|
|
23
24
|
private _initHandlers;
|
|
24
25
|
private _initEvents;
|
|
25
26
|
private _draw;
|
|
27
|
+
private _isTimeObj;
|
|
26
28
|
}
|
|
@@ -25,6 +25,7 @@ export interface ITimeObject {
|
|
|
25
25
|
AM?: boolean;
|
|
26
26
|
}
|
|
27
27
|
export declare enum TimepickerEvents {
|
|
28
|
+
beforeChange = "beforeChange",
|
|
28
29
|
change = "change",
|
|
29
30
|
beforeApply = "beforeApply",
|
|
30
31
|
afterApply = "afterApply",
|
|
@@ -39,6 +40,7 @@ export declare enum TimepickerEvents {
|
|
|
39
40
|
}
|
|
40
41
|
export interface ITimepickerHandlersMap {
|
|
41
42
|
[key: string]: (...args: any[]) => any;
|
|
43
|
+
[TimepickerEvents.beforeChange]: (value: string | ITimeObject) => boolean | void;
|
|
42
44
|
[TimepickerEvents.change]: (value: string | ITimeObject) => void;
|
|
43
45
|
[TimepickerEvents.beforeApply]: (value: string | ITimeObject) => boolean | void;
|
|
44
46
|
[TimepickerEvents.afterApply]: (value: string | ITimeObject) => void;
|
package/package.json
CHANGED
package/readme.txt
CHANGED