ids-enterprise-typings 10.11.3 → 10.12.2
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.
|
@@ -9,6 +9,14 @@ type SohoButtonOptionsStyle = 'default' | 'btn' | 'btn-primary' | 'btn-secondary
|
|
|
9
9
|
type SohoButtonOptionsType = 'default' | 'btn-icon' | 'btn-menu' | 'btn-actions' | 'btn-toggle' |
|
|
10
10
|
'icon-favorite' | 'btn-editor' | 'input' | null | undefined;
|
|
11
11
|
|
|
12
|
+
interface SohoBadgeOptions {
|
|
13
|
+
/** The placement of notification badge. */
|
|
14
|
+
position?: SohoNotificationBadgePosition;
|
|
15
|
+
|
|
16
|
+
/** The color of the notification badge. */
|
|
17
|
+
color?: SohoNotificationBadgeColor;
|
|
18
|
+
}
|
|
19
|
+
|
|
12
20
|
/**
|
|
13
21
|
* Button Options
|
|
14
22
|
*/
|
|
@@ -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;
|
|
@@ -1489,6 +1497,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
|
1489
1497
|
on(events: 'rowactivated | beforerowactivated', handler: JQuery.EventHandlerBase<any, SohoDataGridRowActivatedEvent>): this;
|
|
1490
1498
|
on(events: 'rowdeactivated', handler: JQuery.EventHandlerBase<any, SohoDataGridRowDeactivatedEvent>): this;
|
|
1491
1499
|
on(events: 'selected', handler: JQuery.EventHandlerBase<any, SohoDataGridSelectedRow[]>): this;
|
|
1500
|
+
on(events: 'filteroperatorchanged', handler: JQuery.EventHandlerBase<any, SohoDataGridFilterOperatorChangedEvent>): this;
|
|
1492
1501
|
}
|
|
1493
1502
|
|
|
1494
1503
|
interface SohoDataGridRowExpandEvent {
|
|
@@ -1573,3 +1582,10 @@ interface SohoDataGridScrollEvent {
|
|
|
1573
1582
|
percent: number;
|
|
1574
1583
|
percentScrolled: number;
|
|
1575
1584
|
}
|
|
1585
|
+
|
|
1586
|
+
interface SohoDataGridFilterOperatorChangedEvent {
|
|
1587
|
+
operator: string;
|
|
1588
|
+
defaultOperator: string;
|
|
1589
|
+
value?: string;
|
|
1590
|
+
columnId: string;
|
|
1591
|
+
}
|
|
@@ -24,9 +24,6 @@ interface SohoNotificationBadgeOptions {
|
|
|
24
24
|
/** The color of the notification badge. */
|
|
25
25
|
color?: SohoNotificationBadgeColor;
|
|
26
26
|
|
|
27
|
-
/** The icon to display. */
|
|
28
|
-
icon?: string;
|
|
29
|
-
|
|
30
27
|
/** Add extra attributes like id's to the component */
|
|
31
28
|
attributes?: Array<Object> | Object;
|
|
32
29
|
}
|