ids-enterprise-typings 17.5.9 → 17.6.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/actionsheet/soho-actionsheet.d.ts +2 -2
- package/lib/button/soho-button.d.ts +11 -1
- package/lib/datagrid/soho-datagrid.d.ts +1 -22
- package/lib/module-nav/soho-module-nav-switcher.d.ts +1 -0
- package/lib/module-nav/soho-module-nav.d.ts +1 -0
- package/lib/toolbar/soho-toolbar.d.ts +36 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Soho Actionsheet.
|
|
3
|
-
*
|
|
3
|
+
*
|
|
4
4
|
* This file contains the TypeScript mappings for the public
|
|
5
5
|
* interface of the Soho Actionsheet control.
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ type SohoActionsheetDisplay = false | 'responsive' | 'always';
|
|
|
14
14
|
type SohoActionsheetTrayBackgroundColors = 'slate' | 'ruby' | 'amber' | 'emerald' | 'azure' | 'turquoise' | 'amethyst';
|
|
15
15
|
|
|
16
16
|
interface SohoActionsheetOptions {
|
|
17
|
-
actions?: SohoActionsheetActions
|
|
17
|
+
actions?: Array<SohoActionsheetActions>;
|
|
18
18
|
autoFocus?: boolean;
|
|
19
19
|
breakpoint?: string;
|
|
20
20
|
displayAsActionSheet?: SohoActionsheetDisplay;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This file contains the Typescript mappings for the public
|
|
5
5
|
* interface of the Soho button control.
|
|
6
6
|
*/
|
|
7
|
-
type SohoButtonOptionsStyle = 'default' | 'btn' | 'btn-primary' | 'btn-secondary' | 'btn-tertiary' | 'btn-destructive' | null | undefined;
|
|
7
|
+
type SohoButtonOptionsStyle = 'default' | 'btn' | 'btn-primary' | 'btn-secondary' | 'btn-tertiary' | 'btn-destructive' | 'btn-generative' | null | undefined;
|
|
8
8
|
|
|
9
9
|
type SohoButtonOptionsType = 'default' | 'btn-icon' | 'btn-menu' | 'btn-actions' | 'btn-toggle' |
|
|
10
10
|
'icon-favorite' | 'btn-editor' | 'input' | null | undefined;
|
|
@@ -106,6 +106,16 @@ declare class SohoButtonStatic {
|
|
|
106
106
|
/** Toggles the current state of the icon button. */
|
|
107
107
|
toggle(): void;
|
|
108
108
|
|
|
109
|
+
/** Performs a generative action by replacing the content of a button with a loading indicator,
|
|
110
|
+
* then replacing it with generated AI content after a specified delay. */
|
|
111
|
+
performAnimation(delay?: Number): void;
|
|
112
|
+
|
|
113
|
+
/** Starts a generative action. */
|
|
114
|
+
startAnimation(): void;
|
|
115
|
+
|
|
116
|
+
/** Stops a generative action. */
|
|
117
|
+
stopAnimation(): void;
|
|
118
|
+
|
|
109
119
|
/** Update the component with new settings. */
|
|
110
120
|
updated(settings?: SohoButtonOptions): void;
|
|
111
121
|
}
|
|
@@ -160,7 +160,7 @@ interface SohoDataGridOptions {
|
|
|
160
160
|
clickToSelect?: boolean;
|
|
161
161
|
|
|
162
162
|
/** Toolbar options. */
|
|
163
|
-
toolbar?:
|
|
163
|
+
toolbar?: SohoToolbarOptions;
|
|
164
164
|
|
|
165
165
|
/** Can set to false if you will initialize the toolbar yourself. */
|
|
166
166
|
initializeToolbar?: boolean;
|
|
@@ -1490,27 +1490,6 @@ interface SohoDataGridToolbarFilterRowOptions {
|
|
|
1490
1490
|
clearFilter?: boolean;
|
|
1491
1491
|
}
|
|
1492
1492
|
|
|
1493
|
-
/**
|
|
1494
|
-
* Move to toolbar!
|
|
1495
|
-
*/
|
|
1496
|
-
interface SohoToolbarOptions {
|
|
1497
|
-
actions?: any | any[];
|
|
1498
|
-
advancedFilter?: boolean;
|
|
1499
|
-
collapsibleFilter?: boolean;
|
|
1500
|
-
dateFilter?: boolean;
|
|
1501
|
-
filterRow?: boolean | SohoDataGridToolbarFilterRowOptions;
|
|
1502
|
-
keywordFilter?: boolean;
|
|
1503
|
-
personalize?: boolean;
|
|
1504
|
-
results?: boolean;
|
|
1505
|
-
rowHeight?: boolean;
|
|
1506
|
-
title?: string;
|
|
1507
|
-
views?: boolean;
|
|
1508
|
-
resetLayout?: boolean;
|
|
1509
|
-
exportToExcel?: boolean;
|
|
1510
|
-
fullWidth?: boolean;
|
|
1511
|
-
contextualToolbar?: boolean;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
1493
|
/**
|
|
1515
1494
|
* Part of the grid options, indicates what specific grid settings to automatically save.
|
|
1516
1495
|
*/
|
|
@@ -15,6 +15,7 @@ type SohoModuleNavSwitcherIconSetting = string | ((api: SohoModuleNavSwitcherSta
|
|
|
15
15
|
interface SohoModuleNavSwitcherOptions {
|
|
16
16
|
displayMode?: SohoModuleNavDisplayMode;
|
|
17
17
|
generate?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
18
19
|
icon?: SohoModuleNavSwitcherIconSetting;
|
|
19
20
|
moduleButtonText?: string;
|
|
20
21
|
roleDropdownLabel?: string;
|
|
@@ -9,6 +9,41 @@
|
|
|
9
9
|
* Toolbar options.
|
|
10
10
|
*/
|
|
11
11
|
interface SohoToolbarOptions {
|
|
12
|
+
actions?: any | any[];
|
|
13
|
+
|
|
14
|
+
advancedFilter?: boolean;
|
|
15
|
+
|
|
16
|
+
collapsibleFilter?: boolean;
|
|
17
|
+
|
|
18
|
+
dateFilter?: boolean;
|
|
19
|
+
|
|
20
|
+
filterRow?: boolean | SohoDataGridToolbarFilterRowOptions;
|
|
21
|
+
|
|
22
|
+
keywordFilter?: boolean;
|
|
23
|
+
|
|
24
|
+
personalize?: boolean;
|
|
25
|
+
|
|
26
|
+
results?: boolean;
|
|
27
|
+
|
|
28
|
+
rowHeight?: boolean;
|
|
29
|
+
|
|
30
|
+
title?: string;
|
|
31
|
+
|
|
32
|
+
views?: boolean;
|
|
33
|
+
|
|
34
|
+
resetLayout?: boolean;
|
|
35
|
+
|
|
36
|
+
exportToExcel?: boolean;
|
|
37
|
+
|
|
38
|
+
fullWidth?: boolean;
|
|
39
|
+
|
|
40
|
+
contextualToolbar?: boolean;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Placeholder text for searchfield
|
|
44
|
+
*/
|
|
45
|
+
placeholder?: string;
|
|
46
|
+
|
|
12
47
|
/**
|
|
13
48
|
* Does the toolbar include the more button?
|
|
14
49
|
*/
|
|
@@ -101,7 +136,7 @@ interface SohoToolbarMenuItemEvent extends SohoToolbarButtonEvent {
|
|
|
101
136
|
event: SohoToolbarButtonEvent;
|
|
102
137
|
}
|
|
103
138
|
|
|
104
|
-
interface SohoToolbarEvent extends JQuery.TriggeredEvent {}
|
|
139
|
+
interface SohoToolbarEvent extends JQuery.TriggeredEvent { }
|
|
105
140
|
|
|
106
141
|
/**
|
|
107
142
|
* Configuration options.
|