@sapui5/types 1.113.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 (66) hide show
  1. package/LICENSE.txt +35 -0
  2. package/README.md +35 -0
  3. package/package.json +23 -0
  4. package/types/index.d.ts +67 -0
  5. package/types/sap.apf.d.ts +1026 -0
  6. package/types/sap.ca.ui.d.ts +14005 -0
  7. package/types/sap.chart.d.ts +4815 -0
  8. package/types/sap.collaboration.d.ts +2704 -0
  9. package/types/sap.esh.search.ui.d.ts +1595 -0
  10. package/types/sap.f.d.ts +20085 -0
  11. package/types/sap.fe.core.d.ts +1508 -0
  12. package/types/sap.fe.macros.d.ts +975 -0
  13. package/types/sap.fe.navigation.d.ts +917 -0
  14. package/types/sap.fe.templates.d.ts +522 -0
  15. package/types/sap.fe.test.d.ts +3533 -0
  16. package/types/sap.feedback.ui.d.ts +3 -0
  17. package/types/sap.gantt.d.ts +51684 -0
  18. package/types/sap.insights.d.ts +23 -0
  19. package/types/sap.landvisz.d.ts +7952 -0
  20. package/types/sap.m.d.ts +147796 -0
  21. package/types/sap.makit.d.ts +4533 -0
  22. package/types/sap.me.d.ts +3665 -0
  23. package/types/sap.ndc.d.ts +774 -0
  24. package/types/sap.ovp.d.ts +176 -0
  25. package/types/sap.rules.ui.d.ts +1471 -0
  26. package/types/sap.sac.df.d.ts +2292 -0
  27. package/types/sap.sac.grid.d.ts +774 -0
  28. package/types/sap.suite.ui.commons.d.ts +46971 -0
  29. package/types/sap.suite.ui.generic.template.d.ts +3431 -0
  30. package/types/sap.suite.ui.microchart.d.ts +12652 -0
  31. package/types/sap.tnt.d.ts +2227 -0
  32. package/types/sap.ui.codeeditor.d.ts +693 -0
  33. package/types/sap.ui.commons.d.ts +30235 -0
  34. package/types/sap.ui.comp.d.ts +37411 -0
  35. package/types/sap.ui.core.d.ts +78872 -0
  36. package/types/sap.ui.dt.d.ts +3 -0
  37. package/types/sap.ui.export.d.ts +843 -0
  38. package/types/sap.ui.fl.d.ts +1663 -0
  39. package/types/sap.ui.generic.app.d.ts +2683 -0
  40. package/types/sap.ui.generic.template.d.ts +3 -0
  41. package/types/sap.ui.integration.d.ts +4032 -0
  42. package/types/sap.ui.layout.d.ts +14472 -0
  43. package/types/sap.ui.mdc.d.ts +476 -0
  44. package/types/sap.ui.richtexteditor.d.ts +1666 -0
  45. package/types/sap.ui.rta.d.ts +124 -0
  46. package/types/sap.ui.suite.d.ts +685 -0
  47. package/types/sap.ui.support.d.ts +453 -0
  48. package/types/sap.ui.table.d.ts +9325 -0
  49. package/types/sap.ui.testrecorder.d.ts +9 -0
  50. package/types/sap.ui.unified.d.ts +20640 -0
  51. package/types/sap.ui.ux3.d.ts +18288 -0
  52. package/types/sap.ui.vbm.d.ts +17251 -0
  53. package/types/sap.ui.vk.d.ts +42381 -0
  54. package/types/sap.ui.vtm.d.ts +10547 -0
  55. package/types/sap.ui.webc.common.d.ts +113 -0
  56. package/types/sap.ui.webc.fiori.d.ts +13850 -0
  57. package/types/sap.ui.webc.main.d.ts +40833 -0
  58. package/types/sap.uiext.inbox.d.ts +4079 -0
  59. package/types/sap.ushell.d.ts +10255 -0
  60. package/types/sap.ushell_abap.d.ts +9 -0
  61. package/types/sap.uxap.d.ts +7636 -0
  62. package/types/sap.viz.d.ts +51209 -0
  63. package/types/sap.webanalytics.core.d.ts +3 -0
  64. package/types/sap.zen.commons.d.ts +1542 -0
  65. package/types/sap.zen.crosstab.d.ts +1159 -0
  66. package/types/sap.zen.dsh.d.ts +2132 -0
