@sapui5/ts-types 1.102.1 → 1.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +11 -11
  4. package/types/sap.chart.d.ts +2 -2
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.esh.search.ui.d.ts +1 -1
  7. package/types/sap.f.d.ts +164 -24
  8. package/types/sap.fe.common.d.ts +1 -1
  9. package/types/sap.fe.core.d.ts +29 -1159
  10. package/types/sap.fe.macros.d.ts +52 -627
  11. package/types/sap.fe.navigation.d.ts +1 -1309
  12. package/types/sap.fe.templates.d.ts +2 -161
  13. package/types/sap.fe.test.d.ts +12 -244
  14. package/types/sap.feedback.ui.d.ts +1 -1
  15. package/types/sap.gantt.d.ts +343 -63
  16. package/types/sap.insights.d.ts +2 -61
  17. package/types/sap.landvisz.d.ts +15 -15
  18. package/types/sap.m.d.ts +513 -284
  19. package/types/sap.makit.d.ts +5 -5
  20. package/types/sap.me.d.ts +2 -2
  21. package/types/sap.ndc.d.ts +75 -3
  22. package/types/sap.ovp.d.ts +6 -1
  23. package/types/sap.rules.ui.d.ts +1 -1
  24. package/types/sap.sac.df.d.ts +163 -1
  25. package/types/sap.sac.grid.d.ts +1 -1
  26. package/types/sap.suite.ui.commons.d.ts +59 -59
  27. package/types/sap.suite.ui.generic.template.d.ts +98 -12
  28. package/types/sap.suite.ui.microchart.d.ts +14 -14
  29. package/types/sap.tnt.d.ts +5 -5
  30. package/types/sap.ui.codeeditor.d.ts +1 -1
  31. package/types/sap.ui.commons.d.ts +36 -36
  32. package/types/sap.ui.comp.d.ts +113 -28
  33. package/types/sap.ui.core.d.ts +294 -92
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +3 -3
  36. package/types/sap.ui.fl.d.ts +3 -1
  37. package/types/sap.ui.generic.app.d.ts +13 -6
  38. package/types/sap.ui.generic.template.d.ts +1 -1
  39. package/types/sap.ui.integration.d.ts +3 -3
  40. package/types/sap.ui.layout.d.ts +33 -41
  41. package/types/sap.ui.mdc.d.ts +1 -1
  42. package/types/sap.ui.richtexteditor.d.ts +2 -2
  43. package/types/sap.ui.rta.d.ts +1 -1
  44. package/types/sap.ui.suite.d.ts +1 -1
  45. package/types/sap.ui.support.d.ts +1 -1
  46. package/types/sap.ui.table.d.ts +9 -9
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +35 -35
  49. package/types/sap.ui.ux3.d.ts +43 -43
  50. package/types/sap.ui.vbm.d.ts +130 -55
  51. package/types/sap.ui.vk.d.ts +25 -25
  52. package/types/sap.ui.vtm.d.ts +15 -12
  53. package/types/sap.uiext.inbox.d.ts +3 -3
  54. package/types/sap.ushell.d.ts +14 -12
  55. package/types/sap.ushell_abap.d.ts +1 -1
  56. package/types/sap.uxap.d.ts +13 -13
  57. package/types/sap.viz.d.ts +8 -8
  58. package/types/sap.webanalytics.core.d.ts +1 -1
  59. package/types/sap.zen.commons.d.ts +4 -4
  60. package/types/sap.zen.crosstab.d.ts +1 -1
  61. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.103.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -66,1308 +66,6 @@ declare namespace sap {
66
66
  */
67
67
  getErrorCode(): string;
68
68
  }
69
- /**
70
- * @SINCE 1.83.0
71
- *
72
- * This is the successor of {@link sap.ui.generic.app.navigation.service.NavigationHandler}.
73
- * Creates a new NavigationHandler class by providing the required environment.
74
- * The `NavigationHandler` supports the verification of sensitive information. All properties that are
75
- * part of `selectionVariant` and `valueTexts` will be verified if they are annotated as `com.sap.vocabularies.PersonalData.v1.IsPotentiallySensitive`
76
- * or `com.sap.vocabularies.UI.v1.ExcludeFromNavigationContext` and will be removed before the data is persisted
77
- * as the app state.
78
- * Also, all properties annotated as `com.sap.vocabularies.Analytics.v1.Measure` will be removed from the
79
- * data stored as the xapp state.
80
- * To verify the information to be removed, the `NavigationHandler` requires an unnamed model of type {@link
81
- * sap.ui.model.odata.v2.ODataModel} on component level. It is possible to set such a model using the `setModel`
82
- * method.
83
- * **Note:** The check for excluded data requires that the OData metadata has already been loaded completely.
84
- * If the OData metadata model has not been loaded completely, all properties are removed from the application
85
- * context.
86
- * **Note:** This class requires that the UShell {@link sap.ushell.services.CrossApplicationNavigation}
87
- * is available and initialized.
88
- */
89
- class NavigationHandler extends sap.ui.base.Object {
90
- constructor(
91
- /**
92
- * UI5 controller that contains a router and a component; typically the main controller of your application,
93
- * for example, a subclass of the sap.ca.scfld.md.controller.BaseFullscreenController if scaffolding is
94
- * used
95
- */
96
- oController: object,
97
- /**
98
- * Mode to be used to indicates the Odata version used for runnning the Navigation Handler, see {@link sap.fe.navigation.Mode}.
99
- * Note: Mode has to be sap.fe.navigation.Mode.ODataV2 whenever this constructor is used to initialize
100
- * a OData V2 based service.
101
- */
102
- sMode?: string,
103
- /**
104
- * Mode to be used to handle conflicts when merging URL parameters and the SelectionVariant class, see {@link
105
- * sap.fe.navigation.ParamHandlingMode}
106
- */
107
- sParamHandlingMode?: string
108
- );
109
-
110
- /**
111
- * The method creates a context url based on provided data. This context url can either be used as {@link
112
- * sap.fe.navigation.NavigationHandler#setParameterContextUrl ParameterContextUrl} or {@link sap.fe.navigation.NavigationHandler#setFilterContextUrl
113
- * FilterContextUrl}.
114
- *
115
- * @returns The context url for the given entities
116
- */
117
- static constructContextUrl(
118
- /**
119
- * Used for url determination
120
- */
121
- sEntitySetName: string,
122
- /**
123
- * Used for url determination. If omitted, the NavigationHandler model is used.
124
- */
125
- oModel?: sap.ui.model.odata.v2.ODataModel
126
- ): string;
127
- /**
128
- * Creates a new subclass of class sap.fe.navigation.NavigationHandler with name `sClassName` and enriches
129
- * it with the information contained in `oClassInfo`.
130
- *
131
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
132
- *
133
- * @returns Created class / constructor function
134
- */
135
- static extend<T extends Record<string, unknown>>(
136
- /**
137
- * Name of the class being created
138
- */
139
- sClassName: string,
140
- /**
141
- * Object literal with information about the class
142
- */
143
- oClassInfo?: sap.ClassInfo<T, sap.fe.navigation.NavigationHandler>,
144
- /**
145
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
146
- * used by this class
147
- */
148
- FNMetaImpl?: Function
149
- ): Function;
150
- /**
151
- * Returns a metadata object for class sap.fe.navigation.NavigationHandler.
152
- *
153
- * @returns Metadata object describing this class
154
- */
155
- static getMetadata(): sap.ui.base.Metadata;
156
- /**
157
- * Gets the application specific technical parameters. Technical parameters will not be added to the selection
158
- * variant passed to the application. As a default the following values are considered as technical parameters:
159
- *
160
- * - `sap-system`
161
- * - `sap-ushell-defaultedParameterNames`
162
- * - `"hcpApplicationId"` .
163
- *
164
- * @returns Containing the technical parameters.
165
- */
166
- static getTechnicalParameters(): any[];
167
- /**
168
- * Combines the given parameters and selection variant into a new selection variant containing properties
169
- * from both, with the parameters overriding existing properties in the selection variant. The new selection
170
- * variant does not contain any parameters. All parameters are merged into select options. The output of
171
- * this function, converted to a JSON string, can be used for the {@link #.navigate NavigationHandler.navigate}
172
- * method.
173
- *
174
- * @returns Instance of {@link sap.fe.navigation.SelectionVariant}
175
- */
176
- static mixAttributesAndSelectionVariant(
177
- /**
178
- * Object/(Array of Objects) containing key/value pairs
179
- */
180
- vSemanticAttributes: object | any[],
181
- /**
182
- * The selection variant in string format as provided by the SmartFilterBar control
183
- */
184
- sSelectionVariant: string,
185
- /**
186
- * Indicates whether semantic attributes with special values (see {@link sap.fe.navigation.SuppressionBehavior
187
- * suppression behavior}) must be suppressed before they are combined with the selection variant; several
188
- * {@link sap.fe.navigation.SuppressionBehavior suppression behaviors} can be combined with the bitwise
189
- * OR operator (|)
190
- */
191
- iSuppressionBehavior?: int
192
- ): object;
193
- /**
194
- * Triggers a cross-app navigation after saving the inner and the cross-app states. The navigation mode
195
- * based on `sap-ushell-next-navmode` is taken into account. If set to `explace` the inner app state will
196
- * not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad default
197
- * navigation for opening a URL in-place or ex-place.
198
- */
199
- static navigate(
200
- /**
201
- * Name of the semantic object of the target app
202
- */
203
- sSemanticObject: string,
204
- /**
205
- * Name of the action of the target app
206
- */
207
- sActionName: string,
208
- /**
209
- * Navigation parameters as an object with key/value pairs or as a string representation of such an object.
210
- * If passed as an object, the properties are not checked against the `IsPotentialSensitive` or `Measure`
211
- * type.
212
- */
213
- vNavigationParameters: object | string,
214
- /**
215
- * Object for storing current state of the app
216
- */
217
- oInnerAppData: {
218
- /**
219
- * Stringified JSON object as returned, for example, from getDataSuiteFormat() of the SmartFilterBar control
220
- */
221
- selectionVariant?: string;
222
- /**
223
- * ID of the SmartTable variant
224
- */
225
- tableVariantId?: string;
226
- /**
227
- * Object that can be used to store arbitrary data
228
- */
229
- customData?: object;
230
- /**
231
- * Object containing the current ui state of the app
232
- */
233
- presentationVariant?: object;
234
- /**
235
- * Object containing value descriptions
236
- */
237
- valueTexts?: object;
238
- /**
239
- * Object containing semanticDates filter information
240
- */
241
- semanticDates?: object;
242
- },
243
- /**
244
- * Callback that is called if an error occurs during navigation
245
- */
246
- fnOnError: Function,
247
- /**
248
- * Object for storing the state which will be forwarded to the target component.
249
- */
250
- oExternalAppData: {
251
- /**
252
- * Object containing the current ui state of the app which will be forwarded to the target component.
253
- */
254
- presentationVariant?: object;
255
- /**
256
- * Object containing value descriptions which will be forwarded to the target component.
257
- */
258
- valueTexts?: object;
259
- /**
260
- * Stringified JSON object, which will be forwarded to the target component. If not provided the selectionVariant
261
- * will be constructed based on the vNavigationParameters.
262
- */
263
- selectionVariant?: object;
264
- },
265
- /**
266
- * Argument is used to overwrite the FLP-configured target for opening a URL. If used, only the `explace`
267
- * or `inplace` values are allowed. Any other value will lead to an exception `NavigationHandler.INVALID_NAV_MODE`.
268
- */
269
- sNavMode?: string
270
- ): void;
271
- /**
272
- * Triggers a cross-app navigation after saving the inner and the cross-app states. The navigation mode
273
- * based on `sap-ushell-next-navmode` is taken into account. If set to `explace` the inner app state will
274
- * not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad default
275
- * navigation for opening a URL in-place or ex-place.
276
- */
277
- static navigate(
278
- /**
279
- * Name of the semantic object of the target app
280
- */
281
- sSemanticObject: string,
282
- /**
283
- * Name of the action of the target app
284
- */
285
- sActionName: string,
286
- /**
287
- * Navigation parameters as an object with key/value pairs or as a string representation of such an object.
288
- * If passed as an object, the properties are not checked against the `IsPotentialSensitive` or `Measure`
289
- * type.
290
- */
291
- vNavigationParameters: object | string,
292
- /**
293
- * Object for storing current state of the app
294
- */
295
- oInnerAppData: {
296
- /**
297
- * Stringified JSON object as returned, for example, from getDataSuiteFormat() of the SmartFilterBar control
298
- */
299
- selectionVariant?: string;
300
- /**
301
- * ID of the SmartTable variant
302
- */
303
- tableVariantId?: string;
304
- /**
305
- * Object that can be used to store arbitrary data
306
- */
307
- customData?: object;
308
- /**
309
- * Object containing the current ui state of the app
310
- */
311
- presentationVariant?: object;
312
- /**
313
- * Object containing value descriptions
314
- */
315
- valueTexts?: object;
316
- /**
317
- * Object containing semanticDates filter information
318
- */
319
- semanticDates?: object;
320
- },
321
- /**
322
- * Object for storing the state which will be forwarded to the target component.
323
- */
324
- oExternalAppData: {
325
- /**
326
- * Object containing the current ui state of the app which will be forwarded to the target component.
327
- */
328
- presentationVariant?: object;
329
- /**
330
- * Object containing value descriptions which will be forwarded to the target component.
331
- */
332
- valueTexts?: object;
333
- /**
334
- * Stringified JSON object, which will be forwarded to the target component. If not provided the selectionVariant
335
- * will be constructed based on the vNavigationParameters.
336
- */
337
- selectionVariant?: object;
338
- },
339
- /**
340
- * Argument is used to overwrite the FLP-configured target for opening a URL. If used, only the `explace`
341
- * or `inplace` values are allowed. Any other value will lead to an exception `NavigationHandler.INVALID_NAV_MODE`.
342
- */
343
- sNavMode?: string
344
- ): void;
345
- /**
346
- * Triggers a cross-app navigation after saving the inner and the cross-app states. The navigation mode
347
- * based on `sap-ushell-next-navmode` is taken into account. If set to `explace` the inner app state will
348
- * not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad default
349
- * navigation for opening a URL in-place or ex-place.
350
- */
351
- static navigate(
352
- /**
353
- * Name of the semantic object of the target app
354
- */
355
- sSemanticObject: string,
356
- /**
357
- * Name of the action of the target app
358
- */
359
- sActionName: string,
360
- /**
361
- * Navigation parameters as an object with key/value pairs or as a string representation of such an object.
362
- * If passed as an object, the properties are not checked against the `IsPotentialSensitive` or `Measure`
363
- * type.
364
- */
365
- vNavigationParameters: object | string,
366
- /**
367
- * Callback that is called if an error occurs during navigation
368
- */
369
- fnOnError: Function,
370
- /**
371
- * Object for storing the state which will be forwarded to the target component.
372
- */
373
- oExternalAppData: {
374
- /**
375
- * Object containing the current ui state of the app which will be forwarded to the target component.
376
- */
377
- presentationVariant?: object;
378
- /**
379
- * Object containing value descriptions which will be forwarded to the target component.
380
- */
381
- valueTexts?: object;
382
- /**
383
- * Stringified JSON object, which will be forwarded to the target component. If not provided the selectionVariant
384
- * will be constructed based on the vNavigationParameters.
385
- */
386
- selectionVariant?: object;
387
- },
388
- /**
389
- * Argument is used to overwrite the FLP-configured target for opening a URL. If used, only the `explace`
390
- * or `inplace` values are allowed. Any other value will lead to an exception `NavigationHandler.INVALID_NAV_MODE`.
391
- */
392
- sNavMode?: string
393
- ): void;
394
- /**
395
- * Triggers a cross-app navigation after saving the inner and the cross-app states. The navigation mode
396
- * based on `sap-ushell-next-navmode` is taken into account. If set to `explace` the inner app state will
397
- * not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad default
398
- * navigation for opening a URL in-place or ex-place.
399
- */
400
- static navigate(
401
- /**
402
- * Name of the semantic object of the target app
403
- */
404
- sSemanticObject: string,
405
- /**
406
- * Name of the action of the target app
407
- */
408
- sActionName: string,
409
- /**
410
- * Object for storing current state of the app
411
- */
412
- oInnerAppData: {
413
- /**
414
- * Stringified JSON object as returned, for example, from getDataSuiteFormat() of the SmartFilterBar control
415
- */
416
- selectionVariant?: string;
417
- /**
418
- * ID of the SmartTable variant
419
- */
420
- tableVariantId?: string;
421
- /**
422
- * Object that can be used to store arbitrary data
423
- */
424
- customData?: object;
425
- /**
426
- * Object containing the current ui state of the app
427
- */
428
- presentationVariant?: object;
429
- /**
430
- * Object containing value descriptions
431
- */
432
- valueTexts?: object;
433
- /**
434
- * Object containing semanticDates filter information
435
- */
436
- semanticDates?: object;
437
- },
438
- /**
439
- * Callback that is called if an error occurs during navigation
440
- */
441
- fnOnError: Function,
442
- /**
443
- * Object for storing the state which will be forwarded to the target component.
444
- */
445
- oExternalAppData: {
446
- /**
447
- * Object containing the current ui state of the app which will be forwarded to the target component.
448
- */
449
- presentationVariant?: object;
450
- /**
451
- * Object containing value descriptions which will be forwarded to the target component.
452
- */
453
- valueTexts?: object;
454
- /**
455
- * Stringified JSON object, which will be forwarded to the target component. If not provided the selectionVariant
456
- * will be constructed based on the vNavigationParameters.
457
- */
458
- selectionVariant?: object;
459
- },
460
- /**
461
- * Argument is used to overwrite the FLP-configured target for opening a URL. If used, only the `explace`
462
- * or `inplace` values are allowed. Any other value will lead to an exception `NavigationHandler.INVALID_NAV_MODE`.
463
- */
464
- sNavMode?: string
465
- ): void;
466
- /**
467
- * Triggers a cross-app navigation after saving the inner and the cross-app states. The navigation mode
468
- * based on `sap-ushell-next-navmode` is taken into account. If set to `explace` the inner app state will
469
- * not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad default
470
- * navigation for opening a URL in-place or ex-place.
471
- */
472
- static navigate(
473
- /**
474
- * Name of the semantic object of the target app
475
- */
476
- sSemanticObject: string,
477
- /**
478
- * Name of the action of the target app
479
- */
480
- sActionName: string,
481
- /**
482
- * Navigation parameters as an object with key/value pairs or as a string representation of such an object.
483
- * If passed as an object, the properties are not checked against the `IsPotentialSensitive` or `Measure`
484
- * type.
485
- */
486
- vNavigationParameters: object | string,
487
- /**
488
- * Object for storing the state which will be forwarded to the target component.
489
- */
490
- oExternalAppData: {
491
- /**
492
- * Object containing the current ui state of the app which will be forwarded to the target component.
493
- */
494
- presentationVariant?: object;
495
- /**
496
- * Object containing value descriptions which will be forwarded to the target component.
497
- */
498
- valueTexts?: object;
499
- /**
500
- * Stringified JSON object, which will be forwarded to the target component. If not provided the selectionVariant
501
- * will be constructed based on the vNavigationParameters.
502
- */
503
- selectionVariant?: object;
504
- },
505
- /**
506
- * Argument is used to overwrite the FLP-configured target for opening a URL. If used, only the `explace`
507
- * or `inplace` values are allowed. Any other value will lead to an exception `NavigationHandler.INVALID_NAV_MODE`.
508
- */
509
- sNavMode?: string
510
- ): void;
511
- /**
512
- * Triggers a cross-app navigation after saving the inner and the cross-app states. The navigation mode
513
- * based on `sap-ushell-next-navmode` is taken into account. If set to `explace` the inner app state will
514
- * not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad default
515
- * navigation for opening a URL in-place or ex-place.
516
- */
517
- static navigate(
518
- /**
519
- * Name of the semantic object of the target app
520
- */
521
- sSemanticObject: string,
522
- /**
523
- * Name of the action of the target app
524
- */
525
- sActionName: string,
526
- /**
527
- * Object for storing current state of the app
528
- */
529
- oInnerAppData: {
530
- /**
531
- * Stringified JSON object as returned, for example, from getDataSuiteFormat() of the SmartFilterBar control
532
- */
533
- selectionVariant?: string;
534
- /**
535
- * ID of the SmartTable variant
536
- */
537
- tableVariantId?: string;
538
- /**
539
- * Object that can be used to store arbitrary data
540
- */
541
- customData?: object;
542
- /**
543
- * Object containing the current ui state of the app
544
- */
545
- presentationVariant?: object;
546
- /**
547
- * Object containing value descriptions
548
- */
549
- valueTexts?: object;
550
- /**
551
- * Object containing semanticDates filter information
552
- */
553
- semanticDates?: object;
554
- },
555
- /**
556
- * Object for storing the state which will be forwarded to the target component.
557
- */
558
- oExternalAppData: {
559
- /**
560
- * Object containing the current ui state of the app which will be forwarded to the target component.
561
- */
562
- presentationVariant?: object;
563
- /**
564
- * Object containing value descriptions which will be forwarded to the target component.
565
- */
566
- valueTexts?: object;
567
- /**
568
- * Stringified JSON object, which will be forwarded to the target component. If not provided the selectionVariant
569
- * will be constructed based on the vNavigationParameters.
570
- */
571
- selectionVariant?: object;
572
- },
573
- /**
574
- * Argument is used to overwrite the FLP-configured target for opening a URL. If used, only the `explace`
575
- * or `inplace` values are allowed. Any other value will lead to an exception `NavigationHandler.INVALID_NAV_MODE`.
576
- */
577
- sNavMode?: string
578
- ): void;
579
- /**
580
- * Triggers a cross-app navigation after saving the inner and the cross-app states. The navigation mode
581
- * based on `sap-ushell-next-navmode` is taken into account. If set to `explace` the inner app state will
582
- * not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad default
583
- * navigation for opening a URL in-place or ex-place.
584
- */
585
- static navigate(
586
- /**
587
- * Name of the semantic object of the target app
588
- */
589
- sSemanticObject: string,
590
- /**
591
- * Name of the action of the target app
592
- */
593
- sActionName: string,
594
- /**
595
- * Callback that is called if an error occurs during navigation
596
- */
597
- fnOnError: Function,
598
- /**
599
- * Object for storing the state which will be forwarded to the target component.
600
- */
601
- oExternalAppData: {
602
- /**
603
- * Object containing the current ui state of the app which will be forwarded to the target component.
604
- */
605
- presentationVariant?: object;
606
- /**
607
- * Object containing value descriptions which will be forwarded to the target component.
608
- */
609
- valueTexts?: object;
610
- /**
611
- * Stringified JSON object, which will be forwarded to the target component. If not provided the selectionVariant
612
- * will be constructed based on the vNavigationParameters.
613
- */
614
- selectionVariant?: object;
615
- },
616
- /**
617
- * Argument is used to overwrite the FLP-configured target for opening a URL. If used, only the `explace`
618
- * or `inplace` values are allowed. Any other value will lead to an exception `NavigationHandler.INVALID_NAV_MODE`.
619
- */
620
- sNavMode?: string
621
- ): void;
622
- /**
623
- * Triggers a cross-app navigation after saving the inner and the cross-app states. The navigation mode
624
- * based on `sap-ushell-next-navmode` is taken into account. If set to `explace` the inner app state will
625
- * not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad default
626
- * navigation for opening a URL in-place or ex-place.
627
- */
628
- static navigate(
629
- /**
630
- * Name of the semantic object of the target app
631
- */
632
- sSemanticObject: string,
633
- /**
634
- * Name of the action of the target app
635
- */
636
- sActionName: string,
637
- /**
638
- * Object for storing the state which will be forwarded to the target component.
639
- */
640
- oExternalAppData: {
641
- /**
642
- * Object containing the current ui state of the app which will be forwarded to the target component.
643
- */
644
- presentationVariant?: object;
645
- /**
646
- * Object containing value descriptions which will be forwarded to the target component.
647
- */
648
- valueTexts?: object;
649
- /**
650
- * Stringified JSON object, which will be forwarded to the target component. If not provided the selectionVariant
651
- * will be constructed based on the vNavigationParameters.
652
- */
653
- selectionVariant?: object;
654
- },
655
- /**
656
- * Argument is used to overwrite the FLP-configured target for opening a URL. If used, only the `explace`
657
- * or `inplace` values are allowed. Any other value will lead to an exception `NavigationHandler.INVALID_NAV_MODE`.
658
- */
659
- sNavMode?: string
660
- ): void;
661
- /**
662
- * Parses the incoming URL and returns a Promise. If this method detects a back navigation, the inner app
663
- * state is returned in the resolved Promise. Otherwise startup parameters will be merged into the app state
664
- * provided by cross app navigation, and a combined app state will be returned. The conflict resolution
665
- * can be influenced with sParamHandlingMode defined in the constructor.
666
- *
667
- * @returns A Promise object to monitor when all the actions of the function have been executed. If the
668
- * execution is successful, the extracted app state, the startup parameters, and the type of navigation
669
- * are returned, see also the example above. The app state is an object that contains the following information:
670
- *
671
- * - `oAppData.oSelectionVariant`: An instance of {@link sap.fe.navigation.SelectionVariant} containing
672
- * only parameters/select options that are related to navigation
673
- * - `oAppData.selectionVariant`: The navigation-related selection variant as a JSON-formatted string
674
- *
675
- * - `oAppData.oDefaultedSelectionVariant`: An instance of {@link sap.fe.navigation.SelectionVariant}
676
- * containing only the parameters/select options that are set by user default data
677
- * - `oAppData.bNavSelVarHasDefaultsOnly`: A Boolean flag that indicates whether only defaulted parameters
678
- * and no navigation parameters are present.
679
- * **Note:** If no navigation parameters are available, `bNavSelVarHasDefaultsOnly` is set to `true`, even
680
- * though parameters without default might be available as well. If the navigation-related selection
681
- * variant is empty, it is replaced by a copy of the defaulted selection variant.
682
- * The navigation type is an enumeration type of type {@link sap.fe.navigation.NavType} (possible values
683
- * are initial, URLParams, xAppState, and iAppState).
684
- * **Note:** If the navigation type is {@link sap.fe.navigation.NavType.iAppState} oAppData has two additional
685
- * properties
686
- * - `oAppData.tableVariantId`
687
- * - `oAppData.customData` which return the inner app data as stored in {@link #.navigate navigate}
688
- * or {@link #.storeInnerAppState storeInnerAppState}. `oAppData.oDefaultedSelectionVariant` is an empty
689
- * selection variant and `oAppData.bNavSelVarHasDefaultsOnly` is `false` in this case.
690
- * **Note:** If the navigation type is {@link sap.fe.navigation.NavType.initial} oAppData is an empty object!
691
- * If an error occurs, an error object of type {@link sap.fe.navigation.NavError}, URL parameters (if available)
692
- * and the type of navigation are returned.
693
- */
694
- static parseNavigation(): object;
695
- /**
696
- * Processes navigation-related tasks related to beforePopoverOpens event handling for the SmartLink control
697
- * and returns a Promise object. In particular, the following tasks are performed before the SmartLink popover
698
- * can be opened:
699
- * - If `mInnerAppData` is provided, this inner app state is saved for back navigation at a later time.
700
- *
701
- * - The table event parameters (semantic attributes) and the selection variant data are combined by calling
702
- * the method {@link #.mixAttributesAndSelectionVariant mixAttributesAndSelectionVariant}.
703
- * - The combined data is saved as the cross app state to be handed over to the target app, and the corresponding
704
- * sap-xapp-state key is set in the URL.
705
- * - All single selections ("including equal") of the combined selection data are passed to the SmartLink
706
- * popover as semantic attributes.
707
- * - The method `oTableEventParameters.open()` is called. Note that this does not really open the popover,
708
- * but the SmartLink control proceeds with firing the event `navigationTargetsObtained`. .
709
- *
710
- * @returns A Promise object to monitor when all actions of the function have been executed; if the execution
711
- * is successful, the modified oTableEventParameters is returned; if an error occurs, an error object of
712
- * type {@link sap.fe.navigation.NavError} is returned
713
- */
714
- static processBeforeSmartLinkPopoverOpens(
715
- /**
716
- * The parameters made available by the SmartTable control when the SmartLink control has been clicked,
717
- * an instance of a PopOver object
718
- */
719
- oTableEventParameters: object,
720
- /**
721
- * Stringified JSON object as returned, for example, from getDataSuiteFormat() of the SmartFilterBar control
722
- */
723
- sSelectionVariant: string,
724
- /**
725
- * Object containing the current state of the app. If provided, opening the Popover is deferred until the
726
- * inner app data is saved in a consistent way.
727
- */
728
- mInnerAppData?: {
729
- /**
730
- * Stringified JSON object as returned, for example, from getDataSuiteFormat() of the the SmartFilterBar
731
- * control; if provided, the selection is merged into the semantic attributes
732
- */
733
- selectionVariant?: string;
734
- /**
735
- * ID of the SmartTable variant
736
- */
737
- tableVariantId?: string;
738
- /**
739
- * Object that can be used to store additional app-specific data
740
- */
741
- customData?: object;
742
- /**
743
- * Object containing the current ui presentationVariantof the app
744
- */
745
- presentationVariant?: object;
746
- /**
747
- * Object containing value descriptions
748
- */
749
- valueTexts?: object;
750
- /**
751
- * Object containing semanticDates filter information
752
- */
753
- semanticDates?: object;
754
- },
755
- /**
756
- * Object containing the state which will be passed to the target screen.
757
- */
758
- oExternalAppData?: {
759
- /**
760
- * Object containing selectionVariant, which will be passed to the target screen. If not set the sSelectionVariant
761
- * will be used.
762
- */
763
- selectionVariant?: object;
764
- /**
765
- * Object containing the current ui presentationVariant of the app, which will be passed to the target screen
766
- */
767
- presentationVariant?: object;
768
- /**
769
- * Object containing value descriptions, which will be passed to the target screen
770
- */
771
- valueTexts?: object;
772
- }
773
- ): object;
774
- /**
775
- * Changes the URL according to the current sAppStateKey. As an reaction route change event will be triggered.
776
- */
777
- static replaceHash(
778
- /**
779
- * The new app state key.
780
- */
781
- sAppStateKey: string
782
- ): void;
783
- /**
784
- * Sets the model that is used for verification of sensitive information. If the model is not set, the unnamed
785
- * component model is used for the verification of sensitive information.
786
- */
787
- static setModel(
788
- /**
789
- * For checking sensitive information
790
- */
791
- oModel: sap.ui.model.odata.v2.ODataModel
792
- ): void;
793
- /**
794
- * Sets the application specific technical parameters. Technical parameters will not be added to the selection
795
- * variant passed to the application. As a default the following values are considered as technical parameters:
796
- *
797
- * - `sap-system`
798
- * - `sap-ushell-defaultedParameterNames`
799
- * - `"hcpApplicationId"` .
800
- */
801
- static setTechnicalParameters(
802
- /**
803
- * List of parameter names to be considered as technical parameters. `null` or `undefined` may be used to
804
- * reset the complete list.
805
- */
806
- aTechnicalParameters: any[]
807
- ): void;
808
- /**
809
- * Changes the URL according to the current app state and stores the app state for later retrieval.
810
- *
811
- * @returns A Promise object to monitor when all the actions of the function have been executed; if the
812
- * execution is successful, the app state key is returned; if an error occurs, an object of type {@link
813
- * sap.fe.navigation.NavError} is returned
814
- */
815
- static storeInnerAppState(
816
- /**
817
- * Object containing the current state of the app
818
- */
819
- mInnerAppData: {
820
- /**
821
- * Stringified JSON object as returned, for example, from getDataSuiteFormat() of the SmartFilterBar control
822
- */
823
- selectionVariant: string;
824
- /**
825
- * ID of the SmartTable variant
826
- */
827
- tableVariantId?: string;
828
- /**
829
- * Object that can be used to store additional app-specific data
830
- */
831
- customData?: object;
832
- /**
833
- * Object containing the current ui state of the app
834
- */
835
- presentationVariant?: object;
836
- /**
837
- * Object containing value descriptions
838
- */
839
- valueTexts?: object;
840
- /**
841
- * Object containing semanticDates filter information
842
- */
843
- semanticDates?: object;
844
- },
845
- /**
846
- * If set to false, the inner app hash will not be replaced until storing is successful; do not set to false
847
- * if you cannot react to the resolution of the Promise, for example, when calling the beforeLinkPressed
848
- * event
849
- */
850
- bImmediateHashReplace?: boolean
851
- ): object;
852
- /**
853
- * Changes the URL according to the current app state and stores the app state for later retrieval.
854
- *
855
- * @returns An object containing the appStateId and a promise object to monitor when all the actions of
856
- * the function have been executed; Please note that the appStateKey may be undefined or empty.
857
- */
858
- static storeInnerAppStateWithImmediateReturn(
859
- /**
860
- * Object containing the current state of the app
861
- */
862
- mInnerAppData: {
863
- /**
864
- * Stringified JSON object as returned, for example, from getDataSuiteFormat() of the SmartFilterBar control
865
- */
866
- selectionVariant: string;
867
- /**
868
- * ID of the SmartTable variant
869
- */
870
- tableVariantId?: string;
871
- /**
872
- * Object that can be used to store additional app-specific data
873
- */
874
- customData?: object;
875
- /**
876
- * Object containing the current ui state of the app
877
- */
878
- presentationVariant?: object;
879
- /**
880
- * Object containing value descriptions
881
- */
882
- valueTexts?: object;
883
- /**
884
- * Object containing semanticDates filter information
885
- */
886
- semanticDates?: object;
887
- },
888
- /**
889
- * If set to false, the inner app hash will not be replaced until storing is successful; do not set to false
890
- * if you cannot react to the resolution of the Promise, for example, when calling the beforeLinkPressed
891
- * event. **Note:**If not provided it will be treated as set to false. **Note:**If set to true, the calling
892
- * instance has to ensure that a follow-on call to `replaceHash` will take place!
893
- */
894
- bImmediateHashReplace?: boolean
895
- ): object;
896
- }
897
- /**
898
- * @SINCE 1.83.0
899
- *
900
- * This is the successor of {@link sap.ui.generic.app.navigation.service.PresentationVariant}.
901
- * Creates a new instance of a PresentationVariant class. If no parameter is passed, an new empty instance
902
- * is created whose ID has been set to `""`. Passing a JSON-serialized string complying to the Selection
903
- * Variant Specification will parse it, and the newly created instance will contain the same information.
904
- */
905
- class PresentationVariant extends sap.ui.base.Object {
906
- constructor(
907
- /**
908
- * If of type `string`, the selection variant is JSON-formatted; if of type `object`, the object represents
909
- * a selection variant
910
- */
911
- vPresentationVariant?: string | object
912
- );
913
-
914
- /**
915
- * Creates a new subclass of class sap.fe.navigation.PresentationVariant with name `sClassName` and enriches
916
- * it with the information contained in `oClassInfo`.
917
- *
918
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
919
- *
920
- * @returns Created class / constructor function
921
- */
922
- static extend<T extends Record<string, unknown>>(
923
- /**
924
- * Name of the class being created
925
- */
926
- sClassName: string,
927
- /**
928
- * Object literal with information about the class
929
- */
930
- oClassInfo?: sap.ClassInfo<T, sap.fe.navigation.PresentationVariant>,
931
- /**
932
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
933
- * used by this class
934
- */
935
- FNMetaImpl?: Function
936
- ): Function;
937
- /**
938
- * Gets the chart visualization property.
939
- *
940
- * @returns An object containing the properties to be used for the chart visualization.
941
- */
942
- static getChartVisualization(): Record<string, any>;
943
- /**
944
- * Gets the current context URL intended for the query.
945
- *
946
- * @returns The current context URL for the query
947
- */
948
- static getContextUrl(): string;
949
- /**
950
- * Returns the identification of the selection variant.
951
- *
952
- * @returns The identification of the selection variant as made available during construction
953
- */
954
- static getID(): string;
955
- /**
956
- * Returns a metadata object for class sap.fe.navigation.PresentationVariant.
957
- *
958
- * @returns Metadata object describing this class
959
- */
960
- static getMetadata(): sap.ui.base.Metadata;
961
- /**
962
- * Gets the more trivial properties. Basically all properties with the exception of the Visualization.
963
- *
964
- * @returns The current properties.
965
- */
966
- static getProperties(): Record<string, any>;
967
- /**
968
- * Gets the table visualization property.
969
- *
970
- * @returns An object containing the properties to be used for the table visualization.
971
- */
972
- static getTableVisualization(): Record<string, any>;
973
- /**
974
- * Returns the current text / description of this selection variant.
975
- *
976
- * @returns The current description of this selection variant.
977
- */
978
- static getText(): string;
979
- /**
980
- * Returns `true` if the presentation variant does not contain any properties. nor ranges.
981
- *
982
- * @returns If set to `true` there are no current properties set; `false` otherwise.
983
- */
984
- static isEmpty(): boolean;
985
- /**
986
- * Sets the chart visualization property.
987
- */
988
- static setChartVisualization(
989
- /**
990
- * An object containing the properties to be used for the chart visualization.
991
- */
992
- mProperties: Record<string, any>
993
- ): void;
994
- /**
995
- * Sets the context URL.
996
- */
997
- static setContextUrl(
998
- /**
999
- * The URL of the context
1000
- */
1001
- sURL: string
1002
- ): void;
1003
- /**
1004
- * Sets the identification of the selection variant.
1005
- */
1006
- static setID(
1007
- /**
1008
- * The new identification of the selection variant
1009
- */
1010
- sId: string
1011
- ): void;
1012
- /**
1013
- * Sets the more trivial properties. Basically all properties with the exception of the Visualization.
1014
- */
1015
- static setProperties(
1016
- /**
1017
- * The properties to be used.
1018
- */
1019
- mProperties: Record<string, any>
1020
- ): void;
1021
- /**
1022
- * Sets the table visualization property.
1023
- */
1024
- static setTableVisualization(
1025
- /**
1026
- * An object containing the properties to be used for the table visualization.
1027
- */
1028
- mProperties: Record<string, any>
1029
- ): void;
1030
- /**
1031
- * Sets the text / description of the selection variant.
1032
- */
1033
- static setText(
1034
- /**
1035
- * The new description to be used
1036
- */
1037
- sNewText: string
1038
- ): void;
1039
- /**
1040
- * Returns the external representation of the selection variant as JSON object.
1041
- *
1042
- * @returns The external representation of this instance as a JSON object
1043
- */
1044
- static toJSONObject(): object;
1045
- /**
1046
- * Serializes this instance into a JSON-formatted string.
1047
- *
1048
- * @returns The JSON-formatted representation of this instance in stringified format
1049
- */
1050
- static toJSONString(): string;
1051
- }
1052
- /**
1053
- * @SINCE 1.83.0
1054
- *
1055
- * This is the successor of {@link sap.ui.generic.app.navigation.service.SelectionVariant}.
1056
- * Creates a new instance of a SelectionVariant class. If no parameter is passed, an new empty instance
1057
- * is created whose ID has been set to `""`. Passing a JSON-serialized string complying to the Selection
1058
- * Variant Specification will parse it, and the newly created instance will contain the same information.
1059
- */
1060
- class SelectionVariant extends sap.ui.base.Object {
1061
- constructor(
1062
- /**
1063
- * If of type `string`, the selection variant is JSON-formatted; if of type `object`, the object represents
1064
- * a selection variant
1065
- */
1066
- vSelectionVariant?: string | object
1067
- );
1068
-
1069
- /**
1070
- * Sets the value of a parameter called `sName` to the new value `sValue`. If the parameter has already
1071
- * been set before, its value is overwritten.
1072
- *
1073
- * @returns This instance to allow method chaining
1074
- */
1075
- static addParameter(
1076
- /**
1077
- * The name of the parameter to be set; the `null` value is not allowed
1078
- */
1079
- sName: string,
1080
- /**
1081
- * The value of the parameter to be set
1082
- */
1083
- sValue: string
1084
- ): object;
1085
- /**
1086
- * Adds a new range to the list of select options for a given parameter.
1087
- *
1088
- * @returns This instance to allow method chaining.
1089
- */
1090
- static addSelectOption(
1091
- /**
1092
- * The name of the property for which the selection range is added
1093
- */
1094
- sPropertyName: string,
1095
- /**
1096
- * The sign of the range (**I**nclude or **E**xclude)
1097
- */
1098
- sSign: string,
1099
- /**
1100
- * The option of the range (**EQ** for "equals", **NE** for "not equals", **LE** for "less or equals", **GE**
1101
- * for "greater or equals", **LT** for "less than" (and not equals), **GT** for "greater than" (and not
1102
- * equals), **BT** for "between", or **CP** for "contains pattern" (ABAP-styled pattern matching with the
1103
- * asterisk as wildcard)
1104
- */
1105
- sOption: string,
1106
- /**
1107
- * The single value or the lower boundary of the interval; the `null` value is not allowed
1108
- */
1109
- sLow: string,
1110
- /**
1111
- * Set only if sOption is **BT**: the upper boundary of the interval;
1112
- */
1113
- sHigh?: string,
1114
- /**
1115
- * Text representing the SelectOption. This is an optional parameter, consumption of this parameter is completely
1116
- * decided by the consumer. For an example in most Fiori applications fetch the Text based on the ID and
1117
- * doesn't consider this text property must be `undefined` or `null` in all other cases
1118
- */
1119
- sText?: string
1120
- ): object;
1121
- /**
1122
- * Creates a new subclass of class sap.fe.navigation.SelectionVariant with name `sClassName` and enriches
1123
- * it with the information contained in `oClassInfo`.
1124
- *
1125
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
1126
- *
1127
- * @returns Created class / constructor function
1128
- */
1129
- static extend<T extends Record<string, unknown>>(
1130
- /**
1131
- * Name of the class being created
1132
- */
1133
- sClassName: string,
1134
- /**
1135
- * Object literal with information about the class
1136
- */
1137
- oClassInfo?: sap.ClassInfo<T, sap.fe.navigation.SelectionVariant>,
1138
- /**
1139
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1140
- * used by this class
1141
- */
1142
- FNMetaImpl?: Function
1143
- ): Function;
1144
- /**
1145
- * Gets the current context URL intended for the filters.
1146
- *
1147
- * @returns The current context URL for the filters
1148
- */
1149
- static getFilterContextUrl(): string;
1150
- /**
1151
- * Returns the identification of the selection variant.
1152
- *
1153
- * @returns The identification of the selection variant as made available during construction
1154
- */
1155
- static getID(): string;
1156
- /**
1157
- * Returns a metadata object for class sap.fe.navigation.SelectionVariant.
1158
- *
1159
- * @returns Metadata object describing this class
1160
- */
1161
- static getMetadata(): sap.ui.base.Metadata;
1162
- /**
1163
- * Returns the value of the parameter called `sName` if it has been set. If the parameter has never been
1164
- * set or has been removed, `undefined` is returned.
1165
- *
1166
- * @returns The value of parameter `sName`; returning the value `null` not possible
1167
- */
1168
- static getParameter(
1169
- /**
1170
- * The name of the parameter to be returned
1171
- */
1172
- sName: string
1173
- ): string;
1174
- /**
1175
- * Gets the current context URL intended for the parameters.
1176
- *
1177
- * @returns The current context URL for the parameters
1178
- */
1179
- static getParameterContextUrl(): string;
1180
- /**
1181
- * Returns the set of parameter names available in this selection variant.
1182
- *
1183
- * @returns The list of parameter names which are valid
1184
- */
1185
- static getParameterNames(): any[];
1186
- /**
1187
- * Returns the names of the parameter and select option properties available for this instance.
1188
- *
1189
- * @returns The list of parameter and select option property names available for this instance
1190
- */
1191
- static getPropertyNames(): any[];
1192
- /**
1193
- * Returns the set of select options/ranges available for a given property name.
1194
- *
1195
- * @returns If `sPropertyName` is an invalid name of a property or no range exists, `undefined` is returned;
1196
- * otherwise, an immutable array of ranges is returned. Each entry of the array is an object with the following
1197
- * properties:
1198
- * - `Sign`: The sign of the range
1199
- * - `Option`: The option of the range
1200
- * - `Low`: The low value of the range; returning value `null` is not possible
1201
- * - `High`: The high value of the range; if this value is not necessary, `null` is used For further
1202
- * information about the meaning of the attributes, refer to method `addSelectOption`.
1203
- */
1204
- static getSelectOption(
1205
- /**
1206
- * The name of the property for which the set of select options/ranges is returned
1207
- */
1208
- sPropertyName: string
1209
- ): any[];
1210
- /**
1211
- * Returns the names of the properties available for this instance.
1212
- *
1213
- * @returns The list of property names available for this instance
1214
- */
1215
- static getSelectOptionsPropertyNames(): any[];
1216
- /**
1217
- * Returns the current text / description of this selection variant.
1218
- *
1219
- * @returns The current description of this selection variant.
1220
- */
1221
- static getText(): string;
1222
- /**
1223
- * First tries to retrieve the set of select options/ranges available for `sName` as property name. If successful,
1224
- * this array of selections is being returned. If it fails, an attempt to find a parameter, whose name is
1225
- * `sName`, is made. If the latter succeeds, the single value is converted to fit into an array of selections
1226
- * to make it type compatible with ranges. This array is then returned. If neither a select option
1227
- * nor a parameter could be found, `undefined` is returned.
1228
- *
1229
- * @returns The ranges in the select options for the specified property or a range-converted representation
1230
- * of a parameter is returned. If both lookups fail, `undefined` is returned. The returned ranges
1231
- * have the format:
1232
- * - `Sign`: The sign of the range
1233
- * - `Option`: The option of the range
1234
- * - `Low`: The low value of the range; returning the value `null` is not possible
1235
- * - `High`: The high value of the range; if this value is not necessary, `null` (but does exist)
1236
- * For further information on the meaning of the attributes, refer to method {@link #.addSelectOption addSelectOption}.
1237
- */
1238
- static getValue(
1239
- /**
1240
- * The name of the attribute for which the value is retrieved
1241
- */
1242
- sName: string
1243
- ): any[];
1244
- /**
1245
- * Returns `true` if the selection variant does neither contain parameters nor ranges.
1246
- *
1247
- * @returns If set to `true` there are no parameters and no select options available in the selection variant;
1248
- * `false` otherwise.
1249
- */
1250
- static isEmpty(): boolean;
1251
- /**
1252
- * Adds a set of select options to the list of select options for a given parameter.
1253
- *
1254
- * @returns This instance to allow method chaining
1255
- */
1256
- static massAddSelectOption(
1257
- /**
1258
- * The name of the property for which the set of select options is added
1259
- */
1260
- sPropertyName: string,
1261
- /**
1262
- * Set of select options to be added
1263
- */
1264
- aSelectOptions: any[]
1265
- ): object;
1266
- /**
1267
- * Removes a parameter called `sName` from the selection variant.
1268
- *
1269
- * @returns This instance to allow method chaining
1270
- */
1271
- static removeParameter(
1272
- /**
1273
- * The name of the parameter to be removed
1274
- */
1275
- sName: string
1276
- ): object;
1277
- /**
1278
- * Removes a select option called `sName` from the selection variant.
1279
- *
1280
- * @returns This instance to allow method chaining.
1281
- */
1282
- static removeSelectOption(
1283
- /**
1284
- * The name of the select option to be removed
1285
- */
1286
- sName: string
1287
- ): object;
1288
- /**
1289
- * Renames a parameter called `sNameOld` to `sNameNew`. If a parameter or a select option with the name
1290
- * `sNameNew` already exist, an error is thrown. If a parameter with the name `sNameOld` does not exist,
1291
- * nothing is changed.
1292
- *
1293
- * @returns This instance to allow method chaining
1294
- */
1295
- static renameParameter(
1296
- /**
1297
- * The current name of the parameter to be renamed
1298
- */
1299
- sNameOld: string,
1300
- /**
1301
- * The new name of the parameter
1302
- */
1303
- sNameNew: string
1304
- ): object;
1305
- /**
1306
- * Renames a select option called `sNameOld` to `sNameNew`. If a select option or a parameter with the name
1307
- * `sNameNew` already exist, an error is thrown. If a select option with the name `sNameOld` does not exist,
1308
- * nothing is changed.
1309
- *
1310
- * @returns This instance to allow method chaining
1311
- */
1312
- static renameSelectOption(
1313
- /**
1314
- * The current name of the select option property to be renamed
1315
- */
1316
- sNameOld: string,
1317
- /**
1318
- * The new name of the select option property
1319
- */
1320
- sNameNew: string
1321
- ): object;
1322
- /**
1323
- * Sets the context URL intended for the filters.
1324
- */
1325
- static setFilterContextUrl(
1326
- /**
1327
- * The URL of the filters
1328
- */
1329
- sURL: string
1330
- ): void;
1331
- /**
1332
- * Sets the identification of the selection variant.
1333
- */
1334
- static setID(
1335
- /**
1336
- * The new identification of the selection variant
1337
- */
1338
- sId: string
1339
- ): void;
1340
- /**
1341
- * Sets the context URL intended for the parameters.
1342
- */
1343
- static setParameterContextUrl(
1344
- /**
1345
- * The URL of the parameter context
1346
- */
1347
- sURL: string
1348
- ): void;
1349
- /**
1350
- * Sets the text / description of the selection variant.
1351
- */
1352
- static setText(
1353
- /**
1354
- * The new description to be used
1355
- */
1356
- sNewText: string
1357
- ): void;
1358
- /**
1359
- * Returns the external representation of the selection variant as JSON object.
1360
- *
1361
- * @returns The external representation of this instance as a JSON object
1362
- */
1363
- static toJSONObject(): object;
1364
- /**
1365
- * Serializes this instance into a JSON-formatted string.
1366
- *
1367
- * @returns The JSON-formatted representation of this instance in stringified format
1368
- */
1369
- static toJSONString(): string;
1370
- }
1371
69
  /**
1372
70
  * @SINCE 1.83.0
1373
71
  *
@@ -1406,11 +104,5 @@ declare namespace sap {
1406
104
  "sap/fe/navigation/library": undefined;
1407
105
 
1408
106
  "sap/fe/navigation/NavError": undefined;
1409
-
1410
- "sap/fe/navigation/NavigationHandler": undefined;
1411
-
1412
- "sap/fe/navigation/PresentationVariant": undefined;
1413
-
1414
- "sap/fe/navigation/SelectionVariant": undefined;
1415
107
  }
1416
108
  }