ids-enterprise-typings 18.2.4 → 18.3.1

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.
@@ -110,6 +110,8 @@ interface SohoCalendarWeekOptions {
110
110
  showTimeLine?: boolean;
111
111
  }
112
112
 
113
+ type SortEvent = (a: SohoCalendarEvent, b: SohoCalendarEvent) => number;
114
+
113
115
  interface SohoCalendarOptions {
114
116
  eventTypes?: SohoCalendarEventType[];
115
117
  events?: SohoCalendarEvent[];
@@ -139,6 +141,7 @@ interface SohoCalendarOptions {
139
141
  attributes?: Array<Object> | Object;
140
142
  displayRange?: Object;
141
143
  firstDayOfWeek?: number;
144
+ customSort?: SortEvent;
142
145
  }
143
146
 
144
147
  interface SohoCalendar {
@@ -1031,6 +1031,9 @@ interface SohoDataGridColumn {
1031
1031
  /** If false the column will be disabled in personalization dialog */
1032
1032
  hideable?: boolean;
1033
1033
 
1034
+ /** Set inline editor */
1035
+ inlineEditor?: boolean;
1036
+
1034
1037
  /** call back to handle custom tooltips for the column header */
1035
1038
  tooltip?: (row: number, cell: number, value: any, col: SohoDataGridColumn, rowData: Object, api: SohoDataGridStatic) => string;
1036
1039
 
@@ -1226,7 +1229,11 @@ interface SohoDataGridStatic {
1226
1229
  */
1227
1230
  toggleRowSelection(idx: number): void;
1228
1231
 
1229
- setActiveCell(idx: number, idx2: number): void;
1232
+ /** Set active cell. nodeFocus to true to force focus on cell, default is false */
1233
+ setActiveCell(row: number, cell: number, nodeFocus?: boolean): void;
1234
+
1235
+ /** Scroll into row */
1236
+ scrollRowIntoView(row: number): void;
1230
1237
 
1231
1238
  /* Gets info about the currently activated cell */
1232
1239
  activeCell: any;
@@ -1406,6 +1413,11 @@ interface SohoDataGridRowActivated {
1406
1413
  item: any;
1407
1414
  }
1408
1415
 
1416
+ interface SohoDataGridColumnChange {
1417
+ row: number;
1418
+ item: any;
1419
+ }
1420
+
1409
1421
  interface SohoDataGridSelectedRow {
1410
1422
  idx: number;
1411
1423
  data: any;
@@ -1572,6 +1584,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
1572
1584
  on(events: 'afterpaging', handler: JQuery.EventHandlerBase<any, SohoPagerPagingInfo>): this;
1573
1585
  on(events: 'expandrow', handler: JQuery.EventHandlerBase<any, SohoDataGridRowExpandEvent>): this;
1574
1586
  on(events: 'rowactivated | beforerowactivated', handler: JQuery.EventHandlerBase<any, SohoDataGridRowActivatedEvent>): this;
1587
+ on(events: 'columnchange', handler: JQuery.EventHandlerBase<any, SohoDataGridColumnChangedEvent>): this;
1575
1588
  on(events: 'rowdeactivated', handler: JQuery.EventHandlerBase<any, SohoDataGridRowDeactivatedEvent>): this;
1576
1589
  on(events: 'selected', handler: JQuery.EventHandlerBase<any, SohoDataGridSelectedRow[]>): this;
1577
1590
  on(events: 'filteroperatorchanged', handler: JQuery.EventHandlerBase<any, SohoDataGridFilterOperatorChangedEvent>): this;
@@ -1598,6 +1611,11 @@ interface SohoDataGridRowActivatedEvent {
1598
1611
  item: any;
1599
1612
  }
1600
1613
 
1614
+ interface SohoDataGridColumnChangedEvent {
1615
+ row: number;
1616
+ item: any;
1617
+ }
1618
+
1601
1619
  interface SohoDataGridRowDeactivatedEvent extends SohoDataGridRowActivatedEvent { }
1602
1620
 
1603
1621
  interface SohoDataGridRenderedEvent {
@@ -31,6 +31,9 @@ interface SohoNotificationOptions {
31
31
  /** The text to show in the hyperlink. Leave empty for no link. */
32
32
  linkText?: string;
33
33
 
34
+ /* The closeCallback function to call when the notification is closed. */
35
+ closeCallback?: Function;
36
+
34
37
  /** Add extra attributes like id's to the component **/
35
38
  attributes?: Array<Object> | Object;
36
39
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "18.2.4",
4
+ "version": "18.3.1",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {