@sapui5/ts-types-esm 1.132.1 → 1.134.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 +927 -110
- package/types/sap.esh.search.ui.d.ts +45 -1
- package/types/sap.f.d.ts +211 -183
- 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 +40 -11
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +141 -99
- 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 +576 -464
- package/types/sap.insights.d.ts +3 -3
- package/types/sap.m.d.ts +2574 -1193
- 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 +465 -193
- package/types/sap.suite.ui.commons.d.ts +432 -487
- package/types/sap.suite.ui.generic.template.d.ts +80 -37
- package/types/sap.suite.ui.microchart.d.ts +55 -79
- package/types/sap.tnt.d.ts +335 -20
- package/types/sap.ui.codeeditor.d.ts +9 -7
- package/types/sap.ui.commons.d.ts +326 -335
- package/types/sap.ui.comp.d.ts +432 -445
- package/types/sap.ui.core.d.ts +46978 -46714
- 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 +322 -236
- package/types/sap.ui.layout.d.ts +90 -104
- package/types/sap.ui.mdc.d.ts +393 -153
- package/types/sap.ui.richtexteditor.d.ts +48 -8
- package/types/sap.ui.rta.d.ts +76 -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 +170 -158
- package/types/sap.ui.ux3.d.ts +113 -117
- package/types/sap.ui.vbm.d.ts +391 -60
- package/types/sap.ui.vk.d.ts +138 -135
- 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 +246 -126
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +39 -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,43 +460,130 @@ 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
|
*/
|
|
88
|
-
constructor(
|
|
484
|
+
constructor(
|
|
485
|
+
/**
|
|
486
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
487
|
+
*/
|
|
488
|
+
id?: string,
|
|
489
|
+
/**
|
|
490
|
+
* Initial settings for the new control
|
|
491
|
+
*/
|
|
492
|
+
settings?: /* was: sap.cux.home.BaseContainer.$BaseContainerSettings */ any
|
|
493
|
+
);
|
|
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(
|
|
89
562
|
/**
|
|
90
|
-
*
|
|
563
|
+
* - The data received from the request.
|
|
91
564
|
*/
|
|
92
|
-
|
|
565
|
+
data: any[],
|
|
93
566
|
/**
|
|
94
|
-
*
|
|
567
|
+
* - Optional request options.
|
|
95
568
|
*/
|
|
96
|
-
|
|
97
|
-
)
|
|
569
|
+
options?: /* was: sap.cux.home.ToDoPanel.RequestOptions */ any
|
|
570
|
+
): Promise<void>;
|
|
98
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
|
*/
|
|
@@ -120,45 +598,30 @@ declare module "sap/cux/home/Layout" {
|
|
|
120
598
|
settings?: /* was: sap.cux.home.BaseLayout.$BaseLayoutSettings */ any
|
|
121
599
|
);
|
|
122
600
|
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
declare module "sap/cux/home/library" {
|
|
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,90 @@ 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
|
-
* Sets a new value for property "colorPersonalizations".
|
|
266
|
-
* Color Personalizations for Spaces & Pages
|
|
267
|
-
* When called with a value of "null" or "undefined", the default value of the property will be restored.
|
|
268
|
-
* Default value is: []
|
|
823
|
+
* Gets current value of property type.
|
|
824
|
+
*
|
|
269
825
|
*
|
|
826
|
+
* @returns Value of property `type`
|
|
827
|
+
*/
|
|
828
|
+
getType(): NewsType;
|
|
829
|
+
/**
|
|
830
|
+
* Gets current value of property url.
|
|
270
831
|
*
|
|
271
832
|
*
|
|
272
|
-
* @returns
|
|
833
|
+
* @returns Value of property `url`
|
|
273
834
|
*/
|
|
274
|
-
|
|
835
|
+
getUrl(): string;
|
|
275
836
|
/**
|
|
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: []
|
|
837
|
+
* Gets current value of property type.
|
|
282
838
|
*
|
|
283
839
|
*
|
|
840
|
+
* @returns Value of property `type`
|
|
841
|
+
*/
|
|
842
|
+
setType(): NewsType;
|
|
843
|
+
/**
|
|
844
|
+
* Gets current value of property url.
|
|
845
|
+
*
|
|
284
846
|
*
|
|
285
|
-
* @returns
|
|
847
|
+
* @returns Value of property `url`
|
|
286
848
|
*/
|
|
287
|
-
|
|
849
|
+
setUrl(): string;
|
|
288
850
|
}
|
|
289
851
|
}
|
|
290
852
|
|
|
291
|
-
declare module "sap/cux/home/
|
|
853
|
+
declare module "sap/cux/home/NoDataContainer" {
|
|
854
|
+
import {
|
|
855
|
+
default as BaseContainer,
|
|
856
|
+
$BaseContainerSettings,
|
|
857
|
+
} from "sap/cux/home/BaseContainer";
|
|
858
|
+
|
|
292
859
|
/**
|
|
293
|
-
*
|
|
860
|
+
* Container class to show no data content.
|
|
294
861
|
*
|
|
295
862
|
* @since 1.121
|
|
296
|
-
* @experimental
|
|
863
|
+
* @experimental As of version 1.121.
|
|
297
864
|
*/
|
|
298
|
-
export default class
|
|
865
|
+
export default class NoDataContainer extends BaseContainer {
|
|
299
866
|
/**
|
|
300
|
-
* Constructor for a new
|
|
867
|
+
* Constructor for a new NoData Container.
|
|
301
868
|
*/
|
|
302
869
|
constructor(
|
|
303
870
|
/**
|
|
@@ -307,20 +874,15 @@ declare module "sap/cux/home/NewsPanel" {
|
|
|
307
874
|
/**
|
|
308
875
|
* Initial settings for the new control
|
|
309
876
|
*/
|
|
310
|
-
settings?: /* was: sap.cux.home.
|
|
877
|
+
settings?: /* was: sap.cux.home.BaseContainer.$BaseContainerSettings */ any
|
|
311
878
|
);
|
|
312
879
|
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
declare module "sap/cux/home/NoDataContainer" {
|
|
316
880
|
/**
|
|
317
|
-
*
|
|
881
|
+
* Describes the settings that can be provided to the NoDataContainer constructor.
|
|
318
882
|
*
|
|
319
|
-
* @
|
|
320
|
-
* @experimental (since 1.121)
|
|
883
|
+
* @experimental As of version 1.121.
|
|
321
884
|
*/
|
|
322
|
-
export
|
|
323
|
-
extends /* was: sap.cux.home.BaseContainer */ Object {}
|
|
885
|
+
export interface $NoDataContainerSettings extends $BaseContainerSettings {}
|
|
324
886
|
}
|
|
325
887
|
|
|
326
888
|
declare module "sap/cux/home/PagePanel" {
|
|
@@ -328,9 +890,11 @@ declare module "sap/cux/home/PagePanel" {
|
|
|
328
890
|
* Panel class for managing and storing Pages.
|
|
329
891
|
*
|
|
330
892
|
* @since 1.122
|
|
331
|
-
* @experimental
|
|
893
|
+
* @experimental As of version 1.122.
|
|
332
894
|
*/
|
|
333
|
-
export default class PagePanel
|
|
895
|
+
export default class PagePanel
|
|
896
|
+
extends /* was: sap.cux.home.BasePagePanel */ Object
|
|
897
|
+
{
|
|
334
898
|
/**
|
|
335
899
|
* Constructor for a new Page panel.
|
|
336
900
|
*/
|
|
@@ -352,9 +916,11 @@ declare module "sap/cux/home/RecentAppPanel" {
|
|
|
352
916
|
* Provides class for managing Recently Used apps.
|
|
353
917
|
*
|
|
354
918
|
* @since 1.121.0
|
|
355
|
-
* @experimental
|
|
919
|
+
* @experimental As of version 1.121.0.
|
|
356
920
|
*/
|
|
357
|
-
export default class RecentAppPanel
|
|
921
|
+
export default class RecentAppPanel
|
|
922
|
+
extends /* was: sap.cux.home.BaseAppPersPanel */ Object
|
|
923
|
+
{
|
|
358
924
|
/**
|
|
359
925
|
* Constructor for a new Recently Used apps Panel.
|
|
360
926
|
*/
|
|
@@ -366,22 +932,50 @@ declare module "sap/cux/home/RecentAppPanel" {
|
|
|
366
932
|
/**
|
|
367
933
|
* Initial settings for the new control
|
|
368
934
|
*/
|
|
369
|
-
settings?: /* was: sap.cux.home.
|
|
935
|
+
settings?: /* was: sap.cux.home.BasePanel.$BasePanelSettings */ any
|
|
936
|
+
);
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
declare module "sap/cux/home/RecommendedAppPanel" {
|
|
941
|
+
/**
|
|
942
|
+
* Provides the RecommendedAppPanel Class.
|
|
943
|
+
*
|
|
944
|
+
* @since 1.128.0
|
|
945
|
+
* @experimental As of version 1.128.0.
|
|
946
|
+
*/
|
|
947
|
+
export default class RecommendedAppPanel
|
|
948
|
+
extends /* was: sap.cux.home.BaseAppPersPanel */ Object
|
|
949
|
+
{
|
|
950
|
+
/**
|
|
951
|
+
* Constructor for a new Recommended Apps Panel.
|
|
952
|
+
*/
|
|
953
|
+
constructor(
|
|
954
|
+
/**
|
|
955
|
+
* ID for the new control, generated automatically if an ID is not provided
|
|
956
|
+
*/
|
|
957
|
+
id?: string,
|
|
958
|
+
/**
|
|
959
|
+
* Initial settings for the new control
|
|
960
|
+
*/
|
|
961
|
+
settings?: /* was: sap.cux.home.BasePanel.$BasePanelSettings */ any
|
|
370
962
|
);
|
|
371
963
|
}
|
|
372
964
|
}
|
|
373
965
|
|
|
374
966
|
declare module "sap/cux/home/SituationPanel" {
|
|
967
|
+
import {
|
|
968
|
+
default as ToDoPanel,
|
|
969
|
+
$ToDoPanelSettings,
|
|
970
|
+
} from "sap/cux/home/ToDoPanel";
|
|
971
|
+
|
|
375
972
|
/**
|
|
376
973
|
* Panel class for managing and storing Situation cards.
|
|
377
974
|
*
|
|
378
975
|
* @since 1.121
|
|
379
|
-
* @experimental
|
|
976
|
+
* @experimental As of version 1.121.
|
|
380
977
|
*/
|
|
381
|
-
export default class SituationPanel
|
|
382
|
-
implements /* was: sap.cux.home.ToDoPanel.IToDoPanel */ Object
|
|
383
|
-
{
|
|
384
|
-
__implements__sap_cux_home_ToDoPanel_IToDoPanel: boolean;
|
|
978
|
+
export default class SituationPanel extends ToDoPanel {
|
|
385
979
|
/**
|
|
386
980
|
* Constructor for a new Situation Panel.
|
|
387
981
|
*/
|
|
@@ -396,19 +990,29 @@ declare module "sap/cux/home/SituationPanel" {
|
|
|
396
990
|
settings?: /* was: sap.cux.home.ToDoPanel.$ToDoPanelSettings */ any
|
|
397
991
|
);
|
|
398
992
|
}
|
|
993
|
+
/**
|
|
994
|
+
* Describes the settings that can be provided to the SituationPanel constructor.
|
|
995
|
+
*
|
|
996
|
+
* @experimental As of version 1.121.
|
|
997
|
+
*/
|
|
998
|
+
export interface $SituationPanelSettings extends $ToDoPanelSettings {}
|
|
399
999
|
}
|
|
400
1000
|
|
|
401
1001
|
declare module "sap/cux/home/TaskPanel" {
|
|
1002
|
+
import {
|
|
1003
|
+
default as ToDoPanel,
|
|
1004
|
+
$ToDoPanelSettings,
|
|
1005
|
+
} from "sap/cux/home/ToDoPanel";
|
|
1006
|
+
|
|
1007
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1008
|
+
|
|
402
1009
|
/**
|
|
403
1010
|
* Panel class for managing and storing Task cards.
|
|
404
1011
|
*
|
|
405
1012
|
* @since 1.121
|
|
406
|
-
* @experimental
|
|
1013
|
+
* @experimental As of version 1.121.
|
|
407
1014
|
*/
|
|
408
|
-
export default class TaskPanel
|
|
409
|
-
implements /* was: sap.cux.home.ToDoPanel.IToDoPanel */ Object
|
|
410
|
-
{
|
|
411
|
-
__implements__sap_cux_home_ToDoPanel_IToDoPanel: boolean;
|
|
1015
|
+
export default class TaskPanel extends ToDoPanel {
|
|
412
1016
|
/**
|
|
413
1017
|
* Constructor for a new Task Panel.
|
|
414
1018
|
*/
|
|
@@ -422,19 +1026,67 @@ declare module "sap/cux/home/TaskPanel" {
|
|
|
422
1026
|
*/
|
|
423
1027
|
settings?: /* was: sap.cux.home.TaskPanel.$TaskPanelSettings */ any
|
|
424
1028
|
);
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Gets current value of property customAttributeUrl.
|
|
1032
|
+
*
|
|
1033
|
+
*
|
|
1034
|
+
* @returns Value of property `customAttributeUrl`
|
|
1035
|
+
*/
|
|
1036
|
+
getCustomAttributeUrl(): string;
|
|
1037
|
+
/**
|
|
1038
|
+
* Gets current value of property enableActions.
|
|
1039
|
+
*
|
|
1040
|
+
*
|
|
1041
|
+
* @returns Value of property `enableActions`
|
|
1042
|
+
*/
|
|
1043
|
+
getEnableActions(): boolean;
|
|
1044
|
+
/**
|
|
1045
|
+
* Gets current value of property customAttributeUrl.
|
|
1046
|
+
*
|
|
1047
|
+
*
|
|
1048
|
+
* @returns Value of property `customAttributeUrl`
|
|
1049
|
+
*/
|
|
1050
|
+
setCustomAttributeUrl(): string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Gets current value of property enableActions.
|
|
1053
|
+
*
|
|
1054
|
+
*
|
|
1055
|
+
* @returns Value of property `enableActions`
|
|
1056
|
+
*/
|
|
1057
|
+
setEnableActions(): boolean;
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* Describes the settings that can be provided to the TaskPanel constructor.
|
|
1061
|
+
*
|
|
1062
|
+
* @experimental As of version 1.121.
|
|
1063
|
+
*/
|
|
1064
|
+
export interface $TaskPanelSettings extends $ToDoPanelSettings {
|
|
1065
|
+
/**
|
|
1066
|
+
* Specifies the URL that fetches the custom attributes to be displayed along with the task cards.
|
|
1067
|
+
*/
|
|
1068
|
+
customAttributeUrl?: string | PropertyBindingInfo;
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Specifies if actions should be enabled for the task cards.
|
|
1072
|
+
*/
|
|
1073
|
+
enableActions?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
425
1074
|
}
|
|
426
1075
|
}
|
|
427
1076
|
|
|
428
1077
|
declare module "sap/cux/home/TilesPanel" {
|
|
1078
|
+
import {
|
|
1079
|
+
default as BasePanel,
|
|
1080
|
+
$BasePanelSettings,
|
|
1081
|
+
} from "sap/cux/home/BasePanel";
|
|
1082
|
+
|
|
429
1083
|
/**
|
|
430
1084
|
* Tiles Panel class for managing and storing Insights Tiles.
|
|
431
1085
|
*
|
|
432
1086
|
* @since 1.122.0
|
|
433
|
-
* @experimental
|
|
1087
|
+
* @experimental As of version 1.122.0.
|
|
434
1088
|
*/
|
|
435
|
-
export default class TilesPanel
|
|
436
|
-
extends /* was: sap.cux.home.BasePanel */ Object
|
|
437
|
-
{
|
|
1089
|
+
export default class TilesPanel extends BasePanel {
|
|
438
1090
|
/**
|
|
439
1091
|
* Constructor for a new Tiles Panel.
|
|
440
1092
|
*/
|
|
@@ -449,24 +1101,39 @@ declare module "sap/cux/home/TilesPanel" {
|
|
|
449
1101
|
settings?: /* was: sap.cux.home.TilesPanel.$TilesPanelSettings */ any
|
|
450
1102
|
);
|
|
451
1103
|
}
|
|
1104
|
+
/**
|
|
1105
|
+
* Describes the settings that can be provided to the TilesPanel constructor.
|
|
1106
|
+
*
|
|
1107
|
+
* @experimental As of version 1.122.0.
|
|
1108
|
+
*/
|
|
1109
|
+
export interface $TilesPanelSettings extends $BasePanelSettings {}
|
|
452
1110
|
}
|
|
453
1111
|
|
|
454
1112
|
declare module "sap/cux/home/ToDoPanel" {
|
|
1113
|
+
import {
|
|
1114
|
+
default as BasePanel,
|
|
1115
|
+
$BasePanelSettings,
|
|
1116
|
+
} from "sap/cux/home/BasePanel";
|
|
1117
|
+
|
|
1118
|
+
import { IToDoPanel } from "sap/cux/home/IToDoPanel";
|
|
1119
|
+
|
|
455
1120
|
import Context from "sap/ui/model/Context";
|
|
456
1121
|
|
|
457
1122
|
import Control from "sap/ui/core/Control";
|
|
458
1123
|
|
|
1124
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1125
|
+
|
|
459
1126
|
/**
|
|
460
1127
|
* Abstract Panel class for managing and storing To-Do cards.
|
|
461
1128
|
*
|
|
462
1129
|
* @since 1.121
|
|
463
|
-
* @experimental
|
|
1130
|
+
* @experimental As of version 1.121.
|
|
464
1131
|
*/
|
|
465
|
-
export default class ToDoPanel
|
|
466
|
-
extends
|
|
467
|
-
implements
|
|
1132
|
+
export default abstract class ToDoPanel
|
|
1133
|
+
extends BasePanel
|
|
1134
|
+
implements IToDoPanel
|
|
468
1135
|
{
|
|
469
|
-
|
|
1136
|
+
__implements__sap_cux_home_IToDoPanel: boolean;
|
|
470
1137
|
/**
|
|
471
1138
|
* Constructor for a new To-Dos Panel.
|
|
472
1139
|
*/
|
|
@@ -482,9 +1149,7 @@ declare module "sap/cux/home/ToDoPanel" {
|
|
|
482
1149
|
);
|
|
483
1150
|
|
|
484
1151
|
/**
|
|
485
|
-
*
|
|
486
|
-
* An extended panel can have it's own template by overridding
|
|
487
|
-
* this method and providing a custom card template.
|
|
1152
|
+
* Generates the card template for the Current Panel.
|
|
488
1153
|
*
|
|
489
1154
|
*
|
|
490
1155
|
* @returns The generated card template.
|
|
@@ -499,17 +1164,147 @@ declare module "sap/cux/home/ToDoPanel" {
|
|
|
499
1164
|
*/
|
|
500
1165
|
context: Context
|
|
501
1166
|
): Control;
|
|
1167
|
+
/**
|
|
1168
|
+
* Generates request URLs for fetching data based on the specified card count.
|
|
1169
|
+
*
|
|
1170
|
+
*
|
|
1171
|
+
* @returns An array of request URLs.
|
|
1172
|
+
*/
|
|
1173
|
+
generateRequestUrls(
|
|
1174
|
+
/**
|
|
1175
|
+
* - The number of cards to retrieve.
|
|
1176
|
+
*/
|
|
1177
|
+
cardCount: number
|
|
1178
|
+
): string[];
|
|
1179
|
+
/**
|
|
1180
|
+
* Gets current value of property baseUrl.
|
|
1181
|
+
*
|
|
1182
|
+
*
|
|
1183
|
+
* @returns Value of property `baseUrl`
|
|
1184
|
+
*/
|
|
1185
|
+
getBaseUrl(): string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Gets current value of property countUrl.
|
|
1188
|
+
*
|
|
1189
|
+
*
|
|
1190
|
+
* @returns Value of property `countUrl`
|
|
1191
|
+
*/
|
|
1192
|
+
getCountUrl(): string;
|
|
1193
|
+
/**
|
|
1194
|
+
* Gets current value of property dataUrl.
|
|
1195
|
+
*
|
|
1196
|
+
*
|
|
1197
|
+
* @returns Value of property `dataUrl`
|
|
1198
|
+
*/
|
|
1199
|
+
getDataUrl(): string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Get the text for the "No Data" message.
|
|
1202
|
+
*
|
|
1203
|
+
*
|
|
1204
|
+
* @returns The text for the "No Data" message.
|
|
1205
|
+
*/
|
|
1206
|
+
getNoDataText(): string;
|
|
1207
|
+
/**
|
|
1208
|
+
* Gets current value of property targetAppUrl.
|
|
1209
|
+
*
|
|
1210
|
+
*
|
|
1211
|
+
* @returns Value of property `targetAppUrl`
|
|
1212
|
+
*/
|
|
1213
|
+
getTargetAppUrl(): string;
|
|
1214
|
+
/**
|
|
1215
|
+
* A promise that resolves when the data has been processed.
|
|
1216
|
+
* This method can be overridden to perform additional data processing operations.
|
|
1217
|
+
*/
|
|
1218
|
+
onDataReceived(
|
|
1219
|
+
/**
|
|
1220
|
+
* - Data retrieved from the batch call.
|
|
1221
|
+
*/
|
|
1222
|
+
results?: any[],
|
|
1223
|
+
/**
|
|
1224
|
+
* - Additional options for parsing the data.
|
|
1225
|
+
* Structure may vary based on the backend service.
|
|
1226
|
+
*/
|
|
1227
|
+
options?: /* was: sap.cux.home.ToDoPanel.RequestOptions */ any
|
|
1228
|
+
): Promise<void>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Gets current value of property baseUrl.
|
|
1231
|
+
*
|
|
1232
|
+
*
|
|
1233
|
+
* @returns Value of property `baseUrl`
|
|
1234
|
+
*/
|
|
1235
|
+
setBaseUrl(): string;
|
|
1236
|
+
/**
|
|
1237
|
+
* Gets current value of property countUrl.
|
|
1238
|
+
*
|
|
1239
|
+
*
|
|
1240
|
+
* @returns Value of property `countUrl`
|
|
1241
|
+
*/
|
|
1242
|
+
setCountUrl(): string;
|
|
1243
|
+
/**
|
|
1244
|
+
* Gets current value of property dataUrl.
|
|
1245
|
+
*
|
|
1246
|
+
*
|
|
1247
|
+
* @returns Value of property `dataUrl`
|
|
1248
|
+
*/
|
|
1249
|
+
setDataUrl(): string;
|
|
1250
|
+
/**
|
|
1251
|
+
* Gets current value of property targetAppUrl.
|
|
1252
|
+
*
|
|
1253
|
+
*
|
|
1254
|
+
* @returns Value of property `targetAppUrl`
|
|
1255
|
+
*/
|
|
1256
|
+
setTargetAppUrl(): string;
|
|
1257
|
+
}
|
|
1258
|
+
/**
|
|
1259
|
+
* Describes the settings that can be provided to the ToDoPanel constructor.
|
|
1260
|
+
*
|
|
1261
|
+
* @experimental As of version 1.121.
|
|
1262
|
+
*/
|
|
1263
|
+
export interface $ToDoPanelSettings extends $BasePanelSettings {
|
|
1264
|
+
/**
|
|
1265
|
+
* Specifies the base URL for batching requests sent from the panel.
|
|
1266
|
+
*/
|
|
1267
|
+
baseUrl?: string | PropertyBindingInfo;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Specifies the URL for fetching the count of requested to-do cards.
|
|
1271
|
+
*/
|
|
1272
|
+
countUrl?: string | PropertyBindingInfo;
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* Specifies the URL from where the to-do cards should be fetched.
|
|
1276
|
+
*/
|
|
1277
|
+
dataUrl?: string | PropertyBindingInfo;
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Specifies the URL of the target application associated with the to-do cards.
|
|
1281
|
+
*/
|
|
1282
|
+
targetAppUrl?: string | PropertyBindingInfo;
|
|
502
1283
|
}
|
|
503
1284
|
}
|
|
504
1285
|
|
|
505
1286
|
declare module "sap/cux/home/ToDosContainer" {
|
|
1287
|
+
import {
|
|
1288
|
+
default as BaseContainer,
|
|
1289
|
+
$BaseContainerSettings,
|
|
1290
|
+
} from "sap/cux/home/BaseContainer";
|
|
1291
|
+
|
|
506
1292
|
/**
|
|
507
1293
|
* Container class for managing and storing To-Do cards.
|
|
508
1294
|
*
|
|
509
1295
|
* @since 1.121
|
|
510
|
-
* @experimental
|
|
1296
|
+
* @experimental As of version 1.121.
|
|
511
1297
|
*/
|
|
512
|
-
export default class ToDosContainer {
|
|
1298
|
+
export default class ToDosContainer extends BaseContainer {
|
|
1299
|
+
/**
|
|
1300
|
+
* Constructor for a new To-Dos container.
|
|
1301
|
+
*/
|
|
1302
|
+
constructor(
|
|
1303
|
+
/**
|
|
1304
|
+
* Initial settings for the new control
|
|
1305
|
+
*/
|
|
1306
|
+
settings?: $ToDosContainerSettings
|
|
1307
|
+
);
|
|
513
1308
|
/**
|
|
514
1309
|
* Constructor for a new To-Dos container.
|
|
515
1310
|
*/
|
|
@@ -521,7 +1316,7 @@ declare module "sap/cux/home/ToDosContainer" {
|
|
|
521
1316
|
/**
|
|
522
1317
|
* Initial settings for the new control
|
|
523
1318
|
*/
|
|
524
|
-
settings?:
|
|
1319
|
+
settings?: $ToDosContainerSettings
|
|
525
1320
|
);
|
|
526
1321
|
|
|
527
1322
|
/**
|
|
@@ -540,18 +1335,38 @@ declare module "sap/cux/home/ToDosContainer" {
|
|
|
540
1335
|
*/
|
|
541
1336
|
refreshData(): Promise<void>;
|
|
542
1337
|
}
|
|
1338
|
+
/**
|
|
1339
|
+
* Describes the settings that can be provided to the ToDosContainer constructor.
|
|
1340
|
+
*
|
|
1341
|
+
* @experimental As of version 1.121.
|
|
1342
|
+
*/
|
|
1343
|
+
export interface $ToDosContainerSettings extends $BaseContainerSettings {}
|
|
543
1344
|
}
|
|
544
1345
|
|
|
545
1346
|
declare namespace sap {
|
|
546
1347
|
interface IUI5DefineDependencyNames {
|
|
547
1348
|
"sap/cux/home/AppsContainer": undefined;
|
|
548
1349
|
|
|
1350
|
+
"sap/cux/home/BaseContainer": undefined;
|
|
1351
|
+
|
|
1352
|
+
"sap/cux/home/BaseLayout": undefined;
|
|
1353
|
+
|
|
1354
|
+
"sap/cux/home/BasePanel": undefined;
|
|
1355
|
+
|
|
1356
|
+
"sap/cux/home/BaseSettingsDialog": undefined;
|
|
1357
|
+
|
|
1358
|
+
"sap/cux/home/BaseSettingsPanel": undefined;
|
|
1359
|
+
|
|
549
1360
|
"sap/cux/home/CardsPanel": undefined;
|
|
550
1361
|
|
|
1362
|
+
"sap/cux/home/FavAppPanel": undefined;
|
|
1363
|
+
|
|
551
1364
|
"sap/cux/home/FrequentAppPanel": undefined;
|
|
552
1365
|
|
|
553
1366
|
"sap/cux/home/InsightsContainer": undefined;
|
|
554
1367
|
|
|
1368
|
+
"sap/cux/home/IToDoPanel": undefined;
|
|
1369
|
+
|
|
555
1370
|
"sap/cux/home/Layout": undefined;
|
|
556
1371
|
|
|
557
1372
|
"sap/cux/home/library": undefined;
|
|
@@ -568,6 +1383,8 @@ declare namespace sap {
|
|
|
568
1383
|
|
|
569
1384
|
"sap/cux/home/RecentAppPanel": undefined;
|
|
570
1385
|
|
|
1386
|
+
"sap/cux/home/RecommendedAppPanel": undefined;
|
|
1387
|
+
|
|
571
1388
|
"sap/cux/home/SituationPanel": undefined;
|
|
572
1389
|
|
|
573
1390
|
"sap/cux/home/TaskPanel": undefined;
|