ids-enterprise-typings 13.3.1 → 13.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.
package/index.d.ts
CHANGED
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
/// <reference path='lib/input-validate/soho-input-validate.d.ts' />
|
|
47
47
|
/// <reference path='lib/line/soho-line.d.ts' />
|
|
48
48
|
/// <reference path='lib/listview/soho-listview.d.ts' />
|
|
49
|
+
/// <reference path='lib/listbuilder/soho-listbuilder.d.ts' />
|
|
49
50
|
/// <reference path='lib/locale/soho-locale.d.ts' />
|
|
50
51
|
/// <reference path='lib/lookup/soho-lookup.d.ts' />
|
|
51
52
|
/// <reference path='lib/mask/soho-mask.d.ts' />
|
package/lib/card/soho-card.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Soho Card.
|
|
3
|
-
*
|
|
3
|
+
*
|
|
4
4
|
* This file contains the TypeScript mappings for the public
|
|
5
5
|
* interface of the Soho Card control.
|
|
6
6
|
*/
|
|
@@ -56,6 +56,11 @@ interface SohoCardStatic {
|
|
|
56
56
|
*/
|
|
57
57
|
close(): void;
|
|
58
58
|
|
|
59
|
+
/**
|
|
60
|
+
* destroy the card.
|
|
61
|
+
*/
|
|
62
|
+
destroy(): void;
|
|
63
|
+
|
|
59
64
|
/** Updates tha card with any new settings. */
|
|
60
65
|
updated(settings?: SohoCardOptions): void;
|
|
61
66
|
}
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
type SohoDataGridRowHeight = 'extra-small' | 'small' | 'medium' | 'large' | 'short' | 'medium' | 'normal';
|
|
12
12
|
type SohoDataGridTextAlign = 'left' | 'center' | 'right';
|
|
13
13
|
type SohoDataGridResizeMode = 'flex' | 'fit';
|
|
14
|
+
type SohoFallbackTooltipOptions = {
|
|
15
|
+
content: string;
|
|
16
|
+
delay: number;
|
|
17
|
+
}
|
|
14
18
|
|
|
15
19
|
/**
|
|
16
20
|
* Selection options.
|
|
@@ -376,6 +380,9 @@ interface SohoDataGridOptions {
|
|
|
376
380
|
|
|
377
381
|
/* Icon name for fallbacks if the image does not load */
|
|
378
382
|
fallbackImage?: string;
|
|
383
|
+
|
|
384
|
+
/* Tooltip to show if it the fallback appears */
|
|
385
|
+
fallbackTooltip?: SohoFallbackTooltipOptions;
|
|
379
386
|
}
|
|
380
387
|
|
|
381
388
|
interface SohoDataGridModifiedRows {
|
|
@@ -187,7 +187,7 @@ interface SohoDatePickerStatic {
|
|
|
187
187
|
getCurrentDate(): Date;
|
|
188
188
|
|
|
189
189
|
// Sets the value of the date picker.
|
|
190
|
-
setValue(value: Date | string | string[] | number, trigger?: boolean): void;
|
|
190
|
+
setValue(value: Date | string | string[] | number, trigger?: boolean, isTime?: boolean): void;
|
|
191
191
|
|
|
192
192
|
readonly(): void;
|
|
193
193
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
interface SohoListBuilderOptions {
|
|
2
|
+
/** Data to display. */
|
|
3
|
+
dataset?: Object[];
|
|
4
|
+
|
|
5
|
+
/** The CSS Class of the handle element */
|
|
6
|
+
handle?: string;
|
|
7
|
+
|
|
8
|
+
/** "Add" action button (takes a string representing a "data-action" attribute */
|
|
9
|
+
btnAdd?: string;
|
|
10
|
+
|
|
11
|
+
/** "Edit" action button (takes a string representing a "data-action" attribute */
|
|
12
|
+
btnEdit?: string;
|
|
13
|
+
|
|
14
|
+
/** "Delete" action button (takes a string representing a "data-action" attribute */
|
|
15
|
+
btnDelete?: string;
|
|
16
|
+
|
|
17
|
+
/** "GoUp" action button (takes a string representing a "data-action" attribute */
|
|
18
|
+
btnGoUp?: string;
|
|
19
|
+
|
|
20
|
+
/** "GoDown" action button (takes a string representing a "data-action" attribute */
|
|
21
|
+
btnGoDown?: string;
|
|
22
|
+
|
|
23
|
+
/** Add extra attributes like id's to the component **/
|
|
24
|
+
attributes?: Array<Object> | Object;
|
|
25
|
+
|
|
26
|
+
/** Html Template String of list. */
|
|
27
|
+
template?: string;
|
|
28
|
+
|
|
29
|
+
/** Html Template String of list item. */
|
|
30
|
+
templateNewItem?: string;
|
|
31
|
+
|
|
32
|
+
/** Html Template String of list item inner content. */
|
|
33
|
+
templateItemContent?: string
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
interface SohoListBuilderStatic {
|
|
37
|
+
settings: SohoListBuilderOptions;
|
|
38
|
+
|
|
39
|
+
/** Updates the busy indicator with any new settings. */
|
|
40
|
+
updated(options?: SohoListViewOptions): void;
|
|
41
|
+
|
|
42
|
+
/** Destroy the component on completion. */
|
|
43
|
+
destroy(): void;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* JQuery Integration
|
|
48
|
+
*/
|
|
49
|
+
interface JQueryStatic {
|
|
50
|
+
listbuilder: SohoListBuilderStatic;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
54
|
+
listbuilder(options?: SohoListBuilderOptions): JQuery;
|
|
55
|
+
}
|