@sapui5/types 1.141.3 → 1.142.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.
Files changed (70) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +1 -0
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.cux.base.d.ts +3 -0
  8. package/types/sap.esh.search.ui.d.ts +159 -4
  9. package/types/sap.f.d.ts +1 -1
  10. package/types/sap.fe.ariba.d.ts +1 -1
  11. package/types/sap.fe.base.d.ts +1 -1
  12. package/types/sap.fe.controls.d.ts +1 -1
  13. package/types/sap.fe.core.d.ts +471 -32
  14. package/types/sap.fe.ina.d.ts +1 -1
  15. package/types/sap.fe.macros.d.ts +2616 -95
  16. package/types/sap.fe.navigation.d.ts +2 -2
  17. package/types/sap.fe.placeholder.d.ts +1 -1
  18. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  19. package/types/sap.fe.templates.d.ts +79 -11
  20. package/types/sap.fe.test.d.ts +8 -1
  21. package/types/sap.fe.tools.d.ts +1 -1
  22. package/types/sap.feedback.ui.d.ts +1 -1
  23. package/types/sap.gantt.d.ts +4 -1
  24. package/types/sap.insights.d.ts +1 -1
  25. package/types/sap.m.d.ts +401 -55
  26. package/types/sap.makit.d.ts +1 -1
  27. package/types/sap.me.d.ts +1 -1
  28. package/types/sap.ndc.d.ts +106 -2
  29. package/types/sap.ovp.d.ts +1 -1
  30. package/types/sap.rules.ui.d.ts +1 -1
  31. package/types/sap.sac.df.d.ts +13 -3737
  32. package/types/sap.suite.ui.commons.d.ts +1 -1
  33. package/types/sap.suite.ui.generic.template.d.ts +28 -1
  34. package/types/sap.suite.ui.microchart.d.ts +1 -1
  35. package/types/sap.tnt.d.ts +1 -1
  36. package/types/sap.ui.codeeditor.d.ts +1 -1
  37. package/types/sap.ui.commons.d.ts +1 -1
  38. package/types/sap.ui.comp.d.ts +77 -9
  39. package/types/sap.ui.core.d.ts +1160 -639
  40. package/types/sap.ui.dt.d.ts +1 -1
  41. package/types/sap.ui.export.d.ts +63 -1
  42. package/types/sap.ui.fl.d.ts +1 -1
  43. package/types/sap.ui.generic.app.d.ts +1 -1
  44. package/types/sap.ui.generic.template.d.ts +1 -1
  45. package/types/sap.ui.integration.d.ts +1 -1
  46. package/types/sap.ui.layout.d.ts +100 -94
  47. package/types/sap.ui.mdc.d.ts +1505 -167
  48. package/types/sap.ui.richtexteditor.d.ts +1 -1
  49. package/types/sap.ui.rta.d.ts +1 -1
  50. package/types/sap.ui.suite.d.ts +1 -1
  51. package/types/sap.ui.support.d.ts +1 -1
  52. package/types/sap.ui.table.d.ts +13 -41
  53. package/types/sap.ui.testrecorder.d.ts +1 -1
  54. package/types/sap.ui.unified.d.ts +34 -78
  55. package/types/sap.ui.ux3.d.ts +1 -1
  56. package/types/sap.ui.vbm.d.ts +1 -1
  57. package/types/sap.ui.vk.d.ts +1 -1
  58. package/types/sap.ui.vtm.d.ts +1 -1
  59. package/types/sap.ui.webc.common.d.ts +1 -1
  60. package/types/sap.ui.webc.fiori.d.ts +1 -1
  61. package/types/sap.ui.webc.main.d.ts +1 -1
  62. package/types/sap.uiext.inbox.d.ts +1 -1
  63. package/types/sap.ushell.d.ts +13 -1
  64. package/types/sap.ushell_abap.d.ts +1 -1
  65. package/types/sap.uxap.d.ts +1 -1
  66. package/types/sap.viz.d.ts +1 -1
  67. package/types/sap.webanalytics.core.d.ts +1 -1
  68. package/types/sap.zen.commons.d.ts +335 -1
  69. package/types/sap.zen.crosstab.d.ts +1 -1
  70. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.141.1
1
+ // For Library Version: 1.142.0
2
2
 
