@sapui5/types 1.122.2 → 1.123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +408 -32
- package/types/sap.chart.d.ts +58 -6
- package/types/sap.collaboration.d.ts +52 -9
- package/types/sap.esh.search.ui.d.ts +2066 -2
- package/types/sap.f.d.ts +435 -98
- package/types/sap.fe.core.d.ts +9 -3
- package/types/sap.fe.macros.d.ts +1075 -70
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +8 -6
- package/types/sap.fe.test.d.ts +309 -7
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +1066 -146
- package/types/sap.insights.d.ts +4 -2
- package/types/sap.m.d.ts +3961 -399
- package/types/sap.makit.d.ts +115 -14
- package/types/sap.me.d.ts +84 -7
- package/types/sap.ndc.d.ts +22 -2
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +44 -11
- package/types/sap.sac.df.d.ts +119 -67
- package/types/sap.suite.ui.commons.d.ts +1146 -2474
- package/types/sap.suite.ui.generic.template.d.ts +10 -2
- package/types/sap.suite.ui.microchart.d.ts +190 -28
- package/types/sap.tnt.d.ts +46 -10
- package/types/sap.ui.codeeditor.d.ts +16 -2
- package/types/sap.ui.commons.d.ts +797 -121
- package/types/sap.ui.comp.d.ts +964 -124
- package/types/sap.ui.core.d.ts +13204 -12618
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +22 -5
- package/types/sap.ui.fl.d.ts +40 -3
- package/types/sap.ui.generic.app.d.ts +217 -201
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +147 -9
- package/types/sap.ui.layout.d.ts +171 -47
- package/types/sap.ui.mdc.d.ts +554 -71
- package/types/sap.ui.richtexteditor.d.ts +28 -2
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +27 -3
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +278 -74
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +481 -42
- package/types/sap.ui.ux3.d.ts +527 -34
- package/types/sap.ui.vbm.d.ts +544 -48
- package/types/sap.ui.vk.d.ts +1588 -133
- package/types/sap.ui.vtm.d.ts +373 -27
- package/types/sap.ui.webc.common.d.ts +7 -1
- package/types/sap.ui.webc.fiori.d.ts +351 -29
- package/types/sap.ui.webc.main.d.ts +1035 -83
- package/types/sap.uiext.inbox.d.ts +124 -13
- package/types/sap.ushell.d.ts +1081 -383
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +123 -23
- package/types/sap.viz.d.ts +2619 -130
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +35 -15
- package/types/sap.zen.crosstab.d.ts +22 -10
- package/types/sap.zen.dsh.d.ts +64 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.123.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/generic/app/library" {
|
|
4
4
|
export namespace navigation {
|
|
@@ -365,7 +365,7 @@ declare module "sap/ui/generic/app/navigation/service/NavError" {
|
|
|
365
365
|
/**
|
|
366
366
|
* Returns the error code with which the instance has been created.
|
|
367
367
|
*
|
|
368
|
-
* @deprecated (since 1.83.0)
|
|
368
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavError#getErrorCode} instead.
|
|
369
369
|
*
|
|
370
370
|
* @returns The error code of the error
|
|
371
371
|
*/
|
|
@@ -380,6 +380,8 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
380
380
|
|
|
381
381
|
import Metadata from "sap/ui/base/Metadata";
|
|
382
382
|
|
|
383
|
+
import SelectionVariant from "sap/ui/generic/app/navigation/service/SelectionVariant";
|
|
384
|
+
|
|
383
385
|
/**
|
|
384
386
|
* Creates a new NavigationHandler class by providing the required environment.
|
|
385
387
|
* The `NavigationHandler` supports the verification of sensitive information. All properties that are
|
|
@@ -412,26 +414,6 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
412
414
|
sParamHandlingMode?: string
|
|
413
415
|
);
|
|
414
416
|
|
|
415
|
-
/**
|
|
416
|
-
* The method creates a context url based on provided data. This context url can either be used as {@link sap.ui.generic.app.navigation.service.NavigationHandler#setParameterContextUrl ParameterContextUrl }
|
|
417
|
-
* or {@link sap.ui.generic.app.navigation.service.NavigationHandler#setFilterContextUrl FilterContextUrl}
|
|
418
|
-
*
|
|
419
|
-
* @since 1.60.2
|
|
420
|
-
* @deprecated (since 1.83.0)
|
|
421
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
422
|
-
*
|
|
423
|
-
* @returns context url for the given entities
|
|
424
|
-
*/
|
|
425
|
-
static constructContextUrl(
|
|
426
|
-
/**
|
|
427
|
-
* used for url determination
|
|
428
|
-
*/
|
|
429
|
-
sEntitySetName: string,
|
|
430
|
-
/**
|
|
431
|
-
* used for url determination. If omitted, the NavigationHandler model is used.
|
|
432
|
-
*/
|
|
433
|
-
oModel?: ODataModel
|
|
434
|
-
): string;
|
|
435
417
|
/**
|
|
436
418
|
* Creates a new subclass of class sap.ui.generic.app.navigation.service.NavigationHandler with name `sClassName`
|
|
437
419
|
* and enriches it with the information contained in `oClassInfo`.
|
|
@@ -463,6 +445,27 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
463
445
|
* @returns Metadata object describing this class
|
|
464
446
|
*/
|
|
465
447
|
static getMetadata(): Metadata;
|
|
448
|
+
/**
|
|
449
|
+
* The method creates a context url based on provided data. This context url can either be used as {@link sap.ui.generic.app.navigation.service.NavigationHandler#setParameterContextUrl ParameterContextUrl }
|
|
450
|
+
* or {@link sap.ui.generic.app.navigation.service.NavigationHandler#setFilterContextUrl FilterContextUrl}
|
|
451
|
+
*
|
|
452
|
+
* @since 1.60.2
|
|
453
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#constructContextUrl }
|
|
454
|
+
* instead.
|
|
455
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
456
|
+
*
|
|
457
|
+
* @returns context url for the given entities
|
|
458
|
+
*/
|
|
459
|
+
constructContextUrl(
|
|
460
|
+
/**
|
|
461
|
+
* used for url determination
|
|
462
|
+
*/
|
|
463
|
+
sEntitySetName: string,
|
|
464
|
+
/**
|
|
465
|
+
* used for url determination. If omitted, the NavigationHandler model is used.
|
|
466
|
+
*/
|
|
467
|
+
oModel?: ODataModel
|
|
468
|
+
): string;
|
|
466
469
|
/**
|
|
467
470
|
* Gets the application specific technical parameters. Technical parameters will not be added to the selection
|
|
468
471
|
* variant passed to the application. As a default the following values are considered as technical parameters:
|
|
@@ -471,11 +474,12 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
471
474
|
* - `sap-ushell-defaultedParameterNames`
|
|
472
475
|
* - `"hcpApplicationId"`
|
|
473
476
|
*
|
|
474
|
-
* @deprecated (since 1.83.0)
|
|
477
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#getTechnicalParameters }
|
|
478
|
+
* instead.
|
|
475
479
|
*
|
|
476
480
|
* @returns Containing the technical parameters.
|
|
477
481
|
*/
|
|
478
|
-
|
|
482
|
+
getTechnicalParameters(): any[];
|
|
479
483
|
/**
|
|
480
484
|
* Combines the given parameters and selection variant into a new selection variant containing properties
|
|
481
485
|
* from both, with the parameters overriding existing properties in the selection variant. The new selection
|
|
@@ -483,11 +487,12 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
483
487
|
* this function, converted to a JSON string, can be used for the {@link #.navigate NavigationHandler.navigate }
|
|
484
488
|
* method.
|
|
485
489
|
*
|
|
486
|
-
* @deprecated (since 1.83.0)
|
|
490
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#mixAttributesAndSelectionVariant }
|
|
491
|
+
* instead.
|
|
487
492
|
*
|
|
488
493
|
* @returns Instance of {@link sap.ui.generic.app.navigation.service.SelectionVariant}
|
|
489
494
|
*/
|
|
490
|
-
|
|
495
|
+
mixAttributesAndSelectionVariant(
|
|
491
496
|
/**
|
|
492
497
|
* Object containing key/value pairs
|
|
493
498
|
*/
|
|
@@ -502,14 +507,15 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
502
507
|
* can be combined with the bitwise OR operator (|)
|
|
503
508
|
*/
|
|
504
509
|
iSuppressionBehavior?: int
|
|
505
|
-
):
|
|
510
|
+
): SelectionVariant;
|
|
506
511
|
/**
|
|
507
512
|
* Triggers a cross-app navigation after saving the inner and the cross-app states. Since 1.52.0 the navigation
|
|
508
513
|
* mode based on `sap-ushell-next-navmode` is taken into account. If set to `explace` the inner app state
|
|
509
514
|
* will not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad
|
|
510
515
|
* default navigation for opening a URL in-place or ex-place.
|
|
511
516
|
*
|
|
512
|
-
* @deprecated (since 1.83.0) -
|
|
517
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#navigate} instead.
|
|
518
|
+
*
|
|
513
519
|
* **Node:** If the `oExternalAppData` parameter is not supplied, the external app data will be calculated
|
|
514
520
|
* based on the `oInnerAppData` data.
|
|
515
521
|
* SmartFilterBar control **Parameters:** {object} **oError**
|
|
@@ -520,7 +526,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
520
526
|
* An array of objects (typically strings) that describe additional value parameters required for generating
|
|
521
527
|
* the message
|
|
522
528
|
*/
|
|
523
|
-
|
|
529
|
+
navigate(
|
|
524
530
|
/**
|
|
525
531
|
* Name of the semantic object of the target app
|
|
526
532
|
*/
|
|
@@ -598,7 +604,8 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
598
604
|
* will not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad
|
|
599
605
|
* default navigation for opening a URL in-place or ex-place.
|
|
600
606
|
*
|
|
601
|
-
* @deprecated (since 1.83.0) -
|
|
607
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#navigate} instead.
|
|
608
|
+
*
|
|
602
609
|
* **Node:** If the `oExternalAppData` parameter is not supplied, the external app data will be calculated
|
|
603
610
|
* based on the `oInnerAppData` data.
|
|
604
611
|
* SmartFilterBar control **Parameters:** {object} **oError**
|
|
@@ -609,7 +616,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
609
616
|
* An array of objects (typically strings) that describe additional value parameters required for generating
|
|
610
617
|
* the message
|
|
611
618
|
*/
|
|
612
|
-
|
|
619
|
+
navigate(
|
|
613
620
|
/**
|
|
614
621
|
* Name of the semantic object of the target app
|
|
615
622
|
*/
|
|
@@ -683,7 +690,8 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
683
690
|
* will not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad
|
|
684
691
|
* default navigation for opening a URL in-place or ex-place.
|
|
685
692
|
*
|
|
686
|
-
* @deprecated (since 1.83.0) -
|
|
693
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#navigate} instead.
|
|
694
|
+
*
|
|
687
695
|
* **Node:** If the `oExternalAppData` parameter is not supplied, the external app data will be calculated
|
|
688
696
|
* based on the `oInnerAppData` data.
|
|
689
697
|
* SmartFilterBar control **Parameters:** {object} **oError**
|
|
@@ -694,7 +702,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
694
702
|
* An array of objects (typically strings) that describe additional value parameters required for generating
|
|
695
703
|
* the message
|
|
696
704
|
*/
|
|
697
|
-
|
|
705
|
+
navigate(
|
|
698
706
|
/**
|
|
699
707
|
* Name of the semantic object of the target app
|
|
700
708
|
*/
|
|
@@ -743,7 +751,8 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
743
751
|
* will not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad
|
|
744
752
|
* default navigation for opening a URL in-place or ex-place.
|
|
745
753
|
*
|
|
746
|
-
* @deprecated (since 1.83.0) -
|
|
754
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#navigate} instead.
|
|
755
|
+
*
|
|
747
756
|
* **Node:** If the `oExternalAppData` parameter is not supplied, the external app data will be calculated
|
|
748
757
|
* based on the `oInnerAppData` data.
|
|
749
758
|
* SmartFilterBar control **Parameters:** {object} **oError**
|
|
@@ -754,7 +763,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
754
763
|
* An array of objects (typically strings) that describe additional value parameters required for generating
|
|
755
764
|
* the message
|
|
756
765
|
*/
|
|
757
|
-
|
|
766
|
+
navigate(
|
|
758
767
|
/**
|
|
759
768
|
* Name of the semantic object of the target app
|
|
760
769
|
*/
|
|
@@ -826,7 +835,8 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
826
835
|
* will not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad
|
|
827
836
|
* default navigation for opening a URL in-place or ex-place.
|
|
828
837
|
*
|
|
829
|
-
* @deprecated (since 1.83.0) -
|
|
838
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#navigate} instead.
|
|
839
|
+
*
|
|
830
840
|
* **Node:** If the `oExternalAppData` parameter is not supplied, the external app data will be calculated
|
|
831
841
|
* based on the `oInnerAppData` data.
|
|
832
842
|
* SmartFilterBar control **Parameters:** {object} **oError**
|
|
@@ -837,7 +847,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
837
847
|
* An array of objects (typically strings) that describe additional value parameters required for generating
|
|
838
848
|
* the message
|
|
839
849
|
*/
|
|
840
|
-
|
|
850
|
+
navigate(
|
|
841
851
|
/**
|
|
842
852
|
* Name of the semantic object of the target app
|
|
843
853
|
*/
|
|
@@ -882,7 +892,8 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
882
892
|
* will not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad
|
|
883
893
|
* default navigation for opening a URL in-place or ex-place.
|
|
884
894
|
*
|
|
885
|
-
* @deprecated (since 1.83.0) -
|
|
895
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#navigate} instead.
|
|
896
|
+
*
|
|
886
897
|
* **Node:** If the `oExternalAppData` parameter is not supplied, the external app data will be calculated
|
|
887
898
|
* based on the `oInnerAppData` data.
|
|
888
899
|
* SmartFilterBar control **Parameters:** {object} **oError**
|
|
@@ -893,7 +904,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
893
904
|
* An array of objects (typically strings) that describe additional value parameters required for generating
|
|
894
905
|
* the message
|
|
895
906
|
*/
|
|
896
|
-
|
|
907
|
+
navigate(
|
|
897
908
|
/**
|
|
898
909
|
* Name of the semantic object of the target app
|
|
899
910
|
*/
|
|
@@ -961,7 +972,8 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
961
972
|
* will not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad
|
|
962
973
|
* default navigation for opening a URL in-place or ex-place.
|
|
963
974
|
*
|
|
964
|
-
* @deprecated (since 1.83.0) -
|
|
975
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#navigate} instead.
|
|
976
|
+
*
|
|
965
977
|
* **Node:** If the `oExternalAppData` parameter is not supplied, the external app data will be calculated
|
|
966
978
|
* based on the `oInnerAppData` data.
|
|
967
979
|
* SmartFilterBar control **Parameters:** {object} **oError**
|
|
@@ -972,7 +984,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
972
984
|
* An array of objects (typically strings) that describe additional value parameters required for generating
|
|
973
985
|
* the message
|
|
974
986
|
*/
|
|
975
|
-
|
|
987
|
+
navigate(
|
|
976
988
|
/**
|
|
977
989
|
* Name of the semantic object of the target app
|
|
978
990
|
*/
|
|
@@ -1015,7 +1027,8 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1015
1027
|
* will not be changed. **Note:** The `sNavMode` argument can be used to overwrite the SAP Fiori launchpad
|
|
1016
1028
|
* default navigation for opening a URL in-place or ex-place.
|
|
1017
1029
|
*
|
|
1018
|
-
* @deprecated (since 1.83.0) -
|
|
1030
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#navigate} instead.
|
|
1031
|
+
*
|
|
1019
1032
|
* **Node:** If the `oExternalAppData` parameter is not supplied, the external app data will be calculated
|
|
1020
1033
|
* based on the `oInnerAppData` data.
|
|
1021
1034
|
* SmartFilterBar control **Parameters:** {object} **oError**
|
|
@@ -1026,7 +1039,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1026
1039
|
* An array of objects (typically strings) that describe additional value parameters required for generating
|
|
1027
1040
|
* the message
|
|
1028
1041
|
*/
|
|
1029
|
-
|
|
1042
|
+
navigate(
|
|
1030
1043
|
/**
|
|
1031
1044
|
* Name of the semantic object of the target app
|
|
1032
1045
|
*/
|
|
@@ -1065,7 +1078,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1065
1078
|
* provided by cross app navigation, and a combined app state will be returned. The conflict resolution
|
|
1066
1079
|
* can be influenced with sParamHandlingMode defined in the constructor.
|
|
1067
1080
|
*
|
|
1068
|
-
* @deprecated (since 1.83.0)
|
|
1081
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#parseNavigation} instead.
|
|
1069
1082
|
*
|
|
1070
1083
|
* @returns A Promise object to monitor when all the actions of the function have been executed. If the
|
|
1071
1084
|
* execution is successful, the extracted app state, the startup parameters, and the type of navigation
|
|
@@ -1095,7 +1108,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1095
1108
|
* If an error occurs, an error object of type {@link sap.ui.generic.app.navigation.service.NavError},
|
|
1096
1109
|
* URL parameters (if available) and the type of navigation are returned.
|
|
1097
1110
|
*/
|
|
1098
|
-
|
|
1111
|
+
parseNavigation(): object;
|
|
1099
1112
|
/**
|
|
1100
1113
|
* Processes navigation-related tasks related to beforePopoverOpens event handling for the SmartLink control
|
|
1101
1114
|
* and returns a Promise object. In particular, the following tasks are performed before the SmartLink popover
|
|
@@ -1111,7 +1124,8 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1111
1124
|
* - The method `oTableEventParameters.open()` is called. Note that this does not really open the popover,
|
|
1112
1125
|
* but the SmartLink control proceeds with firing the event `navigationTargetsObtained`.
|
|
1113
1126
|
*
|
|
1114
|
-
* @deprecated (since 1.83.0) -
|
|
1127
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#processBeforeSmartLinkPopoverOpens }
|
|
1128
|
+
* instead.
|
|
1115
1129
|
* **Node:** If the `oExternalAppData` parameter is not supplied, the external app data will be calculated
|
|
1116
1130
|
* based on the `mInnerAppData` data.
|
|
1117
1131
|
*
|
|
@@ -1120,7 +1134,7 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1120
1134
|
* is successful, the modified oTableEventParameters is returned; if an error occurs, an error object of
|
|
1121
1135
|
* type {@link sap.ui.generic.app.navigation.service.NavError} is returned
|
|
1122
1136
|
*/
|
|
1123
|
-
|
|
1137
|
+
processBeforeSmartLinkPopoverOpens(
|
|
1124
1138
|
/**
|
|
1125
1139
|
* The parameters made available by the SmartTable control when the SmartLink control has been clicked,
|
|
1126
1140
|
* an instance of a PopOver object
|
|
@@ -1179,13 +1193,13 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1179
1193
|
*/
|
|
1180
1194
|
valueTexts?: object;
|
|
1181
1195
|
}
|
|
1182
|
-
):
|
|
1196
|
+
): jQuery.Promise<any>;
|
|
1183
1197
|
/**
|
|
1184
1198
|
* Changes the URL according to the current sAppStateKey. As an reaction route change event will be triggered.
|
|
1185
1199
|
*
|
|
1186
|
-
* @deprecated (since 1.83.0)
|
|
1200
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#replaceHash} instead.
|
|
1187
1201
|
*/
|
|
1188
|
-
|
|
1202
|
+
replaceHash(
|
|
1189
1203
|
/**
|
|
1190
1204
|
* the new app state key.
|
|
1191
1205
|
*/
|
|
@@ -1196,9 +1210,9 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1196
1210
|
* component model is used for the verification of sensitive information.
|
|
1197
1211
|
*
|
|
1198
1212
|
* @since 1.60.0
|
|
1199
|
-
* @deprecated (since 1.83.0)
|
|
1213
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#setModel} instead.
|
|
1200
1214
|
*/
|
|
1201
|
-
|
|
1215
|
+
setModel(
|
|
1202
1216
|
/**
|
|
1203
1217
|
* for checking sensitive information
|
|
1204
1218
|
*/
|
|
@@ -1212,9 +1226,10 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1212
1226
|
* - `sap-ushell-defaultedParameterNames`
|
|
1213
1227
|
* - `"hcpApplicationId"`
|
|
1214
1228
|
*
|
|
1215
|
-
* @deprecated (since 1.83.0)
|
|
1229
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#setTechnicalParameters }
|
|
1230
|
+
* instead.
|
|
1216
1231
|
*/
|
|
1217
|
-
|
|
1232
|
+
setTechnicalParameters(
|
|
1218
1233
|
/**
|
|
1219
1234
|
* list of parameter names to be considered as technical parameters. `null` or `undefined` may be used to
|
|
1220
1235
|
* reset the complete list.
|
|
@@ -1224,13 +1239,14 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1224
1239
|
/**
|
|
1225
1240
|
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
1226
1241
|
*
|
|
1227
|
-
* @deprecated (since 1.83.0)
|
|
1242
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#storeInnerAppStateAsync }
|
|
1243
|
+
* instead.
|
|
1228
1244
|
*
|
|
1229
1245
|
* @returns A Promise object to monitor when all the actions of the function have been executed; if the
|
|
1230
1246
|
* execution is successful, the app state key is returned; if an error occurs, an object of type {@link sap.ui.generic.app.navigation.service.NavError }
|
|
1231
1247
|
* is returned
|
|
1232
1248
|
*/
|
|
1233
|
-
|
|
1249
|
+
storeInnerAppState(
|
|
1234
1250
|
/**
|
|
1235
1251
|
* Object containing the current state of the app
|
|
1236
1252
|
*/
|
|
@@ -1266,16 +1282,17 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1266
1282
|
* event
|
|
1267
1283
|
*/
|
|
1268
1284
|
bImmediateHashReplace?: boolean
|
|
1269
|
-
):
|
|
1285
|
+
): jQuery.Promise<string>;
|
|
1270
1286
|
/**
|
|
1271
1287
|
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
1272
1288
|
*
|
|
1273
|
-
* @deprecated (since 1.83.0)
|
|
1289
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavigationHandler#storeInnerAppStateAsync }
|
|
1290
|
+
* instead.
|
|
1274
1291
|
*
|
|
1275
1292
|
* @returns An object containing the appStateId and a promise object to monitor when all the actions of
|
|
1276
1293
|
* the function have been executed; Please note that the appStateKey may be undefined or empty.
|
|
1277
1294
|
*/
|
|
1278
|
-
|
|
1295
|
+
storeInnerAppStateWithImmediateReturn(
|
|
1279
1296
|
/**
|
|
1280
1297
|
* Object containing the current state of the app
|
|
1281
1298
|
*/
|
|
@@ -1317,7 +1334,11 @@ declare module "sap/ui/generic/app/navigation/service/NavigationHandler" {
|
|
|
1317
1334
|
}
|
|
1318
1335
|
|
|
1319
1336
|
declare module "sap/ui/generic/app/navigation/service/PresentationVariant" {
|
|
1320
|
-
import
|
|
1337
|
+
import {
|
|
1338
|
+
default as PresentationVariant1,
|
|
1339
|
+
Visualization,
|
|
1340
|
+
ExternalPresentationVariant,
|
|
1341
|
+
} from "sap/fe/navigation/PresentationVariant";
|
|
1321
1342
|
|
|
1322
1343
|
import Metadata from "sap/ui/base/Metadata";
|
|
1323
1344
|
|
|
@@ -1361,75 +1382,78 @@ declare module "sap/ui/generic/app/navigation/service/PresentationVariant" {
|
|
|
1361
1382
|
*/
|
|
1362
1383
|
FNMetaImpl?: Function
|
|
1363
1384
|
): Function;
|
|
1385
|
+
/**
|
|
1386
|
+
* Returns a metadata object for class sap.ui.generic.app.navigation.service.PresentationVariant.
|
|
1387
|
+
*
|
|
1388
|
+
*
|
|
1389
|
+
* @returns Metadata object describing this class
|
|
1390
|
+
*/
|
|
1391
|
+
static getMetadata(): Metadata;
|
|
1364
1392
|
/**
|
|
1365
1393
|
* Gets the chart visualization property.
|
|
1366
1394
|
*
|
|
1367
|
-
* @deprecated (since 1.83.0)
|
|
1395
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#getChartVisualization }
|
|
1396
|
+
* instead.
|
|
1368
1397
|
*
|
|
1369
1398
|
* @returns mProperties to be used for the chart visualization.
|
|
1370
1399
|
*/
|
|
1371
|
-
|
|
1400
|
+
getChartVisualization(): Visualization | undefined;
|
|
1372
1401
|
/**
|
|
1373
1402
|
* Gets the current context URL intended for the query.
|
|
1374
1403
|
*
|
|
1375
|
-
* @deprecated (since 1.83.0)
|
|
1404
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#getContextUrl} instead.
|
|
1376
1405
|
*
|
|
1377
1406
|
* @returns The current context URL for the query
|
|
1378
1407
|
*/
|
|
1379
|
-
|
|
1408
|
+
getContextUrl(): string;
|
|
1380
1409
|
/**
|
|
1381
1410
|
* Returns the identification of the selection variant.
|
|
1382
1411
|
*
|
|
1383
|
-
* @deprecated (since 1.83.0)
|
|
1412
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#getID} instead.
|
|
1384
1413
|
*
|
|
1385
1414
|
* @returns The identification of the selection variant as made available during construction
|
|
1386
1415
|
*/
|
|
1387
|
-
|
|
1388
|
-
/**
|
|
1389
|
-
* Returns a metadata object for class sap.ui.generic.app.navigation.service.PresentationVariant.
|
|
1390
|
-
*
|
|
1391
|
-
*
|
|
1392
|
-
* @returns Metadata object describing this class
|
|
1393
|
-
*/
|
|
1394
|
-
static getMetadata(): Metadata;
|
|
1416
|
+
getID(): string;
|
|
1395
1417
|
/**
|
|
1396
1418
|
* Gets the more trivial properties. Basically all properties with the exception of the Visualization.
|
|
1397
1419
|
*
|
|
1398
|
-
* @deprecated (since 1.83.0)
|
|
1420
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#getProperties} instead.
|
|
1399
1421
|
*
|
|
1400
1422
|
* @returns The current properties.
|
|
1401
1423
|
*/
|
|
1402
|
-
|
|
1424
|
+
getProperties(): Record<string, any>;
|
|
1403
1425
|
/**
|
|
1404
1426
|
* Gets the table visualization property.
|
|
1405
1427
|
*
|
|
1406
|
-
* @deprecated (since 1.83.0)
|
|
1428
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#getTableVisualization }
|
|
1429
|
+
* instead.
|
|
1407
1430
|
*
|
|
1408
1431
|
* @returns mProperties to be used for the table visualization.
|
|
1409
1432
|
*/
|
|
1410
|
-
|
|
1433
|
+
getTableVisualization(): Visualization | undefined;
|
|
1411
1434
|
/**
|
|
1412
1435
|
* Returns the current text / description of this selection variant.
|
|
1413
1436
|
*
|
|
1414
|
-
* @deprecated (since 1.83.0)
|
|
1437
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#getText} instead.
|
|
1415
1438
|
*
|
|
1416
1439
|
* @returns the current description of this selection variant.
|
|
1417
1440
|
*/
|
|
1418
|
-
|
|
1441
|
+
getText(): string;
|
|
1419
1442
|
/**
|
|
1420
1443
|
* Returns `true` if the presentation variant does not contain any properties. nor ranges.
|
|
1421
1444
|
*
|
|
1422
|
-
* @deprecated (since 1.83.0)
|
|
1445
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#isEmpty} instead.
|
|
1423
1446
|
*
|
|
1424
1447
|
* @returns If set to `true` there are no current properties set; `false` otherwise.
|
|
1425
1448
|
*/
|
|
1426
|
-
|
|
1449
|
+
isEmpty(): boolean;
|
|
1427
1450
|
/**
|
|
1428
1451
|
* Sets the chart visualization property.
|
|
1429
1452
|
*
|
|
1430
|
-
* @deprecated (since 1.83.0)
|
|
1453
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#setChartVisualization }
|
|
1454
|
+
* instead.
|
|
1431
1455
|
*/
|
|
1432
|
-
|
|
1456
|
+
setChartVisualization(
|
|
1433
1457
|
/**
|
|
1434
1458
|
* to be used for the chart visualization.
|
|
1435
1459
|
*/
|
|
@@ -1438,9 +1462,9 @@ declare module "sap/ui/generic/app/navigation/service/PresentationVariant" {
|
|
|
1438
1462
|
/**
|
|
1439
1463
|
* Sets the context URL.
|
|
1440
1464
|
*
|
|
1441
|
-
* @deprecated (since 1.83.0)
|
|
1465
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#setContextUrl} instead.
|
|
1442
1466
|
*/
|
|
1443
|
-
|
|
1467
|
+
setContextUrl(
|
|
1444
1468
|
/**
|
|
1445
1469
|
* The URL of the context
|
|
1446
1470
|
*/
|
|
@@ -1449,9 +1473,9 @@ declare module "sap/ui/generic/app/navigation/service/PresentationVariant" {
|
|
|
1449
1473
|
/**
|
|
1450
1474
|
* Sets the identification of the selection variant.
|
|
1451
1475
|
*
|
|
1452
|
-
* @deprecated (since 1.83.0)
|
|
1476
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#setID} instead.
|
|
1453
1477
|
*/
|
|
1454
|
-
|
|
1478
|
+
setID(
|
|
1455
1479
|
/**
|
|
1456
1480
|
* The new identification of the selection variant
|
|
1457
1481
|
*/
|
|
@@ -1460,9 +1484,9 @@ declare module "sap/ui/generic/app/navigation/service/PresentationVariant" {
|
|
|
1460
1484
|
/**
|
|
1461
1485
|
* Sets the more trivial properties. Basically all properties with the exception of the Visualization.
|
|
1462
1486
|
*
|
|
1463
|
-
* @deprecated (since 1.83.0)
|
|
1487
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#setProperties} instead.
|
|
1464
1488
|
*/
|
|
1465
|
-
|
|
1489
|
+
setProperties(
|
|
1466
1490
|
/**
|
|
1467
1491
|
* properties to be used.
|
|
1468
1492
|
*/
|
|
@@ -1471,9 +1495,10 @@ declare module "sap/ui/generic/app/navigation/service/PresentationVariant" {
|
|
|
1471
1495
|
/**
|
|
1472
1496
|
* Sets the table visualization property.
|
|
1473
1497
|
*
|
|
1474
|
-
* @deprecated (since 1.83.0)
|
|
1498
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#setTableVisualization }
|
|
1499
|
+
* instead.
|
|
1475
1500
|
*/
|
|
1476
|
-
|
|
1501
|
+
setTableVisualization(
|
|
1477
1502
|
/**
|
|
1478
1503
|
* to be used for the table visualization.
|
|
1479
1504
|
*/
|
|
@@ -1482,9 +1507,9 @@ declare module "sap/ui/generic/app/navigation/service/PresentationVariant" {
|
|
|
1482
1507
|
/**
|
|
1483
1508
|
* Sets the text / description of the selection variant.
|
|
1484
1509
|
*
|
|
1485
|
-
* @deprecated (since 1.83.0)
|
|
1510
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#setText} instead.
|
|
1486
1511
|
*/
|
|
1487
|
-
|
|
1512
|
+
setText(
|
|
1488
1513
|
/**
|
|
1489
1514
|
* The new description to be used
|
|
1490
1515
|
*/
|
|
@@ -1493,19 +1518,19 @@ declare module "sap/ui/generic/app/navigation/service/PresentationVariant" {
|
|
|
1493
1518
|
/**
|
|
1494
1519
|
* Returns the external representation of the selection variant as JSON object.
|
|
1495
1520
|
*
|
|
1496
|
-
* @deprecated (since 1.83.0)
|
|
1521
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#toJSONObject} instead.
|
|
1497
1522
|
*
|
|
1498
1523
|
* @returns The external representation of this instance as a JSON object
|
|
1499
1524
|
*/
|
|
1500
|
-
|
|
1525
|
+
toJSONObject(): ExternalPresentationVariant;
|
|
1501
1526
|
/**
|
|
1502
1527
|
* Serializes this instance into a JSON-formatted string.
|
|
1503
1528
|
*
|
|
1504
|
-
* @deprecated (since 1.83.0)
|
|
1529
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.PresentationVariant#toJSONString} instead.
|
|
1505
1530
|
*
|
|
1506
1531
|
* @returns The JSON-formatted representation of this instance in stringified format
|
|
1507
1532
|
*/
|
|
1508
|
-
|
|
1533
|
+
toJSONString(): string;
|
|
1509
1534
|
}
|
|
1510
1535
|
}
|
|
1511
1536
|
|
|
@@ -1530,15 +1555,46 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1530
1555
|
vSelectionVariant?: string | object
|
|
1531
1556
|
);
|
|
1532
1557
|
|
|
1558
|
+
/**
|
|
1559
|
+
* Creates a new subclass of class sap.ui.generic.app.navigation.service.SelectionVariant with name `sClassName`
|
|
1560
|
+
* and enriches it with the information contained in `oClassInfo`.
|
|
1561
|
+
*
|
|
1562
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.fe.navigation.SelectionVariant.extend}.
|
|
1563
|
+
*
|
|
1564
|
+
*
|
|
1565
|
+
* @returns Created class / constructor function
|
|
1566
|
+
*/
|
|
1567
|
+
static extend<T extends Record<string, unknown>>(
|
|
1568
|
+
/**
|
|
1569
|
+
* Name of the class being created
|
|
1570
|
+
*/
|
|
1571
|
+
sClassName: string,
|
|
1572
|
+
/**
|
|
1573
|
+
* Object literal with information about the class
|
|
1574
|
+
*/
|
|
1575
|
+
oClassInfo?: sap.ClassInfo<T, SelectionVariant>,
|
|
1576
|
+
/**
|
|
1577
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
1578
|
+
* used by this class
|
|
1579
|
+
*/
|
|
1580
|
+
FNMetaImpl?: Function
|
|
1581
|
+
): Function;
|
|
1582
|
+
/**
|
|
1583
|
+
* Returns a metadata object for class sap.ui.generic.app.navigation.service.SelectionVariant.
|
|
1584
|
+
*
|
|
1585
|
+
*
|
|
1586
|
+
* @returns Metadata object describing this class
|
|
1587
|
+
*/
|
|
1588
|
+
static getMetadata(): Metadata;
|
|
1533
1589
|
/**
|
|
1534
1590
|
* Sets the value of a parameter called `sName` to the new value `sValue`. If the parameter has already
|
|
1535
1591
|
* been set before, its value is overwritten.
|
|
1536
1592
|
*
|
|
1537
|
-
* @deprecated (since 1.83.0)
|
|
1593
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#addParameter} instead.
|
|
1538
1594
|
*
|
|
1539
1595
|
* @returns This instance to allow method chaining
|
|
1540
1596
|
*/
|
|
1541
|
-
|
|
1597
|
+
addParameter(
|
|
1542
1598
|
/**
|
|
1543
1599
|
* The name of the parameter to be set; the `null` value is not allowed
|
|
1544
1600
|
*/
|
|
@@ -1547,15 +1603,15 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1547
1603
|
* The value of the parameter to be set
|
|
1548
1604
|
*/
|
|
1549
1605
|
sValue: string
|
|
1550
|
-
):
|
|
1606
|
+
): this;
|
|
1551
1607
|
/**
|
|
1552
1608
|
* Adds a new range to the list of select options for a given parameter.
|
|
1553
1609
|
*
|
|
1554
|
-
* @deprecated (since 1.83.0)
|
|
1610
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#addSelectOption} instead.
|
|
1555
1611
|
*
|
|
1556
1612
|
* @returns This instance to allow method chaining.
|
|
1557
1613
|
*/
|
|
1558
|
-
|
|
1614
|
+
addSelectOption(
|
|
1559
1615
|
/**
|
|
1560
1616
|
* The name of the property for which the selection range is added
|
|
1561
1617
|
*/
|
|
@@ -1580,63 +1636,33 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1580
1636
|
* other cases
|
|
1581
1637
|
*/
|
|
1582
1638
|
sHigh?: string
|
|
1583
|
-
):
|
|
1584
|
-
/**
|
|
1585
|
-
* Creates a new subclass of class sap.ui.generic.app.navigation.service.SelectionVariant with name `sClassName`
|
|
1586
|
-
* and enriches it with the information contained in `oClassInfo`.
|
|
1587
|
-
*
|
|
1588
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.fe.navigation.SelectionVariant.extend}.
|
|
1589
|
-
*
|
|
1590
|
-
*
|
|
1591
|
-
* @returns Created class / constructor function
|
|
1592
|
-
*/
|
|
1593
|
-
static extend<T extends Record<string, unknown>>(
|
|
1594
|
-
/**
|
|
1595
|
-
* Name of the class being created
|
|
1596
|
-
*/
|
|
1597
|
-
sClassName: string,
|
|
1598
|
-
/**
|
|
1599
|
-
* Object literal with information about the class
|
|
1600
|
-
*/
|
|
1601
|
-
oClassInfo?: sap.ClassInfo<T, SelectionVariant>,
|
|
1602
|
-
/**
|
|
1603
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
1604
|
-
* used by this class
|
|
1605
|
-
*/
|
|
1606
|
-
FNMetaImpl?: Function
|
|
1607
|
-
): Function;
|
|
1639
|
+
): this;
|
|
1608
1640
|
/**
|
|
1609
1641
|
* Gets the current context URL intended for the filters.
|
|
1610
1642
|
*
|
|
1611
|
-
* @deprecated (since 1.83.0)
|
|
1643
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getFilterContextUrl }
|
|
1644
|
+
* instead.
|
|
1612
1645
|
*
|
|
1613
1646
|
* @returns The current context URL for the filters
|
|
1614
1647
|
*/
|
|
1615
|
-
|
|
1648
|
+
getFilterContextUrl(): string;
|
|
1616
1649
|
/**
|
|
1617
1650
|
* Returns the identification of the selection variant.
|
|
1618
1651
|
*
|
|
1619
|
-
* @deprecated (since 1.83.0)
|
|
1652
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getID} instead.
|
|
1620
1653
|
*
|
|
1621
1654
|
* @returns The identification of the selection variant as made available during construction
|
|
1622
1655
|
*/
|
|
1623
|
-
|
|
1624
|
-
/**
|
|
1625
|
-
* Returns a metadata object for class sap.ui.generic.app.navigation.service.SelectionVariant.
|
|
1626
|
-
*
|
|
1627
|
-
*
|
|
1628
|
-
* @returns Metadata object describing this class
|
|
1629
|
-
*/
|
|
1630
|
-
static getMetadata(): Metadata;
|
|
1656
|
+
getID(): string;
|
|
1631
1657
|
/**
|
|
1632
1658
|
* Returns the value of the parameter called `sName` if it has been set. If the parameter has never been
|
|
1633
1659
|
* set or has been removed, `undefined` is returned.
|
|
1634
1660
|
*
|
|
1635
|
-
* @deprecated (since 1.83.0)
|
|
1661
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getParameter} instead.
|
|
1636
1662
|
*
|
|
1637
1663
|
* @returns The value of parameter `sName`; returning the value `null` not possible
|
|
1638
1664
|
*/
|
|
1639
|
-
|
|
1665
|
+
getParameter(
|
|
1640
1666
|
/**
|
|
1641
1667
|
* The name of the parameter to be returned
|
|
1642
1668
|
*/
|
|
@@ -1645,31 +1671,33 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1645
1671
|
/**
|
|
1646
1672
|
* Gets the current context URL intended for the parameters.
|
|
1647
1673
|
*
|
|
1648
|
-
* @deprecated (since 1.83.0)
|
|
1674
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getParameterContextUrl }
|
|
1675
|
+
* instead.
|
|
1649
1676
|
*
|
|
1650
1677
|
* @returns The current context URL for the parameters
|
|
1651
1678
|
*/
|
|
1652
|
-
|
|
1679
|
+
getParameterContextUrl(): string;
|
|
1653
1680
|
/**
|
|
1654
1681
|
* Returns the set of parameter names available in this selection variant
|
|
1655
1682
|
*
|
|
1656
|
-
* @deprecated (since 1.83.0)
|
|
1683
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getParameterNames }
|
|
1684
|
+
* instead.
|
|
1657
1685
|
*
|
|
1658
1686
|
* @returns the list of parameter names which are valid
|
|
1659
1687
|
*/
|
|
1660
|
-
|
|
1688
|
+
getParameterNames(): any[];
|
|
1661
1689
|
/**
|
|
1662
1690
|
* Returns the names of the parameter and select option properties available for this instance.
|
|
1663
1691
|
*
|
|
1664
|
-
* @deprecated (since 1.83.0)
|
|
1692
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getPropertyNames} instead.
|
|
1665
1693
|
*
|
|
1666
1694
|
* @returns The list of parameter and select option property names available for this instance
|
|
1667
1695
|
*/
|
|
1668
|
-
|
|
1696
|
+
getPropertyNames(): any[];
|
|
1669
1697
|
/**
|
|
1670
1698
|
* Returns the set of select options/ranges available for a given property name.
|
|
1671
1699
|
*
|
|
1672
|
-
* @deprecated (since 1.83.0)
|
|
1700
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getSelectOption} instead.
|
|
1673
1701
|
*
|
|
1674
1702
|
* @returns If `sPropertyName` is an invalid name of a property or no range exists, `undefined` is returned;
|
|
1675
1703
|
* otherwise, an immutable array of ranges is returned. Each entry of the array is an object with the following
|
|
@@ -1680,7 +1708,7 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1680
1708
|
* - `High`: The high value of the range; if this value is not necessary, `null` is used For further
|
|
1681
1709
|
* information about the meaning of the attributes, refer to method `addSelectOption`.
|
|
1682
1710
|
*/
|
|
1683
|
-
|
|
1711
|
+
getSelectOption(
|
|
1684
1712
|
/**
|
|
1685
1713
|
* The name of the property for which the set of select options/ranges is returned
|
|
1686
1714
|
*/
|
|
@@ -1689,19 +1717,20 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1689
1717
|
/**
|
|
1690
1718
|
* Returns the names of the properties available for this instance.
|
|
1691
1719
|
*
|
|
1692
|
-
* @deprecated (since 1.83.0)
|
|
1720
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getSelectOptionsPropertyNames }
|
|
1721
|
+
* instead.
|
|
1693
1722
|
*
|
|
1694
1723
|
* @returns The list of property names available for this instance
|
|
1695
1724
|
*/
|
|
1696
|
-
|
|
1725
|
+
getSelectOptionsPropertyNames(): any[];
|
|
1697
1726
|
/**
|
|
1698
1727
|
* Returns the current text / description of this selection variant.
|
|
1699
1728
|
*
|
|
1700
|
-
* @deprecated (since 1.83.0)
|
|
1729
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getText} instead.
|
|
1701
1730
|
*
|
|
1702
1731
|
* @returns the current description of this selection variant.
|
|
1703
1732
|
*/
|
|
1704
|
-
|
|
1733
|
+
getText(): string;
|
|
1705
1734
|
/**
|
|
1706
1735
|
* First tries to retrieve the set of select options/ranges available for `sName` as property name. If successful,
|
|
1707
1736
|
* this array of selections is being returned. If it fails, an attempt to find a parameter, whose name is
|
|
@@ -1709,7 +1738,7 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1709
1738
|
* to make it type compatible with ranges. This array is then returned. If neither a select option
|
|
1710
1739
|
* nor a parameter could be found, `undefined` is returned.
|
|
1711
1740
|
*
|
|
1712
|
-
* @deprecated (since 1.83.0)
|
|
1741
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#getValue} instead.
|
|
1713
1742
|
*
|
|
1714
1743
|
* @returns The ranges in the select options for the specified property or a range-converted representation
|
|
1715
1744
|
* of a parameter is returned. If both lookups fail, `undefined` is returned. The returned ranges
|
|
@@ -1720,7 +1749,7 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1720
1749
|
* - `High`: The high value of the range; if this value is not necessary, `null` (but does exist)
|
|
1721
1750
|
* For further information on the meaning of the attributes, refer to method {@link #.addSelectOption addSelectOption}.
|
|
1722
1751
|
*/
|
|
1723
|
-
|
|
1752
|
+
getValue(
|
|
1724
1753
|
/**
|
|
1725
1754
|
* The name of the attribute for which the value is retrieved
|
|
1726
1755
|
*/
|
|
@@ -1729,20 +1758,21 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1729
1758
|
/**
|
|
1730
1759
|
* Returns `true` if the selection variant does neither contain parameters nor ranges.
|
|
1731
1760
|
*
|
|
1732
|
-
* @deprecated (since 1.83.0)
|
|
1761
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#isEmpty} instead.
|
|
1733
1762
|
*
|
|
1734
1763
|
* @returns If set to `true` there are no parameters and no select options available in the selection variant;
|
|
1735
1764
|
* `false` otherwise.
|
|
1736
1765
|
*/
|
|
1737
|
-
|
|
1766
|
+
isEmpty(): boolean;
|
|
1738
1767
|
/**
|
|
1739
1768
|
* Adds a set of select options to the list of select options for a given parameter.
|
|
1740
1769
|
*
|
|
1741
|
-
* @deprecated (since 1.83.0)
|
|
1770
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#massAddSelectOption }
|
|
1771
|
+
* instead.
|
|
1742
1772
|
*
|
|
1743
1773
|
* @returns This instance to allow method chaining
|
|
1744
1774
|
*/
|
|
1745
|
-
|
|
1775
|
+
massAddSelectOption(
|
|
1746
1776
|
/**
|
|
1747
1777
|
* The name of the property for which the set of select options is added
|
|
1748
1778
|
*/
|
|
@@ -1751,43 +1781,44 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1751
1781
|
* Set of select options to be added
|
|
1752
1782
|
*/
|
|
1753
1783
|
aSelectOptions: any[]
|
|
1754
|
-
):
|
|
1784
|
+
): this;
|
|
1755
1785
|
/**
|
|
1756
1786
|
* Removes a parameter called `sName` from the selection variant.
|
|
1757
1787
|
*
|
|
1758
|
-
* @deprecated (since 1.83.0)
|
|
1788
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#removeParameter} instead.
|
|
1759
1789
|
*
|
|
1760
1790
|
* @returns This instance to allow method chaining
|
|
1761
1791
|
*/
|
|
1762
|
-
|
|
1792
|
+
removeParameter(
|
|
1763
1793
|
/**
|
|
1764
1794
|
* The name of the parameter to be removed
|
|
1765
1795
|
*/
|
|
1766
1796
|
sName: string
|
|
1767
|
-
):
|
|
1797
|
+
): this;
|
|
1768
1798
|
/**
|
|
1769
1799
|
* Removes a select option called `sName` from the selection variant.
|
|
1770
1800
|
*
|
|
1771
|
-
* @deprecated (since 1.83.0)
|
|
1801
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#removeSelectOption }
|
|
1802
|
+
* instead.
|
|
1772
1803
|
*
|
|
1773
1804
|
* @returns This instance to allow method chaining.
|
|
1774
1805
|
*/
|
|
1775
|
-
|
|
1806
|
+
removeSelectOption(
|
|
1776
1807
|
/**
|
|
1777
1808
|
* The name of the select option to be removed
|
|
1778
1809
|
*/
|
|
1779
1810
|
sName: string
|
|
1780
|
-
):
|
|
1811
|
+
): this;
|
|
1781
1812
|
/**
|
|
1782
1813
|
* Renames a parameter called `sNameOld` to `sNameNew`. If a parameter or a select option with the name
|
|
1783
1814
|
* `sNameNew` already exist, an error is thrown. If a parameter with the name `sNameOld` does not exist,
|
|
1784
1815
|
* nothing is changed.
|
|
1785
1816
|
*
|
|
1786
|
-
* @deprecated (since 1.83.0)
|
|
1817
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#renameParameter} instead.
|
|
1787
1818
|
*
|
|
1788
1819
|
* @returns This instance to allow method chaining
|
|
1789
1820
|
*/
|
|
1790
|
-
|
|
1821
|
+
renameParameter(
|
|
1791
1822
|
/**
|
|
1792
1823
|
* The current name of the parameter to be renamed
|
|
1793
1824
|
*/
|
|
@@ -1796,17 +1827,18 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1796
1827
|
* The new name of the parameter
|
|
1797
1828
|
*/
|
|
1798
1829
|
sNameNew: string
|
|
1799
|
-
):
|
|
1830
|
+
): this;
|
|
1800
1831
|
/**
|
|
1801
1832
|
* Renames a select option called `sNameOld` to `sNameNew`. If a select option or a parameter with the name
|
|
1802
1833
|
* `sNameNew` already exist, an error is thrown. If a select option with the name `sNameOld` does not exist,
|
|
1803
1834
|
* nothing is changed.
|
|
1804
1835
|
*
|
|
1805
|
-
* @deprecated (since 1.83.0)
|
|
1836
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#renameSelectOption }
|
|
1837
|
+
* instead.
|
|
1806
1838
|
*
|
|
1807
1839
|
* @returns This instance to allow method chaining
|
|
1808
1840
|
*/
|
|
1809
|
-
|
|
1841
|
+
renameSelectOption(
|
|
1810
1842
|
/**
|
|
1811
1843
|
* The current name of the select option property to be renamed
|
|
1812
1844
|
*/
|
|
@@ -1815,13 +1847,14 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1815
1847
|
* The new name of the select option property
|
|
1816
1848
|
*/
|
|
1817
1849
|
sNameNew: string
|
|
1818
|
-
):
|
|
1850
|
+
): this;
|
|
1819
1851
|
/**
|
|
1820
1852
|
* Sets the context URL intended for the filters.
|
|
1821
1853
|
*
|
|
1822
|
-
* @deprecated (since 1.83.0)
|
|
1854
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#setFilterContextUrl }
|
|
1855
|
+
* instead.
|
|
1823
1856
|
*/
|
|
1824
|
-
|
|
1857
|
+
setFilterContextUrl(
|
|
1825
1858
|
/**
|
|
1826
1859
|
* The URL of the filters
|
|
1827
1860
|
*/
|
|
@@ -1830,9 +1863,9 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1830
1863
|
/**
|
|
1831
1864
|
* Sets the identification of the selection variant.
|
|
1832
1865
|
*
|
|
1833
|
-
* @deprecated (since 1.83.0)
|
|
1866
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#setID} instead.
|
|
1834
1867
|
*/
|
|
1835
|
-
|
|
1868
|
+
setID(
|
|
1836
1869
|
/**
|
|
1837
1870
|
* The new identification of the selection variant
|
|
1838
1871
|
*/
|
|
@@ -1841,9 +1874,10 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1841
1874
|
/**
|
|
1842
1875
|
* Sets the context URL intended for the parameters.
|
|
1843
1876
|
*
|
|
1844
|
-
* @deprecated (since 1.83.0)
|
|
1877
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#setParameterContextUrl }
|
|
1878
|
+
* instead.
|
|
1845
1879
|
*/
|
|
1846
|
-
|
|
1880
|
+
setParameterContextUrl(
|
|
1847
1881
|
/**
|
|
1848
1882
|
* The URL of the parameter context
|
|
1849
1883
|
*/
|
|
@@ -1852,9 +1886,9 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1852
1886
|
/**
|
|
1853
1887
|
* Sets the text / description of the selection variant.
|
|
1854
1888
|
*
|
|
1855
|
-
* @deprecated (since 1.83.0)
|
|
1889
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#setText} instead.
|
|
1856
1890
|
*/
|
|
1857
|
-
|
|
1891
|
+
setText(
|
|
1858
1892
|
/**
|
|
1859
1893
|
* The new description to be used
|
|
1860
1894
|
*/
|
|
@@ -1863,19 +1897,19 @@ declare module "sap/ui/generic/app/navigation/service/SelectionVariant" {
|
|
|
1863
1897
|
/**
|
|
1864
1898
|
* Returns the external representation of the selection variant as JSON object.
|
|
1865
1899
|
*
|
|
1866
|
-
* @deprecated (since 1.83.0)
|
|
1900
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#toJSONObject} instead.
|
|
1867
1901
|
*
|
|
1868
1902
|
* @returns The external representation of this instance as a JSON object
|
|
1869
1903
|
*/
|
|
1870
|
-
|
|
1904
|
+
toJSONObject(): object;
|
|
1871
1905
|
/**
|
|
1872
1906
|
* Serializes this instance into a JSON-formatted string
|
|
1873
1907
|
*
|
|
1874
|
-
* @deprecated (since 1.83.0)
|
|
1908
|
+
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SelectionVariant#toJSONString} instead.
|
|
1875
1909
|
*
|
|
1876
1910
|
* @returns The JSON-formatted representation of this instance in stringified format
|
|
1877
1911
|
*/
|
|
1878
|
-
|
|
1912
|
+
toJSONString(): string;
|
|
1879
1913
|
}
|
|
1880
1914
|
}
|
|
1881
1915
|
|
|
@@ -2073,24 +2107,6 @@ declare module "sap/ui/generic/app/transaction/DraftContext" {
|
|
|
2073
2107
|
* @returns Metadata object describing this class
|
|
2074
2108
|
*/
|
|
2075
2109
|
static getMetadata(): Metadata;
|
|
2076
|
-
/**
|
|
2077
|
-
* Checks whether an OData property is annotated with UpdateOnChange. The method is used in context of a
|
|
2078
|
-
* validation success event.
|
|
2079
|
-
*
|
|
2080
|
-
* @deprecated (since 1.32.0)
|
|
2081
|
-
*
|
|
2082
|
-
* @returns `true`, if the property is annotated with UpdateOnChange, `false` otherwise
|
|
2083
|
-
*/
|
|
2084
|
-
checkUpdateOnChange(
|
|
2085
|
-
/**
|
|
2086
|
-
* The name of the entity set
|
|
2087
|
-
*/
|
|
2088
|
-
sEntitySet: string,
|
|
2089
|
-
/**
|
|
2090
|
-
* The name of the property
|
|
2091
|
-
*/
|
|
2092
|
-
sProperty: string
|
|
2093
|
-
): boolean;
|
|
2094
2110
|
/**
|
|
2095
2111
|
* Frees all resources claimed during the life-time of this instance.
|
|
2096
2112
|
*/
|