dhx-chart 7.3.11 → 7.3.13

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.
@@ -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
  };
@@ -230,7 +231,7 @@ export interface ISpan {
230
231
  css?: string;
231
232
  tooltip?: boolean;
232
233
  tooltipTemplate?: (spanValue: any, span: ISpan) => string;
233
- $markCss: string;
234
+ $markCss?: string;
234
235
  }
235
236
  declare type MarkFunction = (cell: any, columnCells: any[], row: IRow, column: ICol) => string;
236
237
  export interface IMark {
@@ -396,12 +397,19 @@ export interface ISystemEventHandlersMap {
396
397
  export interface ICellContent {
397
398
  element?: any;
398
399
  toHtml: (column: ICol, config: IRendererConfig) => any;
399
- match?: (obj: any, value: any, item?: any, multi?: boolean) => boolean;
400
+ match?: (obj: IMatch) => boolean;
400
401
  destroy?: () => void;
401
402
  calculate?: (col: any[], roots: any[]) => string | number;
402
403
  validate?: (colId: Id, data: any[]) => any[];
403
404
  value?: any;
404
405
  }
406
+ interface IMatch {
407
+ val: any;
408
+ match: any;
409
+ obj?: any;
410
+ multi?: boolean;
411
+ col?: ICol;
412
+ }
405
413
  export interface IContentList {
406
414
  [key: string]: ICellContent;
407
415
  }
@@ -438,6 +446,7 @@ export interface ISizes {
438
446
  export interface ICell {
439
447
  row: IRow;
440
448
  column: ICol;
449
+ $preventedUnselect?: boolean;
441
450
  }
442
451
  export interface IRow {
443
452
  id?: Id;
@@ -446,7 +455,7 @@ export interface IRow {
446
455
  [key: string]: any;
447
456
  }
448
457
  export interface IEditor {
449
- toHTML(): any;
458
+ toHTML(text?: string): any;
450
459
  endEdit(withoutSave?: boolean): void;
451
460
  }
452
461
  export declare type ISelectionType = "cell" | "row" | "complex";
@@ -26,6 +26,6 @@ export declare function normalizeSpan(span: ISpan, renderConfig: IGridConfig): {
26
26
  css?: string;
27
27
  tooltip?: boolean;
28
28
  tooltipTemplate?: (spanValue: any, span: ISpan) => string;
29
- $markCss: string;
29
+ $markCss?: string;
30
30
  };
31
31
  export {};
@@ -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
  }
@@ -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.11",
3
+ "version": "7.3.13",
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.11 Standard
4
+ dhtmlxChart v.7.3.13 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.13 (December 14, 2022)
2
+ ----------------------------
3
+
4
+ Version 7.3.12 (November 17, 2022)
5
+ ----------------------------
6
+
1
7
  Version 7.3.11 (November 3, 2022)
2
8
  ----------------------------
3
9