ids-enterprise-typings 11.3.0-beta.0 → 13.0.0

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.
@@ -27,6 +27,14 @@ interface SohoDataGridFrozenColumns {
27
27
  right?: any[];
28
28
  }
29
29
 
30
+ type SohoDataGridColumnMaskOptionsFunction = (
31
+ row: number,
32
+ cell: number,
33
+ fieldValue: any,
34
+ columnDef: SohoDataGridColumn,
35
+ rowData: Object
36
+ ) => SohoMaskOptions;
37
+
30
38
  /**
31
39
  * Settings for the Soho datagrid control.
32
40
  */
@@ -897,10 +905,10 @@ interface SohoDataGridColumn {
897
905
  filterMask?: string;
898
906
 
899
907
  /** The newer style object pattern mask for the column */
900
- maskOptions?: SohoMaskOptions;
908
+ maskOptions?: SohoMaskOptions | SohoDataGridColumnMaskOptionsFunction;
901
909
 
902
910
  /** The newer style object pattern mask for the column filter row only*/
903
- filterMaskOptions?: SohoMaskOptions;
911
+ filterMaskOptions?: SohoMaskOptions | SohoDataGridColumnMaskOptionsFunction;
904
912
 
905
913
  /** Call the grids `onPostRenderCell` function for cells in this column after they are rendered. */
906
914
  postRender?: boolean;
@@ -1487,6 +1495,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
1487
1495
  on(events: 'rowactivated | beforerowactivated', handler: JQuery.EventHandlerBase<any, SohoDataGridRowActivatedEvent>): this;
1488
1496
  on(events: 'rowdeactivated', handler: JQuery.EventHandlerBase<any, SohoDataGridRowDeactivatedEvent>): this;
1489
1497
  on(events: 'selected', handler: JQuery.EventHandlerBase<any, SohoDataGridSelectedRow[]>): this;
1498
+ on(events: 'filteroperatorchanged', handler: JQuery.EventHandlerBase<any, SohoDataGridFilterOperatorChangedEvent>): this;
1490
1499
  }
1491
1500
 
1492
1501
  interface SohoDataGridRowExpandEvent {
@@ -1571,3 +1580,10 @@ interface SohoDataGridScrollEvent {
1571
1580
  percent: number;
1572
1581
  percentScrolled: number;
1573
1582
  }
1583
+
1584
+ interface SohoDataGridFilterOperatorChangedEvent {
1585
+ operator: string;
1586
+ defaultOperator: string;
1587
+ value?: string;
1588
+ columnId: string;
1589
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "11.3.0-beta.0",
4
+ "version": "13.0.0",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {