dhx-chart 7.3.4 → 7.3.7
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-calendar/sources/types.d.ts +1 -1
- package/codebase/types/ts-common/KeyManager.d.ts +2 -0
- package/codebase/types/ts-common/date.d.ts +1 -1
- package/codebase/types/ts-data/sources/treecollection.d.ts +1 -0
- package/codebase/types/ts-grid/sources/Grid.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 +9 -1
- package/codebase/types/ts-list/sources/types.d.ts +3 -1
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +9 -0
|
@@ -4,7 +4,7 @@ export interface ICalendarConfig {
|
|
|
4
4
|
css?: string;
|
|
5
5
|
mark?: (a: Date) => string;
|
|
6
6
|
disabledDates?: (a: Date) => boolean;
|
|
7
|
-
weekStart?: "
|
|
7
|
+
weekStart?: "saturday" | "sunday" | "monday";
|
|
8
8
|
weekNumbers?: boolean;
|
|
9
9
|
mode?: ViewMode;
|
|
10
10
|
timePicker?: boolean;
|
|
@@ -4,6 +4,7 @@ export interface IKeyManager {
|
|
|
4
4
|
addHotKey(key: string, handler: any): void;
|
|
5
5
|
removeHotKey(key?: string, context?: any): void;
|
|
6
6
|
exist(key: string): boolean;
|
|
7
|
+
getKeyStorageLength(): number;
|
|
7
8
|
}
|
|
8
9
|
export declare class KeyManager implements IKeyManager {
|
|
9
10
|
private _keysStorage;
|
|
@@ -14,4 +15,5 @@ export declare class KeyManager implements IKeyManager {
|
|
|
14
15
|
addHotKey(key: string, handler: any): void;
|
|
15
16
|
removeHotKey(key?: string, handler?: anyFunction): void;
|
|
16
17
|
exist(key: string): boolean;
|
|
18
|
+
getKeyStorageLength(): number;
|
|
17
19
|
}
|
|
@@ -12,7 +12,7 @@ export declare class DateHelper {
|
|
|
12
12
|
static copy(d: Date): Date;
|
|
13
13
|
static fromYear(year: number): Date;
|
|
14
14
|
static fromYearAndMonth(year: number, month: number): Date;
|
|
15
|
-
static weekStart(d: Date, firstWeekday: 1 | 0): Date;
|
|
15
|
+
static weekStart(d: Date, firstWeekday: -1 | 0 | 1): Date;
|
|
16
16
|
static monthStart(d: Date): Date;
|
|
17
17
|
static yearStart(d: Date): Date;
|
|
18
18
|
static dayStart(d: Date): Date;
|
|
@@ -48,6 +48,7 @@ export declare class TreeCollection<T extends IDataItem = IDataItem> extends Dat
|
|
|
48
48
|
protected _removeCore(id: any): void;
|
|
49
49
|
protected _addToOrder(_order: any, obj: any, index: number): void;
|
|
50
50
|
protected _parse_data(data: any, parent?: Id): void;
|
|
51
|
+
protected _applySmart(): void;
|
|
51
52
|
private _fastDeleteChilds;
|
|
52
53
|
private _recursiveFilter;
|
|
53
54
|
private _serialize;
|
|
@@ -51,6 +51,7 @@ export declare class Grid extends View implements IGrid {
|
|
|
51
51
|
getHeaderFilter(colId: Id): HTMLElement | Combobox;
|
|
52
52
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
53
53
|
edit(rowId: Id, colId: Id, editorType?: EditorType): void;
|
|
54
|
+
paint(): void;
|
|
54
55
|
protected _createView(): any;
|
|
55
56
|
protected _parseColumns(configChanged?: boolean): void;
|
|
56
57
|
protected _parseData(): void;
|
|
@@ -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;
|
|
@@ -35,7 +35,9 @@ export interface IGridConfig extends IDragConfig {
|
|
|
35
35
|
autoWidth?: boolean;
|
|
36
36
|
autoHeight?: boolean;
|
|
37
37
|
eventHandlers?: {
|
|
38
|
-
[
|
|
38
|
+
[eventName: string]: {
|
|
39
|
+
[className: string]: (event: Event, item: ICellObj) => void;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
rootParent?: Id;
|
|
41
43
|
$headerLevel?: number;
|
|
@@ -64,6 +66,10 @@ export interface IGridConfig extends IDragConfig {
|
|
|
64
66
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
65
67
|
splitAt?: number;
|
|
66
68
|
}
|
|
69
|
+
interface ICellObj {
|
|
70
|
+
col: ICol;
|
|
71
|
+
row: IRow;
|
|
72
|
+
}
|
|
67
73
|
export interface IColumnsWidth {
|
|
68
74
|
[col: string]: number;
|
|
69
75
|
}
|
|
@@ -88,6 +94,7 @@ export interface IRendererConfig extends IGridConfig {
|
|
|
88
94
|
htmlEnable?: boolean;
|
|
89
95
|
content?: IContentList;
|
|
90
96
|
gridId?: string;
|
|
97
|
+
$renderFrom?: "fixedCols" | "fixedRows" | "render" | "both";
|
|
91
98
|
_events?: IEventSystem<GridSystemEvents>;
|
|
92
99
|
}
|
|
93
100
|
export interface ISortingState {
|
|
@@ -472,4 +479,5 @@ export interface IGridSelectionEventsHandlersMap {
|
|
|
472
479
|
[GridSelectionEvents.beforeSelect]: (row: IRow, col: ICol) => boolean | void;
|
|
473
480
|
[GridSelectionEvents.beforeUnSelect]: (row: IRow, col: ICol) => boolean | void;
|
|
474
481
|
}
|
|
482
|
+
export declare type TRowStatus = "firstFilledRow" | "firstEmptyRow";
|
|
475
483
|
export {};
|
|
@@ -17,7 +17,9 @@ export interface IListConfig extends IDragConfig {
|
|
|
17
17
|
editable?: boolean;
|
|
18
18
|
hotkeys?: IHandlers;
|
|
19
19
|
eventHandlers?: {
|
|
20
|
-
[
|
|
20
|
+
[eventName: string]: {
|
|
21
|
+
[className: string]: (event: Event, id: Id) => void | boolean;
|
|
22
|
+
};
|
|
21
23
|
};
|
|
22
24
|
htmlEnable?: boolean;
|
|
23
25
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
Version 7.3.7 (September 5, 2022)
|
|
2
|
+
----------------------------
|
|
3
|
+
|
|
4
|
+
Version 7.3.6 (August 8, 2022)
|
|
5
|
+
----------------------------
|
|
6
|
+
|
|
7
|
+
Version 7.3.5 (July 7, 2022)
|
|
8
|
+
----------------------------
|
|
9
|
+
|
|
1
10
|
Version 7.3.4 (June 7, 2022)
|
|
2
11
|
----------------------------
|
|
3
12
|
|