@sapui5/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 +70 -60
- package/types/sap.ca.ui.d.ts +207 -105
- package/types/sap.chart.d.ts +148 -129
- package/types/sap.collaboration.d.ts +98 -87
- package/types/sap.esh.search.ui.d.ts +133 -2
- package/types/sap.f.d.ts +1416 -1005
- package/types/sap.fe.core.d.ts +55 -166
- package/types/sap.fe.macros.d.ts +96 -20
- package/types/sap.fe.navigation.d.ts +42 -31
- package/types/sap.fe.templates.d.ts +15 -293
- package/types/sap.fe.test.d.ts +102 -46
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +1987 -1251
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.landvisz.d.ts +75 -29
- package/types/sap.m.d.ts +7415 -5818
- package/types/sap.makit.d.ts +43 -18
- package/types/sap.me.d.ts +112 -69
- package/types/sap.ndc.d.ts +101 -39
- package/types/sap.ovp.d.ts +3 -3
- package/types/sap.rules.ui.d.ts +53 -24
- package/types/sap.sac.df.d.ts +39 -632
- package/types/sap.suite.ui.commons.d.ts +2094 -1437
- package/types/sap.suite.ui.generic.template.d.ts +47 -44
- package/types/sap.suite.ui.microchart.d.ts +242 -163
- package/types/sap.tnt.d.ts +138 -67
- package/types/sap.ui.codeeditor.d.ts +37 -30
- package/types/sap.ui.commons.d.ts +936 -708
- package/types/sap.ui.comp.d.ts +2707 -1862
- package/types/sap.ui.core.d.ts +6435 -3941
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +38 -32
- package/types/sap.ui.fl.d.ts +102 -82
- package/types/sap.ui.generic.app.d.ts +59 -50
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +2489 -2327
- package/types/sap.ui.layout.d.ts +378 -398
- package/types/sap.ui.mdc.d.ts +22041 -115
- package/types/sap.ui.richtexteditor.d.ts +55 -50
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +13 -11
- package/types/sap.ui.support.d.ts +7 -7
- package/types/sap.ui.table.d.ts +628 -478
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1013 -723
- package/types/sap.ui.ux3.d.ts +847 -592
- package/types/sap.ui.vbm.d.ts +1018 -760
- package/types/sap.ui.vk.d.ts +2897 -1896
- package/types/sap.ui.vtm.d.ts +650 -479
- package/types/sap.ui.webc.common.d.ts +5 -3
- package/types/sap.ui.webc.fiori.d.ts +530 -345
- package/types/sap.ui.webc.main.d.ts +1114 -835
- package/types/sap.uiext.inbox.d.ts +79 -37
- package/types/sap.ushell.d.ts +444 -212
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +309 -222
- package/types/sap.viz.d.ts +932 -521
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +15 -10
- package/types/sap.zen.crosstab.d.ts +7 -4
- package/types/sap.zen.dsh.d.ts +143 -87
- package/types/sap.sac.grid.d.ts +0 -774
package/types/sap.fe.macros.d.ts
CHANGED
|
@@ -3,14 +3,19 @@
|
|
|
3
3
|
declare module "sap/fe/macros/MacroAPI" {
|
|
4
4
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
5
5
|
|
|
6
|
+
import { IFormContent } from "sap/ui/core/library";
|
|
7
|
+
|
|
6
8
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
7
9
|
|
|
8
10
|
/**
|
|
9
11
|
* Base API control for building blocks.
|
|
10
12
|
*/
|
|
11
|
-
|
|
13
|
+
class MacroAPI extends Control implements IFormContent {
|
|
14
|
+
__implements__sap_ui_core_IFormContent: boolean;
|
|
15
|
+
|
|
12
16
|
constructor();
|
|
13
17
|
}
|
|
18
|
+
export default MacroAPI;
|
|
14
19
|
|
|
15
20
|
export interface $MacroAPISettings extends $ControlSettings {
|
|
16
21
|
/**
|
|
@@ -34,7 +39,10 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
34
39
|
|
|
35
40
|
import Context from "sap/ui/model/odata/v4/Context";
|
|
36
41
|
|
|
37
|
-
import {
|
|
42
|
+
import {
|
|
43
|
+
PropertyBindingInfo,
|
|
44
|
+
AggregationBindingInfo,
|
|
45
|
+
} from "sap/ui/base/ManagedObject";
|
|
38
46
|
|
|
39
47
|
/**
|
|
40
48
|
* Building block used to create a chart based on the metadata provided by OData V4.
|
|
@@ -48,7 +56,7 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
48
56
|
* <macro:Chart id="Mychart" contextPath="/RootEntity" metaPath="@com.sap.vocabularies.UI.v1.Chart" />
|
|
49
57
|
* ```
|
|
50
58
|
*/
|
|
51
|
-
|
|
59
|
+
class Chart extends MacroAPI {
|
|
52
60
|
constructor();
|
|
53
61
|
|
|
54
62
|
/**
|
|
@@ -58,6 +66,8 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
58
66
|
*/
|
|
59
67
|
getSelectedContexts(): Context[];
|
|
60
68
|
}
|
|
69
|
+
export default Chart;
|
|
70
|
+
|
|
61
71
|
/**
|
|
62
72
|
* Definition of a custom action to be used inside the chart toolbar
|
|
63
73
|
*/
|
|
@@ -153,25 +163,52 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
153
163
|
metaPath?: string | PropertyBindingInfo;
|
|
154
164
|
|
|
155
165
|
/**
|
|
156
|
-
*
|
|
166
|
+
* Controls which options should be enabled for the chart personalization dialog.
|
|
167
|
+
* If it is set to `true`, all possible options for this kind of chart are enabled.
|
|
168
|
+
*
|
|
169
|
+
* If it is set to `false`, personalization is disabled.
|
|
170
|
+
*
|
|
171
|
+
*
|
|
172
|
+
*
|
|
173
|
+
* You can also provide a more granular control for the personalization by providing a comma-separated list
|
|
174
|
+
* with the options you want to be available.
|
|
175
|
+
*
|
|
176
|
+
* Available options are:
|
|
177
|
+
*
|
|
178
|
+
* - Sort
|
|
179
|
+
*
|
|
180
|
+
* - Type
|
|
181
|
+
*
|
|
182
|
+
* - Item
|
|
183
|
+
*
|
|
184
|
+
* - Filter
|
|
157
185
|
*/
|
|
158
186
|
personalization?: boolean | string | PropertyBindingInfo | `{${string}}`;
|
|
159
187
|
|
|
160
188
|
/**
|
|
161
|
-
*
|
|
189
|
+
* Defines the selection mode to be used by the chart.
|
|
190
|
+
* Allowed values are `None`, `Single` or `Multiple`
|
|
162
191
|
*/
|
|
163
192
|
selectionMode?: string | PropertyBindingInfo;
|
|
164
193
|
|
|
165
194
|
/**
|
|
166
|
-
*
|
|
195
|
+
* Controls the kind of variant management that should be enabled for the chart.
|
|
196
|
+
* Allowed value is `Control`.
|
|
197
|
+
*
|
|
198
|
+
* If set with value `Control`, a variant management control is seen within the chart and the chart is linked
|
|
199
|
+
* to this.
|
|
200
|
+
*
|
|
201
|
+
* If not set with any value, variant management control is not available for this chart.
|
|
167
202
|
*/
|
|
168
203
|
variantManagement?: string | PropertyBindingInfo;
|
|
169
204
|
|
|
170
205
|
/**
|
|
171
206
|
* Aggregate actions of the chart.
|
|
172
207
|
*/
|
|
173
|
-
actions?: Action
|
|
208
|
+
actions?: Action[] | Action | AggregationBindingInfo | `{${string}}`;
|
|
174
209
|
}
|
|
210
|
+
|
|
211
|
+
export interface $ChartSelectionChangeEventParameters {}
|
|
175
212
|
}
|
|
176
213
|
|
|
177
214
|
declare module "sap/fe/macros/field/FieldAPI" {
|
|
@@ -197,7 +234,7 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
197
234
|
* <macro:Field id="MyField" metaPath="MyProperty" />
|
|
198
235
|
* ```
|
|
199
236
|
*/
|
|
200
|
-
|
|
237
|
+
class Field extends MacroAPI {
|
|
201
238
|
constructor();
|
|
202
239
|
|
|
203
240
|
/**
|
|
@@ -244,6 +281,8 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
244
281
|
id: string
|
|
245
282
|
): void;
|
|
246
283
|
}
|
|
284
|
+
export default Field;
|
|
285
|
+
|
|
247
286
|
/**
|
|
248
287
|
* Additional format options for the field.
|
|
249
288
|
*/
|
|
@@ -347,6 +386,8 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
347
386
|
*/
|
|
348
387
|
semanticObject?: string | PropertyBindingInfo;
|
|
349
388
|
}
|
|
389
|
+
|
|
390
|
+
export interface $FieldChangeEventParameters {}
|
|
350
391
|
}
|
|
351
392
|
|
|
352
393
|
declare module "sap/fe/macros/field/TextAreaEx" {
|
|
@@ -355,9 +396,10 @@ declare module "sap/fe/macros/field/TextAreaEx" {
|
|
|
355
396
|
/**
|
|
356
397
|
* Extension of the TextArea control to add a check for the maximum length when setting the value.
|
|
357
398
|
*/
|
|
358
|
-
|
|
399
|
+
class TextAreaEx extends TextArea {
|
|
359
400
|
constructor();
|
|
360
401
|
}
|
|
402
|
+
export default TextAreaEx;
|
|
361
403
|
|
|
362
404
|
export interface $TextAreaExSettings extends $TextAreaSettings {}
|
|
363
405
|
}
|
|
@@ -385,7 +427,7 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
385
427
|
* <macro:FilterBar id="MyFilterBar" metaPath="@com.sap.vocabularies.UI.v1.SelectionFields" />
|
|
386
428
|
* ```
|
|
387
429
|
*/
|
|
388
|
-
|
|
430
|
+
class FilterBar extends MacroAPI {
|
|
389
431
|
constructor();
|
|
390
432
|
|
|
391
433
|
/**
|
|
@@ -422,7 +464,15 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
422
464
|
*/
|
|
423
465
|
vValues?: boolean | boolean[] | number | number[] | string | string[]
|
|
424
466
|
): Promise<void>;
|
|
467
|
+
/**
|
|
468
|
+
* Triggers the API search on the filter bar.
|
|
469
|
+
*
|
|
470
|
+
* @returns Returns a promise which resolves if filter go is triggered successfully; otherwise gets rejected.
|
|
471
|
+
*/
|
|
472
|
+
triggerSearch(): Promise<any>;
|
|
425
473
|
}
|
|
474
|
+
export default FilterBar;
|
|
475
|
+
|
|
426
476
|
/**
|
|
427
477
|
* Definition of a custom filter to be used inside the FilterBar.
|
|
428
478
|
* The template for the FilterField has to be provided as the default aggregation
|
|
@@ -497,6 +547,12 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
497
547
|
| AggregationBindingInfo
|
|
498
548
|
| `{${string}}`;
|
|
499
549
|
}
|
|
550
|
+
|
|
551
|
+
export interface $FilterBarAfterClearEventParameters {}
|
|
552
|
+
|
|
553
|
+
export interface $FilterBarFilterChangedEventParameters {}
|
|
554
|
+
|
|
555
|
+
export interface $FilterBarSearchEventParameters {}
|
|
500
556
|
}
|
|
501
557
|
|
|
502
558
|
declare module "sap/fe/macros/form/Form.block" {
|
|
@@ -519,9 +575,10 @@ declare module "sap/fe/macros/form/Form.block" {
|
|
|
519
575
|
* <macro:Form id="MyForm" metaPath="@com.sap.vocabularies.UI.v1.FieldGroup#GeneralInformation" />
|
|
520
576
|
* ```
|
|
521
577
|
*/
|
|
522
|
-
|
|
578
|
+
class Form extends Control {
|
|
523
579
|
constructor();
|
|
524
580
|
}
|
|
581
|
+
export default Form;
|
|
525
582
|
|
|
526
583
|
export interface $FormSettings extends $ControlSettings {
|
|
527
584
|
/**
|
|
@@ -559,9 +616,10 @@ declare module "sap/fe/macros/form/FormElement.block" {
|
|
|
559
616
|
*
|
|
560
617
|
* Building block used to create a form element based on the metadata provided by OData V4.
|
|
561
618
|
*/
|
|
562
|
-
|
|
619
|
+
class FormElement extends Control {
|
|
563
620
|
constructor();
|
|
564
621
|
}
|
|
622
|
+
export default FormElement;
|
|
565
623
|
|
|
566
624
|
export interface $FormElementSettings extends $ControlSettings {
|
|
567
625
|
/**
|
|
@@ -608,9 +666,10 @@ declare module "sap/fe/macros/microchart/MicroChart.block" {
|
|
|
608
666
|
*
|
|
609
667
|
* Building block used to create a MicroChart based on the metadata provided by OData V4.
|
|
610
668
|
*/
|
|
611
|
-
|
|
669
|
+
class MicroChart extends Control {
|
|
612
670
|
constructor();
|
|
613
671
|
}
|
|
672
|
+
export default MicroChart;
|
|
614
673
|
|
|
615
674
|
export interface $MicroChartSettings extends $ControlSettings {}
|
|
616
675
|
}
|
|
@@ -631,9 +690,10 @@ declare module "sap/fe/macros/paginator/Paginator.block" {
|
|
|
631
690
|
* <macro:Paginator />
|
|
632
691
|
* ```
|
|
633
692
|
*/
|
|
634
|
-
|
|
693
|
+
class Paginator extends Control {
|
|
635
694
|
constructor();
|
|
636
695
|
}
|
|
696
|
+
export default Paginator;
|
|
637
697
|
|
|
638
698
|
export interface $PaginatorSettings extends $ControlSettings {
|
|
639
699
|
/**
|
|
@@ -653,7 +713,10 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
653
713
|
|
|
654
714
|
import Context from "sap/ui/model/odata/v4/Context";
|
|
655
715
|
|
|
656
|
-
import {
|
|
716
|
+
import {
|
|
717
|
+
PropertyBindingInfo,
|
|
718
|
+
AggregationBindingInfo,
|
|
719
|
+
} from "sap/ui/base/ManagedObject";
|
|
657
720
|
|
|
658
721
|
/**
|
|
659
722
|
* Building block used to create a table based on the metadata provided by OData V4.
|
|
@@ -668,7 +731,7 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
668
731
|
* <macro:Table id="MyTable" metaPath="@com.sap.vocabularies.UI.v1.LineItem" />
|
|
669
732
|
* ```
|
|
670
733
|
*/
|
|
671
|
-
|
|
734
|
+
class Table extends MacroAPI {
|
|
672
735
|
constructor();
|
|
673
736
|
|
|
674
737
|
/**
|
|
@@ -717,6 +780,8 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
717
780
|
id: string
|
|
718
781
|
): void;
|
|
719
782
|
}
|
|
783
|
+
export default Table;
|
|
784
|
+
|
|
720
785
|
/**
|
|
721
786
|
* Definition of a custom action to be used inside the table toolbar
|
|
722
787
|
*/
|
|
@@ -796,7 +861,7 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
796
861
|
/**
|
|
797
862
|
* Aligns the header as well as the content horizontally
|
|
798
863
|
*/
|
|
799
|
-
horizontalAlign: /* was: sap.fe.core.HorizontalAlign */ any;
|
|
864
|
+
horizontalAlign: /* was: sap.fe.core.converters.ManifestSettings.HorizontalAlign */ any;
|
|
800
865
|
/**
|
|
801
866
|
* Defines the column importance.
|
|
802
867
|
* You can define which columns should be automatically moved to the pop-in area based on their importance
|
|
@@ -855,6 +920,12 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
855
920
|
*/
|
|
856
921
|
filterBar?: string | PropertyBindingInfo;
|
|
857
922
|
|
|
923
|
+
/**
|
|
924
|
+
* Number of columns that are fixed on the left. Only columns which are not fixed can be scrolled horizontally.
|
|
925
|
+
* This property is not relevant for Responsive tables
|
|
926
|
+
*/
|
|
927
|
+
frozenColumnCount?: number | PropertyBindingInfo | `{${string}}`;
|
|
928
|
+
|
|
858
929
|
/**
|
|
859
930
|
* Specifies the header text that is shown in the table.
|
|
860
931
|
*/
|
|
@@ -915,7 +986,8 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
915
986
|
|
|
916
987
|
/**
|
|
917
988
|
* Defines the selection mode to be used by the table.
|
|
918
|
-
* Allowed values are `None`, `Single`, `Multi` or `Auto
|
|
989
|
+
* Allowed values are `None`, `Single`, `Multi` or `Auto`. If not set to 'None', SAP Fiori elements hooks
|
|
990
|
+
* into the standard lifecycle to determine the consistent selection mode.
|
|
919
991
|
*/
|
|
920
992
|
selectionMode?: string | PropertyBindingInfo;
|
|
921
993
|
|
|
@@ -939,13 +1011,17 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
939
1011
|
/**
|
|
940
1012
|
* Aggregate actions of the table.
|
|
941
1013
|
*/
|
|
942
|
-
actions?: Action
|
|
1014
|
+
actions?: Action[] | Action | AggregationBindingInfo | `{${string}}`;
|
|
943
1015
|
|
|
944
1016
|
/**
|
|
945
1017
|
* Aggregate columns of the table.
|
|
946
1018
|
*/
|
|
947
|
-
columns?: Column
|
|
1019
|
+
columns?: Column[] | Column | AggregationBindingInfo | `{${string}}`;
|
|
948
1020
|
}
|
|
1021
|
+
|
|
1022
|
+
export interface $TableRowPressEventParameters {}
|
|
1023
|
+
|
|
1024
|
+
export interface $TableSelectionChangeEventParameters {}
|
|
949
1025
|
}
|
|
950
1026
|
|
|
951
1027
|
declare namespace sap {
|
|
@@ -9,7 +9,7 @@ declare module "sap/fe/navigation/NavError" {
|
|
|
9
9
|
* This is the successor of {@link sap.ui.generic.app.navigation.service.NavError}.
|
|
10
10
|
* An object that provides error handling information during runtime.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
class NavError extends BaseObject {
|
|
13
13
|
/**
|
|
14
14
|
* Constructor requiring the error code as input.
|
|
15
15
|
*/
|
|
@@ -27,6 +27,7 @@ declare module "sap/fe/navigation/NavError" {
|
|
|
27
27
|
*/
|
|
28
28
|
getErrorCode(): string;
|
|
29
29
|
}
|
|
30
|
+
export default NavError;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
declare module "sap/fe/navigation/NavigationHandler" {
|
|
@@ -66,10 +67,10 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
66
67
|
* If the OData metadata model has not been loaded completely, all properties are removed from the application
|
|
67
68
|
* context.
|
|
68
69
|
*
|
|
69
|
-
* **Note:** This class requires that the UShell {@link sap.ushell.services.CrossApplicationNavigation}
|
|
70
|
+
* **Note:** This class requires that the UShell {@link sap.ushell.services.CrossApplicationNavigation }
|
|
70
71
|
* is available and initialized.
|
|
71
72
|
*/
|
|
72
|
-
|
|
73
|
+
class NavigationHandler extends BaseObject {
|
|
73
74
|
constructor();
|
|
74
75
|
|
|
75
76
|
/**
|
|
@@ -126,7 +127,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
126
127
|
/**
|
|
127
128
|
* The selection variant in string format as provided by the SmartFilterBar control
|
|
128
129
|
*/
|
|
129
|
-
sSelectionVariant: /* was: sap.fe.navigation.SerializedSelectionVariant */
|
|
130
|
+
sSelectionVariant: /* was: sap.fe.navigation.SelectionVariant.SerializedSelectionVariant */
|
|
130
131
|
| any
|
|
131
132
|
| string,
|
|
132
133
|
/**
|
|
@@ -187,7 +188,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
187
188
|
/**
|
|
188
189
|
* Object for storing current state of the app
|
|
189
190
|
*/
|
|
190
|
-
oInnerAppData?: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
191
|
+
oInnerAppData?: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
191
192
|
/**
|
|
192
193
|
* Callback that is called if an error occurs during navigation
|
|
193
194
|
*/
|
|
@@ -262,8 +263,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
262
263
|
*
|
|
263
264
|
* - `oAppData.customData`
|
|
264
265
|
*
|
|
265
|
-
* which return the inner app data as stored in {@link #.navigate navigate} or {@link #.storeInnerAppStateAsync
|
|
266
|
-
* storeInnerAppStateAsync}.
|
|
266
|
+
* which return the inner app data as stored in {@link #.navigate navigate} or {@link #.storeInnerAppStateAsync storeInnerAppStateAsync}.
|
|
267
267
|
* `oAppData.oDefaultedSelectionVariant` is an empty selection variant and
|
|
268
268
|
* `oAppData.bNavSelVarHasDefaultsOnly` is `false` in this case.
|
|
269
269
|
*
|
|
@@ -290,7 +290,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
290
290
|
* in the URL.
|
|
291
291
|
*
|
|
292
292
|
* - All single selections ("including equal") of the combined selection data are passed to the SmartLink
|
|
293
|
-
*
|
|
293
|
+
* popover as semantic attributes.
|
|
294
294
|
* The method `oTableEventParameters.open()` is called. Note that this does not really open the popover,
|
|
295
295
|
* but the SmartLink
|
|
296
296
|
* control proceeds with firing the event `navigationTargetsObtained`.
|
|
@@ -321,7 +321,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
321
321
|
* Object containing the current state of the app. If provided, opening the Popover is deferred until the
|
|
322
322
|
* inner app data is saved in a consistent way.
|
|
323
323
|
*/
|
|
324
|
-
mInnerAppData?: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
324
|
+
mInnerAppData?: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
325
325
|
/**
|
|
326
326
|
* Object containing the state which will be passed to the target screen.
|
|
327
327
|
*/
|
|
@@ -383,11 +383,15 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
383
383
|
aTechnicalParameters?: any[]
|
|
384
384
|
): void;
|
|
385
385
|
/**
|
|
386
|
+
* @deprecated (since 1.104) - Use the {@link sap.fe.navigation.NavigationHandler.storeInnerAppStateAsync }
|
|
387
|
+
* instead.
|
|
388
|
+
*
|
|
389
|
+
*
|
|
386
390
|
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
387
391
|
*
|
|
388
392
|
* @returns A Promise object to monitor when all the actions of the function have been executed; if the
|
|
389
393
|
* execution is successful, the
|
|
390
|
-
* app state key is returned; if an error occurs, an object of type {@link sap.fe.navigation.NavError}
|
|
394
|
+
* app state key is returned; if an error occurs, an object of type {@link sap.fe.navigation.NavError }
|
|
391
395
|
* is
|
|
392
396
|
* returned
|
|
393
397
|
*/
|
|
@@ -395,7 +399,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
395
399
|
/**
|
|
396
400
|
* Object containing the current state of the app
|
|
397
401
|
*/
|
|
398
|
-
mInnerAppData: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
402
|
+
mInnerAppData: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
399
403
|
/**
|
|
400
404
|
* If set to false, the inner app hash will not be replaced until storing is successful; do not
|
|
401
405
|
* set to false if you cannot react to the resolution of the Promise, for example, when calling the
|
|
@@ -408,7 +412,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
408
412
|
*
|
|
409
413
|
* @returns A Promise object to monitor when all the actions of the function have been executed; if the
|
|
410
414
|
* execution is successful, the
|
|
411
|
-
* app state key is returned; if an error occurs, an object of type {@link sap.fe.navigation.NavError}
|
|
415
|
+
* app state key is returned; if an error occurs, an object of type {@link sap.fe.navigation.NavError }
|
|
412
416
|
* is
|
|
413
417
|
* returned
|
|
414
418
|
*/
|
|
@@ -416,7 +420,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
416
420
|
/**
|
|
417
421
|
* Object containing the current state of the app
|
|
418
422
|
*/
|
|
419
|
-
mInnerAppData: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
423
|
+
mInnerAppData: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
420
424
|
/**
|
|
421
425
|
* If set to false, the inner app hash will not be replaced until storing is successful; do not
|
|
422
426
|
* set to false if you cannot react to the resolution of the Promise, for example, when calling the
|
|
@@ -430,6 +434,10 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
430
434
|
bSkipHashReplace?: boolean
|
|
431
435
|
): jQuery.Promise<string>;
|
|
432
436
|
/**
|
|
437
|
+
* @deprecated (since 1.104) - Use the {@link sap.fe.navigation.NavigationHandler.storeInnerAppStateAsync }
|
|
438
|
+
* instead.
|
|
439
|
+
*
|
|
440
|
+
*
|
|
433
441
|
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
434
442
|
*
|
|
435
443
|
* @returns An object containing the appStateId and a promise object to monitor when all the actions of
|
|
@@ -440,7 +448,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
440
448
|
/**
|
|
441
449
|
* Object containing the current state of the app
|
|
442
450
|
*/
|
|
443
|
-
mInnerAppData: /* was: sap.fe.navigation.InnerAppData */ any,
|
|
451
|
+
mInnerAppData: /* was: sap.fe.navigation.NavigationHandler.InnerAppData */ any,
|
|
444
452
|
/**
|
|
445
453
|
* If set to false, the inner app hash will not be replaced until storing is successful; do not
|
|
446
454
|
* set to false if you cannot react to the resolution of the Promise, for example, when calling the
|
|
@@ -452,6 +460,7 @@ declare module "sap/fe/navigation/NavigationHandler" {
|
|
|
452
460
|
bImmediateHashReplace?: boolean
|
|
453
461
|
): object;
|
|
454
462
|
}
|
|
463
|
+
export default NavigationHandler;
|
|
455
464
|
}
|
|
456
465
|
|
|
457
466
|
declare module "sap/fe/navigation/PresentationVariant" {
|
|
@@ -465,7 +474,7 @@ declare module "sap/fe/navigation/PresentationVariant" {
|
|
|
465
474
|
* is created whose ID has been set to `""`. Passing a JSON-serialized string complying to the Selection
|
|
466
475
|
* Variant Specification will parse it, and the newly created instance will contain the same information.
|
|
467
476
|
*/
|
|
468
|
-
|
|
477
|
+
class PresentationVariant extends BaseObject {
|
|
469
478
|
/**
|
|
470
479
|
* If no parameter is passed, a new empty instance is created whose ID has been set to `""`.
|
|
471
480
|
* Passing a JSON-serialized string complying to the Selection Variant Specification will parse it,
|
|
@@ -484,7 +493,7 @@ declare module "sap/fe/navigation/PresentationVariant" {
|
|
|
484
493
|
*
|
|
485
494
|
* @returns An object containing the properties to be used for the chart visualization.
|
|
486
495
|
*/
|
|
487
|
-
getChartVisualization(): /* was: sap.fe.navigation.Visualization */
|
|
496
|
+
getChartVisualization(): /* was: sap.fe.navigation.PresentationVariant.Visualization */
|
|
488
497
|
| any
|
|
489
498
|
| undefined;
|
|
490
499
|
/**
|
|
@@ -510,7 +519,7 @@ declare module "sap/fe/navigation/PresentationVariant" {
|
|
|
510
519
|
*
|
|
511
520
|
* @returns An object containing the properties to be used for the table visualization.
|
|
512
521
|
*/
|
|
513
|
-
getTableVisualization(): /* was: sap.fe.navigation.Visualization */
|
|
522
|
+
getTableVisualization(): /* was: sap.fe.navigation.PresentationVariant.Visualization */
|
|
514
523
|
| any
|
|
515
524
|
| undefined;
|
|
516
525
|
/**
|
|
@@ -533,7 +542,7 @@ declare module "sap/fe/navigation/PresentationVariant" {
|
|
|
533
542
|
/**
|
|
534
543
|
* An object containing the properties to be used for the chart visualization.
|
|
535
544
|
*/
|
|
536
|
-
properties: /* was: sap.fe.navigation.Visualization */ any
|
|
545
|
+
properties: /* was: sap.fe.navigation.PresentationVariant.Visualization */ any
|
|
537
546
|
): void;
|
|
538
547
|
/**
|
|
539
548
|
* Sets the context URL.
|
|
@@ -569,7 +578,7 @@ declare module "sap/fe/navigation/PresentationVariant" {
|
|
|
569
578
|
/**
|
|
570
579
|
* An object containing the properties to be used for the table visualization.
|
|
571
580
|
*/
|
|
572
|
-
properties: /* was: sap.fe.navigation.Visualization */ any
|
|
581
|
+
properties: /* was: sap.fe.navigation.PresentationVariant.Visualization */ any
|
|
573
582
|
): void;
|
|
574
583
|
/**
|
|
575
584
|
* Sets the text / description of the selection variant.
|
|
@@ -585,7 +594,7 @@ declare module "sap/fe/navigation/PresentationVariant" {
|
|
|
585
594
|
*
|
|
586
595
|
* @returns The external representation of this instance as a JSON object
|
|
587
596
|
*/
|
|
588
|
-
toJSONObject(): /* was: sap.fe.navigation.ExternalPresentationVariant */ any;
|
|
597
|
+
toJSONObject(): /* was: sap.fe.navigation.PresentationVariant.ExternalPresentationVariant */ any;
|
|
589
598
|
/**
|
|
590
599
|
* Serializes this instance into a JSON-formatted string.
|
|
591
600
|
*
|
|
@@ -593,6 +602,7 @@ declare module "sap/fe/navigation/PresentationVariant" {
|
|
|
593
602
|
*/
|
|
594
603
|
toJSONString(): string;
|
|
595
604
|
}
|
|
605
|
+
export default PresentationVariant;
|
|
596
606
|
}
|
|
597
607
|
|
|
598
608
|
declare module "sap/fe/navigation/SelectionVariant" {
|
|
@@ -601,7 +611,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
601
611
|
/**
|
|
602
612
|
* @SINCE 1.83.0
|
|
603
613
|
*/
|
|
604
|
-
|
|
614
|
+
class SelectionVariant extends BaseObject {
|
|
605
615
|
constructor();
|
|
606
616
|
|
|
607
617
|
/**
|
|
@@ -619,7 +629,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
619
629
|
* The value of the parameter to be set
|
|
620
630
|
*/
|
|
621
631
|
sValue: string
|
|
622
|
-
):
|
|
632
|
+
): this;
|
|
623
633
|
/**
|
|
624
634
|
* Adds a new range to the list of select options for a given parameter.
|
|
625
635
|
*
|
|
@@ -648,7 +658,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
648
658
|
/**
|
|
649
659
|
* Set only if sOption is **BT**: the upper boundary of the interval;
|
|
650
660
|
*/
|
|
651
|
-
sHigh?: string,
|
|
661
|
+
sHigh?: null | string,
|
|
652
662
|
/**
|
|
653
663
|
* Text representing the SelectOption. This is an optional parameter. For an example in most Fiori applications
|
|
654
664
|
* if the text is not provided, it is fetched based on the ID.
|
|
@@ -658,8 +668,8 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
658
668
|
/**
|
|
659
669
|
* Object containing semanticDates filter information
|
|
660
670
|
*/
|
|
661
|
-
semanticDates?: /* was: sap.fe.navigation.SemanticDateConfiguration */ any
|
|
662
|
-
):
|
|
671
|
+
semanticDates?: /* was: sap.fe.navigation.SelectionVariant.SemanticDateConfiguration */ any
|
|
672
|
+
): this;
|
|
663
673
|
/**
|
|
664
674
|
* Gets the current context URL intended for the filters.
|
|
665
675
|
*
|
|
@@ -792,7 +802,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
792
802
|
* Set of select options to be added
|
|
793
803
|
*/
|
|
794
804
|
aSelectOptions: undefined[]
|
|
795
|
-
):
|
|
805
|
+
): this;
|
|
796
806
|
/**
|
|
797
807
|
* Removes a parameter called `sName` from the selection variant.
|
|
798
808
|
*
|
|
@@ -803,7 +813,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
803
813
|
* The name of the parameter to be removed
|
|
804
814
|
*/
|
|
805
815
|
sName: string
|
|
806
|
-
):
|
|
816
|
+
): this;
|
|
807
817
|
/**
|
|
808
818
|
* Removes a select option called `sName` from the selection variant.
|
|
809
819
|
*
|
|
@@ -814,7 +824,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
814
824
|
* The name of the select option to be removed
|
|
815
825
|
*/
|
|
816
826
|
sName: string
|
|
817
|
-
):
|
|
827
|
+
): this;
|
|
818
828
|
/**
|
|
819
829
|
* Renames a parameter called `sNameOld` to `sNameNew`. If a parameter or a select option with
|
|
820
830
|
* the name `sNameNew` already exist, an error is thrown. If a parameter with the name `sNameOld`
|
|
@@ -831,7 +841,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
831
841
|
* The new name of the parameter
|
|
832
842
|
*/
|
|
833
843
|
sNameNew: string
|
|
834
|
-
):
|
|
844
|
+
): this;
|
|
835
845
|
/**
|
|
836
846
|
* Renames a select option called `sNameOld` to `sNameNew`. If a select option or a parameter
|
|
837
847
|
* with the name `sNameNew` already exist, an error is thrown. If a select option with the name `sNameOld`
|
|
@@ -848,7 +858,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
848
858
|
* The new name of the select option property
|
|
849
859
|
*/
|
|
850
860
|
sNameNew: string
|
|
851
|
-
):
|
|
861
|
+
): this;
|
|
852
862
|
/**
|
|
853
863
|
* Sets the context URL intended for the filters.
|
|
854
864
|
*/
|
|
@@ -890,7 +900,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
890
900
|
*
|
|
891
901
|
* @returns The external representation of this instance as a JSON object
|
|
892
902
|
*/
|
|
893
|
-
toJSONObject(): /* was: sap.fe.navigation.SerializedSelectionVariant */ any;
|
|
903
|
+
toJSONObject(): /* was: sap.fe.navigation.SelectionVariant.SerializedSelectionVariant */ any;
|
|
894
904
|
/**
|
|
895
905
|
* Serializes this instance into a JSON-formatted string.
|
|
896
906
|
*
|
|
@@ -898,6 +908,7 @@ declare module "sap/fe/navigation/SelectionVariant" {
|
|
|
898
908
|
*/
|
|
899
909
|
toJSONString(): string;
|
|
900
910
|
}
|
|
911
|
+
export default SelectionVariant;
|
|
901
912
|
}
|
|
902
913
|
|
|
903
914
|
declare module "sap/fe/navigation/library" {}
|