@sapui5/ts-types 1.109.3 → 1.110.1

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 (65) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +0 -1
  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 +39 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +235 -28
  8. package/types/sap.f.d.ts +49 -28
  9. package/types/sap.fe.core.d.ts +85 -22
  10. package/types/sap.fe.macros.d.ts +84 -36
  11. package/types/sap.fe.navigation.d.ts +316 -936
  12. package/types/sap.fe.templates.d.ts +103 -8
  13. package/types/sap.fe.test.d.ts +25 -24
  14. package/types/sap.feedback.ui.d.ts +1 -1
  15. package/types/sap.gantt.d.ts +176 -29
  16. package/types/sap.insights.d.ts +1 -1
  17. package/types/sap.landvisz.d.ts +1 -1
  18. package/types/sap.m.d.ts +4272 -712
  19. package/types/sap.makit.d.ts +1 -1
  20. package/types/sap.me.d.ts +1 -1
  21. package/types/sap.ndc.d.ts +20 -8
  22. package/types/sap.ovp.d.ts +125 -1
  23. package/types/sap.rules.ui.d.ts +1 -1
  24. package/types/sap.sac.df.d.ts +102 -4
  25. package/types/sap.sac.grid.d.ts +1 -1
  26. package/types/sap.suite.ui.commons.d.ts +51 -1
  27. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  28. package/types/sap.suite.ui.microchart.d.ts +1 -1
  29. package/types/sap.tnt.d.ts +1 -1
  30. package/types/sap.ui.codeeditor.d.ts +4 -2
  31. package/types/sap.ui.commons.d.ts +86 -32
  32. package/types/sap.ui.comp.d.ts +89 -20
  33. package/types/sap.ui.core.d.ts +4160 -3750
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +86 -1
  36. package/types/sap.ui.fl.d.ts +12 -2
  37. package/types/sap.ui.generic.app.d.ts +59 -4
  38. package/types/sap.ui.generic.template.d.ts +1 -1
  39. package/types/sap.ui.integration.d.ts +60 -41
  40. package/types/sap.ui.layout.d.ts +12 -12
  41. package/types/sap.ui.mdc.d.ts +11 -7
  42. package/types/sap.ui.richtexteditor.d.ts +19 -10
  43. package/types/sap.ui.rta.d.ts +1 -1
  44. package/types/sap.ui.suite.d.ts +1 -1
  45. package/types/sap.ui.support.d.ts +51 -349
  46. package/types/sap.ui.table.d.ts +66 -10
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +102 -322
  49. package/types/sap.ui.ux3.d.ts +7 -3
  50. package/types/sap.ui.vbm.d.ts +1 -1
  51. package/types/sap.ui.vk.d.ts +122 -1
  52. package/types/sap.ui.vtm.d.ts +1 -1
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +6 -6
  55. package/types/sap.ui.webc.main.d.ts +5 -5
  56. package/types/sap.uiext.inbox.d.ts +1 -1
  57. package/types/sap.ushell.d.ts +32 -81
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +8 -29
  60. package/types/sap.viz.d.ts +1 -1
  61. package/types/sap.webanalytics.core.d.ts +1 -1
  62. package/types/sap.zen.commons.d.ts +1 -1
  63. package/types/sap.zen.crosstab.d.ts +1 -1
  64. package/types/sap.zen.dsh.d.ts +1 -1
  65. package/types/sap.fe.common.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.109.0
1
+ // For Library Version: 1.110.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -125,7 +125,7 @@ declare namespace sap {
125
125
  */
126
126
  name: string;
127
127
  }
128
- ): Promise<any>;
128
+ ): Promise<sap.ui.core.Element | sap.ui.core.Element[]>;
129
129
  /**
130
130
  * Navigate to another target.
131
131
  */
@@ -204,14 +204,107 @@ declare namespace sap {
204
204
  | string[]
205
205
  | number[]
206
206
  | boolean[]
207
- ): Promise<any>;
207
+ ): Promise<void>;
208
208
  /**
209
209
  * Triggers an update of the app state.
210
210
  * Should be called if the state of a control, or any other state-relevant information, was changed.
211
211
  *
212
212
  * @returns A promise that resolves with the new app state object.
213
213
  */
214
- updateAppState(): Promise<any>;
214
+ updateAppState(): Promise<void | object>;
215
+ }
216
+ /**
217
+ * Controller class for the list report page, used inside an SAP Fiori elements application.
218
+ */
219
+ class ListReportController
220
+ /* was: sap.fe.templates.PageController */ extends Object {
221
+ constructor();
222
+
223
+ /**
224
+ * @SINCE 1.91.0
225
+ *
226
+ * Returns the current app component.
227
+ *
228
+ * @returns The app component or, if not found, null
229
+ */
230
+ getAppComponent(): /* was: sap.fe.templates.AppComponent */ any;
231
+ /**
232
+ * Get the extension API for the current page.
233
+ *
234
+ * @returns The extension API.
235
+ */
236
+ getExtensionAPI(): /* was: sap.fe.templates.ListReportExtensionAPI */ any;
237
+ /**
238
+ * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
239
+ * name into each controller.
240
+ *
241
+ * @returns The model instance
242
+ */
243
+ getModel(
244
+ /**
245
+ * The model name
246
+ */
247
+ sName?: string
248
+ ): sap.ui.model.Model;
249
+ /**
250
+ * Method called when the 'Clear' button on the FilterBar is pressed.
251
+ */
252
+ onAfterClear(): void;
253
+ /**
254
+ * Method called when a filter or search value has been changed in the FilterBar,
255
+ * but has not been validated yet by the end user (with the 'Go' or 'Search' button).
256
+ * Typically, the content of the current tab is greyed out until the filters are validated.
257
+ * This method can be overwritten by the controller extension in case of customization.
258
+ */
259
+ onPendingFilters(): void;
260
+ /**
261
+ * Method called when the content of a custom view used in a list report needs to be refreshed.
262
+ * This happens either when there is a change on the FilterBar and the search is triggered,
263
+ * or when a tab with custom content is selected.
264
+ * This method can be overwritten by the controller extension in case of customization.
265
+ */
266
+ onViewNeedsRefresh(
267
+ /**
268
+ * Map containing the filter conditions of the FilterBar, the currentTabID
269
+ * and the view refresh cause (tabChanged or search).
270
+ * The map looks like this:
271
+ *
272
+ * ```javascript
273
+ *
274
+ * {
275
+ * filterConditions: {
276
+ * Country: [
277
+ * {
278
+ * operator: "EQ"
279
+ * validated: "NotValidated"
280
+ * values: ["Germany", ...]
281
+ * },
282
+ * ...
283
+ * ]
284
+ * ...
285
+ * },
286
+ * currentTabId: "fe::CustomTab::tab1",
287
+ * refreshCause: "tabChanged" | "search"
288
+ * }
289
+ * ```
290
+ */
291
+ mParameters: any
292
+ ): void;
293
+ /**
294
+ * Convenience method for setting the view model in every controller of the application.
295
+ *
296
+ * @returns The view instance
297
+ */
298
+ setModel(
299
+ /**
300
+ * The model instance
301
+ */
302
+ oModel: sap.ui.model.Model,
303
+ /**
304
+ * The model name
305
+ */
306
+ sName: string
307
+ ): sap.ui.core.mvc.View;
215
308
  }
216
309
  }
217
310
 
@@ -331,7 +424,7 @@ declare namespace sap {
331
424
  */
332
425
  name: string;
333
426
  }
334
- ): Promise<any>;
427
+ ): Promise<sap.ui.core.Element | sap.ui.core.Element[]>;
335
428
  /**
336
429
  * Navigate to another target.
337
430
  */
@@ -366,14 +459,14 @@ declare namespace sap {
366
459
  oControl: sap.ui.core.Control
367
460
  ): void;
368
461
  /**
369
- * Displays the message strip below the anchor bar.
462
+ * Displays the message strip between the title and the header of the ObjectPage.
370
463
  */
371
464
  showMessages(
372
465
  /**
373
466
  * The message to be displayed
374
467
  */
375
468
  messages: sap.ui.core.message.Message[]
376
- ): Promise<any>;
469
+ ): Promise<void>;
377
470
  /**
378
471
  * Displays or hides the side content of an object page.
379
472
  */
@@ -393,7 +486,7 @@ declare namespace sap {
393
486
  *
394
487
  * @returns A promise that resolves with the new app state object.
395
488
  */
396
- updateAppState(): Promise<any>;
489
+ updateAppState(): Promise<void | object>;
397
490
  }
398
491
  }
399
492
  }
@@ -404,6 +497,8 @@ declare namespace sap {
404
497
 
405
498
  "sap/fe/templates/ListReport/ExtensionAPI": undefined;
406
499
 
500
+ "sap/fe/templates/ListReport/ListReportController.controller": undefined;
501
+
407
502
  "sap/fe/templates/ObjectPage/ExtensionAPI": undefined;
408
503
  }
409
504
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.109.0
1
+ // For Library Version: 1.110.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1390,7 +1390,8 @@ declare namespace sap {
1390
1390
  | sap.fe.test.api.ColumnIdentifier
1391
1391
  | number,
1392
1392
  /**
1393
- * The target field to group on in case of a complex property
1393
+ * The target field to group on. If undefined, parameter vColumnIdentifier is used as label to identify
1394
+ * the toggle button.
1394
1395
  */
1395
1396
  sFieldLabel?: string
1396
1397
  ): object;
@@ -1668,7 +1669,8 @@ declare namespace sap {
1668
1669
  | sap.fe.test.api.ColumnIdentifier
1669
1670
  | number,
1670
1671
  /**
1671
- * The target field to group on in case of a complex property
1672
+ * The target field for grouping. If undefined, parameter vColumnIdentifier is used as label to identify
1673
+ * the toggle button.
1672
1674
  */
1673
1675
  sFieldLabel?: string
1674
1676
  ): object;
@@ -1856,27 +1858,19 @@ declare namespace sap {
1856
1858
  | sap.fe.test.api.ColumnIdentifier
1857
1859
  | number,
1858
1860
  /**
1859
- * The target field to sort by in case of a complex property
1861
+ * The target field for sorting in case the field label differs from the column label or in case of a complex
1862
+ * property
1860
1863
  */
1861
- sFieldLabel: string,
1862
-
1863
- bDescending: boolean
1864
- ): object;
1865
- /**
1866
- * Sorts the table entries by the specified column.
1867
- *
1868
- * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
1869
- */
1870
- iSortByColumn(
1864
+ sFieldLabel?: string,
1871
1865
  /**
1872
- * The identifier of the column field, its label or index
1866
+ * Sorting (true=descending, false=ascending (default))
1873
1867
  */
1874
- vColumnIdentifier:
1875
- | string
1876
- | sap.fe.test.api.ColumnIdentifier
1877
- | number,
1878
-
1879
- bDescending: boolean
1868
+ bDescending?: boolean,
1869
+ /**
1870
+ * Set to `true` to clear previously set sortings (default), otherwise all previously set sorting fields
1871
+ * will be kept.
1872
+ */
1873
+ bClearFirst?: boolean
1880
1874
  ): object;
1881
1875
  }
1882
1876
 
@@ -2203,9 +2197,10 @@ declare namespace sap {
2203
2197
  */
2204
2198
  mState?: object,
2205
2199
  /**
2206
- * Defines the expected empty columns
2200
+ * Defines the cells of the identified rows which are expected to the hidden (visible=false). You can also
2201
+ * use test function iCheckCells to explicitly check a specific cell of a row.
2207
2202
  */
2208
- vEmptyColumns?: any[]
2203
+ vHiddenCells?: any[]
2209
2204
  ): object;
2210
2205
  /**
2211
2206
  * Checks the search field in the table toolbar. If the `sSearchText` parameter is `undefined`, the search
@@ -3180,7 +3175,13 @@ declare namespace sap {
3180
3175
  *
3181
3176
  * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3182
3177
  */
3183
- iOpenNavigationMenu(): object;
3178
+ iOpenNavigationMenu(
3179
+ /**
3180
+ * The title of the navigation menu to be clicked. If undefined the menu is identified by the internal id
3181
+ * only.
3182
+ */
3183
+ NavigationTitle?: string
3184
+ ): object;
3184
3185
  /**
3185
3186
  * Selecting a tile in the launchpad by its target app, for example `iPressTile("SalesOrder-manage")`.
3186
3187
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.109.0
1
+ // For Library Version: 1.110.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {