ids-enterprise-typings 21.1.0-dev.0 → 21.1.0-dev.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.
package/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
/// <reference path='lib/tabs/soho-tabs.d.ts' />
|
|
80
80
|
/// <reference path='lib/tag/soho-tag.d.ts' />
|
|
81
81
|
/// <reference path='lib/textarea/soho-textarea.d.ts' />
|
|
82
|
+
/// <reference path='lib/timeline/soho-timeline.d.ts' />
|
|
82
83
|
/// <reference path='lib/timepicker/soho-timepicker.d.ts' />
|
|
83
84
|
/// <reference path='lib/toast/soho-toast.d.ts' />
|
|
84
85
|
/// <reference path='lib/toolbar/soho-toolbar.d.ts' />
|
|
@@ -399,6 +399,9 @@ interface SohoDataGridOptions {
|
|
|
399
399
|
|
|
400
400
|
/** If true, shows an icon next to ellipsis text to indicate more content. */
|
|
401
401
|
ellipsisWithIcon?: boolean;
|
|
402
|
+
|
|
403
|
+
/** Aria label for the datagrid table element. */
|
|
404
|
+
ariaLabel?: string;
|
|
402
405
|
}
|
|
403
406
|
|
|
404
407
|
interface SohoDataGridModifiedRows {
|
|
@@ -1059,6 +1062,9 @@ interface SohoDataGridColumn {
|
|
|
1059
1062
|
/** Disable tooltip for this column */
|
|
1060
1063
|
disableTooltip?: boolean;
|
|
1061
1064
|
|
|
1065
|
+
/** If true, disables the automatic `<p class="datagrid-text-content">` wrapper for cell content. */
|
|
1066
|
+
disableCellWrapper?: boolean;
|
|
1067
|
+
|
|
1062
1068
|
/** Placeholder text to display in the field **/
|
|
1063
1069
|
placeholder?: string | Function;
|
|
1064
1070
|
|
|
@@ -1082,7 +1088,6 @@ interface SohoDataGridColumn {
|
|
|
1082
1088
|
|
|
1083
1089
|
/* summary text placement */
|
|
1084
1090
|
summaryTextPlacement?: string;
|
|
1085
|
-
|
|
1086
1091
|
}
|
|
1087
1092
|
|
|
1088
1093
|
interface SohoDataGridColumnNumberFormat {
|
|
@@ -1473,6 +1478,14 @@ interface SohoDataGridSelectedEvent {
|
|
|
1473
1478
|
rowData?: SohoDataGridSelectedRow[] | SohoDataGridSelectedRow;
|
|
1474
1479
|
}
|
|
1475
1480
|
|
|
1481
|
+
type SohoDataGridDeselectedEventType = 'deselectall' | 'deselect' | undefined;
|
|
1482
|
+
|
|
1483
|
+
interface SohoDataGridDeselectedEvent {
|
|
1484
|
+
e: JQuery.TriggeredEvent;
|
|
1485
|
+
deselectedRows: SohoDataGridSelectedRow[];
|
|
1486
|
+
action: SohoDataGridDeselectedEventType;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1476
1489
|
interface SohoDataGridCellChangeEvent {
|
|
1477
1490
|
api?: any;
|
|
1478
1491
|
rowData?: any;
|
|
@@ -44,7 +44,10 @@ interface SohoMessageOptions {
|
|
|
44
44
|
buttons?: SohoModalButton[];
|
|
45
45
|
|
|
46
46
|
/** Element to focus on return. */
|
|
47
|
-
returnFocus?: JQuery;
|
|
47
|
+
returnFocus?: JQuery | string;
|
|
48
|
+
|
|
49
|
+
/** Skip modal's trigger element to be focused once modal is closed. */
|
|
50
|
+
noRefocus?: boolean
|
|
48
51
|
|
|
49
52
|
/** Adds the ability to control the opacity of the background overlay. **/
|
|
50
53
|
overlayOpacity?: number;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Soho Timeline.
|
|
3
|
+
*
|
|
4
|
+
* This file contains the Typescript mappings for the public
|
|
5
|
+
* interface of the Soho jQuery Timeline control.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Timeline Options
|
|
10
|
+
*/
|
|
11
|
+
interface SohoTimelineOptions {
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Timeline Api.
|
|
16
|
+
*/
|
|
17
|
+
interface SohoTimelineStatic {
|
|
18
|
+
/** The settings option */
|
|
19
|
+
settings: SohoTimelineOptions;
|
|
20
|
+
|
|
21
|
+
/** Updates the timeline with any new settings */
|
|
22
|
+
updated(settings?: SohoTimelineOptions): void;
|
|
23
|
+
|
|
24
|
+
/** Destroys the control on completion. */
|
|
25
|
+
destroy(): void;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
29
|
+
timeline(options?: SohoTimelineOptions): JQuery;
|
|
30
|
+
}
|