ids-enterprise-typings 15.2.1 → 16.2.0-beta.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/lib/card/soho-card.d.ts
CHANGED
|
@@ -37,6 +37,24 @@ interface SohoCardOptions {
|
|
|
37
37
|
|
|
38
38
|
/** Add extra attributes like id's to the component */
|
|
39
39
|
attributes?: Array<Object> | Object;
|
|
40
|
+
|
|
41
|
+
/** Ability to add bordered or boreder-less styles to the card element. */
|
|
42
|
+
bordered?: boolean | null | string;
|
|
43
|
+
|
|
44
|
+
/** Determine wheter the card header should be displayed or not. */
|
|
45
|
+
noHeader?: boolean;
|
|
46
|
+
|
|
47
|
+
/** The padding left and right of the content of the card element. It will generate the css utlity classes for paddings. */
|
|
48
|
+
contentPaddingX?: number | null;
|
|
49
|
+
|
|
50
|
+
/** The padding top and bottom of the content of the card element. It will generate the css utlity classes for paddings. */
|
|
51
|
+
contentPaddingY?: number | null;
|
|
52
|
+
|
|
53
|
+
/** Ability to remove the shadow of the card element. */
|
|
54
|
+
noShadow?: boolean;
|
|
55
|
+
|
|
56
|
+
/** The id of the detail element that will be used to display the detail content. */
|
|
57
|
+
detailRefId?: string;
|
|
40
58
|
}
|
|
41
59
|
|
|
42
60
|
/**
|
|
@@ -1282,13 +1282,18 @@ interface SohoDataGridStatic {
|
|
|
1282
1282
|
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Sets the status of a given row in the grid.
|
|
1285
|
-
*
|
|
1286
1285
|
* @param idx - the row number (idx) of the row
|
|
1287
1286
|
* @param status - status class name e.g. 'error'
|
|
1288
1287
|
* @param tooltip - string value for tooltip message e.g. 'Error'
|
|
1289
1288
|
*/
|
|
1290
1289
|
rowStatus(idx: number, status: string, tooltip: string): void;
|
|
1291
1290
|
|
|
1291
|
+
/**
|
|
1292
|
+
* Search a term across all columns and highlight it
|
|
1293
|
+
* @param term - the search term
|
|
1294
|
+
*/
|
|
1295
|
+
keywordSearch(term: string): void;
|
|
1296
|
+
|
|
1292
1297
|
/**
|
|
1293
1298
|
* Return an array containing all of the currently modified rows, the type of modification
|
|
1294
1299
|
* and the cells that are dirty and the data.
|
|
@@ -34,6 +34,13 @@ interface SohoWeekViewEventType {
|
|
|
34
34
|
translationKey: string;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
interface SohoWeekViewDayMap {
|
|
38
|
+
key?: string;
|
|
39
|
+
elem?: HTMLElement;
|
|
40
|
+
footer?: HTMLElement;
|
|
41
|
+
events?: SohoWeekViewEvent[];
|
|
42
|
+
}
|
|
43
|
+
|
|
37
44
|
interface SohoWeekViewEvent {
|
|
38
45
|
id?: string;
|
|
39
46
|
title?: string;
|
|
@@ -92,6 +99,10 @@ interface SohoWeekViewOptions {
|
|
|
92
99
|
filteredTypes?: [];
|
|
93
100
|
events?: SohoWeekViewEvent[];
|
|
94
101
|
locale?: string;
|
|
102
|
+
stacked?: boolean;
|
|
103
|
+
showFooter?: boolean;
|
|
104
|
+
responsive?: boolean;
|
|
105
|
+
hideToolbar?: boolean;
|
|
95
106
|
showAllDay?: boolean;
|
|
96
107
|
showToday?: boolean;
|
|
97
108
|
showViewChanger?: boolean;
|
|
@@ -113,6 +124,8 @@ interface SohoWeekViewOptions {
|
|
|
113
124
|
interface SohoWeekView {
|
|
114
125
|
settings: SohoWeekViewOptions;
|
|
115
126
|
|
|
127
|
+
dayMap: SohoWeekViewDayMap[];
|
|
128
|
+
|
|
116
129
|
/**
|
|
117
130
|
* Get the current selected date on the Weekview.
|
|
118
131
|
* @returns the currently selected date on the control.
|