@sapui5/ts-types-esm 1.132.1 → 1.133.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/package.json +1 -1
- package/types/sap.apf.d.ts +12 -11
- package/types/sap.ca.ui.d.ts +413 -415
- package/types/sap.chart.d.ts +6 -6
- package/types/sap.collaboration.d.ts +31 -31
- package/types/sap.cux.home.d.ts +937 -106
- package/types/sap.esh.search.ui.d.ts +39 -1
- package/types/sap.f.d.ts +159 -175
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +16 -9
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +81 -45
- package/types/sap.fe.navigation.d.ts +3 -3
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +3 -8
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +385 -329
- package/types/sap.insights.d.ts +3 -3
- package/types/sap.m.d.ts +1946 -1117
- package/types/sap.makit.d.ts +182 -182
- package/types/sap.me.d.ts +25 -27
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +41 -41
- package/types/sap.sac.df.d.ts +108 -98
- package/types/sap.suite.ui.commons.d.ts +432 -487
- package/types/sap.suite.ui.generic.template.d.ts +28 -8
- package/types/sap.suite.ui.microchart.d.ts +55 -79
- package/types/sap.tnt.d.ts +229 -14
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +326 -335
- package/types/sap.ui.comp.d.ts +427 -421
- package/types/sap.ui.core.d.ts +693 -718
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +5 -5
- package/types/sap.ui.generic.app.d.ts +83 -66
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +324 -236
- package/types/sap.ui.layout.d.ts +87 -103
- package/types/sap.ui.mdc.d.ts +167 -142
- package/types/sap.ui.richtexteditor.d.ts +48 -8
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +14 -14
- package/types/sap.ui.support.d.ts +2 -2
- package/types/sap.ui.table.d.ts +219 -197
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +130 -112
- package/types/sap.ui.ux3.d.ts +113 -117
- package/types/sap.ui.vbm.d.ts +57 -57
- package/types/sap.ui.vk.d.ts +135 -132
- package/types/sap.ui.vtm.d.ts +112 -103
- package/types/sap.ui.webc.common.d.ts +7 -7
- package/types/sap.ui.webc.fiori.d.ts +164 -176
- package/types/sap.ui.webc.main.d.ts +527 -531
- package/types/sap.uiext.inbox.d.ts +43 -43
- package/types/sap.ushell.d.ts +206 -123
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +33 -51
- package/types/sap.viz.d.ts +2782 -2858
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +17 -17
- package/types/sap.zen.crosstab.d.ts +10 -10
- package/types/sap.zen.dsh.d.ts +11 -11
package/types/sap.cux.home.d.ts
CHANGED
|
@@ -1,16 +1,66 @@
|
|
|
1
1
|
// For Library Version: 0.0.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/cux/home/AppsContainer" {
|
|
4
|
+
import {
|
|
5
|
+
default as BaseContainer,
|
|
6
|
+
$BaseContainerSettings,
|
|
7
|
+
} from "sap/cux/home/BaseContainer";
|
|
8
|
+
|
|
4
9
|
/**
|
|
5
10
|
* Container class for managing and storing apps.
|
|
6
11
|
*
|
|
7
12
|
* @since 1.121
|
|
8
|
-
* @experimental
|
|
13
|
+
* @experimental As of version 1.121.
|
|
9
14
|
*/
|
|
10
|
-
export default class AppsContainer {
|
|
15
|
+
export default class AppsContainer extends BaseContainer {
|
|
11
16
|
/**
|
|
12
17
|
* Constructor for a new app container.
|
|
13
18
|
*/
|
|
19
|
+
constructor(
|
|
20
|
+
/**
|
|
21
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
22
|
+
*/
|
|
23
|
+
id?: string,
|
|
24
|
+
/**
|
|
25
|
+
* Initial settings for the new control
|
|
26
|
+
*/
|
|
27
|
+
settings?: /* was: sap.cux.home.AppsContainer.$AppsContainerSettings */ any
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Describes the settings that can be provided to the AppsContainer constructor.
|
|
32
|
+
*
|
|
33
|
+
* @experimental As of version 1.121.
|
|
34
|
+
*/
|
|
35
|
+
export interface $AppsContainerSettings extends $BaseContainerSettings {}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare module "sap/cux/home/BaseContainer" {
|
|
39
|
+
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
40
|
+
|
|
41
|
+
import { CSSSize } from "sap/ui/core/library";
|
|
42
|
+
|
|
43
|
+
import {
|
|
44
|
+
PropertyBindingInfo,
|
|
45
|
+
AggregationBindingInfo,
|
|
46
|
+
} from "sap/ui/base/ManagedObject";
|
|
47
|
+
|
|
48
|
+
import Button from "sap/m/Button";
|
|
49
|
+
|
|
50
|
+
import BasePanel from "sap/cux/home/BasePanel";
|
|
51
|
+
|
|
52
|
+
import MenuItem from "sap/cux/home/MenuItem";
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Abstract base class for all container controls in the Home Page Layout.
|
|
56
|
+
*
|
|
57
|
+
* @since 1.121
|
|
58
|
+
* @experimental As of version 1.121.
|
|
59
|
+
*/
|
|
60
|
+
export default abstract class BaseContainer extends Control {
|
|
61
|
+
/**
|
|
62
|
+
* Constructor for a new Base Container.
|
|
63
|
+
*/
|
|
14
64
|
constructor(
|
|
15
65
|
/**
|
|
16
66
|
* ID for the new control, generated automatically if an ID is not provided
|
|
@@ -21,19 +71,326 @@ declare module "sap/cux/home/AppsContainer" {
|
|
|
21
71
|
*/
|
|
22
72
|
settings?: /* was: sap.cux.home.BaseContainer.$BaseContainerSettings */ any
|
|
23
73
|
);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Gets current value of property height.
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @returns Value of property `height`
|
|
80
|
+
*/
|
|
81
|
+
getHeight(): CSSSize;
|
|
82
|
+
/**
|
|
83
|
+
* Gets current value of property width.
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @returns Value of property `width`
|
|
87
|
+
*/
|
|
88
|
+
getWidth(): CSSSize;
|
|
89
|
+
/**
|
|
90
|
+
* Gets current value of property height.
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @returns Value of property `height`
|
|
94
|
+
*/
|
|
95
|
+
setHeight(): CSSSize;
|
|
96
|
+
/**
|
|
97
|
+
* Gets current value of property width.
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @returns Value of property `width`
|
|
101
|
+
*/
|
|
102
|
+
setWidth(): CSSSize;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Describes the settings that can be provided to the BaseContainer constructor.
|
|
106
|
+
*
|
|
107
|
+
* @experimental As of version 1.121.
|
|
108
|
+
*/
|
|
109
|
+
export interface $BaseContainerSettings extends $ControlSettings {
|
|
110
|
+
/**
|
|
111
|
+
* Height to be set for the container.
|
|
112
|
+
*/
|
|
113
|
+
height?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Width to be set for the container.
|
|
117
|
+
*/
|
|
118
|
+
width?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* This aggregation contains the actions that should be displayed within the container.
|
|
122
|
+
*/
|
|
123
|
+
actionButtons?: Button[] | Button | AggregationBindingInfo | `{${string}}`;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The container content aggregation which should be of type BasePanel.
|
|
127
|
+
*/
|
|
128
|
+
content?: BasePanel[] | BasePanel | AggregationBindingInfo | `{${string}}`;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* This aggregation holds the items that should be shown within the dropdown menu of the container.
|
|
132
|
+
*/
|
|
133
|
+
menuItems?: MenuItem[] | MenuItem | AggregationBindingInfo | `{${string}}`;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare module "sap/cux/home/BaseLayout" {
|
|
138
|
+
import { default as Page, $PageSettings } from "sap/m/Page";
|
|
139
|
+
|
|
140
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Abstract base class for My Home layout.
|
|
144
|
+
*
|
|
145
|
+
* @since 1.121
|
|
146
|
+
* @experimental As of version 1.121.
|
|
147
|
+
*/
|
|
148
|
+
export default abstract class BaseLayout extends Page {
|
|
149
|
+
/**
|
|
150
|
+
* Constructor for a new Base Layout.
|
|
151
|
+
*/
|
|
152
|
+
constructor(
|
|
153
|
+
/**
|
|
154
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
155
|
+
*/
|
|
156
|
+
id?: string,
|
|
157
|
+
/**
|
|
158
|
+
* Initial settings for the new control
|
|
159
|
+
*/
|
|
160
|
+
settings?: /* was: sap.cux.home.BaseLayout.$BaseLayoutSettings */ any
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Gets current value of property persContainerId.
|
|
165
|
+
*
|
|
166
|
+
*
|
|
167
|
+
* @returns Value of property `persContainerId`
|
|
168
|
+
*/
|
|
169
|
+
getPersContainerId(): string;
|
|
170
|
+
/**
|
|
171
|
+
* Gets current value of property persContainerId.
|
|
172
|
+
*
|
|
173
|
+
*
|
|
174
|
+
* @returns Value of property `persContainerId`
|
|
175
|
+
*/
|
|
176
|
+
setPersContainerId(): string;
|
|
177
|
+
/**
|
|
178
|
+
* Sets SettingsDialog aggregation.
|
|
179
|
+
* Overridden to update cached settings panels.
|
|
180
|
+
* Sets the aggregated settingsDialog.
|
|
181
|
+
* The settings dialog aggregation which controls settings for my home controls.
|
|
182
|
+
* It should be of type BaseSettingsDialog.
|
|
183
|
+
* If Not provided, a default settings dialog will be created from sap.cux.home.SettingsDialog.
|
|
184
|
+
* In case of only custom settings panels, the settings dialog should be created and set manually from sap.cux.home.SettingsDialog.
|
|
185
|
+
*
|
|
186
|
+
*
|
|
187
|
+
*
|
|
188
|
+
* @returns the dialog for chaining
|
|
189
|
+
*/
|
|
190
|
+
setSettingsDialog(): this;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Describes the settings that can be provided to the BaseLayout constructor.
|
|
194
|
+
*
|
|
195
|
+
* @experimental As of version 1.121.
|
|
196
|
+
*/
|
|
197
|
+
export interface $BaseLayoutSettings extends $PageSettings {
|
|
198
|
+
/**
|
|
199
|
+
* Container ID for Ushell Personalisation.
|
|
200
|
+
* This property holds the ID of the personalization container.
|
|
201
|
+
* It is used to store and retrieve personalized settings for the control.
|
|
202
|
+
*/
|
|
203
|
+
persContainerId?: string | PropertyBindingInfo;
|
|
24
204
|
}
|
|
25
205
|
}
|
|
26
206
|
|
|
207
|
+
declare module "sap/cux/home/BasePanel" {
|
|
208
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Abstract base class for all panels placed in {@link sap.cux.home.BaseContainer }.
|
|
212
|
+
*
|
|
213
|
+
* @since 1.121
|
|
214
|
+
* @experimental As of version 1.121.
|
|
215
|
+
*/
|
|
216
|
+
export default abstract class BasePanel extends UI5Element {
|
|
217
|
+
/**
|
|
218
|
+
* Constructor for a new Base Panel.
|
|
219
|
+
*/
|
|
220
|
+
constructor(
|
|
221
|
+
/**
|
|
222
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
223
|
+
*/
|
|
224
|
+
id?: string,
|
|
225
|
+
/**
|
|
226
|
+
* Initial settings for the new control
|
|
227
|
+
*/
|
|
228
|
+
settings?: /* was: sap.cux.home.BasePanel.$BasePanelSettings */ any
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Describes the settings that can be provided to the BasePanel constructor.
|
|
233
|
+
*
|
|
234
|
+
* @experimental As of version 1.121.
|
|
235
|
+
*/
|
|
236
|
+
export interface $BasePanelSettings extends $ElementSettings {}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
declare module "sap/cux/home/BaseSettingsDialog" {
|
|
240
|
+
import { default as Dialog, $DialogSettings } from "sap/m/Dialog";
|
|
241
|
+
|
|
242
|
+
import BaseSettingsPanel from "sap/cux/home/BaseSettingsPanel";
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Abstract base class for custom settings dialog for {@link sap.cux.home.BaseLayout }.
|
|
246
|
+
*
|
|
247
|
+
* @since 1.121
|
|
248
|
+
* @experimental As of version 1.121.
|
|
249
|
+
*/
|
|
250
|
+
export default abstract class BaseSettingsDialog extends Dialog {
|
|
251
|
+
/**
|
|
252
|
+
* Constructor for a new Base Settings Dialog.
|
|
253
|
+
*/
|
|
254
|
+
constructor(
|
|
255
|
+
/**
|
|
256
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
257
|
+
*/
|
|
258
|
+
id?: string,
|
|
259
|
+
/**
|
|
260
|
+
* Initial settings for the new control
|
|
261
|
+
*/
|
|
262
|
+
settings?: /* was: sap.cux.home.BaseSettingsDialog.$BaseSettingsDialogSettings */ any
|
|
263
|
+
);
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Adds a new panel at the end of the available panels.
|
|
267
|
+
* Overridden to update cached panels.
|
|
268
|
+
* Adds some panel to the aggregation "panels".
|
|
269
|
+
* Contains the panels aggregation and should be of type BaseSettingsPanel.
|
|
270
|
+
*
|
|
271
|
+
*
|
|
272
|
+
*
|
|
273
|
+
* @returns the dialog for chaining
|
|
274
|
+
*/
|
|
275
|
+
addPanel(): BaseSettingsDialog;
|
|
276
|
+
/**
|
|
277
|
+
* Returns all the panels in the dialog.
|
|
278
|
+
* Overridden to return cached panels.
|
|
279
|
+
* Gets content of aggregation "panels".
|
|
280
|
+
* Contains the panels aggregation and should be of type BaseSettingsPanel.
|
|
281
|
+
*
|
|
282
|
+
*
|
|
283
|
+
*
|
|
284
|
+
* @returns panel array
|
|
285
|
+
*/
|
|
286
|
+
getPanels(): BaseSettingsPanel[];
|
|
287
|
+
/**
|
|
288
|
+
* Init lifecycle method
|
|
289
|
+
*/
|
|
290
|
+
init(): void;
|
|
291
|
+
/**
|
|
292
|
+
* Adds a new panel to the 'panels' aggregation at the index.
|
|
293
|
+
* Overridden to update cached panels.
|
|
294
|
+
* Inserts a panel into the aggregation "panels".
|
|
295
|
+
* Contains the panels aggregation and should be of type BaseSettingsPanel.
|
|
296
|
+
*
|
|
297
|
+
*
|
|
298
|
+
*
|
|
299
|
+
* @returns Returns 'this' to allow method chaining.
|
|
300
|
+
*/
|
|
301
|
+
insertPanel(
|
|
302
|
+
/**
|
|
303
|
+
* The panel to insert.
|
|
304
|
+
*/
|
|
305
|
+
panel: BaseSettingsPanel,
|
|
306
|
+
/**
|
|
307
|
+
* The index at which to insert the panel.
|
|
308
|
+
*/
|
|
309
|
+
index: number
|
|
310
|
+
): BaseSettingsDialog;
|
|
311
|
+
/**
|
|
312
|
+
* Removes all panels from the dialog, clears the internal panel cache.
|
|
313
|
+
* Overridden to update cached panels.
|
|
314
|
+
* Removes all the controls from the aggregation "panels".
|
|
315
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
316
|
+
* Contains the panels aggregation and should be of type BaseSettingsPanel.
|
|
317
|
+
*
|
|
318
|
+
*
|
|
319
|
+
*
|
|
320
|
+
* @returns An empty array representing the removed panels.
|
|
321
|
+
*/
|
|
322
|
+
removeAllPanels(): BaseSettingsPanel[];
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Describes the settings that can be provided to the BaseSettingsDialog constructor.
|
|
326
|
+
*
|
|
327
|
+
* @experimental As of version 1.121.
|
|
328
|
+
*/
|
|
329
|
+
export interface $BaseSettingsDialogSettings extends $DialogSettings {}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
declare module "sap/cux/home/BaseSettingsPanel" {
|
|
333
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Abstract base class for panels inside My Home Settings Dialog.
|
|
337
|
+
*
|
|
338
|
+
* @since 1.121
|
|
339
|
+
* @experimental As of version 1.121.
|
|
340
|
+
*/
|
|
341
|
+
export default abstract class BaseSettingsPanel extends UI5Element {
|
|
342
|
+
/**
|
|
343
|
+
* Constructor for a new Base Settings Panel.
|
|
344
|
+
*/
|
|
345
|
+
constructor(
|
|
346
|
+
/**
|
|
347
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
348
|
+
*/
|
|
349
|
+
id?: string,
|
|
350
|
+
/**
|
|
351
|
+
* Initial settings for the new control
|
|
352
|
+
*/
|
|
353
|
+
settings?: /* was: sap.cux.home.BaseSettingsPanel.$BaseSettingsPanelSettings */ any
|
|
354
|
+
);
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Add Changes made by user in case of KeyUser Settings Panel.
|
|
358
|
+
*/
|
|
359
|
+
addKeyUserChanges(): void;
|
|
360
|
+
/**
|
|
361
|
+
* Clear all KeyUser Changes made by user.
|
|
362
|
+
*/
|
|
363
|
+
clearKeyUserChanges(): void;
|
|
364
|
+
/**
|
|
365
|
+
* Returns the KeyUser Changes made by user.
|
|
366
|
+
*/
|
|
367
|
+
getKeyUserChanges(): /* was: sap.cux.home.interface.KeyUserInterface.IKeyUserChange */ any[];
|
|
368
|
+
/**
|
|
369
|
+
* Init lifecycle method
|
|
370
|
+
*/
|
|
371
|
+
init(): void;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Describes the settings that can be provided to the BaseSettingsPanel constructor.
|
|
375
|
+
*
|
|
376
|
+
* @experimental As of version 1.121.
|
|
377
|
+
*/
|
|
378
|
+
export interface $BaseSettingsPanelSettings extends $ElementSettings {}
|
|
379
|
+
}
|
|
380
|
+
|
|
27
381
|
declare module "sap/cux/home/CardsPanel" {
|
|
382
|
+
import {
|
|
383
|
+
default as BasePanel,
|
|
384
|
+
$BasePanelSettings,
|
|
385
|
+
} from "sap/cux/home/BasePanel";
|
|
386
|
+
|
|
28
387
|
/**
|
|
29
388
|
* Panel class for managing and storing Insights Cards.
|
|
30
389
|
*
|
|
31
390
|
* @since 1.122.0
|
|
32
|
-
* @experimental
|
|
391
|
+
* @experimental As of version 1.122.0.
|
|
33
392
|
*/
|
|
34
|
-
export default class CardsPanel
|
|
35
|
-
extends /* was: sap.cux.home.BasePanel */ Object
|
|
36
|
-
{
|
|
393
|
+
export default class CardsPanel extends BasePanel {
|
|
37
394
|
/**
|
|
38
395
|
* Constructor for a new card panel.
|
|
39
396
|
*/
|
|
@@ -48,6 +405,38 @@ declare module "sap/cux/home/CardsPanel" {
|
|
|
48
405
|
settings?: /* was: sap.cux.home.CardsPanel.$CardsPanelSettings */ any
|
|
49
406
|
);
|
|
50
407
|
}
|
|
408
|
+
/**
|
|
409
|
+
* Describes the settings that can be provided to the CardsPanel constructor.
|
|
410
|
+
*
|
|
411
|
+
* @experimental As of version 1.122.0.
|
|
412
|
+
*/
|
|
413
|
+
export interface $CardsPanelSettings extends $BasePanelSettings {}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
declare module "sap/cux/home/FavAppPanel" {
|
|
417
|
+
/**
|
|
418
|
+
* Provides the FavAppPanel Class.
|
|
419
|
+
*
|
|
420
|
+
* @since 1.121.0
|
|
421
|
+
* @experimental As of version 1.121.0.
|
|
422
|
+
*/
|
|
423
|
+
export default class FavAppPanel
|
|
424
|
+
extends /* was: sap.cux.home.BaseAppPersPanel */ Object
|
|
425
|
+
{
|
|
426
|
+
/**
|
|
427
|
+
* Constructor for a new favorite app panel.
|
|
428
|
+
*/
|
|
429
|
+
constructor(
|
|
430
|
+
/**
|
|
431
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
432
|
+
*/
|
|
433
|
+
id?: string,
|
|
434
|
+
/**
|
|
435
|
+
* Initial settings for the new control
|
|
436
|
+
*/
|
|
437
|
+
settings?: /* was: sap.cux.home.BasePanel.$BasePanelSettings */ any
|
|
438
|
+
);
|
|
439
|
+
}
|
|
51
440
|
}
|
|
52
441
|
|
|
53
442
|
declare module "sap/cux/home/FrequentAppPanel" {
|
|
@@ -55,9 +444,11 @@ declare module "sap/cux/home/FrequentAppPanel" {
|
|
|
55
444
|
* Provides the class for managing frequent apps.
|
|
56
445
|
*
|
|
57
446
|
* @since 1.121.0
|
|
58
|
-
* @experimental
|
|
447
|
+
* @experimental As of version 1.121.0.
|
|
59
448
|
*/
|
|
60
|
-
export default class FrequentAppPanel
|
|
449
|
+
export default class FrequentAppPanel
|
|
450
|
+
extends /* was: sap.cux.home.BaseAppPersPanel */ Object
|
|
451
|
+
{
|
|
61
452
|
/**
|
|
62
453
|
* Constructor for a new frequent app panel.
|
|
63
454
|
*/
|
|
@@ -69,19 +460,24 @@ declare module "sap/cux/home/FrequentAppPanel" {
|
|
|
69
460
|
/**
|
|
70
461
|
* Initial settings for the new control
|
|
71
462
|
*/
|
|
72
|
-
settings?: /* was: sap.cux.home.
|
|
463
|
+
settings?: /* was: sap.cux.home.BasePanel.$BasePanelSettings */ any
|
|
73
464
|
);
|
|
74
465
|
}
|
|
75
466
|
}
|
|
76
467
|
|
|
77
468
|
declare module "sap/cux/home/InsightsContainer" {
|
|
469
|
+
import {
|
|
470
|
+
default as BaseContainer,
|
|
471
|
+
$BaseContainerSettings,
|
|
472
|
+
} from "sap/cux/home/BaseContainer";
|
|
473
|
+
|
|
78
474
|
/**
|
|
79
475
|
* Container class for managing and storing Insights Tiles and Insights Cards.
|
|
80
476
|
*
|
|
81
477
|
* @since 1.121
|
|
82
|
-
* @experimental
|
|
478
|
+
* @experimental As of version 1.121.
|
|
83
479
|
*/
|
|
84
|
-
export default class InsightsContainer {
|
|
480
|
+
export default class InsightsContainer extends BaseContainer {
|
|
85
481
|
/**
|
|
86
482
|
* Constructor for a new Insights container.
|
|
87
483
|
*/
|
|
@@ -96,16 +492,98 @@ declare module "sap/cux/home/InsightsContainer" {
|
|
|
96
492
|
settings?: /* was: sap.cux.home.BaseContainer.$BaseContainerSettings */ any
|
|
97
493
|
);
|
|
98
494
|
}
|
|
495
|
+
/**
|
|
496
|
+
* Describes the settings that can be provided to the InsightsContainer constructor.
|
|
497
|
+
*
|
|
498
|
+
* @experimental As of version 1.121.
|
|
499
|
+
*/
|
|
500
|
+
export interface $InsightsContainerSettings extends $BaseContainerSettings {}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
declare module "sap/cux/home/IToDoPanel" {
|
|
504
|
+
import Context from "sap/ui/model/Context";
|
|
505
|
+
|
|
506
|
+
import Control from "sap/ui/core/Control";
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Common Interface for creating To-Do Panels displayed in the {@link sap.cux.home.ToDosContainer }.
|
|
510
|
+
*
|
|
511
|
+
* @since 1.121
|
|
512
|
+
* @experimental As of version 1.121.
|
|
513
|
+
*/
|
|
514
|
+
export interface IToDoPanel {
|
|
515
|
+
__implements__sap_cux_home_IToDoPanel: boolean;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Generate a default card template for the To Do Panel.
|
|
519
|
+
* An extended panel can have it's own template by overridding
|
|
520
|
+
* this method and providing a custom card template.
|
|
521
|
+
*
|
|
522
|
+
*
|
|
523
|
+
* @returns The generated card template.
|
|
524
|
+
*/
|
|
525
|
+
generateCardTemplate(
|
|
526
|
+
/**
|
|
527
|
+
* The ID for the template.
|
|
528
|
+
*/
|
|
529
|
+
id: string,
|
|
530
|
+
/**
|
|
531
|
+
* The context required for the template.
|
|
532
|
+
*/
|
|
533
|
+
context: Context
|
|
534
|
+
): Control;
|
|
535
|
+
/**
|
|
536
|
+
* Provides custom request URLs specific to the To-Do Panel.
|
|
537
|
+
*
|
|
538
|
+
*
|
|
539
|
+
* @returns An array of request URLs.
|
|
540
|
+
*/
|
|
541
|
+
generateRequestUrls(
|
|
542
|
+
/**
|
|
543
|
+
* - The number of cards which will be displayed in the To-Do Panel.
|
|
544
|
+
*/
|
|
545
|
+
cardCount: number
|
|
546
|
+
): string[];
|
|
547
|
+
/**
|
|
548
|
+
* Retrieves the text for the "No Data" message for the To-Do Panel.
|
|
549
|
+
*
|
|
550
|
+
*
|
|
551
|
+
* @returns The text for the "No Data" message.
|
|
552
|
+
*/
|
|
553
|
+
getNoDataText(): string;
|
|
554
|
+
/**
|
|
555
|
+
* Handles the data received from a batch request.
|
|
556
|
+
* This hook can be used to process the data before it is displayed.
|
|
557
|
+
*
|
|
558
|
+
*
|
|
559
|
+
* @returns A promise that resolves when the data has been processed.
|
|
560
|
+
*/
|
|
561
|
+
onDataReceived(
|
|
562
|
+
/**
|
|
563
|
+
* - The data received from the request.
|
|
564
|
+
*/
|
|
565
|
+
data: any[],
|
|
566
|
+
/**
|
|
567
|
+
* - Optional request options.
|
|
568
|
+
*/
|
|
569
|
+
options?: /* was: sap.cux.home.ToDoPanel.RequestOptions */ any
|
|
570
|
+
): Promise<void>;
|
|
571
|
+
}
|
|
99
572
|
}
|
|
100
573
|
|
|
101
574
|
declare module "sap/cux/home/Layout" {
|
|
575
|
+
import {
|
|
576
|
+
default as BaseLayout,
|
|
577
|
+
$BaseLayoutSettings,
|
|
578
|
+
} from "sap/cux/home/BaseLayout";
|
|
579
|
+
|
|
102
580
|
/**
|
|
103
581
|
* Layout class for the My Home layout.
|
|
104
582
|
*
|
|
105
583
|
* @since 1.121
|
|
106
|
-
* @experimental
|
|
584
|
+
* @experimental As of version 1.121.
|
|
107
585
|
*/
|
|
108
|
-
export default class Layout {
|
|
586
|
+
export default class Layout extends BaseLayout {
|
|
109
587
|
/**
|
|
110
588
|
* Constructor for a new layout.
|
|
111
589
|
*/
|
|
@@ -118,47 +596,32 @@ declare module "sap/cux/home/Layout" {
|
|
|
118
596
|
* Initial settings for the new control
|
|
119
597
|
*/
|
|
120
598
|
settings?: /* was: sap.cux.home.BaseLayout.$BaseLayoutSettings */ any
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
declare module "sap/cux/home/library" {
|
|
599
|
+
);
|
|
600
|
+
}
|
|
126
601
|
/**
|
|
127
|
-
*
|
|
602
|
+
* Describes the settings that can be provided to the Layout constructor.
|
|
128
603
|
*
|
|
129
|
-
* @
|
|
130
|
-
* @experimental (since 1.121)
|
|
604
|
+
* @experimental As of version 1.121.
|
|
131
605
|
*/
|
|
132
|
-
export
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
Horizontal = "undefined",
|
|
137
|
-
/**
|
|
138
|
-
* Panels are rendered side by side, for example To-Dos and Situaions, and Favorites, Recently Used and
|
|
139
|
-
* Frequently Used apps
|
|
140
|
-
*/
|
|
141
|
-
SideBySide = "undefined",
|
|
142
|
-
/**
|
|
143
|
-
* Panels are rendered vertically, for example Insights Tiles and Insights Cards
|
|
144
|
-
*/
|
|
145
|
-
Vertical = "undefined",
|
|
146
|
-
}
|
|
606
|
+
export interface $LayoutSettings extends $BaseLayoutSettings {}
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
declare module "sap/cux/home/library" {
|
|
147
610
|
/**
|
|
148
611
|
* Supported News Types for {@link sap.cux.home.NewsPanel }.
|
|
149
612
|
*
|
|
150
613
|
* @since 1.121
|
|
151
|
-
* @experimental
|
|
614
|
+
* @experimental As of version 1.121.
|
|
152
615
|
*/
|
|
153
616
|
export enum NewsType {
|
|
154
617
|
/**
|
|
155
|
-
*
|
|
618
|
+
* Url is of type ATOM
|
|
156
619
|
*/
|
|
157
|
-
|
|
620
|
+
ATOM = "undefined",
|
|
158
621
|
/**
|
|
159
|
-
*
|
|
622
|
+
* News is of type custom news feed
|
|
160
623
|
*/
|
|
161
|
-
|
|
624
|
+
Custom = "undefined",
|
|
162
625
|
/**
|
|
163
626
|
* Url is of type RSS
|
|
164
627
|
*/
|
|
@@ -179,7 +642,7 @@ declare module "sap/cux/home/MenuItem" {
|
|
|
179
642
|
* Class for managing and storing menu items.
|
|
180
643
|
*
|
|
181
644
|
* @since 1.121
|
|
182
|
-
* @experimental
|
|
645
|
+
* @experimental As of version 1.121.
|
|
183
646
|
*/
|
|
184
647
|
export default class MenuItem extends UI5Element {
|
|
185
648
|
/**
|
|
@@ -195,11 +658,68 @@ declare module "sap/cux/home/MenuItem" {
|
|
|
195
658
|
*/
|
|
196
659
|
settings?: /* was: sap.cux.home.MenuItem.$MenuItemSettings */ any
|
|
197
660
|
);
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Gets current value of property icon.
|
|
664
|
+
*
|
|
665
|
+
*
|
|
666
|
+
* @returns Value of property `icon`
|
|
667
|
+
*/
|
|
668
|
+
getIcon(): URI;
|
|
669
|
+
/**
|
|
670
|
+
* Gets current value of property title.
|
|
671
|
+
*
|
|
672
|
+
*
|
|
673
|
+
* @returns Value of property `title`
|
|
674
|
+
*/
|
|
675
|
+
getTitle(): string;
|
|
676
|
+
/**
|
|
677
|
+
* Gets current value of property type.
|
|
678
|
+
*
|
|
679
|
+
*
|
|
680
|
+
* @returns Value of property `type`
|
|
681
|
+
*/
|
|
682
|
+
getType(): string;
|
|
683
|
+
/**
|
|
684
|
+
* Gets current value of property visible.
|
|
685
|
+
*
|
|
686
|
+
*
|
|
687
|
+
* @returns Value of property `visible`
|
|
688
|
+
*/
|
|
689
|
+
getVisible(): boolean;
|
|
690
|
+
/**
|
|
691
|
+
* Gets current value of property icon.
|
|
692
|
+
*
|
|
693
|
+
*
|
|
694
|
+
* @returns Value of property `icon`
|
|
695
|
+
*/
|
|
696
|
+
setIcon(): URI;
|
|
697
|
+
/**
|
|
698
|
+
* Gets current value of property title.
|
|
699
|
+
*
|
|
700
|
+
*
|
|
701
|
+
* @returns Value of property `title`
|
|
702
|
+
*/
|
|
703
|
+
setTitle(): string;
|
|
704
|
+
/**
|
|
705
|
+
* Gets current value of property type.
|
|
706
|
+
*
|
|
707
|
+
*
|
|
708
|
+
* @returns Value of property `type`
|
|
709
|
+
*/
|
|
710
|
+
setType(): string;
|
|
711
|
+
/**
|
|
712
|
+
* Gets current value of property visible.
|
|
713
|
+
*
|
|
714
|
+
*
|
|
715
|
+
* @returns Value of property `visible`
|
|
716
|
+
*/
|
|
717
|
+
setVisible(): boolean;
|
|
198
718
|
}
|
|
199
719
|
/**
|
|
200
720
|
* Describes the settings that can be provided to the MenuItem constructor.
|
|
201
721
|
*
|
|
202
|
-
* @experimental
|
|
722
|
+
* @experimental As of version 1.121.
|
|
203
723
|
*/
|
|
204
724
|
export interface $MenuItemSettings extends $ElementSettings {
|
|
205
725
|
/**
|
|
@@ -238,13 +758,18 @@ declare module "sap/cux/home/MenuItem" {
|
|
|
238
758
|
}
|
|
239
759
|
|
|
240
760
|
declare module "sap/cux/home/NewsAndPagesContainer" {
|
|
761
|
+
import {
|
|
762
|
+
default as BaseContainer,
|
|
763
|
+
$BaseContainerSettings,
|
|
764
|
+
} from "sap/cux/home/BaseContainer";
|
|
765
|
+
|
|
241
766
|
/**
|
|
242
767
|
* Container class for managing and storing News and Pages.
|
|
243
768
|
*
|
|
244
769
|
* @since 1.121
|
|
245
|
-
* @experimental
|
|
770
|
+
* @experimental As of version 1.121.
|
|
246
771
|
*/
|
|
247
|
-
export default class NewsAndPagesContainer {
|
|
772
|
+
export default class NewsAndPagesContainer extends BaseContainer {
|
|
248
773
|
/**
|
|
249
774
|
* Constructor for the new News and Pages container.
|
|
250
775
|
*/
|
|
@@ -256,48 +781,104 @@ declare module "sap/cux/home/NewsAndPagesContainer" {
|
|
|
256
781
|
/**
|
|
257
782
|
* Initial settings for the new control
|
|
258
783
|
*/
|
|
259
|
-
settings?: /* was: sap.cux.home.
|
|
784
|
+
settings?: /* was: sap.cux.home.NewsAndPagesContainer.$NewsAndPagesContainerSettings */ any
|
|
785
|
+
);
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Describes the settings that can be provided to the NewsAndPagesContainer constructor.
|
|
789
|
+
*
|
|
790
|
+
* @experimental As of version 1.121.
|
|
791
|
+
*/
|
|
792
|
+
export interface $NewsAndPagesContainerSettings
|
|
793
|
+
extends $BaseContainerSettings {}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
declare module "sap/cux/home/NewsPanel" {
|
|
797
|
+
import { NewsType } from "sap/cux/home/library";
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Panel class for managing and storing News.
|
|
801
|
+
*
|
|
802
|
+
* @since 1.121
|
|
803
|
+
* @experimental As of version 1.121.
|
|
804
|
+
*/
|
|
805
|
+
export default class NewsPanel
|
|
806
|
+
extends /* was: sap.cux.home.BaseNewsPanel */ Object
|
|
807
|
+
{
|
|
808
|
+
/**
|
|
809
|
+
* Constructor for a new News Panel.
|
|
810
|
+
*/
|
|
811
|
+
constructor(
|
|
812
|
+
/**
|
|
813
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
814
|
+
*/
|
|
815
|
+
id?: string,
|
|
816
|
+
/**
|
|
817
|
+
* Initial settings for the new control
|
|
818
|
+
*/
|
|
819
|
+
settings?: /* was: sap.cux.home.BaseNewsPanel.$BaseNewsPanelSettings */ any
|
|
260
820
|
);
|
|
261
821
|
|
|
262
822
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
|
|
268
|
-
|
|
823
|
+
* Gets current value of property customFeedKey.
|
|
824
|
+
*
|
|
825
|
+
*
|
|
826
|
+
* @returns Value of property `customFeedKey`
|
|
827
|
+
*/
|
|
828
|
+
getCustomFeedKey(): string;
|
|
829
|
+
/**
|
|
830
|
+
* Gets current value of property type.
|
|
831
|
+
*
|
|
832
|
+
*
|
|
833
|
+
* @returns Value of property `type`
|
|
834
|
+
*/
|
|
835
|
+
getType(): NewsType;
|
|
836
|
+
/**
|
|
837
|
+
* Gets current value of property url.
|
|
838
|
+
*
|
|
269
839
|
*
|
|
840
|
+
* @returns Value of property `url`
|
|
841
|
+
*/
|
|
842
|
+
getUrl(): string;
|
|
843
|
+
/**
|
|
844
|
+
* Gets current value of property customFeedKey.
|
|
270
845
|
*
|
|
271
846
|
*
|
|
272
|
-
* @returns
|
|
847
|
+
* @returns Value of property `customFeedKey`
|
|
273
848
|
*/
|
|
274
|
-
|
|
849
|
+
setCustomFeedKey(): string;
|
|
275
850
|
/**
|
|
276
|
-
*
|
|
277
|
-
* Overridden to update cached personalizations.
|
|
278
|
-
* Sets a new value for property "iconPersonalizations".
|
|
279
|
-
* Icon Personalizations for Spaces & Pages
|
|
280
|
-
* When called with a value of "null" or "undefined", the default value of the property will be restored.
|
|
281
|
-
* Default value is: []
|
|
851
|
+
* Gets current value of property type.
|
|
282
852
|
*
|
|
283
853
|
*
|
|
854
|
+
* @returns Value of property `type`
|
|
855
|
+
*/
|
|
856
|
+
setType(): NewsType;
|
|
857
|
+
/**
|
|
858
|
+
* Gets current value of property url.
|
|
859
|
+
*
|
|
284
860
|
*
|
|
285
|
-
* @returns
|
|
861
|
+
* @returns Value of property `url`
|
|
286
862
|
*/
|
|
287
|
-
|
|
863
|
+
setUrl(): string;
|
|
288
864
|
}
|
|
289
865
|
}
|
|
290
866
|
|
|
291
|
-
declare module "sap/cux/home/
|
|
867
|
+
declare module "sap/cux/home/NoDataContainer" {
|
|
868
|
+
import {
|
|
869
|
+
default as BaseContainer,
|
|
870
|
+
$BaseContainerSettings,
|
|
871
|
+
} from "sap/cux/home/BaseContainer";
|
|
872
|
+
|
|
292
873
|
/**
|
|
293
|
-
*
|
|
874
|
+
* Container class to show no data content.
|
|
294
875
|
*
|
|
295
876
|
* @since 1.121
|
|
296
|
-
* @experimental
|
|
877
|
+
* @experimental As of version 1.121.
|
|
297
878
|
*/
|
|
298
|
-
export default class
|
|
879
|
+
export default class NoDataContainer extends BaseContainer {
|
|
299
880
|
/**
|
|
300
|
-
* Constructor for a new
|
|
881
|
+
* Constructor for a new NoData Container.
|
|
301
882
|
*/
|
|
302
883
|
constructor(
|
|
303
884
|
/**
|
|
@@ -307,20 +888,15 @@ declare module "sap/cux/home/NewsPanel" {
|
|
|
307
888
|
/**
|
|
308
889
|
* Initial settings for the new control
|
|
309
890
|
*/
|
|
310
|
-
settings?: /* was: sap.cux.home.
|
|
891
|
+
settings?: /* was: sap.cux.home.BaseContainer.$BaseContainerSettings */ any
|
|
311
892
|
);
|
|
312
893
|
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
declare module "sap/cux/home/NoDataContainer" {
|
|
316
894
|
/**
|
|
317
|
-
*
|
|
895
|
+
* Describes the settings that can be provided to the NoDataContainer constructor.
|
|
318
896
|
*
|
|
319
|
-
* @
|
|
320
|
-
* @experimental (since 1.121)
|
|
897
|
+
* @experimental As of version 1.121.
|
|
321
898
|
*/
|
|
322
|
-
export
|
|
323
|
-
extends /* was: sap.cux.home.BaseContainer */ Object {}
|
|
899
|
+
export interface $NoDataContainerSettings extends $BaseContainerSettings {}
|
|
324
900
|
}
|
|
325
901
|
|
|
326
902
|
declare module "sap/cux/home/PagePanel" {
|
|
@@ -328,9 +904,11 @@ declare module "sap/cux/home/PagePanel" {
|
|
|
328
904
|
* Panel class for managing and storing Pages.
|
|
329
905
|
*
|
|
330
906
|
* @since 1.122
|
|
331
|
-
* @experimental
|
|
907
|
+
* @experimental As of version 1.122.
|
|
332
908
|
*/
|
|
333
|
-
export default class PagePanel
|
|
909
|
+
export default class PagePanel
|
|
910
|
+
extends /* was: sap.cux.home.BasePagePanel */ Object
|
|
911
|
+
{
|
|
334
912
|
/**
|
|
335
913
|
* Constructor for a new Page panel.
|
|
336
914
|
*/
|
|
@@ -352,9 +930,11 @@ declare module "sap/cux/home/RecentAppPanel" {
|
|
|
352
930
|
* Provides class for managing Recently Used apps.
|
|
353
931
|
*
|
|
354
932
|
* @since 1.121.0
|
|
355
|
-
* @experimental
|
|
933
|
+
* @experimental As of version 1.121.0.
|
|
356
934
|
*/
|
|
357
|
-
export default class RecentAppPanel
|
|
935
|
+
export default class RecentAppPanel
|
|
936
|
+
extends /* was: sap.cux.home.BaseAppPersPanel */ Object
|
|
937
|
+
{
|
|
358
938
|
/**
|
|
359
939
|
* Constructor for a new Recently Used apps Panel.
|
|
360
940
|
*/
|
|
@@ -366,22 +946,50 @@ declare module "sap/cux/home/RecentAppPanel" {
|
|
|
366
946
|
/**
|
|
367
947
|
* Initial settings for the new control
|
|
368
948
|
*/
|
|
369
|
-
settings?: /* was: sap.cux.home.
|
|
949
|
+
settings?: /* was: sap.cux.home.BasePanel.$BasePanelSettings */ any
|
|
950
|
+
);
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
declare module "sap/cux/home/RecommendedAppPanel" {
|
|
955
|
+
/**
|
|
956
|
+
* Provides the RecommendedAppPanel Class.
|
|
957
|
+
*
|
|
958
|
+
* @since 1.128.0
|
|
959
|
+
* @experimental As of version 1.128.0.
|
|
960
|
+
*/
|
|
961
|
+
export default class RecommendedAppPanel
|
|
962
|
+
extends /* was: sap.cux.home.BaseAppPersPanel */ Object
|
|
963
|
+
{
|
|
964
|
+
/**
|
|
965
|
+
* Constructor for a new Recommended Apps Panel.
|
|
966
|
+
*/
|
|
967
|
+
constructor(
|
|
968
|
+
/**
|
|
969
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
970
|
+
*/
|
|
971
|
+
id?: string,
|
|
972
|
+
/**
|
|
973
|
+
* Initial settings for the new control
|
|
974
|
+
*/
|
|
975
|
+
settings?: /* was: sap.cux.home.BasePanel.$BasePanelSettings */ any
|
|
370
976
|
);
|
|
371
977
|
}
|
|
372
978
|
}
|
|
373
979
|
|
|
374
980
|
declare module "sap/cux/home/SituationPanel" {
|
|
981
|
+
import {
|
|
982
|
+
default as ToDoPanel,
|
|
983
|
+
$ToDoPanelSettings,
|
|
984
|
+
} from "sap/cux/home/ToDoPanel";
|
|
985
|
+
|
|
375
986
|
/**
|
|
376
987
|
* Panel class for managing and storing Situation cards.
|
|
377
988
|
*
|
|
378
989
|
* @since 1.121
|
|
379
|
-
* @experimental
|
|
990
|
+
* @experimental As of version 1.121.
|
|
380
991
|
*/
|
|
381
|
-
export default class SituationPanel
|
|
382
|
-
implements /* was: sap.cux.home.ToDoPanel.IToDoPanel */ Object
|
|
383
|
-
{
|
|
384
|
-
__implements__sap_cux_home_ToDoPanel_IToDoPanel: boolean;
|
|
992
|
+
export default class SituationPanel extends ToDoPanel {
|
|
385
993
|
/**
|
|
386
994
|
* Constructor for a new Situation Panel.
|
|
387
995
|
*/
|
|
@@ -396,19 +1004,29 @@ declare module "sap/cux/home/SituationPanel" {
|
|
|
396
1004
|
settings?: /* was: sap.cux.home.ToDoPanel.$ToDoPanelSettings */ any
|
|
397
1005
|
);
|
|
398
1006
|
}
|
|
1007
|
+
/**
|
|
1008
|
+
* Describes the settings that can be provided to the SituationPanel constructor.
|
|
1009
|
+
*
|
|
1010
|
+
* @experimental As of version 1.121.
|
|
1011
|
+
*/
|
|
1012
|
+
export interface $SituationPanelSettings extends $ToDoPanelSettings {}
|
|
399
1013
|
}
|
|
400
1014
|
|
|
401
1015
|
declare module "sap/cux/home/TaskPanel" {
|
|
1016
|
+
import {
|
|
1017
|
+
default as ToDoPanel,
|
|
1018
|
+
$ToDoPanelSettings,
|
|
1019
|
+
} from "sap/cux/home/ToDoPanel";
|
|
1020
|
+
|
|
1021
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1022
|
+
|
|
402
1023
|
/**
|
|
403
1024
|
* Panel class for managing and storing Task cards.
|
|
404
1025
|
*
|
|
405
1026
|
* @since 1.121
|
|
406
|
-
* @experimental
|
|
1027
|
+
* @experimental As of version 1.121.
|
|
407
1028
|
*/
|
|
408
|
-
export default class TaskPanel
|
|
409
|
-
implements /* was: sap.cux.home.ToDoPanel.IToDoPanel */ Object
|
|
410
|
-
{
|
|
411
|
-
__implements__sap_cux_home_ToDoPanel_IToDoPanel: boolean;
|
|
1029
|
+
export default class TaskPanel extends ToDoPanel {
|
|
412
1030
|
/**
|
|
413
1031
|
* Constructor for a new Task Panel.
|
|
414
1032
|
*/
|
|
@@ -422,19 +1040,67 @@ declare module "sap/cux/home/TaskPanel" {
|
|
|
422
1040
|
*/
|
|
423
1041
|
settings?: /* was: sap.cux.home.TaskPanel.$TaskPanelSettings */ any
|
|
424
1042
|
);
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* Gets current value of property customAttributeUrl.
|
|
1046
|
+
*
|
|
1047
|
+
*
|
|
1048
|
+
* @returns Value of property `customAttributeUrl`
|
|
1049
|
+
*/
|
|
1050
|
+
getCustomAttributeUrl(): string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Gets current value of property enableActions.
|
|
1053
|
+
*
|
|
1054
|
+
*
|
|
1055
|
+
* @returns Value of property `enableActions`
|
|
1056
|
+
*/
|
|
1057
|
+
getEnableActions(): boolean;
|
|
1058
|
+
/**
|
|
1059
|
+
* Gets current value of property customAttributeUrl.
|
|
1060
|
+
*
|
|
1061
|
+
*
|
|
1062
|
+
* @returns Value of property `customAttributeUrl`
|
|
1063
|
+
*/
|
|
1064
|
+
setCustomAttributeUrl(): string;
|
|
1065
|
+
/**
|
|
1066
|
+
* Gets current value of property enableActions.
|
|
1067
|
+
*
|
|
1068
|
+
*
|
|
1069
|
+
* @returns Value of property `enableActions`
|
|
1070
|
+
*/
|
|
1071
|
+
setEnableActions(): boolean;
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* Describes the settings that can be provided to the TaskPanel constructor.
|
|
1075
|
+
*
|
|
1076
|
+
* @experimental As of version 1.121.
|
|
1077
|
+
*/
|
|
1078
|
+
export interface $TaskPanelSettings extends $ToDoPanelSettings {
|
|
1079
|
+
/**
|
|
1080
|
+
* Specifies the URL that fetches the custom attributes to be displayed along with the task cards.
|
|
1081
|
+
*/
|
|
1082
|
+
customAttributeUrl?: string | PropertyBindingInfo;
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Specifies if actions should be enabled for the task cards.
|
|
1086
|
+
*/
|
|
1087
|
+
enableActions?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
425
1088
|
}
|
|
426
1089
|
}
|
|
427
1090
|
|
|
428
1091
|
declare module "sap/cux/home/TilesPanel" {
|
|
1092
|
+
import {
|
|
1093
|
+
default as BasePanel,
|
|
1094
|
+
$BasePanelSettings,
|
|
1095
|
+
} from "sap/cux/home/BasePanel";
|
|
1096
|
+
|
|
429
1097
|
/**
|
|
430
1098
|
* Tiles Panel class for managing and storing Insights Tiles.
|
|
431
1099
|
*
|
|
432
1100
|
* @since 1.122.0
|
|
433
|
-
* @experimental
|
|
1101
|
+
* @experimental As of version 1.122.0.
|
|
434
1102
|
*/
|
|
435
|
-
export default class TilesPanel
|
|
436
|
-
extends /* was: sap.cux.home.BasePanel */ Object
|
|
437
|
-
{
|
|
1103
|
+
export default class TilesPanel extends BasePanel {
|
|
438
1104
|
/**
|
|
439
1105
|
* Constructor for a new Tiles Panel.
|
|
440
1106
|
*/
|
|
@@ -449,24 +1115,39 @@ declare module "sap/cux/home/TilesPanel" {
|
|
|
449
1115
|
settings?: /* was: sap.cux.home.TilesPanel.$TilesPanelSettings */ any
|
|
450
1116
|
);
|
|
451
1117
|
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Describes the settings that can be provided to the TilesPanel constructor.
|
|
1120
|
+
*
|
|
1121
|
+
* @experimental As of version 1.122.0.
|
|
1122
|
+
*/
|
|
1123
|
+
export interface $TilesPanelSettings extends $BasePanelSettings {}
|
|
452
1124
|
}
|
|
453
1125
|
|
|
454
1126
|
declare module "sap/cux/home/ToDoPanel" {
|
|
1127
|
+
import {
|
|
1128
|
+
default as BasePanel,
|
|
1129
|
+
$BasePanelSettings,
|
|
1130
|
+
} from "sap/cux/home/BasePanel";
|
|
1131
|
+
|
|
1132
|
+
import { IToDoPanel } from "sap/cux/home/IToDoPanel";
|
|
1133
|
+
|
|
455
1134
|
import Context from "sap/ui/model/Context";
|
|
456
1135
|
|
|
457
1136
|
import Control from "sap/ui/core/Control";
|
|
458
1137
|
|
|
1138
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1139
|
+
|
|
459
1140
|
/**
|
|
460
1141
|
* Abstract Panel class for managing and storing To-Do cards.
|
|
461
1142
|
*
|
|
462
1143
|
* @since 1.121
|
|
463
|
-
* @experimental
|
|
1144
|
+
* @experimental As of version 1.121.
|
|
464
1145
|
*/
|
|
465
|
-
export default class ToDoPanel
|
|
466
|
-
extends
|
|
467
|
-
implements
|
|
1146
|
+
export default abstract class ToDoPanel
|
|
1147
|
+
extends BasePanel
|
|
1148
|
+
implements IToDoPanel
|
|
468
1149
|
{
|
|
469
|
-
|
|
1150
|
+
__implements__sap_cux_home_IToDoPanel: boolean;
|
|
470
1151
|
/**
|
|
471
1152
|
* Constructor for a new To-Dos Panel.
|
|
472
1153
|
*/
|
|
@@ -482,9 +1163,7 @@ declare module "sap/cux/home/ToDoPanel" {
|
|
|
482
1163
|
);
|
|
483
1164
|
|
|
484
1165
|
/**
|
|
485
|
-
*
|
|
486
|
-
* An extended panel can have it's own template by overridding
|
|
487
|
-
* this method and providing a custom card template.
|
|
1166
|
+
* Generates the card template for the Current Panel.
|
|
488
1167
|
*
|
|
489
1168
|
*
|
|
490
1169
|
* @returns The generated card template.
|
|
@@ -499,17 +1178,147 @@ declare module "sap/cux/home/ToDoPanel" {
|
|
|
499
1178
|
*/
|
|
500
1179
|
context: Context
|
|
501
1180
|
): Control;
|
|
1181
|
+
/**
|
|
1182
|
+
* Generates request URLs for fetching data based on the specified card count.
|
|
1183
|
+
*
|
|
1184
|
+
*
|
|
1185
|
+
* @returns An array of request URLs.
|
|
1186
|
+
*/
|
|
1187
|
+
generateRequestUrls(
|
|
1188
|
+
/**
|
|
1189
|
+
* - The number of cards to retrieve.
|
|
1190
|
+
*/
|
|
1191
|
+
cardCount: number
|
|
1192
|
+
): string[];
|
|
1193
|
+
/**
|
|
1194
|
+
* Gets current value of property baseUrl.
|
|
1195
|
+
*
|
|
1196
|
+
*
|
|
1197
|
+
* @returns Value of property `baseUrl`
|
|
1198
|
+
*/
|
|
1199
|
+
getBaseUrl(): string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Gets current value of property countUrl.
|
|
1202
|
+
*
|
|
1203
|
+
*
|
|
1204
|
+
* @returns Value of property `countUrl`
|
|
1205
|
+
*/
|
|
1206
|
+
getCountUrl(): string;
|
|
1207
|
+
/**
|
|
1208
|
+
* Gets current value of property dataUrl.
|
|
1209
|
+
*
|
|
1210
|
+
*
|
|
1211
|
+
* @returns Value of property `dataUrl`
|
|
1212
|
+
*/
|
|
1213
|
+
getDataUrl(): string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Get the text for the "No Data" message.
|
|
1216
|
+
*
|
|
1217
|
+
*
|
|
1218
|
+
* @returns The text for the "No Data" message.
|
|
1219
|
+
*/
|
|
1220
|
+
getNoDataText(): string;
|
|
1221
|
+
/**
|
|
1222
|
+
* Gets current value of property targetAppUrl.
|
|
1223
|
+
*
|
|
1224
|
+
*
|
|
1225
|
+
* @returns Value of property `targetAppUrl`
|
|
1226
|
+
*/
|
|
1227
|
+
getTargetAppUrl(): string;
|
|
1228
|
+
/**
|
|
1229
|
+
* A promise that resolves when the data has been processed.
|
|
1230
|
+
* This method can be overridden to perform additional data processing operations.
|
|
1231
|
+
*/
|
|
1232
|
+
onDataReceived(
|
|
1233
|
+
/**
|
|
1234
|
+
* - Data retrieved from the batch call.
|
|
1235
|
+
*/
|
|
1236
|
+
results?: any[],
|
|
1237
|
+
/**
|
|
1238
|
+
* - Additional options for parsing the data.
|
|
1239
|
+
* Structure may vary based on the backend service.
|
|
1240
|
+
*/
|
|
1241
|
+
options?: /* was: sap.cux.home.ToDoPanel.RequestOptions */ any
|
|
1242
|
+
): Promise<void>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Gets current value of property baseUrl.
|
|
1245
|
+
*
|
|
1246
|
+
*
|
|
1247
|
+
* @returns Value of property `baseUrl`
|
|
1248
|
+
*/
|
|
1249
|
+
setBaseUrl(): string;
|
|
1250
|
+
/**
|
|
1251
|
+
* Gets current value of property countUrl.
|
|
1252
|
+
*
|
|
1253
|
+
*
|
|
1254
|
+
* @returns Value of property `countUrl`
|
|
1255
|
+
*/
|
|
1256
|
+
setCountUrl(): string;
|
|
1257
|
+
/**
|
|
1258
|
+
* Gets current value of property dataUrl.
|
|
1259
|
+
*
|
|
1260
|
+
*
|
|
1261
|
+
* @returns Value of property `dataUrl`
|
|
1262
|
+
*/
|
|
1263
|
+
setDataUrl(): string;
|
|
1264
|
+
/**
|
|
1265
|
+
* Gets current value of property targetAppUrl.
|
|
1266
|
+
*
|
|
1267
|
+
*
|
|
1268
|
+
* @returns Value of property `targetAppUrl`
|
|
1269
|
+
*/
|
|
1270
|
+
setTargetAppUrl(): string;
|
|
1271
|
+
}
|
|
1272
|
+
/**
|
|
1273
|
+
* Describes the settings that can be provided to the ToDoPanel constructor.
|
|
1274
|
+
*
|
|
1275
|
+
* @experimental As of version 1.121.
|
|
1276
|
+
*/
|
|
1277
|
+
export interface $ToDoPanelSettings extends $BasePanelSettings {
|
|
1278
|
+
/**
|
|
1279
|
+
* Specifies the base URL for batching requests sent from the panel.
|
|
1280
|
+
*/
|
|
1281
|
+
baseUrl?: string | PropertyBindingInfo;
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* Specifies the URL for fetching the count of requested to-do cards.
|
|
1285
|
+
*/
|
|
1286
|
+
countUrl?: string | PropertyBindingInfo;
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Specifies the URL from where the to-do cards should be fetched.
|
|
1290
|
+
*/
|
|
1291
|
+
dataUrl?: string | PropertyBindingInfo;
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* Specifies the URL of the target application associated with the to-do cards.
|
|
1295
|
+
*/
|
|
1296
|
+
targetAppUrl?: string | PropertyBindingInfo;
|
|
502
1297
|
}
|
|
503
1298
|
}
|
|
504
1299
|
|
|
505
1300
|
declare module "sap/cux/home/ToDosContainer" {
|
|
1301
|
+
import {
|
|
1302
|
+
default as BaseContainer,
|
|
1303
|
+
$BaseContainerSettings,
|
|
1304
|
+
} from "sap/cux/home/BaseContainer";
|
|
1305
|
+
|
|
506
1306
|
/**
|
|
507
1307
|
* Container class for managing and storing To-Do cards.
|
|
508
1308
|
*
|
|
509
1309
|
* @since 1.121
|
|
510
|
-
* @experimental
|
|
1310
|
+
* @experimental As of version 1.121.
|
|
511
1311
|
*/
|
|
512
|
-
export default class ToDosContainer {
|
|
1312
|
+
export default class ToDosContainer extends BaseContainer {
|
|
1313
|
+
/**
|
|
1314
|
+
* Constructor for a new To-Dos container.
|
|
1315
|
+
*/
|
|
1316
|
+
constructor(
|
|
1317
|
+
/**
|
|
1318
|
+
* Initial settings for the new control
|
|
1319
|
+
*/
|
|
1320
|
+
settings?: $ToDosContainerSettings
|
|
1321
|
+
);
|
|
513
1322
|
/**
|
|
514
1323
|
* Constructor for a new To-Dos container.
|
|
515
1324
|
*/
|
|
@@ -521,7 +1330,7 @@ declare module "sap/cux/home/ToDosContainer" {
|
|
|
521
1330
|
/**
|
|
522
1331
|
* Initial settings for the new control
|
|
523
1332
|
*/
|
|
524
|
-
settings?:
|
|
1333
|
+
settings?: $ToDosContainerSettings
|
|
525
1334
|
);
|
|
526
1335
|
|
|
527
1336
|
/**
|
|
@@ -540,18 +1349,38 @@ declare module "sap/cux/home/ToDosContainer" {
|
|
|
540
1349
|
*/
|
|
541
1350
|
refreshData(): Promise<void>;
|
|
542
1351
|
}
|
|
1352
|
+
/**
|
|
1353
|
+
* Describes the settings that can be provided to the ToDosContainer constructor.
|
|
1354
|
+
*
|
|
1355
|
+
* @experimental As of version 1.121.
|
|
1356
|
+
*/
|
|
1357
|
+
export interface $ToDosContainerSettings extends $BaseContainerSettings {}
|
|
543
1358
|
}
|
|
544
1359
|
|
|
545
1360
|
declare namespace sap {
|
|
546
1361
|
interface IUI5DefineDependencyNames {
|
|
547
1362
|
"sap/cux/home/AppsContainer": undefined;
|
|
548
1363
|
|
|
1364
|
+
"sap/cux/home/BaseContainer": undefined;
|
|
1365
|
+
|
|
1366
|
+
"sap/cux/home/BaseLayout": undefined;
|
|
1367
|
+
|
|
1368
|
+
"sap/cux/home/BasePanel": undefined;
|
|
1369
|
+
|
|
1370
|
+
"sap/cux/home/BaseSettingsDialog": undefined;
|
|
1371
|
+
|
|
1372
|
+
"sap/cux/home/BaseSettingsPanel": undefined;
|
|
1373
|
+
|
|
549
1374
|
"sap/cux/home/CardsPanel": undefined;
|
|
550
1375
|
|
|
1376
|
+
"sap/cux/home/FavAppPanel": undefined;
|
|
1377
|
+
|
|
551
1378
|
"sap/cux/home/FrequentAppPanel": undefined;
|
|
552
1379
|
|
|
553
1380
|
"sap/cux/home/InsightsContainer": undefined;
|
|
554
1381
|
|
|
1382
|
+
"sap/cux/home/IToDoPanel": undefined;
|
|
1383
|
+
|
|
555
1384
|
"sap/cux/home/Layout": undefined;
|
|
556
1385
|
|
|
557
1386
|
"sap/cux/home/library": undefined;
|
|
@@ -568,6 +1397,8 @@ declare namespace sap {
|
|
|
568
1397
|
|
|
569
1398
|
"sap/cux/home/RecentAppPanel": undefined;
|
|
570
1399
|
|
|
1400
|
+
"sap/cux/home/RecommendedAppPanel": undefined;
|
|
1401
|
+
|
|
571
1402
|
"sap/cux/home/SituationPanel": undefined;
|
|
572
1403
|
|
|
573
1404
|
"sap/cux/home/TaskPanel": undefined;
|