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 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
 
@@ -137,6 +137,7 @@ interface SohoCalendarOptions {
137
137
  dayLegend?: Array<SohoDatePickerLegend>;
138
138
  attributes?: Array<Object> | Object;
139
139
  displayRange?: Object;
140
+ firstDayOfWeek?: number;
140
141
  }
141
142
 
142
143
  interface SohoCalendar {
@@ -1568,3 +1568,8 @@ interface SohoDataGridKeyDownEvent {
1568
1568
  args: SohoDataGridKeyDownArgs;
1569
1569
  response: Function;
1570
1570
  }
1571
+
1572
+ interface SohoDataGridScrollEvent {
1573
+ percent: number;
1574
+ percentScrolled: number;
1575
+ }
@@ -37,6 +37,9 @@ interface SohoMessageOptions {
37
37
  /** Set allowed tags */
38
38
  allowedTags?: string;
39
39
 
40
+ /* Show close icon button on the top right of the message. */
41
+ showCloseBtn?: boolean;
42
+
40
43
  /** The buttons to create. */
41
44
  buttons?: SohoModalButton[];
42
45
 
@@ -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
  /**
@@ -13,6 +13,9 @@ type SohoNotificationType = 'error' | 'alert' | 'info' | 'success';
13
13
  * Notification Options
14
14
  */
15
15
  interface SohoNotificationOptions {
16
+ /** ID of notification */
17
+ id?: string;
18
+
16
19
  /** The title string in the notification. */
17
20
  message: string;
18
21
 
@@ -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
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "10.9.0",
4
+ "version": "10.10.2",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {