@sapui5/ts-types 1.112.3 → 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.
- package/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +59 -2
- package/types/sap.chart.d.ts +15 -1
- package/types/sap.collaboration.d.ts +33 -1
- package/types/sap.esh.search.ui.d.ts +405 -1
- package/types/sap.f.d.ts +75 -38
- package/types/sap.fe.core.d.ts +28 -2
- package/types/sap.fe.macros.d.ts +52 -69
- package/types/sap.fe.navigation.d.ts +2 -0
- package/types/sap.fe.templates.d.ts +6 -0
- package/types/sap.fe.test.d.ts +7 -1
- package/types/sap.feedback.ui.d.ts +2 -6
- package/types/sap.gantt.d.ts +238 -16
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.landvisz.d.ts +27 -1
- package/types/sap.m.d.ts +1854 -85
- package/types/sap.makit.d.ts +13 -1
- package/types/sap.me.d.ts +17 -1
- package/types/sap.ndc.d.ts +10 -2
- package/types/sap.ovp.d.ts +7 -1
- package/types/sap.rules.ui.d.ts +9 -1
- package/types/sap.sac.df.d.ts +62 -1
- package/types/sap.sac.grid.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +272 -2
- package/types/sap.suite.ui.generic.template.d.ts +180 -1
- package/types/sap.suite.ui.microchart.d.ts +37 -1
- package/types/sap.tnt.d.ts +7 -1
- package/types/sap.ui.codeeditor.d.ts +5 -1
- package/types/sap.ui.commons.d.ts +197 -1
- package/types/sap.ui.comp.d.ts +314 -7
- package/types/sap.ui.core.d.ts +1508 -518
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +13 -1
- package/types/sap.ui.generic.app.d.ts +20 -7
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +52 -19
- package/types/sap.ui.layout.d.ts +43 -1
- package/types/sap.ui.mdc.d.ts +1 -1
- package/types/sap.ui.richtexteditor.d.ts +11 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +5 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +63 -7
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +308 -4
- package/types/sap.ui.ux3.d.ts +147 -1
- package/types/sap.ui.vbm.d.ts +122 -1
- package/types/sap.ui.vk.d.ts +375 -2
- package/types/sap.ui.vtm.d.ts +73 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +63 -1
- package/types/sap.ui.webc.main.d.ts +189 -5
- package/types/sap.uiext.inbox.d.ts +27 -1
- package/types/sap.ushell.d.ts +375 -79
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +26 -1
- package/types/sap.viz.d.ts +229 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +10 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.113.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace suite {
|
|
@@ -202,6 +202,8 @@ declare namespace sap {
|
|
|
202
202
|
*/
|
|
203
203
|
interface controllerFrameworkExtensions {
|
|
204
204
|
/**
|
|
205
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
206
|
+
*
|
|
205
207
|
* This method is called by SAP Fiori elements before triggering an external navigation. Application developers
|
|
206
208
|
* can override this method and programmatically adapt the parameters which are passed to the target application.
|
|
207
209
|
* Application developers can use the oObjectInfo parameter to identify the navigation context and modify
|
|
@@ -227,11 +229,15 @@ declare namespace sap {
|
|
|
227
229
|
}
|
|
228
230
|
): void;
|
|
229
231
|
/**
|
|
232
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
233
|
+
*
|
|
230
234
|
* This method is called by SAP Fiori elements whenever the busy state is switched off. Application developers
|
|
231
235
|
* can override this method, access the message model and adapt the transient messages related to the component.
|
|
232
236
|
*/
|
|
233
237
|
adaptTransientMessageExtension(): void;
|
|
234
238
|
/**
|
|
239
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
240
|
+
*
|
|
235
241
|
* This method is called by SAP Fiori elements when a smart link in a table is clicked. Application developers
|
|
236
242
|
* can override this method and invoke the oParams.getSourceInfo method to find out the information about
|
|
237
243
|
* the clicked smart link.
|
|
@@ -258,6 +264,8 @@ declare namespace sap {
|
|
|
258
264
|
}
|
|
259
265
|
): boolean;
|
|
260
266
|
/**
|
|
267
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
268
|
+
*
|
|
261
269
|
* This method is called by SAP Fiori elements before persisting the AppState. Application developers can
|
|
262
270
|
* override this method for persisting the state of custom controls. State of the custom control (controls)
|
|
263
271
|
* should be stored in the oCustomData passed as a parameter to this method. To make a complete functionality,
|
|
@@ -270,6 +278,8 @@ declare namespace sap {
|
|
|
270
278
|
oCustomData: object
|
|
271
279
|
): void;
|
|
272
280
|
/**
|
|
281
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
282
|
+
*
|
|
273
283
|
* This method is called in the AppState creation lifecycle. Application developers can override this method,
|
|
274
284
|
* return an array of all selection fields set on SmartFilterBar using custom code as default and doesn't
|
|
275
285
|
* really want to store as part of the AppState. SAP Fiori elements framework will remove these filter properties
|
|
@@ -280,6 +290,8 @@ declare namespace sap {
|
|
|
280
290
|
*/
|
|
281
291
|
getVisibleSelectionsWithDefaults(): any[];
|
|
282
292
|
/**
|
|
293
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
294
|
+
*
|
|
283
295
|
* This method is called by SAP Fiori elements in the startup life cycle of a component. Application developers
|
|
284
296
|
* can override this method and modify the startup object. For an example, when the application is started,
|
|
285
297
|
* the selection variant might contain some properties that are not required for this app. Such properties
|
|
@@ -303,6 +315,33 @@ declare namespace sap {
|
|
|
303
315
|
}
|
|
304
316
|
): void;
|
|
305
317
|
/**
|
|
318
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
319
|
+
*
|
|
320
|
+
* This method is called by SAP Fiori elements when the table data is getting exported. Application developers
|
|
321
|
+
* can override this method to add/remove the filters in the exported file.
|
|
322
|
+
*
|
|
323
|
+
* To add new filter entries to the exported file, create an instance of {@link sap.ui.export.util.Filter}
|
|
324
|
+
* and add it to "oExportParams.filterSettings"
|
|
325
|
+
*/
|
|
326
|
+
onBeforeExportTableExtension(
|
|
327
|
+
/**
|
|
328
|
+
* Object containing the table export info
|
|
329
|
+
*/
|
|
330
|
+
oExportParams: {
|
|
331
|
+
/**
|
|
332
|
+
* The filters in the exported file Note: Please make changes on "oExportParams.filterSettings" array only
|
|
333
|
+
* when "Include filter settings" is selected. Otherwise, the changes will be ignored.
|
|
334
|
+
*/
|
|
335
|
+
filterSettings: sap.ui.export.util.Filter[];
|
|
336
|
+
/**
|
|
337
|
+
* The value of "Include filter settings" checkbox
|
|
338
|
+
*/
|
|
339
|
+
includeFilterSettings: boolean;
|
|
340
|
+
}
|
|
341
|
+
): void;
|
|
342
|
+
/**
|
|
343
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
344
|
+
*
|
|
306
345
|
* This method is called by SAP Fiori elements before binding a chart. Application developers can override
|
|
307
346
|
* this method and programmatically modify parameters or filters before chart triggers a query to retrieve
|
|
308
347
|
* data.
|
|
@@ -316,6 +355,8 @@ declare namespace sap {
|
|
|
316
355
|
oEvent: sap.ui.base.Event
|
|
317
356
|
): void;
|
|
318
357
|
/**
|
|
358
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
359
|
+
*
|
|
319
360
|
* This method is called by SAP Fiori elements before binding a filterable KPI. Application developers can
|
|
320
361
|
* override this method to modify parameters or filters for a filterable KPI.
|
|
321
362
|
*/
|
|
@@ -334,6 +375,8 @@ declare namespace sap {
|
|
|
334
375
|
sKPIId: string
|
|
335
376
|
): void;
|
|
336
377
|
/**
|
|
378
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
379
|
+
*
|
|
337
380
|
* This method is called by SAP Fiori elements before binding a table. Application developers can override
|
|
338
381
|
* this method and programmatically modify parameters or filters before the table triggers a query to retrieve
|
|
339
382
|
* data.
|
|
@@ -347,6 +390,8 @@ declare namespace sap {
|
|
|
347
390
|
oEvent: sap.ui.base.Event
|
|
348
391
|
): void;
|
|
349
392
|
/**
|
|
393
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
394
|
+
*
|
|
350
395
|
* This method is called by SAP Fiori elements before binding a visual filter. Application developers can
|
|
351
396
|
* override this method and programmatically modify parameters, filters, or influence sorting before the
|
|
352
397
|
* chart triggers a query to retrieve data. Application developers can also access incoming navigation contexts
|
|
@@ -389,6 +434,8 @@ declare namespace sap {
|
|
|
389
434
|
}
|
|
390
435
|
): void;
|
|
391
436
|
/**
|
|
437
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
438
|
+
*
|
|
392
439
|
* This method should be implemented whenever application uses onListNavigationExtension for internal navigation.
|
|
393
440
|
* In this case the implementation of this method should provide an 'inverse' mapping to the transformation
|
|
394
441
|
* implemented within onListNavigationExtension. More precisely, the identification of a child page instance
|
|
@@ -420,6 +467,8 @@ declare namespace sap {
|
|
|
420
467
|
fnSetPath: Function
|
|
421
468
|
): void;
|
|
422
469
|
/**
|
|
470
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
471
|
+
*
|
|
423
472
|
* This method is called by SAP Fiori elements when the Clear button on the filter dialog is clicked. Application
|
|
424
473
|
* developers can override this method to clear custom filters.
|
|
425
474
|
*/
|
|
@@ -430,11 +479,15 @@ declare namespace sap {
|
|
|
430
479
|
oEvent: sap.ui.base.Event
|
|
431
480
|
): void;
|
|
432
481
|
/**
|
|
482
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
483
|
+
*
|
|
433
484
|
* This method is called by Fiori elements on the initialization of View. Application developers can override
|
|
434
485
|
* this method & perform internal setup in this hook.
|
|
435
486
|
*/
|
|
436
487
|
onInit(): void;
|
|
437
488
|
/**
|
|
489
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
490
|
+
*
|
|
438
491
|
* This method is called by SAP Fiori elements once the smart filter bar is initialized with a variant.
|
|
439
492
|
* Application developers can override this method when there is a custom filter field bound outside the
|
|
440
493
|
* standard model.
|
|
@@ -446,6 +499,8 @@ declare namespace sap {
|
|
|
446
499
|
oEvent: sap.ui.base.Event
|
|
447
500
|
): void;
|
|
448
501
|
/**
|
|
502
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
503
|
+
*
|
|
449
504
|
* This method is called when the user leaves the app and this page has been displayed within the same app
|
|
450
505
|
* session (this is the time since last opening the app) at least once. Moreover, it is called for all pages
|
|
451
506
|
* that have been displayed within some app session when the app is finally destroyed.
|
|
@@ -462,6 +517,8 @@ declare namespace sap {
|
|
|
462
517
|
bIsDestroyed: boolean
|
|
463
518
|
): Function;
|
|
464
519
|
/**
|
|
520
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
521
|
+
*
|
|
465
522
|
* This method is called by SAP Fiori elements when a chevron navigation is triggered from a table. Application
|
|
466
523
|
* developers can override this method and perform conditional (internal or external) navigation from different
|
|
467
524
|
* rows of a table. Such custom navigation should be triggered via corresponding methods of {@link sap.suite.ui.generic.template.extensionAPI.NavigationController
|
|
@@ -487,6 +544,8 @@ declare namespace sap {
|
|
|
487
544
|
bReplaceInHistory: boolean
|
|
488
545
|
): boolean;
|
|
489
546
|
/**
|
|
547
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
548
|
+
*
|
|
490
549
|
* This method is called by SAP Fiori elements when the Share functionality is triggered. Application developers
|
|
491
550
|
* can adapt the service URL passed as a parameter to this method. Adapted service URL will be used in the
|
|
492
551
|
* 'Send Email' or 'Save as Tile' options.
|
|
@@ -503,6 +562,8 @@ declare namespace sap {
|
|
|
503
562
|
}
|
|
504
563
|
): void;
|
|
505
564
|
/**
|
|
565
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
566
|
+
*
|
|
506
567
|
* This method is called by SAP Fiori elements while applying the AppState. This method should be overridden
|
|
507
568
|
* with `getCustomAppStateDataExtension`. The custom data retrieved from the AppState will be passed as
|
|
508
569
|
* a parameter to this method. Application developers can use this custom data to restore the state of the
|
|
@@ -1186,6 +1247,8 @@ declare namespace sap {
|
|
|
1186
1247
|
oListener?: object
|
|
1187
1248
|
): this;
|
|
1188
1249
|
/**
|
|
1250
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
1251
|
+
*
|
|
1189
1252
|
* Fires event {@link #event:pageDataLoaded pageDataLoaded} to attached listeners.
|
|
1190
1253
|
*
|
|
1191
1254
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -1843,6 +1906,8 @@ declare namespace sap {
|
|
|
1843
1906
|
*/
|
|
1844
1907
|
interface controllerFrameworkExtensions {
|
|
1845
1908
|
/**
|
|
1909
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
1910
|
+
*
|
|
1846
1911
|
* Obsolete and not called anymore. Kept here to avoid conflicts (in the very unlikely case, Fiori elements
|
|
1847
1912
|
* would come up with the idea to invent a new extension method with the exact same name some day in future,
|
|
1848
1913
|
* and any application would still have an implementation for this old extension).
|
|
@@ -1865,6 +1930,8 @@ declare namespace sap {
|
|
|
1865
1930
|
getVisibleSelectionsWithDefaults: undefined;
|
|
1866
1931
|
|
|
1867
1932
|
/**
|
|
1933
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
1934
|
+
*
|
|
1868
1935
|
* This method is called by SAP Fiori elements before triggering an external navigation. Application developers
|
|
1869
1936
|
* can override this method and programmatically adapt the parameters which are passed to the target application.
|
|
1870
1937
|
* Application developers can use the oObjectInfo parameter to identify the navigation context and modify
|
|
@@ -1890,11 +1957,15 @@ declare namespace sap {
|
|
|
1890
1957
|
}
|
|
1891
1958
|
): void;
|
|
1892
1959
|
/**
|
|
1960
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
1961
|
+
*
|
|
1893
1962
|
* This method is called by SAP Fiori elements whenever the busy state is switched off. Application developers
|
|
1894
1963
|
* can override this method, access the message model and adapt the transient messages related to the component.
|
|
1895
1964
|
*/
|
|
1896
1965
|
adaptTransientMessageExtension(): void;
|
|
1897
1966
|
/**
|
|
1967
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
1968
|
+
*
|
|
1898
1969
|
* This method is called by SAP Fiori elements when the delete operation is triggered. Application developers
|
|
1899
1970
|
* can override this method in controller extension & perform additional checks before executing the delete
|
|
1900
1971
|
* operation. Method is expected to return a Promise. To veto the delete operation, promise needs to be
|
|
@@ -1914,6 +1985,8 @@ declare namespace sap {
|
|
|
1914
1985
|
}
|
|
1915
1986
|
): Promise<any>;
|
|
1916
1987
|
/**
|
|
1988
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
1989
|
+
*
|
|
1917
1990
|
* This method should be implemented whenever the application needs to have a custom save functionality
|
|
1918
1991
|
* for multi edit scenario. The logic for save should be defined here and this method should return a promise
|
|
1919
1992
|
* based on whose resolution or rejection the framework would perform cleanup tasks like closing the dialog
|
|
@@ -1939,6 +2012,8 @@ declare namespace sap {
|
|
|
1939
2012
|
}>
|
|
1940
2013
|
): Promise<any>;
|
|
1941
2014
|
/**
|
|
2015
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2016
|
+
*
|
|
1942
2017
|
* This method is called by SAP Fiori elements when a smart link in a table is clicked. Application developers
|
|
1943
2018
|
* can override this method and invoke the oParams.getSourceInfo method to find out the information about
|
|
1944
2019
|
* the clicked smart link.
|
|
@@ -1965,6 +2040,8 @@ declare namespace sap {
|
|
|
1965
2040
|
}
|
|
1966
2041
|
): boolean;
|
|
1967
2042
|
/**
|
|
2043
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2044
|
+
*
|
|
1968
2045
|
* This method is called by SAP Fiori elements before persisting the AppState. Application developers can
|
|
1969
2046
|
* override this method for persisting the state of custom controls. State of the custom control (controls)
|
|
1970
2047
|
* should be stored in the oCustomData passed as a parameter to this method. To make a complete functionality,
|
|
@@ -1993,6 +2070,8 @@ declare namespace sap {
|
|
|
1993
2070
|
oCustomData: object
|
|
1994
2071
|
): void;
|
|
1995
2072
|
/**
|
|
2073
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2074
|
+
*
|
|
1996
2075
|
* This method is called by SAP Fiori elements when the Create with Filters is executed. Application developers
|
|
1997
2076
|
* can enable this feature in the LR component by adding createWithFilters in the settings object of the
|
|
1998
2077
|
* List Report component & strategy needs to be set as `extension`. SmartFilterBar instance will be passed
|
|
@@ -2013,6 +2092,8 @@ declare namespace sap {
|
|
|
2013
2092
|
oDefaultValues: object
|
|
2014
2093
|
): Map<any, any>;
|
|
2015
2094
|
/**
|
|
2095
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2096
|
+
*
|
|
2016
2097
|
* This method is called by SAP Fiori elements in the startup life cycle of a component. Application developers
|
|
2017
2098
|
* can override this method and modify the startup object. For an example, when the application is started,
|
|
2018
2099
|
* the selection variant might contain some properties that are not required for this app. Such properties
|
|
@@ -2044,6 +2125,33 @@ declare namespace sap {
|
|
|
2044
2125
|
}
|
|
2045
2126
|
): void;
|
|
2046
2127
|
/**
|
|
2128
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2129
|
+
*
|
|
2130
|
+
* This method is called by SAP Fiori elements when the table data is getting exported. Application developers
|
|
2131
|
+
* can override this method to add/remove the filters in the exported file.
|
|
2132
|
+
*
|
|
2133
|
+
* To add new filter entries to the exported file, create an instance of {@link sap.ui.export.util.Filter}
|
|
2134
|
+
* and add it to "oExportParams.filterSettings"
|
|
2135
|
+
*/
|
|
2136
|
+
onBeforeExportTableExtension(
|
|
2137
|
+
/**
|
|
2138
|
+
* Object containing the table export info
|
|
2139
|
+
*/
|
|
2140
|
+
oExportParams: {
|
|
2141
|
+
/**
|
|
2142
|
+
* The filters in the exported file Note: Please make changes on "oExportParams.filterSettings" array only
|
|
2143
|
+
* when "Include filter settings" is selected. Otherwise, the changes will be ignored.
|
|
2144
|
+
*/
|
|
2145
|
+
filterSettings: sap.ui.export.util.Filter[];
|
|
2146
|
+
/**
|
|
2147
|
+
* The value of "Include filter settings" checkbox
|
|
2148
|
+
*/
|
|
2149
|
+
includeFilterSettings: boolean;
|
|
2150
|
+
}
|
|
2151
|
+
): void;
|
|
2152
|
+
/**
|
|
2153
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2154
|
+
*
|
|
2047
2155
|
* This method is called by SAP Fiori elements before binding a chart. Application developers can override
|
|
2048
2156
|
* this method and programmatically modify parameters or filters before chart triggers a query to retrieve
|
|
2049
2157
|
* data.
|
|
@@ -2060,6 +2168,8 @@ declare namespace sap {
|
|
|
2060
2168
|
oEvent: sap.ui.base.Event
|
|
2061
2169
|
): void;
|
|
2062
2170
|
/**
|
|
2171
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2172
|
+
*
|
|
2063
2173
|
* This method is called by SAP Fiori elements before binding a table. Application developers can override
|
|
2064
2174
|
* this method and programmatically modify parameters or filters before the table triggers a query to retrieve
|
|
2065
2175
|
* data.
|
|
@@ -2076,6 +2186,8 @@ declare namespace sap {
|
|
|
2076
2186
|
oEvent: sap.ui.base.Event
|
|
2077
2187
|
): void;
|
|
2078
2188
|
/**
|
|
2189
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2190
|
+
*
|
|
2079
2191
|
* This method should be implemented whenever application uses onListNavigationExtension for internal navigation.
|
|
2080
2192
|
* In this case the implementation of this method should provide an 'inverse' mapping to the transformation
|
|
2081
2193
|
* implemented within onListNavigationExtension. More precisely, the identification of a child page instance
|
|
@@ -2107,11 +2219,15 @@ declare namespace sap {
|
|
|
2107
2219
|
fnSetPath: Function
|
|
2108
2220
|
): void;
|
|
2109
2221
|
/**
|
|
2222
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2223
|
+
*
|
|
2110
2224
|
* This method is called by SAP Fiori elements on the initialization of View. Application developers can
|
|
2111
2225
|
* override this method & perform internal setup in this hook, It is only called once per View instance.
|
|
2112
2226
|
*/
|
|
2113
2227
|
onInit(): void;
|
|
2114
2228
|
/**
|
|
2229
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2230
|
+
*
|
|
2115
2231
|
* This method is called by SAP Fiori elements once the smart filter bar is initialized with a variant.
|
|
2116
2232
|
*
|
|
2117
2233
|
* Application developers can override this method when there is a custom filter field bound outside the
|
|
@@ -2130,6 +2246,8 @@ declare namespace sap {
|
|
|
2130
2246
|
oEvent: sap.ui.base.Event
|
|
2131
2247
|
): void;
|
|
2132
2248
|
/**
|
|
2249
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2250
|
+
*
|
|
2133
2251
|
* This method is called when the user leaves the app and this page has been displayed within the same app
|
|
2134
2252
|
* session (this is the time since last opening the app) at least once. Moreover, it is called for all pages
|
|
2135
2253
|
* that have been displayed within some app session when the app is finally destroyed.
|
|
@@ -2146,6 +2264,8 @@ declare namespace sap {
|
|
|
2146
2264
|
bIsDestroyed: boolean
|
|
2147
2265
|
): Function;
|
|
2148
2266
|
/**
|
|
2267
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2268
|
+
*
|
|
2149
2269
|
* This method is called by SAP Fiori elements when a chevron navigation is triggered from a table. Application
|
|
2150
2270
|
* developers can override this method and perform conditional (internal or external) navigation from different
|
|
2151
2271
|
* rows of a table. Such custom navigation should be triggered via corresponding methods of {@link sap.suite.ui.generic.template.extensionAPI.NavigationController
|
|
@@ -2171,6 +2291,8 @@ declare namespace sap {
|
|
|
2171
2291
|
bReplaceInHistory: boolean
|
|
2172
2292
|
): boolean;
|
|
2173
2293
|
/**
|
|
2294
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2295
|
+
*
|
|
2174
2296
|
* This method is called by SAP Fiori elements when the Share functionality is triggered. Application developers
|
|
2175
2297
|
* can adapt the service URL passed as a parameter to this method. Adapted service URL will be used in the
|
|
2176
2298
|
* 'Send Email' or 'Save as Tile' options.
|
|
@@ -2187,6 +2309,8 @@ declare namespace sap {
|
|
|
2187
2309
|
}
|
|
2188
2310
|
): void;
|
|
2189
2311
|
/**
|
|
2312
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2313
|
+
*
|
|
2190
2314
|
* This method is called by SAP Fiori elements while applying the AppState. This method should be overridden
|
|
2191
2315
|
* in combination with `getCustomAppStateDataExtension`. The custom data retrieved from the AppState will
|
|
2192
2316
|
* be passed as a parameter to this method. Application developers can use this custom data to restore the
|
|
@@ -2862,6 +2986,8 @@ declare namespace sap {
|
|
|
2862
2986
|
*/
|
|
2863
2987
|
interface controllerFrameworkExtensions {
|
|
2864
2988
|
/**
|
|
2989
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
2990
|
+
*
|
|
2865
2991
|
* This method is called by SAP Fiori elements before triggering an external navigation. Application developers
|
|
2866
2992
|
* can override this method and programmatically adapt the parameters which are passed to the target application.
|
|
2867
2993
|
* Application developers can use the oObjectInfo parameter to identify the navigation context and modify
|
|
@@ -2887,11 +3013,15 @@ declare namespace sap {
|
|
|
2887
3013
|
}
|
|
2888
3014
|
): void;
|
|
2889
3015
|
/**
|
|
3016
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3017
|
+
*
|
|
2890
3018
|
* This method is called by SAP Fiori elements whenever the busy state is switched off. Application developers
|
|
2891
3019
|
* can override this method, access the message model and adapt the transient messages related to the component.
|
|
2892
3020
|
*/
|
|
2893
3021
|
adaptTransientMessageExtension(): void;
|
|
2894
3022
|
/**
|
|
3023
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3024
|
+
*
|
|
2895
3025
|
* This method will be called by SAP Fiori elements while applying the AppState. The custom state object
|
|
2896
3026
|
* retrieved from the AppState will be passed as a parameter to this method. Application developers can
|
|
2897
3027
|
* use this custom state for restoring the state of the custom control. To make a complete functionality,
|
|
@@ -2912,6 +3042,8 @@ declare namespace sap {
|
|
|
2912
3042
|
bIsSameAsLast: boolean
|
|
2913
3043
|
): void;
|
|
2914
3044
|
/**
|
|
3045
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3046
|
+
*
|
|
2915
3047
|
* This method is called by SAP Fiori element when Delete button on the Object Page is clicked. Application
|
|
2916
3048
|
* developers can override this method & perform additional checks before executing the delete operation.
|
|
2917
3049
|
* Method is expected to return a Promise. To veto the delete operation, promise needs to be rejected else
|
|
@@ -2921,6 +3053,8 @@ declare namespace sap {
|
|
|
2921
3053
|
*/
|
|
2922
3054
|
beforeDeleteExtension(): Promise<any>;
|
|
2923
3055
|
/**
|
|
3056
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3057
|
+
*
|
|
2924
3058
|
* This method is called when the Delete operation is triggered on a table in the Object Page. Application
|
|
2925
3059
|
* developers can override this method & perform additional checks before executing the delete operation.
|
|
2926
3060
|
* Method is expected to return a Promise. Delete operation is executed only once the returned promise is
|
|
@@ -2946,6 +3080,8 @@ declare namespace sap {
|
|
|
2946
3080
|
}
|
|
2947
3081
|
): Promise<any>;
|
|
2948
3082
|
/**
|
|
3083
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3084
|
+
*
|
|
2949
3085
|
* This method is called by SAP Fiori elements when Save button is clicked. Application developers can override
|
|
2950
3086
|
* this method & perform additional checks before executing the Save operation. Method is expected to return
|
|
2951
3087
|
* a Promise. Save operation will be continued only once the promise is resolved. In case the extension
|
|
@@ -2955,6 +3091,8 @@ declare namespace sap {
|
|
|
2955
3091
|
*/
|
|
2956
3092
|
beforeSaveExtension(): Promise<any>;
|
|
2957
3093
|
/**
|
|
3094
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3095
|
+
*
|
|
2958
3096
|
* This method is called by SAP Fiori elements when a smart link in a table or form is clicked. Application
|
|
2959
3097
|
* developers can override this method and invoke the oParams.getSourceInfo method to find out the information
|
|
2960
3098
|
* about the clicked smart link.
|
|
@@ -2981,6 +3119,33 @@ declare namespace sap {
|
|
|
2981
3119
|
}
|
|
2982
3120
|
): boolean;
|
|
2983
3121
|
/**
|
|
3122
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3123
|
+
*
|
|
3124
|
+
* This method is called by SAP Fiori elements when the table data is getting exported. Application developers
|
|
3125
|
+
* can override this method to add/remove the filters in the exported file.
|
|
3126
|
+
*
|
|
3127
|
+
* To add new filter entries to the exported file, create an instance of {@link sap.ui.export.util.Filter}
|
|
3128
|
+
* and add it to "oExportParams.filterSettings"
|
|
3129
|
+
*/
|
|
3130
|
+
onBeforeExportTableExtension(
|
|
3131
|
+
/**
|
|
3132
|
+
* Object containing the table export info
|
|
3133
|
+
*/
|
|
3134
|
+
oExportParams: {
|
|
3135
|
+
/**
|
|
3136
|
+
* The filters in the exported file Note: Please make changes on "oExportParams.filterSettings" array only
|
|
3137
|
+
* when "Include filter settings" is selected. Otherwise, the changes will be ignored.
|
|
3138
|
+
*/
|
|
3139
|
+
filterSettings: sap.ui.export.util.Filter[];
|
|
3140
|
+
/**
|
|
3141
|
+
* The value of "Include filter settings" checkbox
|
|
3142
|
+
*/
|
|
3143
|
+
includeFilterSettings: boolean;
|
|
3144
|
+
}
|
|
3145
|
+
): void;
|
|
3146
|
+
/**
|
|
3147
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3148
|
+
*
|
|
2984
3149
|
* This method is called by SAP Fiori elements before binding a table. Application developers can override
|
|
2985
3150
|
* this method and programmatically modify parameters or filters before the table triggers a query to retrieve
|
|
2986
3151
|
* data. Source property of the oEvent shall be used to determine table triggering the event
|
|
@@ -2994,6 +3159,8 @@ declare namespace sap {
|
|
|
2994
3159
|
oEvent: sap.ui.base.Event
|
|
2995
3160
|
): void;
|
|
2996
3161
|
/**
|
|
3162
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3163
|
+
*
|
|
2997
3164
|
* This method should be implemented whenever application uses onListNavigationExtension for internal navigation.
|
|
2998
3165
|
* In this case the implementation of this method should provide an 'inverse' mapping to the transformation
|
|
2999
3166
|
* implemented within onListNavigationExtension. More precisely, the identification of a child page instance
|
|
@@ -3025,11 +3192,15 @@ declare namespace sap {
|
|
|
3025
3192
|
fnSetPath: Function
|
|
3026
3193
|
): void;
|
|
3027
3194
|
/**
|
|
3195
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3196
|
+
*
|
|
3028
3197
|
* This method is called by SAP Fiori elements on the initialization of View. Application developers can
|
|
3029
3198
|
* override this method & perform internal setup in this hook.
|
|
3030
3199
|
*/
|
|
3031
3200
|
onInit(): void;
|
|
3032
3201
|
/**
|
|
3202
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3203
|
+
*
|
|
3033
3204
|
* This method is called when the user leaves the app and this page has been displayed within the same app
|
|
3034
3205
|
* session (this is the time since last opening the app) at least once. Moreover, it is called for all pages
|
|
3035
3206
|
* that have been displayed within some app session when the app is finally destroyed.
|
|
@@ -3046,6 +3217,8 @@ declare namespace sap {
|
|
|
3046
3217
|
bIsDestroyed: boolean
|
|
3047
3218
|
): Function;
|
|
3048
3219
|
/**
|
|
3220
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3221
|
+
*
|
|
3049
3222
|
* This method is called by SAP Fiori elements when a chevron navigation is triggered from a table. Application
|
|
3050
3223
|
* developers can override this method and perform conditional (internal or external) navigation from different
|
|
3051
3224
|
* rows of a table. Such custom navigation should be triggered via corresponding methods of {@link sap.suite.ui.generic.template.extensionAPI.NavigationController
|
|
@@ -3071,6 +3244,8 @@ declare namespace sap {
|
|
|
3071
3244
|
bReplaceInHistory: boolean
|
|
3072
3245
|
): boolean;
|
|
3073
3246
|
/**
|
|
3247
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3248
|
+
*
|
|
3074
3249
|
* This method is called by SAP Fiori elements when the Share functionality is triggered. Application developers
|
|
3075
3250
|
* can adapt the service URL passed as a parameter to this method. Adapted service URL will be used in the
|
|
3076
3251
|
* 'Send Email' or 'Save as Tile' options.
|
|
@@ -3087,6 +3262,8 @@ declare namespace sap {
|
|
|
3087
3262
|
}
|
|
3088
3263
|
): void;
|
|
3089
3264
|
/**
|
|
3265
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3266
|
+
*
|
|
3090
3267
|
* This method is called when the SubSection enters the Viewport first time for an ObjectPage. Method would
|
|
3091
3268
|
* be called again for the same SubSection only in case ObjectPage binding context is changed. Application
|
|
3092
3269
|
* developers could use this method to perform specific actions on the current SubSection children. This
|
|
@@ -3100,6 +3277,8 @@ declare namespace sap {
|
|
|
3100
3277
|
oSubSection: sap.uxap.ObjectPageSubSection
|
|
3101
3278
|
): void;
|
|
3102
3279
|
/**
|
|
3280
|
+
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
3281
|
+
*
|
|
3103
3282
|
* This method will be called by SAP Fiori elements before persisting the AppState. Application developers
|
|
3104
3283
|
* can override this method for persisting the state of custom controls. State of the custom controls should
|
|
3105
3284
|
* be stored in the oState object passed as a parameter to this method. To make a complete functionality,
|