dhx-chart 7.3.5 → 7.3.6
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-calendar/sources/types.d.ts +1 -1
- package/codebase/types/ts-common/date.d.ts +1 -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 +3 -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;
|
|
@@ -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;
|
|
@@ -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