ids-enterprise-typings 10.9.0 → 10.10.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 +1 -0
- package/lib/application-menu/soho-application-menu.d.ts +6 -0
- package/lib/calendar/soho-calendar.d.ts +1 -0
- package/lib/datagrid/soho-datagrid.d.ts +5 -0
- package/lib/message/soho-message.d.ts +3 -0
- package/lib/modal-dialog/soho-modal-dialog.d.ts +14 -0
- package/lib/notification/soho-notification.d.ts +3 -0
- package/lib/swipe-action/soho-swipe-action.d.ts +28 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
/// <reference path='lib/stepchart/soho-stepchart.d.ts' />
|
|
72
72
|
/// <reference path='lib/stepprocess/soho-stepprocess.d.ts' />
|
|
73
73
|
/// <reference path='lib/swaplist/soho-swaplist.d.ts' />
|
|
74
|
+
/// <reference path='lib/swipe-action/soho-swipe-action.d.ts' />
|
|
74
75
|
/// <reference path='lib/tabs/soho-tabs.d.ts' />
|
|
75
76
|
/// <reference path='lib/tag/soho-tag.d.ts' />
|
|
76
77
|
/// <reference path='lib/textarea/soho-textarea.d.ts' />
|
|
@@ -36,6 +36,12 @@ interface SohoApplicationMenuOptions {
|
|
|
36
36
|
/** Is this application menu filterable. */
|
|
37
37
|
filterable?: boolean;
|
|
38
38
|
|
|
39
|
+
/** Is this application menu resizable. */
|
|
40
|
+
resizable?: boolean;
|
|
41
|
+
|
|
42
|
+
/** Is this application menu resizable. */
|
|
43
|
+
savePosition?: boolean;
|
|
44
|
+
|
|
39
45
|
/** Open the menu when the screen width is larger that the breakpoint. */
|
|
40
46
|
openOnLarge: boolean | undefined;
|
|
41
47
|
|
|
@@ -63,6 +63,8 @@ interface SohoModalOptions {
|
|
|
63
63
|
/** If true the an x will be shown on the modal**/
|
|
64
64
|
showCloseBtn?: boolean;
|
|
65
65
|
|
|
66
|
+
closeBtnOptions?: CloseBtnOptions;
|
|
67
|
+
|
|
66
68
|
// The maximum width to show for the modal, regardless of content.
|
|
67
69
|
maxWidth?: number;
|
|
68
70
|
|
|
@@ -129,6 +131,18 @@ interface SohoModalButton {
|
|
|
129
131
|
|
|
130
132
|
/** Align the button (CAP Centered Tooltip) **/
|
|
131
133
|
align?: 'left' | 'center' | 'right';
|
|
134
|
+
|
|
135
|
+
tabindex?: number;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
interface CloseBtnOptions {
|
|
139
|
+
/** Tooltip message */
|
|
140
|
+
closeBtnTooltip?: string;
|
|
141
|
+
|
|
142
|
+
/** Add extra attributes for the close button
|
|
143
|
+
* [{ name: 'tabIndex', value: '-1' }]
|
|
144
|
+
*/
|
|
145
|
+
attributes?: Array<Object>;
|
|
132
146
|
}
|
|
133
147
|
|
|
134
148
|
/**
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Soho Swap Action Control.
|
|
3
|
+
*
|
|
4
|
+
* This file contains the Typescript mappings for the public
|
|
5
|
+
* interface of the Soho jQuery swipe action control.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
type SohoSwipeType = 'continuous' | 'reveal' | undefined;
|
|
9
|
+
|
|
10
|
+
interface SohoSwipeActionOptions {
|
|
11
|
+
swipeType?: SohoSwipeType;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface SohoSwipeActionStatic {
|
|
15
|
+
settings: SohoSwipeActionOptions;
|
|
16
|
+
|
|
17
|
+
updated(settings?: SohoSwipeActionOptions): void;
|
|
18
|
+
|
|
19
|
+
destroy(): void;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface JQueryStatic {
|
|
23
|
+
swipeaction: SohoSwipeActionStatic;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
27
|
+
swipeaction(options?: SohoSwipeActionOptions): JQuery;
|
|
28
|
+
}
|