dhx-chart 7.3.12 → 7.3.14

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.
@@ -22,7 +22,7 @@ export declare class Selection implements ISelection {
22
22
  protected _removeCell(row: any, col: any): void;
23
23
  protected _removeCells(): void;
24
24
  protected _init(): void;
25
- protected _toHTML(row: IRow, column: ICol, last?: boolean): any;
25
+ protected _toHTML(row: IRow, column: ICol, last?: boolean, skipRow?: boolean): any;
26
26
  protected _isUnselected(): boolean;
27
27
  protected _findIndex(cell?: ICell): number;
28
28
  protected _setBrowserFocus(): void;
@@ -50,6 +50,7 @@ export interface IGridConfig extends IDragConfig {
50
50
  $editable?: {
51
51
  row: any;
52
52
  col: any;
53
+ isSpan: boolean;
53
54
  editorType?: EditorType;
54
55
  editor?: IEditor;
55
56
  };
@@ -82,6 +83,8 @@ export interface IRendererConfig extends IGridConfig {
82
83
  datacollection: any;
83
84
  currentColumns?: ICol[];
84
85
  currentRows?: IRow[];
86
+ fixedColumns?: ICol[];
87
+ fixedRows?: IRow[];
85
88
  firstColId?: Id;
86
89
  headerHeight?: number;
87
90
  footerHeight?: number;
@@ -445,6 +448,7 @@ export interface ISizes {
445
448
  export interface ICell {
446
449
  row: IRow;
447
450
  column: ICol;
451
+ $preventedUnselect?: boolean;
448
452
  }
449
453
  export interface IRow {
450
454
  id?: Id;
@@ -453,7 +457,7 @@ export interface IRow {
453
457
  [key: string]: any;
454
458
  }
455
459
  export interface IEditor {
456
- toHTML(): any;
460
+ toHTML(text?: string): any;
457
461
  endEdit(withoutSave?: boolean): void;
458
462
  }
459
463
  export declare type ISelectionType = "cell" | "row" | "complex";
@@ -3,14 +3,14 @@ declare type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | Gri
3
3
  declare type touchEvents = GridSystemEvents.cellTouchEnd | GridSystemEvents.cellTouchMove;
4
4
  declare function handleMouse(rowStart: number, colStart: number, conf: IRendererConfig, type: mouseEvents & touchEvents, e: any): void;
5
5
  export declare function getHandlers(row: number, column: number, conf: IRendererConfig): {
6
- onclick: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
7
- onmouseover: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
8
- onmousedown: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
9
- ondblclick: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
10
- oncontextmenu: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
11
- ontouchstart: (number | IRendererConfig | GridEvents | typeof handleMouse)[];
12
- ontouchmove: (number | IRendererConfig | GridSystemEvents | typeof handleMouse)[];
13
- ontouchend: (number | IRendererConfig | GridSystemEvents | typeof handleMouse)[];
6
+ onclick: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
7
+ onmouseover: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
8
+ onmousedown: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
9
+ ondblclick: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
10
+ oncontextmenu: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
11
+ ontouchstart: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
12
+ ontouchmove: (number | GridSystemEvents | IRendererConfig | typeof handleMouse)[];
13
+ ontouchend: (number | GridSystemEvents | IRendererConfig | typeof handleMouse)[];
14
14
  };
15
15
  export declare function getTreeCell(content: any, row: any, col: ICol, conf: IRendererConfig): any;
16
16
  export declare function getCells(conf: IRendererConfig): any[];
@@ -11,6 +11,6 @@ export declare class InputEditor implements IEditor {
11
11
  protected _input: HTMLInputElement;
12
12
  constructor(row: IRow, col: ICol, config: IRendererConfig);
13
13
  endEdit(withoutSave?: boolean): void;
14
- toHTML(): any;
14
+ toHTML(text?: string): any;
15
15
  protected _initHandlers(): void;
16
16
  }
@@ -1,4 +1,6 @@
1
1
  import { IGrid, IRendererConfig, IRow, IProGrid } from "../types";
2
+ export declare const BORDERS = 2;
2
3
  export declare function getRenderConfig(obj: any, data: IRow[], wrapperSizes: any): IRendererConfig;
4
+ export declare function getEvents(config: IRendererConfig, mode?: "leftSplit" | "topSplit"): {};
3
5
  export declare function render(vm: any, obj: IGrid, htmlEvents: any, selection: any, uid: string): any;
4
6
  export declare function proRender(vm: any, obj: IProGrid, htmlEvents: any, selection: any, uid: string): any;
@@ -43,4 +43,5 @@ export declare class Cell extends View implements ICell {
43
43
  protected _isXDirection(): any;
44
44
  protected _calculateStyle(): any;
45
45
  private _resizedWindow;
46
+ private _resetCellsSize;
46
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-chart",
3
- "version": "7.3.12",
3
+ "version": "7.3.14",
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.7.3.12 Standard
4
+ dhtmlxChart v.7.3.14 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,3 +1,9 @@
1
+ Version 7.3.14 (January 17, 2023)
2
+ ----------------------------
3
+
4
+ Version 7.3.13 (December 14, 2022)
5
+ ----------------------------
6
+
1
7
  Version 7.3.12 (November 17, 2022)
2
8
  ----------------------------
3
9