ids-enterprise-typings 19.3.2 → 19.4.0

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.
@@ -40,6 +40,14 @@ type SohoCalendarEventData = (
40
40
  event?: SohoCalendarEvent
41
41
  ) => void;
42
42
 
43
+ interface SohoCalendarDayClickEventData {
44
+ month?: number,
45
+ year?: number,
46
+ day?: Date,
47
+ key?: string,
48
+ view?: string,
49
+ }
50
+
43
51
  interface SohoCalendarEventType {
44
52
  id: string;
45
53
  label: string;
@@ -212,4 +220,5 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
212
220
  on(events: 'eventdblclick', handler: JQuery.EventHandlerBase<any, SohoCalendarEventClickEvent>): this;
213
221
  // tslint:disable-next-line:unified-signatures
214
222
  on(events: 'contextmenu', handler: JQuery.EventHandlerBase<any, SohoCalendarEventClickEvent>): this;
223
+ on(events: 'dayclick', handler: JQuery.EventHandlerBase<any, SohoCalendarDayClickEventData>): this;
215
224
  }
@@ -41,6 +41,9 @@ interface SohoContextualActionPanelOptions {
41
41
  /** Add extra attributes like id's to the component **/
42
42
  attributes?: Array<Object> | Object;
43
43
 
44
+ /** If true, the save button will not be shown. */
45
+ noSaveButton?: boolean;
46
+
44
47
  /** @deprecated settings should use modalSettings */
45
48
  /** @deprecated The buttons to create (use modalSettings) */
46
49
  buttons?: SohoContextualActionPanelButton[];
@@ -6,6 +6,11 @@
6
6
  */
7
7
 
8
8
  interface SohoTabsOptions {
9
+ /**
10
+ * If set to true, will automatically select every tab when added
11
+ */
12
+ activateOnAdd?: boolean;
13
+
9
14
  /**
10
15
  * If set to true, creates a button at the end of the tab list that can be used to add an empty tab and panel
11
16
  */
@@ -93,6 +98,11 @@ interface SohoTabsOptions {
93
98
  */
94
99
  tabCounts?: boolean;
95
100
 
101
+ /**
102
+ * If false, will not focus on anchor after selecting it on tabs more button.
103
+ */
104
+ anchorFocus?: boolean;
105
+
96
106
  /**
97
107
  * If not null, set the initial width of the tabs.
98
108
  */
@@ -259,6 +259,12 @@ interface SohoTreeEvent {
259
259
  data: SohoTreeNode;
260
260
  }
261
261
 
262
+ interface SohoTreeDblClickEvent extends SohoTreeEvent {
263
+ id: string;
264
+ /** Original event */
265
+ originalEvent: MouseEvent;
266
+ }
267
+
262
268
  /**
263
269
  * JQuery Integration
264
270
  */
@@ -272,4 +278,12 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
272
278
 
273
279
  on(events: 'sortstart', handler: JQuery.EventHandlerBase<any, SohoTreeEvent>): this;
274
280
  on(events: 'sortend', handler: JQuery.EventHandlerBase<any, SohoTreeEvent>): this;
281
+ on(events: 'menuselect', handler: JQuery.EventHandlerBase<any, SohoTreeEvent>): this;
282
+ on(events: 'menuopen', handler: JQuery.EventHandlerBase<any, SohoTreeEvent>): this;
283
+ on(events: 'contextmenu', handler: JQuery.EventHandlerBase<any, SohoTreeEvent>): this;
284
+ on(events: 'selected', handler: JQuery.EventHandlerBase<any, SohoTreeEvent>): this;
285
+ on(events: 'unselected', handler: JQuery.EventHandlerBase<any, SohoTreeEvent>): this;
286
+ on(events: 'expanded', handler: JQuery.EventHandlerBase<any, SohoTreeEvent>): this;
287
+ on(events: 'collapsed', handler: JQuery.EventHandlerBase<any, SohoTreeEvent>): this;
288
+ on(events: 'dblclick', handler: JQuery.EventHandlerBase<any, SohoTreeDblClickEvent>): this;
275
289
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "19.3.2",
4
+ "version": "19.4.0",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "peerDependencies": {