@@ -0,0 +1,522 @@
1
+ // For Library Version: 1.111.0
2
+
3
+ declare module "sap/fe/templates/ListReport/ExtensionAPI" {
4
+ import Control from "sap/ui/core/Control";
5
+
6
+ import Model from "sap/ui/model/Model";
7
+
8
+ import Context from "sap/ui/model/Context";
9
+
10
+ import UI5Element from "sap/ui/core/Element";
11
+
12
+ /**
13
+ * @SINCE 1.79.0
14
+ *
15
+ * Extension API for list reports in SAP Fiori elements for OData V4.
16
+ * To correctly integrate your app extension coding with SAP Fiori elements, use only the extensionAPI of
17
+ * SAP Fiori elements. Don't access or manipulate controls, properties, models, or other internal objects
18
+ * created by the SAP Fiori elements framework.
19
+ */
20
+ export default class ExtensionAPI
21
+ /* was: sap.fe.templates.ExtensionAPI */ extends Object {
22
+ constructor();
23
+
24
+ /**
25
+ * Add any control as a dependent control to this SAP Fiori elements page.
26
+ */
27
+ addDependent(
28
+ /**
29
+ * Control to be added as a dependent control
30
+ */
31
+ oControl: Control
32
+ ): void;
33
+ /**
34
+ * This method converts filter conditions to filters.
35
+ *
36
+ * @returns Object containing the converted FilterBar filters.
37
+ */
38
+ createFiltersFromFilterConditions(
39
+ /**
40
+ * Map containing the filter conditions of the FilterBar.
41
+ */
42
+ mFilterConditions: any
43
+ ): object;
44
+ /**
45
+ * Retrieves the editFlow controller extension for this page.
46
+ *
47
+ * @returns The editFlow controller extension
48
+ */
49
+ getEditFlow(): /* was: sap.fe.templates.EditFlow */ any;
50
+ /**
51
+ * Provides all the model filters from the filter bar that are currently active
52
+ * along with the search expression.
53
+ *
54
+ * @returns An array of active filters and the search expression.
55
+ */
56
+ getFilters(): object;
57
+ /**
58
+ * Retrieves the intentBasedNavigation controller extension for this page.
59
+ *
60
+ * @returns The intentBasedNavigation controller extension
61
+ */
62
+ getIntentBasedNavigation(): /* was: sap.fe.templates.IntentBasedNavigation */ any;
63
+ /**
64
+ * Get access to models managed by SAP Fiori elements.
65
+ *
66
+ * The following models can be accessed:
67
+ *
68
+ *
69
+ * - undefined: the undefined model returns the SAPUI5 OData V4 model bound to this page
70
+ *
71
+ * - i18n / further data models defined in the manifest
72
+ * ui: returns a SAPUI5 JSON model containing UI information.
73
+ * Only the following properties are public and supported:
74
+ *
75
+ *
76
+ * - isEditable: set to true if the application is in edit mode
77
+ *
78
+ *
79
+ * .
80
+ * editMode is deprecated and should not be used anymore. Use isEditable instead.
81
+ *
82
+ * @returns The required model
83
+ */
84
+ getModel(
85
+ /**
86
+ * Name of the model
87
+ */
88
+ sModelName?: string
89
+ ): Model | undefined;
90
+ /**
91
+ * Retrieves the routing controller extension for this page.
92
+ *
93
+ * @returns The routing controller extension
94
+ */
95
+ getRouting(): /* was: sap.fe.templates.Routing */ any;
96
+ /**
97
+ * Gets the list entries currently selected for the displayed control.
98
+ *
99
+ * @returns Array containing the selected contexts
100
+ */
101
+ getSelectedContexts(): any;
102
+ /**
103
+ * Load a fragment and go through the template preprocessor with the current page context.
104
+ *
105
+ * @returns The fragment definition
106
+ */
107
+ loadFragment(
108
+ /**
109
+ * The settings object
110
+ */
111
+ mSettings: {
112
+ /**
113
+ * The contextPath to be used for the templating process
114
+ */
115
+ contextPath: string;
116
+ /**
117
+ * The controller to be attached to the fragment
118
+ */
119
+ controller: object;
120
+ /**
121
+ * The ID of the fragment itself
122
+ */
123
+ id: string;
124
+ /**
125
+ * The initial binding context
126
+ */
127
+ initialBindingContext: Context;
128
+ /**
129
+ * The name of the fragment to be loaded
130
+ */
131
+ name: string;
132
+ }
133
+ ): Promise<UI5Element | UI5Element[]>;
134
+ /**
135
+ * Navigate to another target.
136
+ */
137
+ navigateToTarget(
138
+ /**
139
+ * Name of the target route
140
+ */
141
+ sTarget: string,
142
+ /**
143
+ * undefined
144
+ */
145
+ oContext: Context
146
+ ): void;
147
+ /**
148
+ * Refreshes the List Report.
149
+ * This method currently only supports triggering the search (by clicking on the GO button)
150
+ * in the List Report Filter Bar. It can be used to request the initial load or to refresh the
151
+ * currently shown data based on the filters entered by the user.
152
+ * Please note: The Promise is resolved once the search is triggered and not once the data is returned.
153
+ *
154
+ * @returns Resolved once the data is refreshed or rejected if the request failed
155
+ */
156
+ refresh(): any;
157
+ /**
158
+ * Remove a dependent control from this SAP Fiori elements page.
159
+ */
160
+ removeDependent(
161
+ /**
162
+ * Control to be added as a dependent control
163
+ */
164
+ oControl: Control
165
+ ): void;
166
+ /**
167
+ * Provide an option for showing a custom message in the message strip above the list report table.
168
+ */
169
+ setCustomMessage(
170
+ /**
171
+ * Custom message along with the message type to be set on the table.
172
+ */
173
+ message: /* was: sap.fe.templates.LRCustomMessage */ any | undefined,
174
+ /**
175
+ * The tabKey identifying the table where the custom message is displayed. If tabKey is empty, the message
176
+ * is displayed in all tabs . If tabKey = ['1','2'], the message is displayed in tabs 1 and 2 only
177
+ */
178
+ tabKey?: string | string[],
179
+ /**
180
+ * A function that is called when the user closes the message bar.
181
+ */
182
+ onClose?: Function
183
+ ): void;
184
+ /**
185
+ * Set the filter values for the given property in the filter bar.
186
+ * The filter values can be either a single value or an array of values.
187
+ * Each filter value must be represented as a primitive value.
188
+ *
189
+ * @returns A promise for asynchronous handling
190
+ */
191
+ setFilterValues(
192
+ /**
193
+ * The path to the property as a condition path
194
+ */
195
+ sConditionPath: string,
196
+ /**
197
+ * undefined
198
+ */
199
+ sOperator: string | undefined,
200
+ /**
201
+ * The values to be applied
202
+ */
203
+ vValues?: boolean | boolean[] | number | number[] | string | string[]
204
+ ): Promise<void>;
205
+ /**
206
+ * Triggers an update of the app state.
207
+ * Should be called if the state of a control, or any other state-relevant information, was changed.
208
+ *
209
+ * @returns A promise that resolves with the new app state object.
210
+ */
211
+ updateAppState(): Promise<object | void>;
212
+ }
213
+ }
214
+
215
+ declare module "sap/fe/templates/ListReport/ListReportController.controller" {
216
+ import Model from "sap/ui/model/Model";
217
+
218
+ import View from "sap/ui/core/mvc/View";
219
+
220
+ /**
221
+ * Controller class for the list report page, used inside an SAP Fiori elements application.
222
+ */
223
+ export default class ListReportController
224
+ /* was: sap.fe.templates.PageController */ extends Object {
225
+ constructor();
226
+
227
+ /**
228
+ * @SINCE 1.91.0
229
+ *
230
+ * Returns the current app component.
231
+ *
232
+ * @returns The app component or, if not found, null
233
+ */
234
+ getAppComponent(): /* was: sap.fe.templates.AppComponent */ any;
235
+ /**
236
+ * Get the extension API for the current page.
237
+ *
238
+ * @returns The extension API.
239
+ */
240
+ getExtensionAPI(): /* was: sap.fe.templates.ListReportExtensionAPI */ any;
241
+ /**
242
+ * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
243
+ * name into each controller.
244
+ *
245
+ * @returns The model instance
246
+ */
247
+ getModel(
248
+ /**
249
+ * The model name
250
+ */
251
+ sName?: string
252
+ ): Model;
253
+ /**
254
+ * Method called when the 'Clear' button on the FilterBar is pressed.
255
+ */
256
+ onAfterClear(): void;
257
+ /**
258
+ * Method called when a filter or search value has been changed in the FilterBar,
259
+ * but has not been validated yet by the end user (with the 'Go' or 'Search' button).
260
+ * Typically, the content of the current tab is greyed out until the filters are validated.
261
+ * This method can be overwritten by the controller extension in case of customization.
262
+ */
263
+ onPendingFilters(): void;
264
+ /**
265
+ * Method called when the content of a custom view used in a list report needs to be refreshed.
266
+ * This happens either when there is a change on the FilterBar and the search is triggered,
267
+ * or when a tab with custom content is selected.
268
+ * This method can be overwritten by the controller extension in case of customization.
269
+ */
270
+ onViewNeedsRefresh(
271
+ /**
272
+ * Map containing the filter conditions of the FilterBar, the currentTabID
273
+ * and the view refresh cause (tabChanged or search).
274
+ * The map looks like this:
275
+ *
276
+ * ```javascript
277
+ *
278
+ * {
279
+ * filterConditions: {
280
+ * Country: [
281
+ * {
282
+ * operator: "EQ"
283
+ * validated: "NotValidated"
284
+ * values: ["Germany", ...]
285
+ * },
286
+ * ...
287
+ * ]
288
+ * ...
289
+ * },
290
+ * currentTabId: "fe::CustomTab::tab1",
291
+ * refreshCause: "tabChanged" | "search"
292
+ * }
293
+ * ```
294
+ */
295
+ mParameters: any
296
+ ): void;
297
+ /**
298
+ * Convenience method for setting the view model in every controller of the application.
299
+ *
300
+ * @returns The view instance
301
+ */
302
+ setModel(
303
+ /**
304
+ * The model instance
305
+ */
306
+ oModel: Model,
307
+ /**
308
+ * The model name
309
+ */
310
+ sName: string
311
+ ): View;
312
+ }
313
+ }
314
+
315
+ declare module "sap/fe/templates/ObjectPage/ExtensionAPI" {
316
+ import Control from "sap/ui/core/Control";
317
+
318
+ import Context from "sap/ui/model/Context";
319
+
320
+ import Model from "sap/ui/model/Model";
321
+
322
+ import UI5Element from "sap/ui/core/Element";
323
+
324
+ import Message from "sap/ui/core/message/Message";
325
+
326
+ /**
327
+ * @SINCE 1.79.0
328
+ *
329
+ * Extension API for object pages on SAP Fiori elements for OData V4.
330
+ * To correctly integrate your app extension coding with SAP Fiori elements, use only the extensionAPI of
331
+ * SAP Fiori elements. Don't access or manipulate controls, properties, models, or other internal objects
332
+ * created by the SAP Fiori elements framework.
333
+ */
334
+ export default class ExtensionAPI
335
+ /* was: sap.fe.templates.ExtensionAPI */ extends Object {
336
+ constructor();
337
+
338
+ /**
339
+ * Add any control as a dependent control to this SAP Fiori elements page.
340
+ */
341
+ addDependent(
342
+ /**
343
+ * Control to be added as a dependent control
344
+ */
345
+ oControl: Control
346
+ ): void;
347
+ /**
348
+ * Gets the bound context of the current object page.
349
+ *
350
+ * @returns Context bound to the object page
351
+ */
352
+ getBindingContext(): Context | string | undefined;
353
+ /**
354
+ * Retrieves the editFlow controller extension for this page.
355
+ *
356
+ * @returns The editFlow controller extension
357
+ */
358
+ getEditFlow(): /* was: sap.fe.templates.EditFlow */ any;
359
+ /**
360
+ * Retrieves the intentBasedNavigation controller extension for this page.
361
+ *
362
+ * @returns The intentBasedNavigation controller extension
363
+ */
364
+ getIntentBasedNavigation(): /* was: sap.fe.templates.IntentBasedNavigation */ any;
365
+ /**
366
+ * Get access to models managed by SAP Fiori elements.
367
+ *
368
+ * The following models can be accessed:
369
+ *
370
+ *
371
+ * - undefined: the undefined model returns the SAPUI5 OData V4 model bound to this page
372
+ *
373
+ * - i18n / further data models defined in the manifest
374
+ * ui: returns a SAPUI5 JSON model containing UI information.
375
+ * Only the following properties are public and supported:
376
+ *
377
+ *
378
+ * - isEditable: set to true if the application is in edit mode
379
+ *
380
+ *
381
+ * .
382
+ * editMode is deprecated and should not be used anymore. Use isEditable instead.
383
+ *
384
+ * @returns The required model
385
+ */
386
+ getModel(
387
+ /**
388
+ * Name of the model
389
+ */
390
+ sModelName?: string
391
+ ): Model | undefined;
392
+ /**
393
+ * Retrieves the routing controller extension for this page.
394
+ *
395
+ * @returns The routing controller extension
396
+ */
397
+ getRouting(): /* was: sap.fe.templates.Routing */ any;
398
+ /**
399
+ * Gets the list entries currently selected for the table.
400
+ *
401
+ * @returns Array containing the selected contexts
402
+ */
403
+ getSelectedContexts(
404
+ /**
405
+ * The ID identifying the table the selected context is requested for
406
+ */
407
+ sTableId: string
408
+ ): any;
409
+ /**
410
+ * Hides the message strip below the anchor bar.
411
+ */
412
+ hideMessage(): void;
413
+ /**
414
+ * Load a fragment and go through the template preprocessor with the current page context.
415
+ *
416
+ * @returns The fragment definition
417
+ */
418
+ loadFragment(
419
+ /**
420
+ * The settings object
421
+ */
422
+ mSettings: {
423
+ /**
424
+ * The contextPath to be used for the templating process
425
+ */
426
+ contextPath: string;
427
+ /**
428
+ * The controller to be attached to the fragment
429
+ */
430
+ controller: object;
431
+ /**
432
+ * The ID of the fragment itself
433
+ */
434
+ id: string;
435
+ /**
436
+ * The initial binding context
437
+ */
438
+ initialBindingContext: Context;
439
+ /**
440
+ * The name of the fragment to be loaded
441
+ */
442
+ name: string;
443
+ }
444
+ ): Promise<UI5Element | UI5Element[]>;
445
+ /**
446
+ * Navigate to another target.
447
+ */
448
+ navigateToTarget(
449
+ /**
450
+ * Name of the target route
451
+ */
452
+ sTarget: string,
453
+ /**
454
+ * undefined
455
+ */
456
+ oContext: Context
457
+ ): void;
458
+ /**
459
+ * Refreshes either the whole object page or only parts of it.
460
+ *
461
+ * @returns Resolved once the data is refreshed or rejected if the request failed
462
+ */
463
+ refresh(
464
+ /**
465
+ * undefined
466
+ */
467
+ vPath: string | string[] | undefined
468
+ ): Promise<void>;
469
+ /**
470
+ * Remove a dependent control from this SAP Fiori elements page.
471
+ */
472
+ removeDependent(
473
+ /**
474
+ * Control to be added as a dependent control
475
+ */
476
+ oControl: Control
477
+ ): void;
478
+ /**
479
+ * Displays the message strip between the title and the header of the ObjectPage.
480
+ */
481
+ showMessages(
482
+ /**
483
+ * The message to be displayed
484
+ */
485
+ messages: Message[]
486
+ ): Promise<void>;
487
+ /**
488
+ * Displays or hides the side content of an object page.
489
+ */
490
+ showSideContent(
491
+ /**
492
+ * Key of the side content fragment as defined in the manifest.json
493
+ */
494
+ sSubSectionKey: string,
495
+ /**
496
+ * undefined
497
+ */
498
+ bShow: boolean | undefined
499
+ ): void;
500
+ /**
501
+ * Triggers an update of the app state.
502
+ * Should be called if the state of a control, or any other state-relevant information, was changed.
503
+ *
504
+ * @returns A promise that resolves with the new app state object.
505
+ */
506
+ updateAppState(): Promise<object | void>;
507
+ }
508
+ }
509
+
510
+ declare module "sap/fe/templates/library" {}
511
+
512
+ declare namespace sap {
513
+ interface IUI5DefineDependencyNames {
514
+ "sap/fe/templates/library": undefined;
515
+
516
+ "sap/fe/templates/ListReport/ExtensionAPI": undefined;
517
+
518
+ "sap/fe/templates/ListReport/ListReportController.controller": undefined;
519
+
520
+ "sap/fe/templates/ObjectPage/ExtensionAPI": undefined;
521
+ }
522
+ }