dhx-chart 9.1.3 → 9.1.5

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.
@@ -1,6 +1,6 @@
1
1
  import { ISortMode } from "../types";
2
2
  export declare class Sort {
3
- sort(array: any[], by: ISortMode, perm?: ISortMode): void;
3
+ sort(array: any[], sorters: ISortMode[]): any[];
4
4
  private _createSorter;
5
5
  private _checkVal;
6
6
  private _sort;
@@ -85,7 +85,7 @@ export declare class DataCollection<T extends IDataItem = IDataItem> implements
85
85
  protected _approximate(data: any[], values: string[], maxNum: number): any[];
86
86
  protected _onChange(status: Statuses, id: Id, obj: any): void;
87
87
  protected _addToOrder(array: any[], obj: any, index?: number): void;
88
- protected _applySorters(by?: ISortMode): void;
88
+ protected _applySorters(): void;
89
89
  protected _applyFilters(rule?: IFilterMode | IFilterCallback): void;
90
90
  protected _reapplyFilters(): void;
91
91
  protected _getRuleCallback(rule: IFilterMode): IFilterCallback;
@@ -60,5 +60,5 @@ export declare class TreeCollection<T extends IDataItem = IDataItem> extends Dat
60
60
  private _applyFilter;
61
61
  protected _normalizeFilters(filters: any): any;
62
62
  protected _checkFilterRule(rule: IFilterMode | IFilterComplexMode | IFilterCallback): boolean;
63
- protected _applySorters(by?: ISortMode): void;
63
+ protected _applySorters(): void;
64
64
  }
@@ -25,5 +25,6 @@ export declare const getTreeCellWidthOffset: (row: IRow, toArrow?: boolean) => n
25
25
  export declare const getMaxColsWidth: (rows: IRow[], cols: ICol[], config: IContainerConfig, target: AdjustTargetType) => IColumnsWidth;
26
26
  export declare function applyPattern(value: string | number | boolean, col: ICol): string | number | boolean;
27
27
  export declare function getEditorOptions(col: ICol, row?: IRow): TOption[];
28
+ export declare function getOptionValue(value: string, column: ICol): string;
28
29
  export declare function getValueForNumberColumn(col: ICol, value: any): any;
29
30
  export declare function getEditorValue(value: any, options: TOption[]): any;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "dhx-chart",
3
- "version": "9.1.3",
3
+ "version": "9.1.5",
4
4
  "description": "dhtmlxChart widget",
5
- "homepage":"https://docs.dhtmlx.com/chart",
5
+ "homepage":"https://docs.dhtmlx.com/suite/chart/",
6
6
  "license":"GPL",
7
7
  "bugs":{
8
- "url" : "https://forum.dhtmlx.com",
8
+ "url" : "https://forum.dhtmlx.com/c/suite",
9
9
  "email" : "support@dhtmlx.com"
10
10
  },
11
11
  "main": "codebase/chart.min.js",
package/readme.txt CHANGED
@@ -1,15 +1,27 @@
1
- /*
2
- @license
1
+ DHTMLX Chart
2
+ ============
3
3
 
4
- dhtmlxChart v.9.1.3 Standard
5
- This software is covered by GPL-2.0 License. Usage without proper license is prohibited.
4
+ Version 9.1.5, Standard
6
5
 
7
- (c) XB Software.
8
- */
6
+ License
7
+ ------------
9
8
 
9
+ GPL-2.0 License, check license.txt for more details
10
+
11
+ How to start
12
+ ------------
13
+
14
+ - Check our how-to-start tutorials https://docs.dhtmlx.com/suite/chart/
15
+ - Explore code samples https://snippet.dhtmlx.com/bo82km4n?tag=chart
10
16
 
11
17
  Useful links
12
18
  -------------
13
19
 
14
- - Online documentation
15
- https://docs.dhtmlx.com/
20
+ - Product information
21
+ https://dhtmlx.com/docs/products/dhtmlxChart/
22
+
23
+ - Online documentation
24
+ https://docs.dhtmlx.com/suite/chart/
25
+
26
+ - Support forum
27
+ https://forum.dhtmlx.com/c/suite
package/whatsnew.txt CHANGED
@@ -1,6 +1,13 @@
1
- Version 9.1.3 (April 3, 2025)
2
- ----------------------------
3
-
1
+ Version 9.1.5 (June 5, 2025)
2
+
3
+ - DataCollection/TreeCollection. Fixed sorting method in smart sorting mode when sorting more than three parameters
4
+
5
+ Version 9.1.4 (June 3, 2025)
6
+ ----------------------------
7
+
8
+ Version 9.1.3 (April 3, 2025)
9
+ ----------------------------
10
+
4
11
  # Version 9.1.2 (March 17, 2025)
5
12
 
6
13
  ### Fixes