dhx-chart 7.3.3 → 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.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/date.d.ts +2 -1
- 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-layout/sources/Cell.d.ts +4 -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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 {};
|
|
@@ -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-up" | "dxi dxi-chevron-down" | "dxi dxi-chevron-right" | "dxi dxi-chevron-left";
|
|
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
|
}
|
|
@@ -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.6 (August 8, 2022)
|
|
2
|
+
----------------------------
|
|
3
|
+
|
|
4
|
+
Version 7.3.5 (July 7, 2022)
|
|
5
|
+
----------------------------
|
|
6
|
+
|
|
7
|
+
Version 7.3.4 (June 7, 2022)
|
|
8
|
+
----------------------------
|
|
9
|
+
|
|
1
10
|
Version 7.3.3 (April 25, 2022)
|
|
2
11
|
----------------------------
|
|
3
12
|
|