dhx-chart 9.2.8 → 9.3.1
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/chart.min.js.map +1 -1
- package/codebase/types/ts-chart/sources/Export.d.ts +5 -4
- package/codebase/types/ts-common/core.d.ts +1 -1
- package/codebase/types/ts-common/date.d.ts +1 -0
- package/codebase/types/ts-grid/sources/ExtendedGrid.d.ts +3 -0
- package/codebase/types/ts-grid/sources/Grid.d.ts +6 -4
- package/codebase/types/ts-grid/sources/ProGrid.d.ts +4 -3
- package/codebase/types/ts-grid/sources/modules/Exporter.d.ts +45 -15
- package/codebase/types/ts-grid/sources/types.d.ts +28 -94
- package/codebase/types/ts-grid/sources/ui/common.d.ts +1 -0
- package/codebase/types/ts-grid/sources/ui/components/dragPanel.d.ts +6 -2
- package/codebase/types/ts-grid/sources/ui/content/ComboFilter.d.ts +13 -3
- package/codebase/types/ts-grid/sources/ui/content/DateFilter.d.ts +42 -0
- package/codebase/types/ts-grid/sources/ui/content/InputFilter.d.ts +11 -2
- package/codebase/types/ts-grid/sources/ui/content/SelectFilter.d.ts +11 -3
- package/codebase/types/ts-grid/sources/ui/content.d.ts +55 -2
- package/codebase/types/ts-grid/sources/ui/proContent.d.ts +37 -0
- package/codebase/types/ts-treegrid/sources/TreeGrid.d.ts +1 -1
- package/codebase/types/ts-treegrid/sources/types.d.ts +3 -2
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +16 -7
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IExtendedGrid, IProGrid } from "../types";
|
|
2
|
+
import { ICellContent, IHeaderFilter } from "./content";
|
|
3
|
+
import { VNode } from "../../../ts-common/dom";
|
|
4
|
+
import { DataCollection, IDataItem } from "../../../ts-data";
|
|
5
|
+
import { Calendar, ICalendarConfig } from "../../../ts-calendar";
|
|
6
|
+
import { Combobox } from "../../../ts-combobox";
|
|
7
|
+
export interface IComboFilterConfig {
|
|
8
|
+
template?: (item: IDataItem) => string;
|
|
9
|
+
filter?: (item: IDataItem, input: string) => boolean;
|
|
10
|
+
data?: DataCollection<IDataItem> | IDataItem[];
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
virtual?: boolean;
|
|
14
|
+
multiselection?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface IInputFilterConfig {
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
icon?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IDateFilterConfig extends Omit<ICalendarConfig, "value" | "css" | "$rangeMark"> {
|
|
21
|
+
icon?: string;
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
asDateObject?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface IProHeaderFilter extends Omit<IHeaderFilter, "value" | "filterConfig"> {
|
|
26
|
+
value: string | string[] | Date | Date[];
|
|
27
|
+
filterConfig?: IComboFilterConfig | IDateFilterConfig | IInputFilterConfig;
|
|
28
|
+
getFilter(): VNode | Combobox | Calendar;
|
|
29
|
+
setValue(value: string | string[] | Date | Date[], silent?: boolean): void;
|
|
30
|
+
}
|
|
31
|
+
export interface IProCellContent extends Omit<ICellContent, "element"> {
|
|
32
|
+
element?: Record<string, IProHeaderFilter>;
|
|
33
|
+
}
|
|
34
|
+
export interface IProContentList {
|
|
35
|
+
[key: string]: IProCellContent;
|
|
36
|
+
}
|
|
37
|
+
export declare function getProContent(grid: IProGrid | IExtendedGrid): IProContentList;
|
|
@@ -15,7 +15,7 @@ export declare class TreeGrid extends ExtendedGrid implements ITreeGrid {
|
|
|
15
15
|
collapseAll(): void;
|
|
16
16
|
showRow(rowId: Id): void;
|
|
17
17
|
hideRow(rowId: Id): void;
|
|
18
|
-
getCellRect(rowId: Id, colId
|
|
18
|
+
getCellRect(rowId: Id, colId?: Id): ICellRect;
|
|
19
19
|
getSpan(rowId: Id, colId: Id): ISpan;
|
|
20
20
|
protected _adjustColumnsWidth({ rows, cols, totalCols, adjust, }: IAdjustColumns): IColumnsWidth;
|
|
21
21
|
protected _createCollection(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataEvents, DragEvents, IDataEventsHandlersMap, IDragEventsHandlersMap } from "../../ts-data";
|
|
1
|
+
import { DataEvents, DragEvents, DropBehaviour, IDataEventsHandlersMap, IDragEventsHandlersMap } from "../../ts-data";
|
|
2
2
|
import { GridEvents, IEventHandlersMap, IExtendedGrid, IExtendedGridConfig } from "../../ts-grid";
|
|
3
3
|
import { IEventSystem } from "../../ts-common/events";
|
|
4
4
|
import { Id } from "../../ts-common/types";
|
|
@@ -6,8 +6,9 @@ import { TreeGridCollection } from "./TreeGridCollection";
|
|
|
6
6
|
export interface ITreeGridConfig extends IExtendedGridConfig {
|
|
7
7
|
type?: "tree";
|
|
8
8
|
rootParent?: Id;
|
|
9
|
-
dragExpand?: boolean;
|
|
10
9
|
collapsed?: boolean;
|
|
10
|
+
dragExpand?: boolean;
|
|
11
|
+
dropBehaviour?: DropBehaviour;
|
|
11
12
|
}
|
|
12
13
|
export interface ITreeGrid extends IExtendedGrid {
|
|
13
14
|
events: IEventSystem<DataEvents | GridEvents | DragEvents, IEventHandlersMap & IDataEventsHandlersMap & IDragEventsHandlersMap>;
|
package/package.json
CHANGED
package/readme.txt
CHANGED
package/whatsnew.txt
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
Version 9.
|
|
2
|
-
----------------------------
|
|
3
|
-
|
|
4
|
-
Version 9.2.7 (January 15, 2026)
|
|
5
|
-
----------------------------
|
|
6
|
-
|
|
7
|
-
Version 9.2.6 (January 13, 2026)
|
|
1
|
+
Version 9.3.1 (March 26, 2026)
|
|
8
2
|
----------------------------
|
|
9
3
|
|
|
4
|
+
# Version 9.3 (February 17, 2026)
|
|
5
|
+
|
|
6
|
+
### Updates
|
|
7
|
+
|
|
8
|
+
- Export module. The `pdf()` and `png()` export functions return a promise of data export
|
|
9
|
+
|
|
10
|
+
Version 9.2.8 (January 28, 2026)
|
|
11
|
+
----------------------------
|
|
12
|
+
|
|
13
|
+
Version 9.2.7 (January 15, 2026)
|
|
14
|
+
----------------------------
|
|
15
|
+
|
|
16
|
+
Version 9.2.6 (January 13, 2026)
|
|
17
|
+
----------------------------
|
|
18
|
+
|
|
10
19
|
# Version 9.2.5 (November 28, 2025)
|
|
11
20
|
|
|
12
21
|
### Updates
|