3
3
  declare module "sap/fe/navigation/library" {
4
4
  /**
@@ -750,7 +750,7 @@ declare module "sap/fe/navigation/PresentationVariant" {
750
750
  /**
751
751
  * Defines version.
752
752
  */
753
- Version: object;
753
+ Version: any;
754
754
  /**
755
755
  * Defines visualizations.
756
756
  */
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.141.1
1
+ // For Library Version: 1.142.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.141.1
1
+ // For Library Version: 1.142.0
2
2
 
3
3
  declare module "sap/fe/plugins/managecache/library" {}
4
4
 
@@ -1,4 +1,54 @@
1
- // For Library Version: 1.141.1
1
+ // This is autogenerated, do not edit
2
+
3
+ declare module "sap/fe/templates/ListReport/ListReportControllerOverrides" {
4
+ export default interface ListReportControllerOverrides {
5
+ /**
6
+ * Method called when the content of a custom view used in a list report needs to be refreshed.
7
+ * This happens either when there is a change on the FilterBar and the search is triggered,
8
+ * or when a tab with custom content is selected,
9
+ * or when the view is forced to be refreshed through the Extension API for the list report's public method setTabContentToBeRefreshedOnNextOpening.
10
+ * This method can be overwritten by the controller extension for customization.
11
+ * @param mParameters Map containing the filter conditions of the FilterBar, the currentTabID,
12
+ * and the view refresh cause such as tabChanged, search, or forcedRefresh.
13
+ * See the following example of a map:
14
+ * <code><pre>
15
+ * {
16
+ * filterConditions: {
17
+ * Country: [
18
+ * {
19
+ * operator: "EQ"
20
+ * validated: "NotValidated"
21
+ * values: ["Germany", ...]
22
+ * },
23
+ * ...
24
+ * ]
25
+ * ...
26
+ * },
27
+ * currentTabId: "fe::CustomTab::tab1",
28
+ * refreshCause: "tabChanged" | "search" | "forcedRefresh"
29
+ * }
30
+ * </pre></code>
31
+ * @public
32
+ */
33
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
34
+ onViewNeedsRefresh(mParameters: unknown): void;
35
+ /**
36
+ * Method called when a filter or search value has been changed in the FilterBar,
37
+ * but has not been validated yet by the end user with the 'Go' or 'Search' button.
38
+ * Typically, the content of the current tab is greyed out until the filters are validated.
39
+ * This method can be overwritten by the controller extension for customization.
40
+ * @public
41
+ */
42
+ onPendingFilters(): void;
43
+ /**
44
+ * Method called when the 'Clear' button on the FilterBar is pressed.
45
+ * @public
46
+ */
47
+ onAfterClear(): void;
48
+ }
49
+ }
50
+
51
+ // For Library Version: 1.142.0
2
52
 
3
53
  declare module "sap/fe/templates/library" {}
4
54
 
@@ -164,9 +214,9 @@ declare module "sap/fe/templates/ListReport/ListReportController.controller" {
164
214
  onAfterClear(): void;
165
215
  /**
166
216
  * Method called when a filter or search value has been changed in the FilterBar,
167
- * but has not been validated yet by the end user (with the 'Go' or 'Search' button).
217
+ * but has not been validated yet by the end user with the 'Go' or 'Search' button.
168
218
  * Typically, the content of the current tab is greyed out until the filters are validated.
169
- * This method can be overwritten by the controller extension in case of customization.
219
+ * This method can be overwritten by the controller extension for customization.
170
220
  */
171
221
  onPendingFilters(): void;
172
222
  /**
@@ -175,13 +225,13 @@ declare module "sap/fe/templates/ListReport/ListReportController.controller" {
175
225
  * or when a tab with custom content is selected,
176
226
  * or when the view is forced to be refreshed through the Extension API for the list report's public method
177
227
  * setTabContentToBeRefreshedOnNextOpening.
178
- * This method can be overwritten by the controller extension in case of customization.
228
+ * This method can be overwritten by the controller extension for customization.
179
229
  */
180
230
  onViewNeedsRefresh(
181
231
  /**
182
- * Map containing the filter conditions of the FilterBar, the currentTabID
183
- * and the view refresh cause (tabChanged, search or forcedRefresh).
184
- * The map looks like this:
232
+ * Map containing the filter conditions of the FilterBar, the currentTabID,
233
+ * and the view refresh cause such as tabChanged, search, or forcedRefresh.
234
+ * See the following example of a map:
185
235
  *
186
236
  * ```javascript
187
237
  *
@@ -216,6 +266,8 @@ declare module "sap/fe/templates/ObjectPage/ExtensionAPI" {
216
266
 
217
267
  import ManagedObject from "sap/ui/base/ManagedObject";
218
268
 
269
+ import MessageStrip from "sap/m/MessageStrip";
270
+
219
271
  import Message from "sap/ui/core/message/Message";
220
272
 
221
273
  /**
@@ -262,7 +314,7 @@ declare module "sap/fe/templates/ObjectPage/ExtensionAPI" {
262
314
  * Path or array of paths referring to entities or properties to be refreshed.
263
315
  * If omitted, the whole object page is refreshed. The path "" refreshes the entity assigned to the object
264
316
  * page
265
- * without navigations
317
+ * without navigation.
266
318
  */
267
319
  vPath?: string | string[]
268
320
  ): Promise<void>;
@@ -287,13 +339,21 @@ declare module "sap/fe/templates/ObjectPage/ExtensionAPI" {
287
339
  control: ManagedObject
288
340
  ): void;
289
341
  /**
290
- * Displays the message strip between the title and the header of the ObjectPage.
342
+ * Displays the message strip between the title and the header of the ObjectPage. If only one message is
343
+ * provided, it is displayed directly in the message strip. If multiple messages are provided, they are
344
+ * prioritized by the order: Error, Warning, and Information and a corresponding generic text is displayed:
345
+ * - Error: "The object contains errors."
346
+ * - Warning: "The object contains warnings."
347
+ * - Information: "The object contains messages."
348
+ * If a back-end message is received with a target pointing to the Object Page, it is displayed in the message
349
+ * strip, overriding any existing message or message strip. If multiple back-end messages are received,
350
+ * the message with the highest priority is displayed with a generic text as described above.
291
351
  */
292
352
  showMessages(
293
353
  /**
294
- * The message to be displayed
354
+ * The message to be displayed or a MessageStrip control
295
355
  */
296
- messages: Message[]
356
+ messagesOrStrip: MessageStrip | Message[]
297
357
  ): void;
298
358
  /**
299
359
  * Displays or hides the side content of an object page.
@@ -311,6 +371,12 @@ declare module "sap/fe/templates/ObjectPage/ExtensionAPI" {
311
371
  }
312
372
  }
313
373
 
374
+ declare module "sap/fe/templates/ObjectPage/ObjectPageController.controller" {
375
+ import PageController from "sap/fe/core/PageController";
376
+
377
+ export default class ObjectPageController extends PageController {}
378
+ }
379
+
314
380
  declare namespace sap {
315
381
  interface IUI5DefineDependencyNames {
316
382
  "sap/fe/templates/library": undefined;
@@ -320,5 +386,7 @@ declare namespace sap {
320
386
  "sap/fe/templates/ListReport/ListReportController.controller": undefined;
321
387
 
322
388
  "sap/fe/templates/ObjectPage/ExtensionAPI": undefined;
389
+
390
+ "sap/fe/templates/ObjectPage/ObjectPageController.controller": undefined;
323
391
  }
324
392
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.141.1
1
+ // For Library Version: 1.142.0
2
2
 
3
3
  declare module "sap/fe/test/library" {}
4
4
 
@@ -1174,6 +1174,13 @@ declare module "sap/fe/test/api/FilterBarAssertions" {
1174
1174
  * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
1175
1175
  */
1176
1176
  iSeeFocusOnGoButton(): object;
1177
+ /**
1178
+ * Checks if the focus is on the search field.
1179
+ *
1180
+ *
1181
+ * @returns The result of the {@link sa p.ui.test.Opa5#waitFor} function, to be used for chained statements
1182
+ */
1183
+ iSeeFocusOnSearchField(): object;
1177
1184
  }
1178
1185
  }
