ids-enterprise-typings 19.3.2 → 19.4.1
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[];
|
package/lib/tabs/soho-tabs.d.ts
CHANGED
|
@@ -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
|
*/
|
package/lib/tree/soho-tree.d.ts
CHANGED
|
@@ -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
|
}
|