ids-enterprise-typings 17.6.2 → 17.7.0-dev.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/lib/dropdown/soho-dropdown.d.ts +8 -0
- package/lib/field-filter/soho-field-filter.d.ts +11 -11
- package/lib/homepage/soho-homepage.d.ts +14 -0
- package/lib/lookup/soho-lookup.d.ts +3 -0
- package/lib/modal-dialog/soho-modal-dialog.d.ts +9 -0
- package/lib/monthview/soho-monthview.d.ts +3 -0
- package/package.json +1 -1
|
@@ -117,6 +117,9 @@ interface SohoDropDownOptions {
|
|
|
117
117
|
*/
|
|
118
118
|
empty?: boolean;
|
|
119
119
|
|
|
120
|
+
/** If true, the lookup wrapper will add `no-margin` class. */
|
|
121
|
+
noMarginWrapper?: boolean;
|
|
122
|
+
|
|
120
123
|
/**
|
|
121
124
|
* Typing Buffer Delay
|
|
122
125
|
*/
|
|
@@ -265,6 +268,11 @@ interface SohoDropDownStatic {
|
|
|
265
268
|
* Set the selected option with icon.
|
|
266
269
|
*/
|
|
267
270
|
setListIcon(): void;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Focus the input element. Since the select is hidden this is needed over normal focus()
|
|
274
|
+
*/
|
|
275
|
+
activate(): void;
|
|
268
276
|
}
|
|
269
277
|
|
|
270
278
|
/**
|
|
@@ -46,22 +46,22 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
|
46
46
|
|
|
47
47
|
type SohoFieldFilterOperator =
|
|
48
48
|
'end-with' | 'does-not-end-with' |
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
49
|
+
'start-with' | 'does-not-start-with' |
|
|
50
|
+
'equals' | 'does-not-equal' |
|
|
51
|
+
'contains' | 'does-not-contain' |
|
|
52
|
+
'calendar' | 'in-range' |
|
|
53
|
+
'is-empty' | 'is-not-empty' |
|
|
54
|
+
'less-equals' | 'less-than' |
|
|
55
|
+
'greater-equals' | 'greater-than' |
|
|
56
|
+
'between' | 'selected-notselected' |
|
|
57
|
+
'selected' | 'not-selected' |
|
|
58
|
+
'sort-a-to-z' | 'sort-z-to-a';
|
|
59
59
|
|
|
60
60
|
interface SohoFieldFilterOption {
|
|
61
61
|
value: SohoFieldFilterOperator;
|
|
62
62
|
text: string;
|
|
63
63
|
icon: string;
|
|
64
|
-
selected
|
|
64
|
+
selected?: boolean;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
interface SohoFieldFilteredEvent extends JQuery.TriggeredEvent {
|
|
@@ -28,6 +28,9 @@ interface SohoHomePageOptions {
|
|
|
28
28
|
widgetHeight?: number;
|
|
29
29
|
useSmall?: boolean;
|
|
30
30
|
timeout?: number;
|
|
31
|
+
background?: {
|
|
32
|
+
banner?: SohoHomePageBannerOptions;
|
|
33
|
+
}
|
|
31
34
|
onBeforeRemoveCard?: SohoHomePageBeforeRemoveCardFunction;
|
|
32
35
|
}
|
|
33
36
|
|
|
@@ -101,4 +104,15 @@ interface SohoHomePageWidgetEditEvent {
|
|
|
101
104
|
metadata?: object;
|
|
102
105
|
}
|
|
103
106
|
|
|
107
|
+
/**
|
|
108
|
+
* Soho Homepage background settings
|
|
109
|
+
*/
|
|
110
|
+
interface SohoHomePageBannerOptions {
|
|
111
|
+
image?: string;
|
|
112
|
+
icon?: {
|
|
113
|
+
image?: string;
|
|
114
|
+
width?: number;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
104
118
|
type SohoHomePageBeforeRemoveCardFunction = null | Function;
|
|
@@ -30,6 +30,9 @@ interface SohoLookupOptions {
|
|
|
30
30
|
/** Pass dialog buttons or Cancel / Apply. */
|
|
31
31
|
buttons?: SohoModalButton[];
|
|
32
32
|
|
|
33
|
+
/** If true, the lookup wrapper will add `no-margin` class. */
|
|
34
|
+
noMarginWrapper?: boolean;
|
|
35
|
+
|
|
33
36
|
/** Options to pass to the underlying data grid. */
|
|
34
37
|
options?: SohoDataGridOptions;
|
|
35
38
|
|
|
@@ -80,6 +80,9 @@ interface SohoModalOptions {
|
|
|
80
80
|
// The maximum width to show for the modal, regardless of content.
|
|
81
81
|
maxWidth?: number;
|
|
82
82
|
|
|
83
|
+
// Optional width to set the text of the buttonset.
|
|
84
|
+
buttonsetTextWidth?: number | string;
|
|
85
|
+
|
|
83
86
|
// Force the modal to go full size.
|
|
84
87
|
fullsize?: SohoModalFullSize;
|
|
85
88
|
|
|
@@ -104,6 +107,12 @@ interface SohoModalOptions {
|
|
|
104
107
|
/** If true, causes the modal's trigger element not to become focused once the modal is closed. **/
|
|
105
108
|
noRefocus?: boolean;
|
|
106
109
|
|
|
110
|
+
/** If true, add classes for modal body for propagate style. **/
|
|
111
|
+
propagateStyle?: boolean;
|
|
112
|
+
|
|
113
|
+
/** If true, add classes for modal body for compact panel. **/
|
|
114
|
+
compactPanel?: boolean;
|
|
115
|
+
|
|
107
116
|
/** The modal's trigger element to keep refocused once the modal is closed. **/
|
|
108
117
|
triggerButton?: any;
|
|
109
118
|
|
|
@@ -66,6 +66,9 @@ interface SohoMonthViewRenderEvent {
|
|
|
66
66
|
interface SohoMonthView {
|
|
67
67
|
settings: SohoMonthViewOptions;
|
|
68
68
|
|
|
69
|
+
/** Updates the monthview with any new settings and data. */
|
|
70
|
+
updated(settings?: SohoMonthViewOptions): void;
|
|
71
|
+
|
|
69
72
|
/** Set range selection */
|
|
70
73
|
setRangeSelection(): void;
|
|
71
74
|
|