1179
1186
 
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.141.1
1
+ // For Library Version: 1.142.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.141.0
1
+ // For Library Version: 1.142.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.141.0
1
+ // For Library Version: 1.142.0
2
2
 
3
3
  declare module "sap/gantt/library" {
4
4
  import ChartScheme from "sap/gantt/config/ChartScheme";
@@ -45395,6 +45395,7 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
45395
45395
  * Gets current value of property {@link #getUseParentShapeOnExpand useParentShapeOnExpand}.
45396
45396
  *
45397
45397
  * Determines if only tasks need to be used for rendering the expanded shapes. Subtasks are not required.
45398
+ * PseudoShape creation depends only on the tasks, and subtasks are not considered.
45398
45399
  *
45399
45400
  * Default value is `false`.
45400
45401
  *
@@ -47010,6 +47011,7 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
47010
47011
  * Sets a new value for property {@link #getUseParentShapeOnExpand useParentShapeOnExpand}.
47011
47012
  *
47012
47013
  * Determines if only tasks need to be used for rendering the expanded shapes. Subtasks are not required.
47014
+ * PseudoShape creation depends only on the tasks, and subtasks are not considered.
47013
47015
  *
47014
47016
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
47015
47017
  *
@@ -47535,6 +47537,7 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
47535
47537
 
47536
47538
  /**
47537
47539
  * Determines if only tasks need to be used for rendering the expanded shapes. Subtasks are not required.
47540
+ * PseudoShape creation depends only on the tasks, and subtasks are not considered.
47538
47541
  *
47539
47542
  * @since 1.98
47540
47543
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.141.0
1
+ // For Library Version: 1.142.0
2
2
 
3
3
  declare module "sap/insights/library" {}
4
4