dhx-chart 9.1.1 → 9.1.2

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.
@@ -16,7 +16,7 @@ export default class Bar extends ScaleSeria {
16
16
  class: string;
17
17
  transform: string;
18
18
  };
19
- protected _getForm(points: PointData[], css: string, _width: number, height: number, prev: PointData[]): object;
19
+ protected _getForm(points: PointData[], _width: number, height: number, prev: PointData[]): object;
20
20
  protected _getText(item: any): any;
21
21
  protected _setDefaults(config: ISeriaConfig): void;
22
22
  }
@@ -2,6 +2,6 @@ import { ISeriaConfig, PointData, SvgElement } from "../types";
2
2
  import ScaleSeria from "./ScaleSeria";
3
3
  export default class Line extends ScaleSeria {
4
4
  paint(width: number, height: number): SvgElement;
5
- protected _getForm(points: PointData[], config: any, css: string, width: number, height: number): object;
5
+ protected _getForm(points: PointData[], config: any, width: number, height: number): object;
6
6
  protected _setDefaults(config: ISeriaConfig): void;
7
7
  }
@@ -11,4 +11,5 @@ export default class ScaleSeria extends BaseSeria {
11
11
  dataReady(prev?: PointData[]): PointData[];
12
12
  protected _calckFinalPoints(width: number, height: number): void;
13
13
  protected _defaultLocator(v: any): any[];
14
+ protected _getCss(): string;
14
15
  }
@@ -1,5 +1,5 @@
1
1
  import { PointData } from "../types";
2
2
  import Line from "./Line";
3
3
  export default class Spline extends Line {
4
- protected _getForm(points: PointData[], config: any, css: string, width: number, height: number): object;
4
+ protected _getForm(points: PointData[], config: any, width: number, height: number): object;
5
5
  }
@@ -21,3 +21,4 @@ export declare function resizer(handler: any): any;
21
21
  export declare function resizeHandler(container: any, handler: any): any;
22
22
  export declare function awaitRedraw(): Promise<void>;
23
23
  export declare function setTheme(theme: TTheme, container: string | HTMLElement): void;
24
+ export declare function getViewHeight(view: VNode, width: number): number;
@@ -67,4 +67,8 @@ export declare function getLabelStyle(config: any): false | {
67
67
  export declare function getPageInlineCss(): string;
68
68
  export declare function getPageLinksCss(exportStyles?: string[]): string;
69
69
  export declare function getElementFromPoint(e: MouseEvent | TouchEvent): Element | null;
70
+ export declare function getNodeOffset(node1: HTMLElement, node2: HTMLElement): {
71
+ left: number;
72
+ top: number;
73
+ };
70
74
  export {};
@@ -1,4 +1,4 @@
1
- import { IAnyObj } from "../../ts-common/types";
1
+ import { IAnyObj, Id } from "../../ts-common/types";
2
2
  import { DataProxy } from "./dataproxy";
3
3
  import { IFilterCallback, IFilterMode, IDataCollection, IDataItem, ITreeCollection, DataDriver, IDataDriver, IFilter } from "./types";
4
4
  export declare function isEqualObj(a: any, b: any): boolean;
@@ -13,3 +13,4 @@ export declare function copyWithoutInner(obj: IAnyObj, forbidden?: IAnyObj): IAn
13
13
  export declare function isTreeCollection(obj: IDataCollection<any> | ITreeCollection<any> | IDataItem[]): obj is ITreeCollection<any>;
14
14
  export declare function hasJsonOrArrayStructure(str: any): boolean;
15
15
  export declare function isOnlyPermanentFilters(filters: IFilter): boolean;
16
+ export declare function throwMoveWarning(id: Id, exists?: boolean): null;
@@ -2,12 +2,15 @@ import { IEventSystem } from "../../ts-common/events";
2
2
  import { DataCollection } from "./datacollection";
3
3
  import { DataCallback, DataEvents, IDataCollection, IDataItem, ITreeCollection, IFilterCallback, IFilterMode, IFilterComplexMode, ITreeFilterConfig, DataDriver, ISortMode, IDataDriver, IUpdateObject, ISortConfig } from "./types";
4
4
  import { Id } from "../../ts-common/types";
5
+ export declare function addToOrder(store: any, obj: object, parent: Id, index: number): void;
5
6
  export declare class TreeCollection<T extends IDataItem = IDataItem> extends DataCollection<T> implements ITreeCollection<T> {
6
7
  protected _childs: {
7
8
  [id: string]: T[];
8
9
  };
9
10
  protected _root: Id;
10
- private _initChilds;
11
+ protected _initChilds: {
12
+ [id: string]: T[];
13
+ };
11
14
  constructor(config?: any, events?: IEventSystem<DataEvents>);
12
15
  add(newItem: IDataItem, index?: number, parent?: Id): Id;
13
16
  add(newItem: IDataItem[], index?: number, parent?: Id): Id[];
@@ -42,6 +45,7 @@ export declare class TreeCollection<T extends IDataItem = IDataItem> extends Dat
42
45
  protected _setParent(item: IDataItem, parent: Id): void;
43
46
  protected _copy(id: Id, index: number, target?: IDataCollection | ITreeCollection, targetId?: Id, key?: number): Id;
44
47
  protected _move(id: Id, index: number, target?: ITreeCollection | IDataCollection, targetId?: Id, key?: number): Id;
48
+ protected _moveItem(id: any, targetId: any, index: any): void;
45
49
  protected _reset(config: {
46
50
  id?: Id;
47
51
  grouping: any;
@@ -0,0 +1,3 @@
1
+ import { Id } from "../../../ts-common/types";
2
+ export declare function getRowNode(id: Id, root: HTMLElement, split?: "left" | "right"): HTMLElement;
3
+ export declare function getVisibleRowNode(row: HTMLElement, width: number, offset: number): HTMLElement;
@@ -17,4 +17,5 @@ export declare class TreeGridCollection extends TreeCollection {
17
17
  protected _removeCore(id: Id): void;
18
18
  protected _setParent(item: IDataItem, parent: Id): void;
19
19
  private _checkItems;
20
+ protected _moveItem(id: any, targetId: any, index: any): void;
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-chart",
3
- "version": "9.1.1",
3
+ "version": "9.1.2",
4
4
  "description": "dhtmlxChart widget",
5
5
  "homepage":"https://docs.dhtmlx.com/chart",
6
6
  "license":"GPL",
package/readme.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
3
 
4
- dhtmlxChart v.9.1.1 Standard
4
+ dhtmlxChart v.9.1.2 Standard
5
5
  This software is covered by GPL-2.0 License. Usage without proper license is prohibited.
6
6
 
7
7
  (c) XB Software.
package/whatsnew.txt CHANGED
@@ -1,6 +1,12 @@
1
- Version 9.1.1 (February 24, 2025)
2
- ----------------------------
3
-
1
+ # Version 9.1.2 (March 17, 2025)
2
+
3
+ ### Fixes
4
+
5
+ - The default CSS classes aren't applied to the series of the `splineArea` chart type
6
+
7
+ Version 9.1.1 (February 24, 2025)
8
+ ----------------------------
9
+
4
10
  # Version 9.1 (February 18, 2025)
5
11
 
6
12
  ### Fixes