@datorama/core 22.12.6 → 22.12.7

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.
@@ -12,8 +12,8 @@ import { CoreEventTypes } from '../../event-logger';
12
12
  import { DatoGridOverlayInput } from '../grid-no-data-overlay/grid-v2-no-data-overlay.types';
13
13
  import { OperatorTypes } from '../../operator-toggler/operator-toggler.types';
14
14
  export declare const defaultEditableColumnRenderer: (params: any) => string;
15
- export declare const editableCellRendererWithSearchHighlight: (params: ICellRendererParams, searchTerm: string) => string;
16
- export declare const searchHighlightCellRenderer: (params: ICellRendererParams, searchTerm: string) => any;
15
+ export declare const editableCellRendererWithSearchHighlight: (params: ICellRendererParams, searchTerm: string, allowHTML: boolean) => string;
16
+ export declare const searchHighlightCellRenderer: (params: ICellRendererParams, searchTerm: string, allowHTML?: boolean) => string;
17
17
  export declare type DatoGridColumnDef = {
18
18
  filtersConfig?: DatoGridFilterConfig;
19
19
  moreMenuActions?: DatoGridMoreMenuActions[];
@@ -94,6 +94,7 @@ export interface DatoGridOptions extends GridOptions {
94
94
  showBottomControls?: boolean;
95
95
  sortByStore?: boolean;
96
96
  usePivotGridStyle?: boolean;
97
+ disabledHTMLRenderingFields?: string[];
97
98
  }
98
99
  export declare type ContextMenuItem = string | MenuItemDef;
99
100
  export interface ActionConverterParams {
@@ -1,6 +1,7 @@
1
1
  import { ColDef, Column } from 'ag-grid-community';
2
2
  import { HashMap } from '../../utils/types';
3
3
  import { PivotColumnData } from './grid.store.types';
4
+ import { DatoGridColumnDef, DatoGridOptions } from '../grid/grid-v2.types';
4
5
  export declare function getColumnsSizes(columns: Column[], original?: boolean): HashMap<number>;
5
6
  /**
6
7
  * Take pivoted value field if pivot column,
@@ -9,3 +10,4 @@ export declare function getColumnsSizes(columns: Column[], original?: boolean):
9
10
  */
10
11
  export declare function getColField(colDef: ColDef): string;
11
12
  export declare function tryParsePivotValue(str: string): PivotColumnData | undefined;
13
+ export declare function isHtmlAllowedForCol(gridOptions: DatoGridOptions, colDef: DatoGridColumnDef): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datorama/core",
3
- "version": "22.12.6",
3
+ "version": "22.12.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "8.2.14",
6
6
  "@angular/core": "8.2.14",