@sapui5/ts-types 1.113.0 → 1.115.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/index.d.ts +0 -1
- package/types/sap.apf.d.ts +2 -2
- package/types/sap.ca.ui.d.ts +135 -67
- package/types/sap.chart.d.ts +154 -125
- package/types/sap.collaboration.d.ts +80 -78
- package/types/sap.esh.search.ui.d.ts +137 -1
- package/types/sap.f.d.ts +1357 -926
- package/types/sap.fe.core.d.ts +45 -155
- package/types/sap.fe.macros.d.ts +80 -9
- package/types/sap.fe.navigation.d.ts +34 -27
- package/types/sap.fe.templates.d.ts +8 -275
- package/types/sap.fe.test.d.ts +4 -10
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +1716 -1087
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.landvisz.d.ts +35 -9
- package/types/sap.m.d.ts +7689 -5451
- package/types/sap.makit.d.ts +17 -5
- package/types/sap.me.d.ts +122 -63
- package/types/sap.ndc.d.ts +99 -39
- package/types/sap.ovp.d.ts +1 -2
- package/types/sap.rules.ui.d.ts +43 -19
- package/types/sap.sac.df.d.ts +31 -579
- package/types/sap.suite.ui.commons.d.ts +2060 -1282
- package/types/sap.suite.ui.generic.template.d.ts +29 -40
- package/types/sap.suite.ui.microchart.d.ts +188 -136
- package/types/sap.tnt.d.ts +134 -54
- package/types/sap.ui.codeeditor.d.ts +51 -29
- package/types/sap.ui.commons.d.ts +1017 -599
- package/types/sap.ui.comp.d.ts +2755 -1772
- package/types/sap.ui.core.d.ts +5398 -3172
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +32 -29
- package/types/sap.ui.fl.d.ts +123 -82
- package/types/sap.ui.generic.app.d.ts +41 -40
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +344 -163
- package/types/sap.ui.layout.d.ts +312 -355
- package/types/sap.ui.mdc.d.ts +21839 -8
- package/types/sap.ui.richtexteditor.d.ts +61 -49
- package/types/sap.ui.rta.d.ts +1 -2
- package/types/sap.ui.suite.d.ts +9 -9
- package/types/sap.ui.support.d.ts +5 -7
- package/types/sap.ui.table.d.ts +713 -452
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1077 -727
- package/types/sap.ui.ux3.d.ts +1038 -549
- package/types/sap.ui.vbm.d.ts +1262 -710
- package/types/sap.ui.vk.d.ts +3020 -1751
- package/types/sap.ui.vtm.d.ts +704 -457
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +532 -301
- package/types/sap.ui.webc.main.d.ts +1222 -720
- package/types/sap.uiext.inbox.d.ts +47 -24
- package/types/sap.ushell.d.ts +360 -174
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +287 -199
- package/types/sap.viz.d.ts +678 -391
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +5 -5
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +147 -81
- package/types/sap.sac.grid.d.ts +0 -760
|
@@ -58,7 +58,7 @@ declare namespace sap {
|
|
|
58
58
|
* If the OData metadata model has not been loaded completely, all properties are removed from the application
|
|
59
59
|
* context.
|
|
60
60
|
*
|
|
61
|
-
* **Note:** This class requires that the UShell {@link sap.ushell.services.CrossApplicationNavigation}
|
|
61
|
+
* **Note:** This class requires that the UShell {@link sap.ushell.services.CrossApplicationNavigation }
|
|
62
62
|
* is available and initialized.
|
|
63
63
|
*/
|
|
64
64
|
class NavigationHandler extends sap.ui.base.Object {
|
|
@@ -120,7 +120,7 @@ declare namespace sap {
|
|
|
120
120
|
/**
|
|
121
121
|
* The selection variant in string format as provided by the SmartFilterBar control
|
|
122
122
|
*/
|
|
123
|
-
sSelectionVariant: /* was: sap.fe.navigation.SerializedSelectionVariant */
|
|
123
|
+
sSelectionVariant: /* was: sap.fe.navigation.SelectionVariant.SerializedSelectionVariant */
|
|
124
124
|
| any
|
|
125
125
|
| string,
|
|
126
126
|
/**
|
|
@@ -181,7 +181,7 @@ declare namespace sap {
|
|
|
181
181
|
/**
|
|
182
182
|
* Object for storing current state of the app
|
|
183
183
|
*/
|
|
184
|
-
oInnerAppData?: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
184
|
+
oInnerAppData?: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
185
185
|
/**
|
|
186
186
|
* Callback that is called if an error occurs during navigation
|
|
187
187
|
*/
|
|
@@ -256,8 +256,7 @@ declare namespace sap {
|
|
|
256
256
|
*
|
|
257
257
|
* - `oAppData.customData`
|
|
258
258
|
*
|
|
259
|
-
* which return the inner app data as stored in {@link #.navigate navigate} or {@link #.storeInnerAppStateAsync
|
|
260
|
-
* storeInnerAppStateAsync}.
|
|
259
|
+
* which return the inner app data as stored in {@link #.navigate navigate} or {@link #.storeInnerAppStateAsync storeInnerAppStateAsync}.
|
|
261
260
|
* `oAppData.oDefaultedSelectionVariant` is an empty selection variant and
|
|
262
261
|
* `oAppData.bNavSelVarHasDefaultsOnly` is `false` in this case.
|
|
263
262
|
*
|
|
@@ -284,7 +283,7 @@ declare namespace sap {
|
|
|
284
283
|
* in the URL.
|
|
285
284
|
*
|
|
286
285
|
* - All single selections ("including equal") of the combined selection data are passed to the SmartLink
|
|
287
|
-
*
|
|
286
|
+
* popover as semantic attributes.
|
|
288
287
|
* The method `oTableEventParameters.open()` is called. Note that this does not really open the popover,
|
|
289
288
|
* but the SmartLink
|
|
290
289
|
* control proceeds with firing the event `navigationTargetsObtained`.
|
|
@@ -315,7 +314,7 @@ declare namespace sap {
|
|
|
315
314
|
* Object containing the current state of the app. If provided, opening the Popover is deferred until the
|
|
316
315
|
* inner app data is saved in a consistent way.
|
|
317
316
|
*/
|
|
318
|
-
mInnerAppData?: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
317
|
+
mInnerAppData?: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
319
318
|
/**
|
|
320
319
|
* Object containing the state which will be passed to the target screen.
|
|
321
320
|
*/
|
|
@@ -379,11 +378,15 @@ declare namespace sap {
|
|
|
379
378
|
aTechnicalParameters?: any[]
|
|
380
379
|
): void;
|
|
381
380
|
/**
|
|
381
|
+
* @deprecated (since 1.104) - Use the {@link sap.fe.navigation.NavigationHandler.storeInnerAppStateAsync }
|
|
382
|
+
* instead.
|
|
383
|
+
*
|
|
384
|
+
*
|
|
382
385
|
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
383
386
|
*
|
|
384
387
|
* @returns A Promise object to monitor when all the actions of the function have been executed; if the
|
|
385
388
|
* execution is successful, the
|
|
386
|
-
* app state key is returned; if an error occurs, an object of type {@link sap.fe.navigation.NavError}
|
|
389
|
+
* app state key is returned; if an error occurs, an object of type {@link sap.fe.navigation.NavError }
|
|
387
390
|
* is
|
|
388
391
|
* returned
|
|
389
392
|
*/
|
|
@@ -391,7 +394,7 @@ declare namespace sap {
|
|
|
391
394
|
/**
|
|
392
395
|
* Object containing the current state of the app
|
|
393
396
|
*/
|
|
394
|
-
mInnerAppData: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
397
|
+
mInnerAppData: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
395
398
|
/**
|
|
396
399
|
* If set to false, the inner app hash will not be replaced until storing is successful; do not
|
|
397
400
|
* set to false if you cannot react to the resolution of the Promise, for example, when calling the
|
|
@@ -404,7 +407,7 @@ declare namespace sap {
|
|
|
404
407
|
*
|
|
405
408
|
* @returns A Promise object to monitor when all the actions of the function have been executed; if the
|
|
406
409
|
* execution is successful, the
|
|
407
|
-
* app state key is returned; if an error occurs, an object of type {@link sap.fe.navigation.NavError}
|
|
410
|
+
* app state key is returned; if an error occurs, an object of type {@link sap.fe.navigation.NavError }
|
|
408
411
|
* is
|
|
409
412
|
* returned
|
|
410
413
|
*/
|
|
@@ -412,7 +415,7 @@ declare namespace sap {
|
|
|
412
415
|
/**
|
|
413
416
|
* Object containing the current state of the app
|
|
414
417
|
*/
|
|
415
|
-
mInnerAppData: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
418
|
+
mInnerAppData: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
416
419
|
/**
|
|
417
420
|
* If set to false, the inner app hash will not be replaced until storing is successful; do not
|
|
418
421
|
* set to false if you cannot react to the resolution of the Promise, for example, when calling the
|
|
@@ -426,6 +429,10 @@ declare namespace sap {
|
|
|
426
429
|
bSkipHashReplace?: boolean
|
|
427
430
|
): jQuery.Promise<string>;
|
|
428
431
|
/**
|
|
432
|
+
* @deprecated (since 1.104) - Use the {@link sap.fe.navigation.NavigationHandler.storeInnerAppStateAsync }
|
|
433
|
+
* instead.
|
|
434
|
+
*
|
|
435
|
+
*
|
|
429
436
|
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
430
437
|
*
|
|
431
438
|
* @returns An object containing the appStateId and a promise object to monitor when all the actions of
|
|
@@ -436,7 +443,7 @@ declare namespace sap {
|
|
|
436
443
|
/**
|
|
437
444
|
* Object containing the current state of the app
|
|
438
445
|
*/
|
|
439
|
-
mInnerAppData: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
446
|
+
mInnerAppData: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
440
447
|
/**
|
|
441
448
|
* If set to false, the inner app hash will not be replaced until storing is successful; do not
|
|
442
449
|
* set to false if you cannot react to the resolution of the Promise, for example, when calling the
|
|
@@ -475,7 +482,7 @@ declare namespace sap {
|
|
|
475
482
|
*
|
|
476
483
|
* @returns An object containing the properties to be used for the chart visualization.
|
|
477
484
|
*/
|
|
478
|
-
getChartVisualization(): /* was: sap.fe.navigation.Visualization */
|
|
485
|
+
getChartVisualization(): /* was: sap.fe.navigation.PresentationVariant.Visualization */
|
|
479
486
|
| any
|
|
480
487
|
| undefined;
|
|
481
488
|
/**
|
|
@@ -501,7 +508,7 @@ declare namespace sap {
|
|
|
501
508
|
*
|
|
502
509
|
* @returns An object containing the properties to be used for the table visualization.
|
|
503
510
|
*/
|
|
504
|
-
getTableVisualization(): /* was: sap.fe.navigation.Visualization */
|
|
511
|
+
getTableVisualization(): /* was: sap.fe.navigation.PresentationVariant.Visualization */
|
|
505
512
|
| any
|
|
506
513
|
| undefined;
|
|
507
514
|
/**
|
|
@@ -524,7 +531,7 @@ declare namespace sap {
|
|
|
524
531
|
/**
|
|
525
532
|
* An object containing the properties to be used for the chart visualization.
|
|
526
533
|
*/
|
|
527
|
-
properties: /* was: sap.fe.navigation.Visualization */ any
|
|
534
|
+
properties: /* was: sap.fe.navigation.PresentationVariant.Visualization */ any
|
|
528
535
|
): void;
|
|
529
536
|
/**
|
|
530
537
|
* Sets the context URL.
|
|
@@ -560,7 +567,7 @@ declare namespace sap {
|
|
|
560
567
|
/**
|
|
561
568
|
* An object containing the properties to be used for the table visualization.
|
|
562
569
|
*/
|
|
563
|
-
properties: /* was: sap.fe.navigation.Visualization */ any
|
|
570
|
+
properties: /* was: sap.fe.navigation.PresentationVariant.Visualization */ any
|
|
564
571
|
): void;
|
|
565
572
|
/**
|
|
566
573
|
* Sets the text / description of the selection variant.
|
|
@@ -576,7 +583,7 @@ declare namespace sap {
|
|
|
576
583
|
*
|
|
577
584
|
* @returns The external representation of this instance as a JSON object
|
|
578
585
|
*/
|
|
579
|
-
toJSONObject(): /* was: sap.fe.navigation.ExternalPresentationVariant */ any;
|
|
586
|
+
toJSONObject(): /* was: sap.fe.navigation.PresentationVariant.ExternalPresentationVariant */ any;
|
|
580
587
|
/**
|
|
581
588
|
* Serializes this instance into a JSON-formatted string.
|
|
582
589
|
*
|
|
@@ -605,7 +612,7 @@ declare namespace sap {
|
|
|
605
612
|
* The value of the parameter to be set
|
|
606
613
|
*/
|
|
607
614
|
sValue: string
|
|
608
|
-
):
|
|
615
|
+
): this;
|
|
609
616
|
/**
|
|
610
617
|
* Adds a new range to the list of select options for a given parameter.
|
|
611
618
|
*
|
|
@@ -634,7 +641,7 @@ declare namespace sap {
|
|
|
634
641
|
/**
|
|
635
642
|
* Set only if sOption is **BT**: the upper boundary of the interval;
|
|
636
643
|
*/
|
|
637
|
-
sHigh?: string,
|
|
644
|
+
sHigh?: null | string,
|
|
638
645
|
/**
|
|
639
646
|
* Text representing the SelectOption. This is an optional parameter. For an example in most Fiori applications
|
|
640
647
|
* if the text is not provided, it is fetched based on the ID.
|
|
@@ -644,8 +651,8 @@ declare namespace sap {
|
|
|
644
651
|
/**
|
|
645
652
|
* Object containing semanticDates filter information
|
|
646
653
|
*/
|
|
647
|
-
semanticDates?: /* was: sap.fe.navigation.SemanticDateConfiguration */ any
|
|
648
|
-
):
|
|
654
|
+
semanticDates?: /* was: sap.fe.navigation.SelectionVariant.SemanticDateConfiguration */ any
|
|
655
|
+
): this;
|
|
649
656
|
/**
|
|
650
657
|
* Gets the current context URL intended for the filters.
|
|
651
658
|
*
|
|
@@ -778,7 +785,7 @@ declare namespace sap {
|
|
|
778
785
|
* Set of select options to be added
|
|
779
786
|
*/
|
|
780
787
|
aSelectOptions: undefined[]
|
|
781
|
-
):
|
|
788
|
+
): this;
|
|
782
789
|
/**
|
|
783
790
|
* Removes a parameter called `sName` from the selection variant.
|
|
784
791
|
*
|
|
@@ -789,7 +796,7 @@ declare namespace sap {
|
|
|
789
796
|
* The name of the parameter to be removed
|
|
790
797
|
*/
|
|
791
798
|
sName: string
|
|
792
|
-
):
|
|
799
|
+
): this;
|
|
793
800
|
/**
|
|
794
801
|
* Removes a select option called `sName` from the selection variant.
|
|
795
802
|
*
|
|
@@ -800,7 +807,7 @@ declare namespace sap {
|
|
|
800
807
|
* The name of the select option to be removed
|
|
801
808
|
*/
|
|
802
809
|
sName: string
|
|
803
|
-
):
|
|
810
|
+
): this;
|
|
804
811
|
/**
|
|
805
812
|
* Renames a parameter called `sNameOld` to `sNameNew`. If a parameter or a select option with
|
|
806
813
|
* the name `sNameNew` already exist, an error is thrown. If a parameter with the name `sNameOld`
|
|
@@ -817,7 +824,7 @@ declare namespace sap {
|
|
|
817
824
|
* The new name of the parameter
|
|
818
825
|
*/
|
|
819
826
|
sNameNew: string
|
|
820
|
-
):
|
|
827
|
+
): this;
|
|
821
828
|
/**
|
|
822
829
|
* Renames a select option called `sNameOld` to `sNameNew`. If a select option or a parameter
|
|
823
830
|
* with the name `sNameNew` already exist, an error is thrown. If a select option with the name `sNameOld`
|
|
@@ -834,7 +841,7 @@ declare namespace sap {
|
|
|
834
841
|
* The new name of the select option property
|
|
835
842
|
*/
|
|
836
843
|
sNameNew: string
|
|
837
|
-
):
|
|
844
|
+
): this;
|
|
838
845
|
/**
|
|
839
846
|
* Sets the context URL intended for the filters.
|
|
840
847
|
*/
|
|
@@ -876,7 +883,7 @@ declare namespace sap {
|
|
|
876
883
|
*
|
|
877
884
|
* @returns The external representation of this instance as a JSON object
|
|
878
885
|
*/
|
|
879
|
-
toJSONObject(): /* was: sap.fe.navigation.SerializedSelectionVariant */ any;
|
|
886
|
+
toJSONObject(): /* was: sap.fe.navigation.SelectionVariant.SerializedSelectionVariant */ any;
|
|
880
887
|
/**
|
|
881
888
|
* Serializes this instance into a JSON-formatted string.
|
|
882
889
|
*
|
|
@@ -15,19 +15,9 @@ declare namespace sap {
|
|
|
15
15
|
* SAP Fiori elements. Don't access or manipulate controls, properties, models, or other internal objects
|
|
16
16
|
* created by the SAP Fiori elements framework.
|
|
17
17
|
*/
|
|
18
|
-
class ExtensionAPI
|
|
19
|
-
/* was: sap.fe.templates.ExtensionAPI */ extends Object {
|
|
18
|
+
class ExtensionAPI /* was: sap.fe.core.ExtensionAPI */ extends Object {
|
|
20
19
|
constructor();
|
|
21
20
|
|
|
22
|
-
/**
|
|
23
|
-
* Add any control as a dependent control to this SAP Fiori elements page.
|
|
24
|
-
*/
|
|
25
|
-
addDependent(
|
|
26
|
-
/**
|
|
27
|
-
* Control to be added as a dependent control
|
|
28
|
-
*/
|
|
29
|
-
oControl: sap.ui.core.Control
|
|
30
|
-
): void;
|
|
31
21
|
/**
|
|
32
22
|
* This method converts filter conditions to filters.
|
|
33
23
|
*
|
|
@@ -39,12 +29,6 @@ declare namespace sap {
|
|
|
39
29
|
*/
|
|
40
30
|
mFilterConditions: any
|
|
41
31
|
): object;
|
|
42
|
-
/**
|
|
43
|
-
* Retrieves the editFlow controller extension for this page.
|
|
44
|
-
*
|
|
45
|
-
* @returns The editFlow controller extension
|
|
46
|
-
*/
|
|
47
|
-
getEditFlow(): /* was: sap.fe.templates.EditFlow */ any;
|
|
48
32
|
/**
|
|
49
33
|
* Provides all the model filters from the filter bar that are currently active
|
|
50
34
|
* along with the search expression.
|
|
@@ -52,96 +36,12 @@ declare namespace sap {
|
|
|
52
36
|
* @returns An array of active filters and the search expression.
|
|
53
37
|
*/
|
|
54
38
|
getFilters(): object;
|
|
55
|
-
/**
|
|
56
|
-
* Retrieves the intentBasedNavigation controller extension for this page.
|
|
57
|
-
*
|
|
58
|
-
* @returns The intentBasedNavigation controller extension
|
|
59
|
-
*/
|
|
60
|
-
getIntentBasedNavigation(): /* was: sap.fe.templates.IntentBasedNavigation */ any;
|
|
61
|
-
/**
|
|
62
|
-
* Get access to models managed by SAP Fiori elements.
|
|
63
|
-
*
|
|
64
|
-
* The following models can be accessed:
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* - undefined: the undefined model returns the SAPUI5 OData V4 model bound to this page
|
|
68
|
-
*
|
|
69
|
-
* - i18n / further data models defined in the manifest
|
|
70
|
-
* ui: returns a SAPUI5 JSON model containing UI information.
|
|
71
|
-
* Only the following properties are public and supported:
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* - isEditable: set to true if the application is in edit mode
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* .
|
|
78
|
-
* editMode is deprecated and should not be used anymore. Use isEditable instead.
|
|
79
|
-
*
|
|
80
|
-
* @returns The required model
|
|
81
|
-
*/
|
|
82
|
-
getModel(
|
|
83
|
-
/**
|
|
84
|
-
* Name of the model
|
|
85
|
-
*/
|
|
86
|
-
sModelName?: string
|
|
87
|
-
): sap.ui.model.Model | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Retrieves the routing controller extension for this page.
|
|
90
|
-
*
|
|
91
|
-
* @returns The routing controller extension
|
|
92
|
-
*/
|
|
93
|
-
getRouting(): /* was: sap.fe.templates.Routing */ any;
|
|
94
39
|
/**
|
|
95
40
|
* Gets the list entries currently selected for the displayed control.
|
|
96
41
|
*
|
|
97
42
|
* @returns Array containing the selected contexts
|
|
98
43
|
*/
|
|
99
44
|
getSelectedContexts(): any;
|
|
100
|
-
/**
|
|
101
|
-
* Load a fragment and go through the template preprocessor with the current page context.
|
|
102
|
-
*
|
|
103
|
-
* @returns The fragment definition
|
|
104
|
-
*/
|
|
105
|
-
loadFragment(
|
|
106
|
-
/**
|
|
107
|
-
* The settings object
|
|
108
|
-
*/
|
|
109
|
-
mSettings: {
|
|
110
|
-
/**
|
|
111
|
-
* The contextPath to be used for the templating process
|
|
112
|
-
*/
|
|
113
|
-
contextPath: string;
|
|
114
|
-
/**
|
|
115
|
-
* The controller to be attached to the fragment
|
|
116
|
-
*/
|
|
117
|
-
controller: object;
|
|
118
|
-
/**
|
|
119
|
-
* The ID of the fragment itself
|
|
120
|
-
*/
|
|
121
|
-
id: string;
|
|
122
|
-
/**
|
|
123
|
-
* The initial binding context
|
|
124
|
-
*/
|
|
125
|
-
initialBindingContext: sap.ui.model.Context;
|
|
126
|
-
/**
|
|
127
|
-
* The name of the fragment to be loaded
|
|
128
|
-
*/
|
|
129
|
-
name: string;
|
|
130
|
-
}
|
|
131
|
-
): Promise<sap.ui.core.Element | sap.ui.core.Element[]>;
|
|
132
|
-
/**
|
|
133
|
-
* Navigate to another target.
|
|
134
|
-
*/
|
|
135
|
-
navigateToTarget(
|
|
136
|
-
/**
|
|
137
|
-
* Name of the target route
|
|
138
|
-
*/
|
|
139
|
-
sTarget: string,
|
|
140
|
-
/**
|
|
141
|
-
* undefined
|
|
142
|
-
*/
|
|
143
|
-
oContext: sap.ui.model.Context
|
|
144
|
-
): void;
|
|
145
45
|
/**
|
|
146
46
|
* Refreshes the List Report.
|
|
147
47
|
* This method currently only supports triggering the search (by clicking on the GO button)
|
|
@@ -151,16 +51,7 @@ declare namespace sap {
|
|
|
151
51
|
*
|
|
152
52
|
* @returns Resolved once the data is refreshed or rejected if the request failed
|
|
153
53
|
*/
|
|
154
|
-
refresh():
|
|
155
|
-
/**
|
|
156
|
-
* Remove a dependent control from this SAP Fiori elements page.
|
|
157
|
-
*/
|
|
158
|
-
removeDependent(
|
|
159
|
-
/**
|
|
160
|
-
* Control to be added as a dependent control
|
|
161
|
-
*/
|
|
162
|
-
oControl: sap.ui.core.Control
|
|
163
|
-
): void;
|
|
54
|
+
refresh(): Promise<void>;
|
|
164
55
|
/**
|
|
165
56
|
* Provide an option for showing a custom message in the message strip above the list report table.
|
|
166
57
|
*/
|
|
@@ -168,14 +59,14 @@ declare namespace sap {
|
|
|
168
59
|
/**
|
|
169
60
|
* Custom message along with the message type to be set on the table.
|
|
170
61
|
*/
|
|
171
|
-
message: /* was: sap.fe.templates.LRCustomMessage */
|
|
62
|
+
message: /* was: sap.fe.templates.ListReport.LRMessageStrip.LRCustomMessage */
|
|
172
63
|
| any
|
|
173
64
|
| undefined,
|
|
174
65
|
/**
|
|
175
66
|
* The tabKey identifying the table where the custom message is displayed. If tabKey is empty, the message
|
|
176
67
|
* is displayed in all tabs . If tabKey = ['1','2'], the message is displayed in tabs 1 and 2 only
|
|
177
68
|
*/
|
|
178
|
-
tabKey?: string | string[],
|
|
69
|
+
tabKey?: null | string | string[],
|
|
179
70
|
/**
|
|
180
71
|
* A function that is called when the user closes the message bar.
|
|
181
72
|
*/
|
|
@@ -208,47 +99,20 @@ declare namespace sap {
|
|
|
208
99
|
| string
|
|
209
100
|
| string[]
|
|
210
101
|
): Promise<void>;
|
|
211
|
-
/**
|
|
212
|
-
* Triggers an update of the app state.
|
|
213
|
-
* Should be called if the state of a control, or any other state-relevant information, was changed.
|
|
214
|
-
*
|
|
215
|
-
* @returns A promise that resolves with the new app state object.
|
|
216
|
-
*/
|
|
217
|
-
updateAppState(): Promise<object | void>;
|
|
218
102
|
}
|
|
219
103
|
/**
|
|
220
104
|
* Controller class for the list report page, used inside an SAP Fiori elements application.
|
|
221
105
|
*/
|
|
222
106
|
class ListReportController
|
|
223
|
-
/* was: sap.fe.
|
|
107
|
+
/* was: sap.fe.core.PageController */ extends Object {
|
|
224
108
|
constructor();
|
|
225
109
|
|
|
226
|
-
/**
|
|
227
|
-
* @SINCE 1.91.0
|
|
228
|
-
*
|
|
229
|
-
* Returns the current app component.
|
|
230
|
-
*
|
|
231
|
-
* @returns The app component or, if not found, null
|
|
232
|
-
*/
|
|
233
|
-
getAppComponent(): /* was: sap.fe.templates.AppComponent */ any;
|
|
234
110
|
/**
|
|
235
111
|
* Get the extension API for the current page.
|
|
236
112
|
*
|
|
237
113
|
* @returns The extension API.
|
|
238
114
|
*/
|
|
239
|
-
getExtensionAPI():
|
|
240
|
-
/**
|
|
241
|
-
* Convenience method provided by SAP Fiori elements to enable applications to include the view model by
|
|
242
|
-
* name into each controller.
|
|
243
|
-
*
|
|
244
|
-
* @returns The model instance
|
|
245
|
-
*/
|
|
246
|
-
getModel(
|
|
247
|
-
/**
|
|
248
|
-
* The model name
|
|
249
|
-
*/
|
|
250
|
-
sName?: string
|
|
251
|
-
): sap.ui.model.Model;
|
|
115
|
+
getExtensionAPI(): sap.fe.templates.ListReport.ExtensionAPI;
|
|
252
116
|
/**
|
|
253
117
|
* Method called when the 'Clear' button on the FilterBar is pressed.
|
|
254
118
|
*/
|
|
@@ -293,21 +157,6 @@ declare namespace sap {
|
|
|
293
157
|
*/
|
|
294
158
|
mParameters: any
|
|
295
159
|
): void;
|
|
296
|
-
/**
|
|
297
|
-
* Convenience method for setting the view model in every controller of the application.
|
|
298
|
-
*
|
|
299
|
-
* @returns The view instance
|
|
300
|
-
*/
|
|
301
|
-
setModel(
|
|
302
|
-
/**
|
|
303
|
-
* The model instance
|
|
304
|
-
*/
|
|
305
|
-
oModel: sap.ui.model.Model,
|
|
306
|
-
/**
|
|
307
|
-
* The model name
|
|
308
|
-
*/
|
|
309
|
-
sName: string
|
|
310
|
-
): sap.ui.core.mvc.View;
|
|
311
160
|
}
|
|
312
161
|
}
|
|
313
162
|
|
|
@@ -320,70 +169,15 @@ declare namespace sap {
|
|
|
320
169
|
* SAP Fiori elements. Don't access or manipulate controls, properties, models, or other internal objects
|
|
321
170
|
* created by the SAP Fiori elements framework.
|
|
322
171
|
*/
|
|
323
|
-
class ExtensionAPI
|
|
324
|
-
/* was: sap.fe.templates.ExtensionAPI */ extends Object {
|
|
172
|
+
class ExtensionAPI /* was: sap.fe.core.ExtensionAPI */ extends Object {
|
|
325
173
|
constructor();
|
|
326
174
|
|
|
327
|
-
/**
|
|
328
|
-
* Add any control as a dependent control to this SAP Fiori elements page.
|
|
329
|
-
*/
|
|
330
|
-
addDependent(
|
|
331
|
-
/**
|
|
332
|
-
* Control to be added as a dependent control
|
|
333
|
-
*/
|
|
334
|
-
oControl: sap.ui.core.Control
|
|
335
|
-
): void;
|
|
336
175
|
/**
|
|
337
176
|
* Gets the bound context of the current object page.
|
|
338
177
|
*
|
|
339
178
|
* @returns Context bound to the object page
|
|
340
179
|
*/
|
|
341
|
-
getBindingContext(): sap.ui.model.Context |
|
|
342
|
-
/**
|
|
343
|
-
* Retrieves the editFlow controller extension for this page.
|
|
344
|
-
*
|
|
345
|
-
* @returns The editFlow controller extension
|
|
346
|
-
*/
|
|
347
|
-
getEditFlow(): /* was: sap.fe.templates.EditFlow */ any;
|
|
348
|
-
/**
|
|
349
|
-
* Retrieves the intentBasedNavigation controller extension for this page.
|
|
350
|
-
*
|
|
351
|
-
* @returns The intentBasedNavigation controller extension
|
|
352
|
-
*/
|
|
353
|
-
getIntentBasedNavigation(): /* was: sap.fe.templates.IntentBasedNavigation */ any;
|
|
354
|
-
/**
|
|
355
|
-
* Get access to models managed by SAP Fiori elements.
|
|
356
|
-
*
|
|
357
|
-
* The following models can be accessed:
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
* - undefined: the undefined model returns the SAPUI5 OData V4 model bound to this page
|
|
361
|
-
*
|
|
362
|
-
* - i18n / further data models defined in the manifest
|
|
363
|
-
* ui: returns a SAPUI5 JSON model containing UI information.
|
|
364
|
-
* Only the following properties are public and supported:
|
|
365
|
-
*
|
|
366
|
-
*
|
|
367
|
-
* - isEditable: set to true if the application is in edit mode
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
* .
|
|
371
|
-
* editMode is deprecated and should not be used anymore. Use isEditable instead.
|
|
372
|
-
*
|
|
373
|
-
* @returns The required model
|
|
374
|
-
*/
|
|
375
|
-
getModel(
|
|
376
|
-
/**
|
|
377
|
-
* Name of the model
|
|
378
|
-
*/
|
|
379
|
-
sModelName?: string
|
|
380
|
-
): sap.ui.model.Model | undefined;
|
|
381
|
-
/**
|
|
382
|
-
* Retrieves the routing controller extension for this page.
|
|
383
|
-
*
|
|
384
|
-
* @returns The routing controller extension
|
|
385
|
-
*/
|
|
386
|
-
getRouting(): /* was: sap.fe.templates.Routing */ any;
|
|
180
|
+
getBindingContext(): null | sap.ui.model.Context | undefined;
|
|
387
181
|
/**
|
|
388
182
|
* Gets the list entries currently selected for the table.
|
|
389
183
|
*
|
|
@@ -399,51 +193,6 @@ declare namespace sap {
|
|
|
399
193
|
* Hides the message strip below the anchor bar.
|
|
400
194
|
*/
|
|
401
195
|
hideMessage(): void;
|
|
402
|
-
/**
|
|
403
|
-
* Load a fragment and go through the template preprocessor with the current page context.
|
|
404
|
-
*
|
|
405
|
-
* @returns The fragment definition
|
|
406
|
-
*/
|
|
407
|
-
loadFragment(
|
|
408
|
-
/**
|
|
409
|
-
* The settings object
|
|
410
|
-
*/
|
|
411
|
-
mSettings: {
|
|
412
|
-
/**
|
|
413
|
-
* The contextPath to be used for the templating process
|
|
414
|
-
*/
|
|
415
|
-
contextPath: string;
|
|
416
|
-
/**
|
|
417
|
-
* The controller to be attached to the fragment
|
|
418
|
-
*/
|
|
419
|
-
controller: object;
|
|
420
|
-
/**
|
|
421
|
-
* The ID of the fragment itself
|
|
422
|
-
*/
|
|
423
|
-
id: string;
|
|
424
|
-
/**
|
|
425
|
-
* The initial binding context
|
|
426
|
-
*/
|
|
427
|
-
initialBindingContext: sap.ui.model.Context;
|
|
428
|
-
/**
|
|
429
|
-
* The name of the fragment to be loaded
|
|
430
|
-
*/
|
|
431
|
-
name: string;
|
|
432
|
-
}
|
|
433
|
-
): Promise<sap.ui.core.Element | sap.ui.core.Element[]>;
|
|
434
|
-
/**
|
|
435
|
-
* Navigate to another target.
|
|
436
|
-
*/
|
|
437
|
-
navigateToTarget(
|
|
438
|
-
/**
|
|
439
|
-
* Name of the target route
|
|
440
|
-
*/
|
|
441
|
-
sTarget: string,
|
|
442
|
-
/**
|
|
443
|
-
* undefined
|
|
444
|
-
*/
|
|
445
|
-
oContext: sap.ui.model.Context
|
|
446
|
-
): void;
|
|
447
196
|
/**
|
|
448
197
|
* Refreshes either the whole object page or only parts of it.
|
|
449
198
|
*
|
|
@@ -455,15 +204,6 @@ declare namespace sap {
|
|
|
455
204
|
*/
|
|
456
205
|
vPath: string | string[] | undefined
|
|
457
206
|
): Promise<void>;
|
|
458
|
-
/**
|
|
459
|
-
* Remove a dependent control from this SAP Fiori elements page.
|
|
460
|
-
*/
|
|
461
|
-
removeDependent(
|
|
462
|
-
/**
|
|
463
|
-
* Control to be added as a dependent control
|
|
464
|
-
*/
|
|
465
|
-
oControl: sap.ui.core.Control
|
|
466
|
-
): void;
|
|
467
207
|
/**
|
|
468
208
|
* Displays the message strip between the title and the header of the ObjectPage.
|
|
469
209
|
*/
|
|
@@ -486,13 +226,6 @@ declare namespace sap {
|
|
|
486
226
|
*/
|
|
487
227
|
bShow: boolean | undefined
|
|
488
228
|
): void;
|
|
489
|
-
/**
|
|
490
|
-
* Triggers an update of the app state.
|
|
491
|
-
* Should be called if the state of a control, or any other state-relevant information, was changed.
|
|
492
|
-
*
|
|
493
|
-
* @returns A promise that resolves with the new app state object.
|
|
494
|
-
*/
|
|
495
|
-
updateAppState(): Promise<object | void>;
|
|
496
229
|
}
|
|
497
230
|
}
|
|
498
231
|
}
|