@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,1508 @@
1
+ // For Library Version: 1.111.0
2
+
3
+ declare module "sap/fe/core/AppComponent" {
4
+ import {
5
+ default as UIComponent,
6
+ $UIComponentSettings,
7
+ } from "sap/ui/core/UIComponent";
8
+
9
+ /**
10
+ * Main class for components used for an application in SAP Fiori elements.
11
+ * Application developers using the templates and building blocks provided by SAP Fiori elements should
12
+ * create their apps by extending this component.
13
+ * This ensures that all the necessary services that you need for the building blocks and templates to work
14
+ * properly are started.
15
+ *
16
+ * When you use sap.fe.core.AppComponent as the base component, you also need to use a rootView. SAP Fiori
17
+ * elements provides two options:
18
+ *
19
+ * - sap.fe.core.rootView.NavContainer when using sap.m.routing.Router
20
+ *
21
+ * - sap.fe.core.rootView.Fcl when using sap.f.routing.Router (FCL use case)
22
+ */
23
+ export default class AppComponent extends UIComponent {
24
+ constructor();
25
+
26
+ /**
27
+ * Changes the page configuration of SAP Fiori elements.
28
+ * This method enables you to change the page configuration of SAP Fiori elements.
29
+ */
30
+ changePageConfiguration(
31
+ /**
32
+ * The ID of the page for which the configuration is to be changed.
33
+ */
34
+ pageId: string,
35
+ /**
36
+ * The path in the page settings for which the configuration is to be changed.
37
+ */
38
+ path: string,
39
+ /**
40
+ * The new value of the configuration. This could be a plain value like a string, or a Boolean, or a structured
41
+ * object.
42
+ */
43
+ value: unknown
44
+ ): void;
45
+ /**
46
+ * Provides a hook to initialize feature toggles.
47
+ * This hook is being called by the SAP Fiori elements AppComponent at the time feature toggles can be initialized.
48
+ * To change page configuration use the {@link sap.fe.core.AppComponent#changePageConfiguration} method.
49
+ */
50
+ initializeFeatureToggles(): Promise<void>;
51
+ }
52
+
53
+ export interface $AppComponentSettings extends $UIComponentSettings {}
54
+ }
55
+
56
+ declare module "sap/fe/core/BaseController" {
57
+ import Controller from "sap/ui/core/mvc/Controller";
58
+
59
+ import AppComponent from "sap/fe/core/AppComponent";
60
+
61
+ import Model from "sap/ui/model/Model";
62
+
63
+ import View from "sap/ui/core/mvc/View";
64
+
65
+ /**
66
+ * @SINCE 1.90.0
67
+ *
68
+ * Internal base controller class for SAP Fiori elements application.
69
+ * If you want to extend a base controller for your custom page, please use for sap.fe.core.PageController.
70
+ */
71
+ export default class BaseController extends Controller {
72
+ constructor();
73
+
74
+ /**
75
+ * @SINCE 1.91.0
76
+ *
77
+ * Returns the current app component.
78
+ *
79
+ * @returns The app component or, if not found, null
80
+ */
81
+ getAppComponent(): AppComponent;
82
+ /**
83
+ * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
84
+ * name into each controller.
85
+ *
86
+ * @returns The model instance
87
+ */
88
+ getModel(
89
+ /**
90
+ * The model name
91
+ */
92
+ sName?: string
93
+ ): Model;
94
+ /**
95
+ * Convenience method for setting the view model in every controller of the application.
96
+ *
97
+ * @returns The view instance
98
+ */
99
+ setModel(
100
+ /**
101
+ * The model instance
102
+ */
103
+ oModel: Model,
104
+ /**
105
+ * The model name
106
+ */
107
+ sName: string
108
+ ): View;
109
+ }
110
+ }
111
+
112
+ declare module "sap/fe/core/ExtensionAPI" {
113
+ import BaseObject from "sap/ui/base/Object";
114
+
115
+ import Control from "sap/ui/core/Control";
116
+
117
+ import Model from "sap/ui/model/Model";
118
+
119
+ import Context from "sap/ui/model/Context";
120
+
121
+ import UI5Element from "sap/ui/core/Element";
122
+
123
+ /**
124
+ * @SINCE 1.79.0
125
+ *
126
+ * Common Extension API for all pages of SAP Fiori elements for OData V4.
127
+ * To correctly integrate your app extension coding with SAP Fiori elements, use only the extensionAPI of
128
+ * SAP Fiori elements. Don't access or manipulate controls, properties, models, or other internal objects
129
+ * created by the SAP Fiori elements framework.
130
+ */
131
+ export default class ExtensionAPI extends BaseObject {
132
+ constructor();
133
+
134
+ /**
135
+ * Add any control as a dependent control to this SAP Fiori elements page.
136
+ */
137
+ addDependent(
138
+ /**
139
+ * Control to be added as a dependent control
140
+ */
141
+ oControl: Control
142
+ ): void;
143
+ /**
144
+ * Retrieves the editFlow controller extension for this page.
145
+ *
146
+ * @returns The editFlow controller extension
147
+ */
148
+ getEditFlow(): /* was: sap.fe.core.EditFlow */ any;
149
+ /**
150
+ * Retrieves the intentBasedNavigation controller extension for this page.
151
+ *
152
+ * @returns The intentBasedNavigation controller extension
153
+ */
154
+ getIntentBasedNavigation(): /* was: sap.fe.core.IntentBasedNavigation */ any;
155
+ /**
156
+ * Get access to models managed by SAP Fiori elements.
157
+ *
158
+ * The following models can be accessed:
159
+ *
160
+ *
161
+ * - undefined: the undefined model returns the SAPUI5 OData V4 model bound to this page
162
+ *
163
+ * - i18n / further data models defined in the manifest
164
+ * ui: returns a SAPUI5 JSON model containing UI information.
165
+ * Only the following properties are public and supported:
166
+ *
167
+ *
168
+ * - isEditable: set to true if the application is in edit mode
169
+ *
170
+ *
171
+ * .
172
+ * editMode is deprecated and should not be used anymore. Use isEditable instead.
173
+ *
174
+ * @returns The required model
175
+ */
176
+ getModel(
177
+ /**
178
+ * Name of the model
179
+ */
180
+ sModelName?: string
181
+ ): Model | undefined;
182
+ /**
183
+ * Retrieves the routing controller extension for this page.
184
+ *
185
+ * @returns The routing controller extension
186
+ */
187
+ getRouting(): /* was: sap.fe.core.Routing */ any;
188
+ /**
189
+ * Load a fragment and go through the template preprocessor with the current page context.
190
+ *
191
+ * @returns The fragment definition
192
+ */
193
+ loadFragment(
194
+ /**
195
+ * The settings object
196
+ */
197
+ mSettings: {
198
+ /**
199
+ * The contextPath to be used for the templating process
200
+ */
201
+ contextPath: string;
202
+ /**
203
+ * The controller to be attached to the fragment
204
+ */
205
+ controller: object;
206
+ /**
207
+ * The ID of the fragment itself
208
+ */
209
+ id: string;
210
+ /**
211
+ * The initial binding context
212
+ */
213
+ initialBindingContext: Context;
214
+ /**
215
+ * The name of the fragment to be loaded
216
+ */
217
+ name: string;
218
+ }
219
+ ): Promise<UI5Element | UI5Element[]>;
220
+ /**
221
+ * Navigate to another target.
222
+ */
223
+ navigateToTarget(
224
+ /**
225
+ * Name of the target route
226
+ */
227
+ sTarget: string,
228
+ /**
229
+ * undefined
230
+ */
231
+ oContext: Context
232
+ ): void;
233
+ /**
234
+ * Remove a dependent control from this SAP Fiori elements page.
235
+ */
236
+ removeDependent(
237
+ /**
238
+ * Control to be added as a dependent control
239
+ */
240
+ oControl: Control
241
+ ): void;
242
+ /**
243
+ * Triggers an update of the app state.
244
+ * Should be called if the state of a control, or any other state-relevant information, was changed.
245
+ *
246
+ * @returns A promise that resolves with the new app state object.
247
+ */
248
+ updateAppState(): Promise<object | void>;
249
+ }
250
+ }
251
+
252
+ declare module "sap/fe/core/PageController" {
253
+ import BaseController from "sap/fe/core/BaseController";
254
+
255
+ import AppComponent from "sap/fe/core/AppComponent";
256
+
257
+ import ExtensionAPI from "sap/fe/core/ExtensionAPI";
258
+
259
+ import Model from "sap/ui/model/Model";
260
+
261
+ import View from "sap/ui/core/mvc/View";
262
+
263
+ /**
264
+ * @SINCE 1.88.0
265
+ *
266
+ * Base controller class for your custom page used inside an SAP Fiori elements application.
267
+ * This controller provides preconfigured extensions that will ensure you have the basic functionalities
268
+ * required to use the building blocks.
269
+ */
270
+ export default class PageController extends BaseController {
271
+ constructor();
272
+
273
+ /**
274
+ * @SINCE 1.91.0
275
+ *
276
+ * Returns the current app component.
277
+ *
278
+ * @returns The app component or, if not found, null
279
+ */
280
+ getAppComponent(): AppComponent;
281
+ /**
282
+ * Get the extension API for the current page.
283
+ *
284
+ * @returns The extension API.
285
+ */
286
+ getExtensionAPI(): ExtensionAPI;
287
+ /**
288
+ * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
289
+ * name into each controller.
290
+ *
291
+ * @returns The model instance
292
+ */
293
+ getModel(
294
+ /**
295
+ * The model name
296
+ */
297
+ sName?: string
298
+ ): Model;
299
+ /**
300
+ * Convenience method for setting the view model in every controller of the application.
301
+ *
302
+ * @returns The view instance
303
+ */
304
+ setModel(
305
+ /**
306
+ * The model instance
307
+ */
308
+ oModel: Model,
309
+ /**
310
+ * The model name
311
+ */
312
+ sName: string
313
+ ): View;
314
+ }
315
+ }
316
+
317
+ declare module "sap/fe/core/controllerextensions/EditFlow" {
318
+ import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
319
+
320
+ import Context from "sap/ui/model/odata/v4/Context";
321
+
322
+ import ODataListBinding from "sap/ui/model/odata/v4/ODataListBinding";
323
+
324
+ import ODataModel from "sap/ui/model/odata/v4/ODataModel";
325
+
326
+ /**
327
+ * @SINCE 1.90.0
328
+ *
329
+ * A controller extension offering hooks into the edit flow of the application
330
+ */
331
+ export default class EditFlow extends ControllerExtension {
332
+ constructor();
333
+
334
+ /**
335
+ * @SINCE 1.90.0
336
+ *
337
+ * Submit the current set of changes and navigate back.
338
+ *
339
+ * @returns Promise resolves once the changes have been saved
340
+ */
341
+ applyDocument(
342
+ /**
343
+ * Context of the document
344
+ */
345
+ oContext: object
346
+ ): Promise<void>;
347
+ /**
348
+ * @SINCE 1.90.0
349
+ *
350
+ * Discard the editable document.
351
+ *
352
+ * @returns Promise resolves once editable document has been discarded
353
+ */
354
+ cancelDocument(
355
+ /**
356
+ * Context of the editable document
357
+ */
358
+ oContext: Context,
359
+ /**
360
+ * Can contain the following attributes:
361
+ */
362
+ mParameters: {
363
+ /**
364
+ * This is the control used to open the discard popover
365
+ */
366
+ control: object;
367
+ /**
368
+ * Optional, supresses the discard popover and allows custom handling
369
+ */
370
+ skipDiscardPopover?: boolean;
371
+ }
372
+ ): Promise<any>;
373
+ /**
374
+ * @SINCE 1.90.0
375
+ *
376
+ * Creates a new document.
377
+ *
378
+ * @returns Promise resolves once the object has been created
379
+ */
380
+ createDocument(
381
+ /**
382
+ * ODataListBinding object or the binding path for a temporary list binding
383
+ */
384
+ vListBinding: ODataListBinding | string,
385
+ /**
386
+ * Contains the following attributes:
387
+ */
388
+ mInParameters: {
389
+ /**
390
+ * Specifies if the new entry should be created at the top or bottom of a table in case of creationMode
391
+ * 'Inline'
392
+ */
393
+ createAtEnd?: boolean;
394
+ /**
395
+ * The creation mode using one of the following:
396
+ * NewPage - the created document is shown in a new page, depending on whether metadata
397
+ * 'Sync', 'Async' or 'Deferred' is used
398
+ * Inline - The creation is done inline (in a table)
399
+ * External - The creation is done in a different application specified via the parameter
400
+ * 'outbound'
401
+ */
402
+ creationMode: string;
403
+ /**
404
+ * The navigation target where the document is created in case of creationMode 'External'
405
+ */
406
+ outbound?: string;
407
+ /**
408
+ * ID of the table
409
+ */
410
+ tableId?: string;
411
+ }
412
+ ): Promise<void>;
413
+ /**
414
+ * @SINCE 1.90.0
415
+ *
416
+ * Deletes the document.
417
+ *
418
+ * @returns Promise resolves once document has been deleted
419
+ */
420
+ deleteDocument(
421
+ /**
422
+ * Context of the document
423
+ */
424
+ oContext: Context,
425
+ /**
426
+ * Can contain the following attributes:
427
+ */
428
+ mInParameters: {
429
+ /**
430
+ * Description of the object being deleted
431
+ */
432
+ description: string;
433
+ /**
434
+ * Title of the object being deleted
435
+ */
436
+ title: string;
437
+ }
438
+ ): Promise<void>;
439
+ /**
440
+ * @SINCE 1.90.0
441
+ *
442
+ * Creates a draft document for an existing active document.
443
+ *
444
+ * @returns Promise resolves once the editable document is available
445
+ */
446
+ editDocument(
447
+ /**
448
+ * Context of the active document
449
+ */
450
+ oContext: Context
451
+ ): Promise<void>;
452
+ /**
453
+ * @SINCE 1.90.0
454
+ *
455
+ * Invokes an action (bound or unbound) and tracks the changes so that other pages can be refreshed and
456
+ * show the updated data upon navigation.
457
+ *
458
+ * @returns A promise which resolves once the action has been executed, providing the response
459
+ */
460
+ invokeAction(
461
+ /**
462
+ * The name of the action to be called
463
+ */
464
+ sActionName: string,
465
+ /**
466
+ * Contains the following attributes:
467
+ */
468
+ mInParameters?: {
469
+ /**
470
+ * For a bound action, a context or an array with contexts for which the action is to be called must be
471
+ * provided
472
+ */
473
+ contexts?: Context | Context[];
474
+ /**
475
+ * Mode how actions are to be called: 'ChangeSet' to put all action calls into one changeset, 'Isolated'
476
+ * to put them into separate changesets
477
+ */
478
+ invocationGrouping?: string;
479
+ /**
480
+ * A human-readable label for the action. This is needed in case the action has a parameter and a parameter
481
+ * dialog is shown to the user. The label will be used for the title of the dialog and for the confirmation
482
+ * button
483
+ */
484
+ label?: string;
485
+ /**
486
+ * For an unbound action, an instance of an OData V4 model must be provided
487
+ */
488
+ model?: ODataModel;
489
+ /**
490
+ * A map of action parameter names and provided values
491
+ */
492
+ parameterValues?: {
493
+ /**
494
+ * Name of the parameter
495
+ */
496
+ name: string;
497
+ /**
498
+ * Value of the parameter
499
+ */
500
+ value: any;
501
+ };
502
+ /**
503
+ * Boolean value indicating whether navigation is required after the action has been executed. Navigation
504
+ * takes place to the context returned by the action
505
+ */
506
+ requiresNavigation?: boolean;
507
+ /**
508
+ * Skips the action parameter dialog if values are provided for all of them in parameterValues
509
+ */
510
+ skipParameterDialog?: boolean;
511
+ }
512
+ ): Promise<void>;
513
+ /**
514
+ * @SINCE 1.98.0
515
+ *
516
+ * This function can be used to intercept the 'Create' action. You can execute custom coding in this function.
517
+ * The framework waits for the returned promise to be resolved before continuing the 'Create' action.
518
+ * If you reject the promise, the 'Create' action is stopped.
519
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
520
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
521
+ *
522
+ *
523
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Create' action is triggered.
524
+ * If rejected, the 'Create' action is not triggered.
525
+ */
526
+ onBeforeCreate(
527
+ /**
528
+ * Object containing the parameters passed to onBeforeCreate
529
+ */
530
+ _mParameters?: {
531
+ /**
532
+ * Path pointing to the context on which Create action is triggered
533
+ */
534
+ contextPath?: string;
535
+ /**
536
+ * Array of values that are filled in the Action Parameter Dialog
537
+ */
538
+ createParameters?: any[];
539
+ }
540
+ ): Promise<void>;
541
+ /**
542
+ * @SINCE 1.98.0
543
+ *
544
+ * This function can be used to intercept the 'Delete' action. You can execute custom coding in this function.
545
+ * The framework waits for the returned promise to be resolved before continuing the 'Delete' action.
546
+ * If you reject the promise, the 'Delete' action is stopped.
547
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
548
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
549
+ *
550
+ *
551
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Delete' action is triggered.
552
+ * If rejected, the 'Delete' action is not triggered.
553
+ */
554
+ onBeforeDelete(
555
+ /**
556
+ * Object containing the parameters passed to onBeforeDelete
557
+ */
558
+ _mParameters?: {
559
+ /**
560
+ * An array of contexts that are going to be deleted
561
+ */
562
+ contexts?: Context[];
563
+ }
564
+ ): Promise<void>;
565
+ /**
566
+ * @SINCE 1.98.0
567
+ *
568
+ * This function can be used to intercept the 'Discard' action. You can execute custom coding in this function.
569
+ * The framework waits for the returned promise to be resolved before continuing the 'Discard' action.
570
+ * If you reject the promise, the 'Discard' action is stopped and the user stays in edit mode.
571
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
572
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
573
+ *
574
+ *
575
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Discard' action is triggered.
576
+ * If rejected, the 'Discard' action is not triggered and the user stays in edit mode.
577
+ */
578
+ onBeforeDiscard(
579
+ /**
580
+ * Object containing the parameters passed to onBeforeDiscard
581
+ */
582
+ _mParameters?: {
583
+ /**
584
+ * Page context that is going to be discarded.
585
+ */
586
+ context?: Context;
587
+ }
588
+ ): Promise<void>;
589
+ /**
590
+ * @SINCE 1.98.0
591
+ *
592
+ * This function can be used to intercept the 'Edit' action. You can execute custom coding in this function.
593
+ * The framework waits for the returned promise to be resolved before continuing the 'Edit' action.
594
+ * If you reject the promise, the 'Edit' action is stopped and the user stays in display mode.
595
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
596
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
597
+ *
598
+ *
599
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Edit' action is triggered.
600
+ * If rejected, the 'Edit' action is not triggered and the user stays in display mode.
601
+ */
602
+ onBeforeEdit(
603
+ /**
604
+ * Object containing the parameters passed to onBeforeEdit
605
+ */
606
+ _mParameters?: {
607
+ /**
608
+ * Page context that is going to be edited.
609
+ */
610
+ context?: Context;
611
+ }
612
+ ): Promise<void>;
613
+ /**
614
+ * @SINCE 1.90.0
615
+ *
616
+ * This function can be used to intercept the 'Save' action. You can execute custom coding in this function.
617
+ * The framework waits for the returned promise to be resolved before continuing the 'Save' action.
618
+ * If you reject the promise, the 'Save' action is stopped and the user stays in edit mode.
619
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
620
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
621
+ *
622
+ *
623
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Save' action is triggered.
624
+ * If rejected, the 'Save' action is not triggered and the user stays in edit mode.
625
+ */
626
+ onBeforeSave(
627
+ /**
628
+ * Object containing the parameters passed to onBeforeSave
629
+ */
630
+ _mParameters?: {
631
+ /**
632
+ * Page context that is going to be saved.
633
+ */
634
+ context?: Context;
635
+ }
636
+ ): Promise<void>;
637
+ /**
638
+ * @SINCE 1.90.0
639
+ *
640
+ * Saves a new document after checking it.
641
+ *
642
+ * @returns Promise resolves once save is complete
643
+ */
644
+ saveDocument(
645
+ /**
646
+ * Context of the editable document
647
+ */
648
+ oContext: Context
649
+ ): Promise<void>;
650
+ /**
651
+ * @SINCE 1.90.0
652
+ *
653
+ * Secured execution of the given function. Ensures that the function is only executed when certain conditions
654
+ * are fulfilled.
655
+ *
656
+ * @returns A promise that is rejected if the execution is prohibited and resolved by the promise returned
657
+ * by the fnFunction.
658
+ */
659
+ securedExecution(
660
+ /**
661
+ * The function to be executed. Should return a promise that is settled after completion of the execution.
662
+ * If nothing is returned, immediate completion is assumed.
663
+ */
664
+ fnFunction: Function,
665
+ /**
666
+ * Definitions of the preconditions to be checked before execution
667
+ */
668
+ mParameters?: {
669
+ /**
670
+ * Defines the busy indicator
671
+ */
672
+ busy?: {
673
+ /**
674
+ * Executes function only if application isn't busy.
675
+ */
676
+ check?: boolean;
677
+ /**
678
+ * Triggers a busy indicator when the function is executed.
679
+ */
680
+ set?: boolean;
681
+ };
682
+ /**
683
+ * This operation updates the current document without using the bound model and context. As a result, the
684
+ * draft status is updated if a draft document exists, and the user has to confirm the cancellation of the
685
+ * editing process.
686
+ */
687
+ updatesDocument?: boolean;
688
+ }
689
+ ): Promise<void>;
690
+ /**
691
+ * @SINCE 1.90.0
692
+ *
693
+ * Updates the draft status and displays the error messages if there are errors during an update.
694
+ *
695
+ * @returns Promise resolves once draft status has been updated
696
+ */
697
+ updateDocument(
698
+ /**
699
+ * Context of the updated field
700
+ */
701
+ updatedContext: object,
702
+ /**
703
+ * Promise to determine when the update operation is completed. The promise should be resolved when the
704
+ * update operation is completed, so the draft status can be updated.
705
+ */
706
+ updatePromise: Promise<any>
707
+ ): Promise<void>;
708
+ }
709
+ }
710
+
711
+ declare module "sap/fe/core/controllerextensions/IntentBasedNavigation" {
712
+ import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
713
+
714
+ /**
715
+ * @SINCE 1.86.0
716
+ *
717
+ * Controller extension providing hooks for intent-based navigation
718
+ */
719
+ export default class IntentBasedNavigation extends ControllerExtension {
720
+ constructor();
721
+
722
+ /**
723
+ * @SINCE 1.86.0
724
+ *
725
+ * Provides a hook to customize the {@link sap.fe.navigation.SelectionVariant} related to the intent-based
726
+ * navigation.
727
+ */
728
+ adaptNavigationContext(
729
+ /**
730
+ * SelectionVariant provided by SAP Fiori elements.
731
+ */
732
+ _oSelectionVariant: /* was: sap.fe.navigation.SelectionVariant */ any,
733
+ /**
734
+ * Object containing intent-based navigation-related info
735
+ */
736
+ _oNavigationInfo: {
737
+ /**
738
+ * Action related to the intent
739
+ */
740
+ action: string;
741
+ /**
742
+ * Semantic object related to the intent
743
+ */
744
+ semanticObject: string;
745
+ }
746
+ ): void;
747
+ /**
748
+ * @SINCE 1.86.0
749
+ *
750
+ * Navigates to an intent defined by an outbound definition in the manifest.
751
+ */
752
+ navigateOutbound(
753
+ /**
754
+ * Identifier to locate the outbound definition in the manifest.
755
+ * This provides the semantic object and action for the intent-based navigation.
756
+ * Additionally, the outbound definition can be used to provide parameters for intent-based navigation.
757
+ * See {@link topic:be0cf40f61184b358b5faedaec98b2da Descriptor for Applications, Components, and Libraries}
758
+ * for more information.
759
+ */
760
+ sOutbound: string,
761
+ /**
762
+ * Optional map containing key/value pairs to be passed to the intent.
763
+ * If mNavigationParameters are provided, the parameters provided in the outbound definition of the manifest
764
+ * are ignored.
765
+ */
766
+ mNavigationParameters: object
767
+ ): void;
768
+ }
769
+ }
770
+
771
+ declare module "sap/fe/core/controllerextensions/MessageHandler" {
772
+ import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
773
+
774
+ /**
775
+ * @SINCE 1.90.0
776
+ * @EXPERIMENTAL (since 1.90.0)
777
+ *
778
+ * A controller extension offering message handling.
779
+ */
780
+ export default class MessageHandler extends ControllerExtension {
781
+ constructor();
782
+
783
+ /**
784
+ * @SINCE 1.90.0
785
+ * @EXPERIMENTAL (since 1.90.0)
786
+ *
787
+ * Shows a message dialog with transition messages if there are any.
788
+ * The message dialog is shown as a modal dialog. Once the user confirms the dialog, all transition messages
789
+ * are removed from the message model. If there is more than one message, a list of messages is shown. The
790
+ * user
791
+ * can filter on message types and can display details as well as the long text. If there is one message,
792
+ * the dialog immediately shows the details of the message. If there is just one success message, a message
793
+ * toast is shown instead.
794
+ *
795
+ * @returns A promise that is resolved once the user closes the dialog. If there are no messages
796
+ * to be shown, the promise is resolved immediately
797
+ */
798
+ showMessageDialog(): Promise<void>;
799
+ }
800
+ }
801
+
802
+ declare module "sap/fe/core/controllerextensions/Paginator" {
803
+ import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
804
+
805
+ import Context from "sap/ui/model/odata/v4/Context";
806
+
807
+ /**
808
+ * @SINCE 1.94.0
809
+ *
810
+ * Controller extension providing hooks for the navigation using paginators
811
+ */
812
+ export default class Paginator extends ControllerExtension {
813
+ constructor();
814
+
815
+ /**
816
+ * @SINCE 1.94.0
817
+ *
818
+ * Initiates the paginator control.
819
+ */
820
+ initialize(
821
+ /**
822
+ * ODataListBinding object
823
+ */
824
+ oBinding: any,
825
+ /**
826
+ * Current context where the navigation is initiated
827
+ */
828
+ oContext?: Context
829
+ ): void;
830
+ /**
831
+ * @SINCE 1.94.0
832
+ *
833
+ * Returns the updated context after the paginator operation.
834
+ */
835
+ onContextUpdate(
836
+ /**
837
+ * Final context returned after the paginator action
838
+ */
839
+ oContext: Context
840
+ ): void;
841
+ }
842
+ }
843
+
844
+ declare module "sap/fe/core/controllerextensions/Routing" {
845
+ import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
846
+
847
+ import Context from "sap/ui/model/odata/v4/Context";
848
+
849
+ /**
850
+ * @SINCE 1.86.0
851
+ *
852
+ * A controller extension offering hooks into the routing flow of the application
853
+ */
854
+ export default class Routing extends ControllerExtension {
855
+ constructor();
856
+
857
+ /**
858
+ * @SINCE 1.90.0
859
+ *
860
+ * Allows navigation to a specific context.
861
+ */
862
+ navigate(
863
+ /**
864
+ * Object containing the context to be navigated to
865
+ */
866
+ oContext: Context
867
+ ): void;
868
+ /**
869
+ * Navigate to another target.
870
+ *
871
+ * @returns Promise that is resolved when the navigation is finalized
872
+ */
873
+ navigateToRoute(
874
+ /**
875
+ * Name of the target route
876
+ */
877
+ sTargetRouteName: string,
878
+ /**
879
+ * Parameters to be used with route to create the target hash
880
+ */
881
+ oParameters?: any
882
+ ): Promise<boolean>;
883
+ /**
884
+ * @SINCE 1.90.0
885
+ *
886
+ * This function is used to intercept the routing event after binding a page.
887
+ * If it is declared as an extension, it allows you to intercept and change the normal flow of binding.
888
+ *
889
+ * This function is not called directly, but overridden separately by consuming controllers.
890
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
891
+ */
892
+ onAfterBinding(
893
+ /**
894
+ * Object containing the context to be navigated
895
+ */
896
+ oContext: object
897
+ ): void;
898
+ /**
899
+ * @SINCE 1.90.0
900
+ *
901
+ * This function is used to intercept the routing event before binding a page.
902
+ * If it is declared as an extension, it allows you to intercept and change the normal flow of binding.
903
+ *
904
+ * This function is not called directly, but overridden separately by consuming controllers.
905
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
906
+ */
907
+ onBeforeBinding(
908
+ /**
909
+ * Object containing the context for the navigation
910
+ */
911
+ oContext: object
912
+ ): void;
913
+ /**
914
+ * @SINCE 1.86.0
915
+ *
916
+ * This function can be used to intercept the routing event happening during the normal process of navigating
917
+ * from one page to another.
918
+ * If declared as an extension, it allows you to intercept and change the normal navigation flow.
919
+ * If you decide to do your own navigation processing, you can return `true` to prevent the default routing
920
+ * behavior.
921
+ *
922
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
923
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
924
+ *
925
+ *
926
+ * @returns `true` to prevent the default execution, false to keep the standard behavior
927
+ */
928
+ onBeforeNavigation(
929
+ /**
930
+ * Object containing row context and page context
931
+ */
932
+ mNavigationParameters: {
933
+ /**
934
+ * The currently selected context
935
+ */
936
+ bindingContext: Context;
937
+ }
938
+ ): boolean;
939
+ }
940
+ }
941
+
942
+ declare module "sap/fe/core/controllerextensions/Share" {
943
+ import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
944
+
945
+ /**
946
+ * @SINCE 1.86.0
947
+ *
948
+ * A controller extension offering hooks into the routing flow of the application
949
+ */
950
+ export default class Share extends ControllerExtension {
951
+ constructor();
952
+
953
+ /**
954
+ * @SINCE 1.93.0
955
+ *
956
+ * Adapts the metadata used while sharing the page URL via 'Send Email', 'Share in SAP Jam', and 'Save as
957
+ * Tile'.
958
+ *
959
+ * @returns Share Metadata or a Promise resolving the Share Metadata
960
+ */
961
+ adaptShareMetadata(
962
+ /**
963
+ * Object containing the share metadata.
964
+ */
965
+ oShareMetadata: {
966
+ /**
967
+ * Email-specific metadata.
968
+ */
969
+ email?: {
970
+ /**
971
+ * Title that will be used as "email subject" in 'Send Email'. This takes precedence over oShareMetadata.title.
972
+ */
973
+ title: string;
974
+ /**
975
+ * URL that will be used specifically for 'Send Email'. This takes precedence over oShareMetadata.url.
976
+ */
977
+ url: string;
978
+ };
979
+ /**
980
+ * SAP Jam-specific metadata.
981
+ */
982
+ jam?: {
983
+ /**
984
+ * Title that will be used as 'share text' in 'Share in SAP Jam'. This takes precedence over oShareMetadata.title.
985
+ */
986
+ title: string;
987
+ /**
988
+ * URL that will be used specifically for 'Share in SAP Jam'. This takes precedence over oShareMetadata.url.
989
+ */
990
+ url: string;
991
+ };
992
+ /**
993
+ * Save as Tile-specific metadata.
994
+ */
995
+ tile?: {
996
+ /**
997
+ * Icon to be used for the tile.
998
+ */
999
+ icon: string;
1000
+ /**
1001
+ * Query URL of an OData service from which data for a dynamic tile is read.
1002
+ */
1003
+ queryUrl: string;
1004
+ /**
1005
+ * Subtitle to be used for the tile.
1006
+ */
1007
+ subtitle: string;
1008
+ /**
1009
+ * Title to be used for the tile. This takes precedence over oShareMetadata.title.
1010
+ */
1011
+ title: string;
1012
+ /**
1013
+ * URL that will be used specifically for 'Save as Tile'. This takes precedence over oShareMetadata.url.
1014
+ */
1015
+ url: string;
1016
+ };
1017
+ /**
1018
+ * Default title that will be used as 'email subject' in 'Send Email', 'share text' in 'Share in SAP Jam'
1019
+ * and 'title' in 'Save as Tile'
1020
+ */
1021
+ title: string;
1022
+ /**
1023
+ * Default URL that will be used via 'Send Email', 'Share in SAP Jam', and 'Save as Tile'
1024
+ */
1025
+ url: string;
1026
+ }
1027
+ ): Promise<object> | object;
1028
+ /**
1029
+ * @SINCE 1.93.0
1030
+ *
1031
+ * Opens the share sheet.
1032
+ */
1033
+ openShareSheet(
1034
+ /**
1035
+ * The control to which the ActionSheet is opened.
1036
+ */
1037
+ oControl: object
1038
+ ): void;
1039
+ }
1040
+ }
1041
+
1042
+ declare module "sap/fe/core/controllerextensions/ViewState" {
1043
+ import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
1044
+
1045
+ import ManagedObject from "sap/ui/base/ManagedObject";
1046
+
1047
+ /**
1048
+ * @SINCE 1.85.0
1049
+ *
1050
+ * A controller extension offering hooks for state handling
1051
+ * If you need to maintain a specific state for your application, you can use the controller extension.
1052
+ */
1053
+ export default class ViewState extends ControllerExtension {
1054
+ constructor();
1055
+
1056
+ /**
1057
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1058
+ *
1059
+ * This function should add all controls relevant for refreshing to the provided control array.
1060
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1061
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
1062
+ */
1063
+ adaptBindingRefreshControls(
1064
+ /**
1065
+ * The collected controls
1066
+ */
1067
+ aCollectedControls: ManagedObject[]
1068
+ ): void;
1069
+ /**
1070
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1071
+ *
1072
+ * Customize the `refreshBinding` function for a certain control.
1073
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1074
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
1075
+ */
1076
+ adaptBindingRefreshHandler(
1077
+ /**
1078
+ * The control for which the refresh handler is adapted.
1079
+ */
1080
+ oControl: ManagedObject,
1081
+ /**
1082
+ * A plain object which can have one function: `refreshBinding`
1083
+ */
1084
+ oControlHandler: any[]
1085
+ ): void;
1086
+ /**
1087
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1088
+ *
1089
+ * Customize the `retrieve` and `apply` functions for a certain control.
1090
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1091
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
1092
+ */
1093
+ adaptControlStateHandler(
1094
+ /**
1095
+ * The control to get state handler for
1096
+ */
1097
+ oControl: ManagedObject,
1098
+ /**
1099
+ * A list of plain objects with two functions: `retrieve` and `apply`
1100
+ */
1101
+ aControlHandler: object[]
1102
+ ): void;
1103
+ /**
1104
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1105
+ *
1106
+ * This function should add all controls for given view that should be considered for the state handling
1107
+ * to the provided control array.
1108
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1109
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
1110
+ */
1111
+ adaptStateControls(
1112
+ /**
1113
+ * The collected controls
1114
+ */
1115
+ aCollectedControls: ManagedObject[]
1116
+ ): void;
1117
+ /**
1118
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1119
+ *
1120
+ * Applying additional, not control related, states - is called only if navigation type is iAppState.
1121
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1122
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
1123
+ */
1124
+ applyAdditionalStates(
1125
+ /**
1126
+ * The current view state
1127
+ */
1128
+ oViewState: object,
1129
+ /**
1130
+ * Extensible array of promises to be resolved before continuing
1131
+ */
1132
+ aPromises: Promise<any>
1133
+ ): void;
1134
+ /**
1135
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1136
+ *
1137
+ * Defines whether the view state should only be applied once initially.
1138
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1139
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.Instead}.
1140
+ *
1141
+ * Important:
1142
+ * You should only override this method for custom pages and not for the standard ListReportPage and ObjectPage!
1143
+ *
1144
+ *
1145
+ * @returns If `true`, only the initial view state is applied once,
1146
+ * else any new view state is also applied on follow-up calls (default)
1147
+ */
1148
+ applyInitialStateOnly(): boolean;
1149
+ /**
1150
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1151
+ *
1152
+ * Apply navigation parameters is not called if the navigation type is iAppState
1153
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1154
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
1155
+ */
1156
+ applyNavigationParameters(
1157
+ /**
1158
+ * The current navigation parameter
1159
+ */
1160
+ oNavParameter: {
1161
+ /**
1162
+ * The actual navigation type
1163
+ */
1164
+ navigationType: any;
1165
+ /**
1166
+ * undefined
1167
+ */
1168
+ requiresStandardVariant?: boolean;
1169
+ /**
1170
+ * undefined
1171
+ */
1172
+ selectionVariant?: object;
1173
+ /**
1174
+ * undefined
1175
+ */
1176
+ selectionVariantDefaults?: object;
1177
+ },
1178
+ /**
1179
+ * Extensible array of promises to be resolved before continuing
1180
+ */
1181
+ aPromises: Promise<any>
1182
+ ): void;
1183
+ /**
1184
+ * Applies the given view state to this extensions view.
1185
+ *
1186
+ * @returns Promise for async state handling
1187
+ */
1188
+ applyViewState(
1189
+ /**
1190
+ * The view state to apply (can be undefined)
1191
+ */
1192
+ oViewState: any,
1193
+ /**
1194
+ * The current navigation parameter
1195
+ */
1196
+ oNavParameter: /* was: sap.fe.core.NavigationParameter */ any
1197
+ ): Promise<any>;
1198
+ /**
1199
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1200
+ *
1201
+ * Hook to react when state for given view was applied.
1202
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1203
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
1204
+ */
1205
+ onAfterStateApplied(
1206
+ /**
1207
+ * Extensible array of promises to be resolved before continuing
1208
+ */
1209
+ aPromises: Promise<any>
1210
+ ): void;
1211
+ /**
1212
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1213
+ *
1214
+ * Hook to react before a state for given view is applied.
1215
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1216
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
1217
+ */
1218
+ onBeforeStateApplied(
1219
+ /**
1220
+ * Extensible array of promises to be resolved before continuing
1221
+ */
1222
+ aPromises: Promise<any>
1223
+ ): void;
1224
+ /**
1225
+ * Called when the application is restored due to keep-alive mode.
1226
+ */
1227
+ onRestore(): void;
1228
+ /**
1229
+ * Called when the application is suspended due to keep-alive mode.
1230
+ */
1231
+ onSuspend(): void;
1232
+ /**
1233
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1234
+ *
1235
+ * Extend the map of additional states (not control bound) to be added to the current view state of the
1236
+ * given view.
1237
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
1238
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
1239
+ */
1240
+ retrieveAdditionalStates(
1241
+ /**
1242
+ * The additional state
1243
+ */
1244
+ mAdditionalStates: object
1245
+ ): void;
1246
+ /**
1247
+ * Retrieve the view state of this extensions view.
1248
+ * When this function is called more than once before finishing, all but the final response will resolve
1249
+ * to `undefined`.
1250
+ *
1251
+ * @returns A promise resolving the view state
1252
+ */
1253
+ retrieveViewState(): Promise<any>;
1254
+ }
1255
+ /**
1256
+ * Definition of a custom action to be used inside the table toolbar
1257
+ */
1258
+ export type NavigationParameter = {
1259
+ /**
1260
+ * The actual navigation type.
1261
+ */
1262
+ navigationType: string;
1263
+ /**
1264
+ * Defines whether the standard variant must be used in variant management
1265
+ */
1266
+ requiresStandardVariant: boolean;
1267
+ /**
1268
+ * The selectionVariant from the navigation.
1269
+ */
1270
+ selectionVariant: object;
1271
+ /**
1272
+ * The selectionVariant defaults from the navigation
1273
+ */
1274
+ selectionVariantDefaults: object;
1275
+ };
1276
+ }
1277
+
1278
+ declare module "sap/fe/core/fpm/Component" {
1279
+ /**
1280
+ * @SINCE 1.92.0
1281
+ * @EXPERIMENTAL (since 1.92.0)
1282
+ *
1283
+ * Component that can be used as a wrapper component for custom pages.
1284
+ * The component can be used in case you want to use SAP Fiori elements Building Blocks or XML template
1285
+ * constructions. You can either extend the component and set the viewName and contextPath within your code
1286
+ * or you can use it to wrap your custom XML view directly the manifest when you define your custom page
1287
+ * under sapui5/routing/targets:
1288
+ *
1289
+ *
1290
+ * ```javascript
1291
+ *
1292
+ * "myCustomPage": {
1293
+ * "type": "Component",
1294
+ * "id": "myCustomPage",
1295
+ * "name": "sap.fe.core.fpm",
1296
+ * "title": "My Custom Page",
1297
+ * "options": {
1298
+ * "settings": {
1299
+ * "viewName": "myNamespace.myView",
1300
+ * "contextPath": "/MyEntitySet"
1301
+ * }
1302
+ * }
1303
+ * }
1304
+ * ```
1305
+ */
1306
+ export default class Component
1307
+ /* was: sap.fe.core.TemplateComponent */ extends Object {
1308
+ constructor();
1309
+ }
1310
+ }
1311
+
1312
+ declare module "sap/fe/core/library" {
1313
+ /**
1314
+ * @SINCE 1.86.0
1315
+ *
1316
+ * Possible initial load (first app startup) modes for a ListReport.
1317
+ */
1318
+ export enum InitialLoadMode {
1319
+ /**
1320
+ * Data will be loaded initially if filters are set.
1321
+ */
1322
+ Auto = "undefined",
1323
+ /**
1324
+ * Data will not be loaded initially.
1325
+ */
1326
+ Disabled = "undefined",
1327
+ /**
1328
+ * Data will be loaded initially.
1329
+ */
1330
+ Enabled = "undefined",
1331
+ }
1332
+ }
1333
+
1334
+ declare module "sap/fe/core/rootView/Fcl.controller" {
1335
+ import AppComponent from "sap/fe/core/AppComponent";
1336
+
1337
+ import Model from "sap/ui/model/Model";
1338
+
1339
+ import View from "sap/ui/core/mvc/View";
1340
+
1341
+ /**
1342
+ * @SINCE 1.110.0
1343
+ *
1344
+ * Base controller class for your own root view with an sap.f.FlexibleColumnLayout control.
1345
+ * By using or extending this controller, you can use your own root view with the sap.fe.core.AppComponent
1346
+ * and
1347
+ * you can make use of SAP Fiori elements pages and SAP Fiori elements building blocks.
1348
+ */
1349
+ export default class Fcl
1350
+ /* was: sap.fe.core.RootViewBaseController */ extends Object {
1351
+ constructor();
1352
+
1353
+ /**
1354
+ * Method that creates a new Page to display the IllustratedMessage containing the current error.
1355
+ *
1356
+ * @returns A promise that creates a Page to display the error
1357
+ */
1358
+ displayErrorPage(): Promise<boolean>;
1359
+ /**
1360
+ * @SINCE 1.91.0
1361
+ *
1362
+ * Returns the current app component.
1363
+ *
1364
+ * @returns The app component or, if not found, null
1365
+ */
1366
+ getAppComponent(): AppComponent;
1367
+ /**
1368
+ * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
1369
+ * name into each controller.
1370
+ *
1371
+ * @returns The model instance
1372
+ */
1373
+ getModel(
1374
+ /**
1375
+ * The model name
1376
+ */
1377
+ sName?: string
1378
+ ): Model;
1379
+ /**
1380
+ * Convenience method for getting the resource bundle.
1381
+ *
1382
+ * @returns The resourceModel of the component
1383
+ */
1384
+ getResourceBundle():
1385
+ | Promise</* was: sap.base.i18n.ResourceBundle */ any>
1386
+ | /* was: sap.base.i18n.ResourceBundle */ any;
1387
+ /**
1388
+ * Convenience method for setting the view model in every controller of the application.
1389
+ *
1390
+ * @returns The view instance
1391
+ */
1392
+ setModel(
1393
+ /**
1394
+ * The model instance
1395
+ */
1396
+ oModel: Model,
1397
+ /**
1398
+ * The model name
1399
+ */
1400
+ sName: string
1401
+ ): View;
1402
+ }
1403
+ }
1404
+
1405
+ declare module "sap/fe/core/rootView/NavContainer.controller" {
1406
+ import AppComponent from "sap/fe/core/AppComponent";
1407
+
1408
+ import Model from "sap/ui/model/Model";
1409
+
1410
+ import View from "sap/ui/core/mvc/View";
1411
+
1412
+ /**
1413
+ * @SINCE 1.108.0
1414
+ *
1415
+ * Base controller class for your own root view with a sap.m.NavContainer control.
1416
+ * By using or extending this controller you can use your own root view with the sap.fe.core.AppComponent
1417
+ * and
1418
+ * you can make use of SAP Fiori elements pages and SAP Fiori elements building blocks.
1419
+ */
1420
+ export default class NavContainer
1421
+ /* was: sap.fe.core.RootViewBaseController */ extends Object {
1422
+ constructor();
1423
+
1424
+ /**
1425
+ * Method that creates a new Page to display the IllustratedMessage containing the current error.
1426
+ *
1427
+ * @returns A promise that creates a Page to display the error
1428
+ */
1429
+ displayErrorPage(): Promise<boolean>;
1430
+ /**
1431
+ * @SINCE 1.91.0
1432
+ *
1433
+ * Returns the current app component.
1434
+ *
1435
+ * @returns The app component or, if not found, null
1436
+ */
1437
+ getAppComponent(): AppComponent;
1438
+ /**
1439
+ * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
1440
+ * name into each controller.
1441
+ *
1442
+ * @returns The model instance
1443
+ */
1444
+ getModel(
1445
+ /**
1446
+ * The model name
1447
+ */
1448
+ sName?: string
1449
+ ): Model;
1450
+ /**
1451
+ * Convenience method for getting the resource bundle.
1452
+ *
1453
+ * @returns The resourceModel of the component
1454
+ */
1455
+ getResourceBundle():
1456
+ | Promise</* was: sap.base.i18n.ResourceBundle */ any>
1457
+ | /* was: sap.base.i18n.ResourceBundle */ any;
1458
+ /**
1459
+ * Convenience method for setting the view model in every controller of the application.
1460
+ *
1461
+ * @returns The view instance
1462
+ */
1463
+ setModel(
1464
+ /**
1465
+ * The model instance
1466
+ */
1467
+ oModel: Model,
1468
+ /**
1469
+ * The model name
1470
+ */
1471
+ sName: string
1472
+ ): View;
1473
+ }
1474
+ }
1475
+
1476
+ declare namespace sap {
1477
+ interface IUI5DefineDependencyNames {
1478
+ "sap/fe/core/AppComponent": undefined;
1479
+
1480
+ "sap/fe/core/BaseController": undefined;
1481
+
1482
+ "sap/fe/core/controllerextensions/EditFlow": undefined;
1483
+
1484
+ "sap/fe/core/controllerextensions/IntentBasedNavigation": undefined;
1485
+
1486
+ "sap/fe/core/controllerextensions/MessageHandler": undefined;
1487
+
1488
+ "sap/fe/core/controllerextensions/Paginator": undefined;
1489
+
1490
+ "sap/fe/core/controllerextensions/Routing": undefined;
1491
+
1492
+ "sap/fe/core/controllerextensions/Share": undefined;
1493
+
1494
+ "sap/fe/core/controllerextensions/ViewState": undefined;
1495
+
1496
+ "sap/fe/core/ExtensionAPI": undefined;
1497
+
1498
+ "sap/fe/core/fpm/Component": undefined;
1499
+
1500
+ "sap/fe/core/library": undefined;
1501
+
1502
+ "sap/fe/core/PageController": undefined;
1503
+
1504
+ "sap/fe/core/rootView/Fcl.controller": undefined;
1505
+
1506
+ "sap/fe/core/rootView/NavContainer.controller": undefined;
1507
+ }
1508
+ }