@sapui5/types 1.114.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/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 +92 -2
- package/types/sap.f.d.ts +1378 -1019
- package/types/sap.fe.core.d.ts +48 -163
- package/types/sap.fe.macros.d.ts +76 -16
- 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 +6945 -4884
- 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 +11 -8
- package/types/sap.suite.ui.commons.d.ts +2090 -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 +2336 -1606
- package/types/sap.ui.core.d.ts +4625 -2580
- 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 -80
- package/types/sap.ui.generic.app.d.ts +58 -49
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +219 -167
- package/types/sap.ui.layout.d.ts +378 -398
- package/types/sap.ui.mdc.d.ts +21983 -139
- 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 +594 -478
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +839 -587
- 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 +2858 -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 +441 -213
- 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.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
|
/**
|
|
@@ -51,7 +56,7 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
51
56
|
* <macro:Chart id="Mychart" contextPath="/RootEntity" metaPath="@com.sap.vocabularies.UI.v1.Chart" />
|
|
52
57
|
* ```
|
|
53
58
|
*/
|
|
54
|
-
|
|
59
|
+
class Chart extends MacroAPI {
|
|
55
60
|
constructor();
|
|
56
61
|
|
|
57
62
|
/**
|
|
@@ -61,6 +66,8 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
61
66
|
*/
|
|
62
67
|
getSelectedContexts(): Context[];
|
|
63
68
|
}
|
|
69
|
+
export default Chart;
|
|
70
|
+
|
|
64
71
|
/**
|
|
65
72
|
* Definition of a custom action to be used inside the chart toolbar
|
|
66
73
|
*/
|
|
@@ -156,17 +163,42 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
156
163
|
metaPath?: string | PropertyBindingInfo;
|
|
157
164
|
|
|
158
165
|
/**
|
|
159
|
-
*
|
|
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
|
|
160
185
|
*/
|
|
161
186
|
personalization?: boolean | string | PropertyBindingInfo | `{${string}}`;
|
|
162
187
|
|
|
163
188
|
/**
|
|
164
|
-
*
|
|
189
|
+
* Defines the selection mode to be used by the chart.
|
|
190
|
+
* Allowed values are `None`, `Single` or `Multiple`
|
|
165
191
|
*/
|
|
166
192
|
selectionMode?: string | PropertyBindingInfo;
|
|
167
193
|
|
|
168
194
|
/**
|
|
169
|
-
*
|
|
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.
|
|
170
202
|
*/
|
|
171
203
|
variantManagement?: string | PropertyBindingInfo;
|
|
172
204
|
|
|
@@ -175,6 +207,8 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
175
207
|
*/
|
|
176
208
|
actions?: Action[] | Action | AggregationBindingInfo | `{${string}}`;
|
|
177
209
|
}
|
|
210
|
+
|
|
211
|
+
export interface $ChartSelectionChangeEventParameters {}
|
|
178
212
|
}
|
|
179
213
|
|
|
180
214
|
declare module "sap/fe/macros/field/FieldAPI" {
|
|
@@ -200,7 +234,7 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
200
234
|
* <macro:Field id="MyField" metaPath="MyProperty" />
|
|
201
235
|
* ```
|
|
202
236
|
*/
|
|
203
|
-
|
|
237
|
+
class Field extends MacroAPI {
|
|
204
238
|
constructor();
|
|
205
239
|
|
|
206
240
|
/**
|
|
@@ -247,6 +281,8 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
247
281
|
id: string
|
|
248
282
|
): void;
|
|
249
283
|
}
|
|
284
|
+
export default Field;
|
|
285
|
+
|
|
250
286
|
/**
|
|
251
287
|
* Additional format options for the field.
|
|
252
288
|
*/
|
|
@@ -350,6 +386,8 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
350
386
|
*/
|
|
351
387
|
semanticObject?: string | PropertyBindingInfo;
|
|
352
388
|
}
|
|
389
|
+
|
|
390
|
+
export interface $FieldChangeEventParameters {}
|
|
353
391
|
}
|
|
354
392
|
|
|
355
393
|
declare module "sap/fe/macros/field/TextAreaEx" {
|
|
@@ -358,9 +396,10 @@ declare module "sap/fe/macros/field/TextAreaEx" {
|
|
|
358
396
|
/**
|
|
359
397
|
* Extension of the TextArea control to add a check for the maximum length when setting the value.
|
|
360
398
|
*/
|
|
361
|
-
|
|
399
|
+
class TextAreaEx extends TextArea {
|
|
362
400
|
constructor();
|
|
363
401
|
}
|
|
402
|
+
export default TextAreaEx;
|
|
364
403
|
|
|
365
404
|
export interface $TextAreaExSettings extends $TextAreaSettings {}
|
|
366
405
|
}
|
|
@@ -388,7 +427,7 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
388
427
|
* <macro:FilterBar id="MyFilterBar" metaPath="@com.sap.vocabularies.UI.v1.SelectionFields" />
|
|
389
428
|
* ```
|
|
390
429
|
*/
|
|
391
|
-
|
|
430
|
+
class FilterBar extends MacroAPI {
|
|
392
431
|
constructor();
|
|
393
432
|
|
|
394
433
|
/**
|
|
@@ -427,9 +466,13 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
427
466
|
): Promise<void>;
|
|
428
467
|
/**
|
|
429
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.
|
|
430
471
|
*/
|
|
431
|
-
triggerSearch(): Promise<
|
|
472
|
+
triggerSearch(): Promise<any>;
|
|
432
473
|
}
|
|
474
|
+
export default FilterBar;
|
|
475
|
+
|
|
433
476
|
/**
|
|
434
477
|
* Definition of a custom filter to be used inside the FilterBar.
|
|
435
478
|
* The template for the FilterField has to be provided as the default aggregation
|
|
@@ -504,6 +547,12 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
504
547
|
| AggregationBindingInfo
|
|
505
548
|
| `{${string}}`;
|
|
506
549
|
}
|
|
550
|
+
|
|
551
|
+
export interface $FilterBarAfterClearEventParameters {}
|
|
552
|
+
|
|
553
|
+
export interface $FilterBarFilterChangedEventParameters {}
|
|
554
|
+
|
|
555
|
+
export interface $FilterBarSearchEventParameters {}
|
|
507
556
|
}
|
|
508
557
|
|
|
509
558
|
declare module "sap/fe/macros/form/Form.block" {
|
|
@@ -526,9 +575,10 @@ declare module "sap/fe/macros/form/Form.block" {
|
|
|
526
575
|
* <macro:Form id="MyForm" metaPath="@com.sap.vocabularies.UI.v1.FieldGroup#GeneralInformation" />
|
|
527
576
|
* ```
|
|
528
577
|
*/
|
|
529
|
-
|
|
578
|
+
class Form extends Control {
|
|
530
579
|
constructor();
|
|
531
580
|
}
|
|
581
|
+
export default Form;
|
|
532
582
|
|
|
533
583
|
export interface $FormSettings extends $ControlSettings {
|
|
534
584
|
/**
|
|
@@ -566,9 +616,10 @@ declare module "sap/fe/macros/form/FormElement.block" {
|
|
|
566
616
|
*
|
|
567
617
|
* Building block used to create a form element based on the metadata provided by OData V4.
|
|
568
618
|
*/
|
|
569
|
-
|
|
619
|
+
class FormElement extends Control {
|
|
570
620
|
constructor();
|
|
571
621
|
}
|
|
622
|
+
export default FormElement;
|
|
572
623
|
|
|
573
624
|
export interface $FormElementSettings extends $ControlSettings {
|
|
574
625
|
/**
|
|
@@ -615,9 +666,10 @@ declare module "sap/fe/macros/microchart/MicroChart.block" {
|
|
|
615
666
|
*
|
|
616
667
|
* Building block used to create a MicroChart based on the metadata provided by OData V4.
|
|
617
668
|
*/
|
|
618
|
-
|
|
669
|
+
class MicroChart extends Control {
|
|
619
670
|
constructor();
|
|
620
671
|
}
|
|
672
|
+
export default MicroChart;
|
|
621
673
|
|
|
622
674
|
export interface $MicroChartSettings extends $ControlSettings {}
|
|
623
675
|
}
|
|
@@ -638,9 +690,10 @@ declare module "sap/fe/macros/paginator/Paginator.block" {
|
|
|
638
690
|
* <macro:Paginator />
|
|
639
691
|
* ```
|
|
640
692
|
*/
|
|
641
|
-
|
|
693
|
+
class Paginator extends Control {
|
|
642
694
|
constructor();
|
|
643
695
|
}
|
|
696
|
+
export default Paginator;
|
|
644
697
|
|
|
645
698
|
export interface $PaginatorSettings extends $ControlSettings {
|
|
646
699
|
/**
|
|
@@ -678,7 +731,7 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
678
731
|
* <macro:Table id="MyTable" metaPath="@com.sap.vocabularies.UI.v1.LineItem" />
|
|
679
732
|
* ```
|
|
680
733
|
*/
|
|
681
|
-
|
|
734
|
+
class Table extends MacroAPI {
|
|
682
735
|
constructor();
|
|
683
736
|
|
|
684
737
|
/**
|
|
@@ -727,6 +780,8 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
727
780
|
id: string
|
|
728
781
|
): void;
|
|
729
782
|
}
|
|
783
|
+
export default Table;
|
|
784
|
+
|
|
730
785
|
/**
|
|
731
786
|
* Definition of a custom action to be used inside the table toolbar
|
|
732
787
|
*/
|
|
@@ -806,7 +861,7 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
806
861
|
/**
|
|
807
862
|
* Aligns the header as well as the content horizontally
|
|
808
863
|
*/
|
|
809
|
-
horizontalAlign: /* was: sap.fe.core.HorizontalAlign */ any;
|
|
864
|
+
horizontalAlign: /* was: sap.fe.core.converters.ManifestSettings.HorizontalAlign */ any;
|
|
810
865
|
/**
|
|
811
866
|
* Defines the column importance.
|
|
812
867
|
* You can define which columns should be automatically moved to the pop-in area based on their importance
|
|
@@ -931,7 +986,8 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
931
986
|
|
|
932
987
|
/**
|
|
933
988
|
* Defines the selection mode to be used by the table.
|
|
934
|
-
* 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.
|
|
935
991
|
*/
|
|
936
992
|
selectionMode?: string | PropertyBindingInfo;
|
|
937
993
|
|
|
@@ -962,6 +1018,10 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
962
1018
|
*/
|
|
963
1019
|
columns?: Column[] | Column | AggregationBindingInfo | `{${string}}`;
|
|
964
1020
|
}
|
|
1021
|
+
|
|
1022
|
+
export interface $TableRowPressEventParameters {}
|
|
1023
|
+
|
|
1024
|
+
export interface $TableSelectionChangeEventParameters {}
|
|
965
1025
|
}
|
|
966
1026
|
|
|
967
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" {}
|