@sapui5/ts-types 1.93.3 → 1.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +3 -1
- package/types/sap.apf.d.ts +17 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +314 -42
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +154 -2
- package/types/sap.fe.macros.d.ts +38 -10
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +3 -0
- package/types/sap.fe.plugins.d.ts +1 -1
- package/types/sap.fe.semantics.d.ts +3 -0
- package/types/sap.fe.templates.d.ts +21 -8
- package/types/sap.fe.test.d.ts +78 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +1148 -49
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +910 -132
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +2 -7
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.grid.d.ts +635 -0
- package/types/sap.suite.ui.commons.d.ts +216 -7
- package/types/sap.suite.ui.generic.template.d.ts +49 -6
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +11 -12
- package/types/sap.ui.codeeditor.d.ts +29 -31
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +166 -27
- package/types/sap.ui.core.d.ts +873 -376
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +119 -69
- package/types/sap.ui.fl.d.ts +3 -1
- package/types/sap.ui.generic.app.d.ts +1 -18
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +420 -15
- package/types/sap.ui.layout.d.ts +19 -1
- package/types/sap.ui.mdc.d.ts +51 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +6 -6
- package/types/sap.ui.table.d.ts +8 -5
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +142 -14
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +918 -127
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +2 -1
- package/types/sap.ushell.d.ts +140 -122
- package/types/sap.ushell_abap.d.ts +2 -2
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +5 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +53 -34
- package/types/sap.fe.placeholder-1.93.1-d.ts +0 -3
package/types/sap.ui.vtm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.96.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace uiext {
|
|
@@ -2169,6 +2169,7 @@ declare namespace sap {
|
|
|
2169
2169
|
const InboxSecondaryFilterValuesEnum: InboxSecondaryFilterValuesEnum;
|
|
2170
2170
|
|
|
2171
2171
|
/**
|
|
2172
|
+
* @deprecated (since 1.38.0)
|
|
2172
2173
|
* @EXPERIMENTAL (since 1.5.2)
|
|
2173
2174
|
*
|
|
2174
2175
|
* A comprehensive UI design approach with graphical and functional elements for search tasks, filter tasks,
|
package/types/sap.ushell.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.96.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -82,9 +82,13 @@ declare namespace sap {
|
|
|
82
82
|
*
|
|
83
83
|
* The SAPUI5 component of SAP Fiori Launchpad renderer for the Unified Shell.
|
|
84
84
|
*/
|
|
85
|
-
class Renderer
|
|
85
|
+
class Renderer
|
|
86
|
+
extends sap.ui.core.UIComponent
|
|
87
|
+
implements sap.ui.core.IAsyncContentCreation {
|
|
88
|
+
__implements__sap_ui_core_IAsyncContentCreation: boolean;
|
|
86
89
|
/**
|
|
87
|
-
* This method MUST be called by the Unified Shell's container only, others MUST call `sap.ushell.Container.createRenderer("fiori2"
|
|
90
|
+
* This method MUST be called by the Unified Shell's container only, others MUST call `sap.ushell.Container.createRenderer("fiori2",
|
|
91
|
+
* true)`.
|
|
88
92
|
*/
|
|
89
93
|
constructor();
|
|
90
94
|
/**
|
|
@@ -142,8 +146,6 @@ declare namespace sap {
|
|
|
142
146
|
* It will continue to work as expected as long as one of the following conditions apply:
|
|
143
147
|
* 1. The control instance is already created and its ID is included in the input parameter oControlProperties
|
|
144
148
|
* 2. The control type resource is already loaded
|
|
145
|
-
* 3. Synchronous XHR requests are supported by the browser
|
|
146
|
-
*
|
|
147
149
|
* See:
|
|
148
150
|
* sap.ushell.renderers.fiori2.renderer.LaunchpadState
|
|
149
151
|
* If no launchpad state is provided, the content is added in all states.
|
|
@@ -211,8 +213,6 @@ declare namespace sap {
|
|
|
211
213
|
* It will continue to work as expected as long as one of the following conditions apply:
|
|
212
214
|
* 1. The control instance is already created and its ID is included in the input parameter oControlProperties
|
|
213
215
|
* 2. The control type resource is already loaded
|
|
214
|
-
* 3. Synchronous XHR requests are supported by the browser
|
|
215
|
-
*
|
|
216
216
|
* See:
|
|
217
217
|
* LaunchpadState
|
|
218
218
|
* If no launchpad state is provided the content is added in all states.
|
|
@@ -483,8 +483,6 @@ declare namespace sap {
|
|
|
483
483
|
* It will continue to work as expected as long as one of the following conditions apply:
|
|
484
484
|
* 1. The control instance is already created and its ID is included in the input parameter oControlProperties
|
|
485
485
|
* 2. The control type resource is already loaded
|
|
486
|
-
* 3. Synchronous XHR requests are supported by the browser
|
|
487
|
-
*
|
|
488
486
|
* See:
|
|
489
487
|
* LaunchpadState
|
|
490
488
|
* If no launchpad state is provided the content is added in all states.
|
|
@@ -644,8 +642,6 @@ declare namespace sap {
|
|
|
644
642
|
* It will continue to work as expected as long as one of the following conditions apply:
|
|
645
643
|
* 1. The control instance is already created and its ID is included in the input parameter oControlProperties
|
|
646
644
|
* 2. The control type resource is already loaded
|
|
647
|
-
* 3. Synchronous XHR requests are supported by the browser
|
|
648
|
-
*
|
|
649
645
|
* See:
|
|
650
646
|
* LaunchpadState
|
|
651
647
|
*/
|
|
@@ -1084,7 +1080,6 @@ declare namespace sap {
|
|
|
1084
1080
|
* It will continue to work as expected as long as one of the following conditions apply:
|
|
1085
1081
|
* 1. The control instance is already created and its ID is included in the input parameter oControlProperties
|
|
1086
1082
|
* 2. The control type resource is already loaded
|
|
1087
|
-
* 3. Synchronous XHR requests are supported by the browser
|
|
1088
1083
|
*/
|
|
1089
1084
|
setFooterControl(
|
|
1090
1085
|
/**
|
|
@@ -2063,7 +2058,7 @@ declare namespace sap {
|
|
|
2063
2058
|
*/
|
|
2064
2059
|
icon?: string;
|
|
2065
2060
|
/**
|
|
2066
|
-
* The information text of the bookmark.
|
|
2061
|
+
* The information text of the bookmark.
|
|
2067
2062
|
*/
|
|
2068
2063
|
info?: string;
|
|
2069
2064
|
/**
|
|
@@ -2079,7 +2074,7 @@ declare namespace sap {
|
|
|
2079
2074
|
*/
|
|
2080
2075
|
serviceRefreshInterval?: string;
|
|
2081
2076
|
/**
|
|
2082
|
-
* The unit for the number retrieved from `serviceUrl`.
|
|
2077
|
+
* The unit for the number retrieved from `serviceUrl`.
|
|
2083
2078
|
*/
|
|
2084
2079
|
numberUnit?: string;
|
|
2085
2080
|
},
|
|
@@ -2297,7 +2292,6 @@ declare namespace sap {
|
|
|
2297
2292
|
cancelLogon(): void;
|
|
2298
2293
|
/**
|
|
2299
2294
|
* @SINCE 1.15.0
|
|
2300
|
-
* @EXPERIMENTAL (since 1.55.0)
|
|
2301
2295
|
*
|
|
2302
2296
|
* Creates a new renderer instance for the given renderer name.
|
|
2303
2297
|
*
|
|
@@ -2323,7 +2317,8 @@ declare namespace sap {
|
|
|
2323
2317
|
*/
|
|
2324
2318
|
sRendererName?: string,
|
|
2325
2319
|
/**
|
|
2326
|
-
* If true, the renderer is created asynchronously and a Promise is returned.
|
|
2320
|
+
* If true, the renderer is created asynchronously and a Promise is returned. For CSP compliance, applications
|
|
2321
|
+
* must always set bAsync:true.
|
|
2327
2322
|
*/
|
|
2328
2323
|
bAsync?: boolean
|
|
2329
2324
|
): sap.ui.core.Control | Promise<any>;
|
|
@@ -2379,6 +2374,18 @@ declare namespace sap {
|
|
|
2379
2374
|
* All open UShell browser windows for the same origin are asked about their global dirty state.
|
|
2380
2375
|
*/
|
|
2381
2376
|
getGlobalDirty(): jQuery.Deferred;
|
|
2377
|
+
/**
|
|
2378
|
+
* @SINCE 1.30.0
|
|
2379
|
+
*
|
|
2380
|
+
* Gets a renderer instance for the given renderer name, that was created by the createRenderer method.
|
|
2381
|
+
*/
|
|
2382
|
+
getRenderer(
|
|
2383
|
+
/**
|
|
2384
|
+
* The renderer name, such as "standard" or "fiori2"; it is taken from the configuration property `defaultRenderer`
|
|
2385
|
+
* if not given here.
|
|
2386
|
+
*/
|
|
2387
|
+
sRendererName?: string
|
|
2388
|
+
): object;
|
|
2382
2389
|
/**
|
|
2383
2390
|
* @SINCE 1.15.0
|
|
2384
2391
|
* @deprecated (since 1.77) - deprecated. Uses {@link#getServiceAsync} instead.
|
|
@@ -2424,7 +2431,10 @@ declare namespace sap {
|
|
|
2424
2431
|
* }
|
|
2425
2432
|
* }
|
|
2426
2433
|
* }
|
|
2427
|
-
*
|
|
2434
|
+
* sap.ushell.Container.getServiceAsync("Foo", "runtimeConfig")
|
|
2435
|
+
* .then(function (Foo) {
|
|
2436
|
+
* // Do something with the service
|
|
2437
|
+
* });
|
|
2428
2438
|
* ```
|
|
2429
2439
|
* Now `oService` is an instance of `my.own.Foo`. The third parameter of the constructor will be "runtimeConfig",
|
|
2430
2440
|
* the fourth parameter `{config: {header: "hidden"}}`. Its adapter is an instance of `my.own.FooAdapter`
|
|
@@ -2599,26 +2609,6 @@ declare namespace sap {
|
|
|
2599
2609
|
}
|
|
2600
2610
|
): void;
|
|
2601
2611
|
}
|
|
2602
|
-
/**
|
|
2603
|
-
* @SINCE 1.15.0
|
|
2604
|
-
*
|
|
2605
|
-
* This is a virtual type for the callback interface passed by {@link sap.ui.Container.getService()} to
|
|
2606
|
-
* any newly created service.
|
|
2607
|
-
*/
|
|
2608
|
-
class ContainerInterface {
|
|
2609
|
-
/**
|
|
2610
|
-
* See:
|
|
2611
|
-
* sap.ushell.services.Container#getService
|
|
2612
|
-
*/
|
|
2613
|
-
constructor();
|
|
2614
|
-
/**
|
|
2615
|
-
* @SINCE 1.15.0
|
|
2616
|
-
*
|
|
2617
|
-
* For the given remote system, creates a new adapter that corresponds to the service to which this container
|
|
2618
|
-
* interface was passed at construction time.
|
|
2619
|
-
*/
|
|
2620
|
-
createAdapter: undefined;
|
|
2621
|
-
}
|
|
2622
2612
|
/**
|
|
2623
2613
|
* @SINCE 1.15.0
|
|
2624
2614
|
*/
|
|
@@ -2700,7 +2690,7 @@ declare namespace sap {
|
|
|
2700
2690
|
* to change and therefore it may not yield to the expected results especially on mobile devices where "back"
|
|
2701
2691
|
* is the previous inner app state iff these are put into the history!
|
|
2702
2692
|
*/
|
|
2703
|
-
backToPreviousApp(): void
|
|
2693
|
+
backToPreviousApp(): Promise<void>;
|
|
2704
2694
|
/**
|
|
2705
2695
|
* if sHashFragment is a compacted hash (sap-intent-param is present), in a hash, this function replaces
|
|
2706
2696
|
* it into a long url with all parameters expanded
|
|
@@ -2710,7 +2700,7 @@ declare namespace sap {
|
|
|
2710
2700
|
* an (internal format) shell hash
|
|
2711
2701
|
*/
|
|
2712
2702
|
sHashFragment: string
|
|
2713
|
-
):
|
|
2703
|
+
): jQuery.Promise;
|
|
2714
2704
|
/**
|
|
2715
2705
|
* @SINCE 1.38.0
|
|
2716
2706
|
*
|
|
@@ -2879,7 +2869,7 @@ declare namespace sap {
|
|
|
2879
2869
|
* whether the returned intents should be returned in compact format. Defaults to false.
|
|
2880
2870
|
*/
|
|
2881
2871
|
bCompactIntents?: boolean
|
|
2882
|
-
):
|
|
2872
|
+
): jQuery.Promise;
|
|
2883
2873
|
/**
|
|
2884
2874
|
* performs window.history.go() with number of steps if provided and if supported by the underlying platform.
|
|
2885
2875
|
* May be a noop if the url is the first url in the browser. If no argument is provided it wil call window.history.go(-1)
|
|
@@ -2892,6 +2882,7 @@ declare namespace sap {
|
|
|
2892
2882
|
): void;
|
|
2893
2883
|
/**
|
|
2894
2884
|
* @SINCE 1.15.0
|
|
2885
|
+
* @deprecated (since 1.94) - Use `hrefForAppSpecificHashAsync` instead
|
|
2895
2886
|
*
|
|
2896
2887
|
* Returns a string which can be put into the DOM (e.g. in a link tag) given an application specific hash
|
|
2897
2888
|
* suffix
|
|
@@ -2907,6 +2898,23 @@ declare namespace sap {
|
|
|
2907
2898
|
*/
|
|
2908
2899
|
sAppHash: string
|
|
2909
2900
|
): string;
|
|
2901
|
+
/**
|
|
2902
|
+
* @SINCE 1.94.0
|
|
2903
|
+
*
|
|
2904
|
+
* Returns a string which can be put into the DOM (e.g. in a link tag) given an application specific hash
|
|
2905
|
+
* suffix
|
|
2906
|
+
*
|
|
2907
|
+
* Example: `hrefForAppSpecificHash("View1/details/0/")` returns `#SemanticObject-action&/View1/details/0/`
|
|
2908
|
+
* if the current application runs in the shell and was started using "SemanticObject-action" as shell navigation
|
|
2909
|
+
* hash
|
|
2910
|
+
*/
|
|
2911
|
+
hrefForAppSpecificHashAsync(
|
|
2912
|
+
/**
|
|
2913
|
+
* the app specific router, obtained e.g. via router.getURL(...). Note that sAppHash shall not exceed 512
|
|
2914
|
+
* bytes when serialized as UTF-8.
|
|
2915
|
+
*/
|
|
2916
|
+
sAppHash: string
|
|
2917
|
+
): Promise<string>;
|
|
2910
2918
|
/**
|
|
2911
2919
|
* @SINCE 1.15.0
|
|
2912
2920
|
*
|
|
@@ -2947,7 +2955,7 @@ declare namespace sap {
|
|
|
2947
2955
|
oComponent: object,
|
|
2948
2956
|
/**
|
|
2949
2957
|
* if set to `true`, a promise will be returned instead of the direct argument. The promise will only succeed
|
|
2950
|
-
* after all compaction requests have been sent
|
|
2958
|
+
* after all compaction requests have been sent. `bAsync=false` is deprecated since 1.94.
|
|
2951
2959
|
*/
|
|
2952
2960
|
bAsync: boolean
|
|
2953
2961
|
): string;
|
|
@@ -2987,18 +2995,66 @@ declare namespace sap {
|
|
|
2987
2995
|
oArgs: object,
|
|
2988
2996
|
/**
|
|
2989
2997
|
* if set to `true`, a promise will be returned instead of the direct argument. The promise will only succeed
|
|
2990
|
-
* after all compaction requests have been sent
|
|
2998
|
+
* after all compaction requests have been sent. `bAsync=false` is deprecated since 1.94.
|
|
2991
2999
|
*/
|
|
2992
3000
|
bAsync: boolean
|
|
2993
3001
|
): string;
|
|
3002
|
+
/**
|
|
3003
|
+
* @SINCE 1.94.0
|
|
3004
|
+
*
|
|
3005
|
+
* Returns a string which can be put into the DOM (e.g. in a link tag)
|
|
3006
|
+
*/
|
|
3007
|
+
hrefForExternalAsync(
|
|
3008
|
+
/**
|
|
3009
|
+
* object encoding a semantic object and action, e.g.
|
|
3010
|
+
* ```javascript
|
|
3011
|
+
*
|
|
3012
|
+
* {
|
|
3013
|
+
* target : { semanticObject : "AnObject", action: "action" },
|
|
3014
|
+
* params : { A : "B" }
|
|
3015
|
+
* }
|
|
3016
|
+
* ```
|
|
3017
|
+
* or e.g.
|
|
3018
|
+
* ```javascript
|
|
3019
|
+
*
|
|
3020
|
+
* {
|
|
3021
|
+
* target : {
|
|
3022
|
+
* semanticObject : "AnObject",
|
|
3023
|
+
* action: "action", context : "AB7F3C"
|
|
3024
|
+
* },
|
|
3025
|
+
* params : {
|
|
3026
|
+
* A : "B",
|
|
3027
|
+
* c : "e"
|
|
3028
|
+
* }
|
|
3029
|
+
* }
|
|
3030
|
+
* ```
|
|
3031
|
+
* or
|
|
3032
|
+
* ```javascript
|
|
3033
|
+
* { target : { shellHash : "SO-36?jumper=postman" } }```
|
|
3034
|
+
*/
|
|
3035
|
+
oArgs: object,
|
|
3036
|
+
/**
|
|
3037
|
+
* the root component of the application
|
|
3038
|
+
*/
|
|
3039
|
+
oComponent?: object
|
|
3040
|
+
): Promise<string>;
|
|
2994
3041
|
/**
|
|
2995
3042
|
* @SINCE 1.36.0
|
|
3043
|
+
* @deprecated (since 1.94) - Use `isInitialNavigationAsync` instead
|
|
2996
3044
|
*
|
|
2997
3045
|
* Checks whether the FLP has performed the first navigation. This method can be used to detect whether
|
|
2998
3046
|
* the current app was started directly, that is, without a previous navigation to another app, to the FLP
|
|
2999
3047
|
* home, or another target that adds an entry in the browser history.
|
|
3000
3048
|
*/
|
|
3001
3049
|
isInitialNavigation(): boolean;
|
|
3050
|
+
/**
|
|
3051
|
+
* @SINCE 1.94.0
|
|
3052
|
+
*
|
|
3053
|
+
* Checks whether the FLP has performed the first navigation. This method can be used to detect whether
|
|
3054
|
+
* the current app was started directly, that is, without a previous navigation to another app, to the FLP
|
|
3055
|
+
* home, or another target that adds an entry in the browser history.
|
|
3056
|
+
*/
|
|
3057
|
+
isInitialNavigationAsync(): Promise<boolean>;
|
|
3002
3058
|
/**
|
|
3003
3059
|
* @SINCE 1.19.1
|
|
3004
3060
|
* @deprecated - switch to isNavigationSupported. Note that this has a slightly different response format
|
|
@@ -3016,7 +3072,7 @@ declare namespace sap {
|
|
|
3016
3072
|
* the root component of the application
|
|
3017
3073
|
*/
|
|
3018
3074
|
oComponent?: object
|
|
3019
|
-
):
|
|
3075
|
+
): jQuery.Promise;
|
|
3020
3076
|
/**
|
|
3021
3077
|
* @SINCE 1.32
|
|
3022
3078
|
*
|
|
@@ -3039,7 +3095,7 @@ declare namespace sap {
|
|
|
3039
3095
|
* the root component of the application
|
|
3040
3096
|
*/
|
|
3041
3097
|
oComponent?: object
|
|
3042
|
-
):
|
|
3098
|
+
): jQuery.Promise;
|
|
3043
3099
|
/**
|
|
3044
3100
|
* @SINCE 1.15.0
|
|
3045
3101
|
*
|
|
@@ -3087,7 +3143,7 @@ declare namespace sap {
|
|
|
3087
3143
|
* an optional SAP UI5 Component,
|
|
3088
3144
|
*/
|
|
3089
3145
|
oComponent?: object
|
|
3090
|
-
): void
|
|
3146
|
+
): Promise<void>;
|
|
3091
3147
|
}
|
|
3092
3148
|
/**
|
|
3093
3149
|
* @SINCE 1.25.1
|
|
@@ -4745,76 +4801,17 @@ declare namespace sap {
|
|
|
4745
4801
|
*
|
|
4746
4802
|
* The constructed service provides an enhancement on {@link CrossApplicationNavigation#getLinks} and
|
|
4747
4803
|
* {@link CrossApplicationNavigation#toExternal}. In order for an application to leverage this enhancement,
|
|
4748
|
-
* it is pertinent that the application uses {@link SmartNavigation#toExternal} for
|
|
4804
|
+
* it is pertinent that the application uses {@link SmartNavigation#toExternal} for navigation. Hence the
|
|
4749
4805
|
* caller can subsequently use {@link SmartNavigation#getLinks} with the outcome that it sorts the resulting
|
|
4750
|
-
* list in the order of frequency of
|
|
4806
|
+
* list in the order of frequency of attempted navigation from the application to respective links.
|
|
4751
4807
|
* Attempted in the previous paragraph is emphasized due to the fact that a click on the link
|
|
4752
|
-
* will cause an increment of the frequency count, regardless of
|
|
4753
|
-
*
|
|
4808
|
+
* will cause an increment of the frequency count, regardless of whether or not the navigation was successful.
|
|
4809
|
+
* Note that an instance of this service should only be obtained via `sap.ushell.services.Container#getServiceAsync("SmartNavigation").then(function
|
|
4754
4810
|
* (SmartNavigation) {});`
|
|
4755
4811
|
* See:
|
|
4756
4812
|
* sap.ushell.services.Container#getServiceAsync
|
|
4757
4813
|
*/
|
|
4758
4814
|
constructor();
|
|
4759
|
-
|
|
4760
|
-
/**
|
|
4761
|
-
* @SINCE 1.44.0
|
|
4762
|
-
*
|
|
4763
|
-
* Resolves the given semantic object (or action) and business parameters to a list of links available to
|
|
4764
|
-
* the user, sorted according their relevance to the calling application.
|
|
4765
|
-
*
|
|
4766
|
-
* The relevance of link is defined by the frequency with which a navigation activity from the calling application
|
|
4767
|
-
* to that link occurs.
|
|
4768
|
-
*
|
|
4769
|
-
* Internally, this method delegates to {@link sap.ushell.services.CrossApplicationNavigation#getLinks}
|
|
4770
|
-
* and then sorts the resulting list accordingly.
|
|
4771
|
-
* See:
|
|
4772
|
-
* sap.ushell.services.CrossApplicationNavigation#getLinks
|
|
4773
|
-
*/
|
|
4774
|
-
getLinks(): jQuery.Promise;
|
|
4775
|
-
/**
|
|
4776
|
-
* @SINCE 1.48.0
|
|
4777
|
-
*
|
|
4778
|
-
* Completely delegates to {@link sap.ushell.services.CrossApplicationNavigation#getPrimaryIntent}, and
|
|
4779
|
-
* either may be used in place of the other with exactly the same outcome.
|
|
4780
|
-
* See:
|
|
4781
|
-
* sap.ushell.services.CrossApplicationNavigation#getPrimaryIntent
|
|
4782
|
-
*/
|
|
4783
|
-
getPrimaryIntent(): void;
|
|
4784
|
-
/**
|
|
4785
|
-
* @SINCE 1.46.0
|
|
4786
|
-
*
|
|
4787
|
-
* Completely delegates to {@link sap.ushell.services.CrossApplicationNavigation#hrefFoExternal}, and either
|
|
4788
|
-
* may be used in place of the other with exactly the same outcome.
|
|
4789
|
-
* See:
|
|
4790
|
-
* sap.ushell.services.CrossApplicationNavigation#hrefForExternal
|
|
4791
|
-
*/
|
|
4792
|
-
hrefForExternal(): void;
|
|
4793
|
-
/**
|
|
4794
|
-
* @SINCE 1.44.0
|
|
4795
|
-
*
|
|
4796
|
-
* Usage of this method in place of {@link sap.ushell.services.CrossApplicationNavigation#toExternal} drives
|
|
4797
|
-
* the smartness of the results returned by {@link sap.ushell.services.SmartNavigation#getLinks}.
|
|
4798
|
-
* See:
|
|
4799
|
-
* sap.ushell.services.CrossApplicationNavigation#toExternal
|
|
4800
|
-
*/
|
|
4801
|
-
toExternal(): void;
|
|
4802
|
-
/**
|
|
4803
|
-
* @SINCE 1.46.0
|
|
4804
|
-
*
|
|
4805
|
-
* Tracks a navigation to a valid intent if provided via arguments but does not perform the navigation itself.
|
|
4806
|
-
* If no valid intent was provided tracking will be prevented. The intent has to consist of SemanticObject
|
|
4807
|
-
* and Action. It may be passed as complete shellHash (presidence) or as individual parts Additional parameters
|
|
4808
|
-
* will not be part of the tracking and ignored This Method can be used to track a click if the actual navigation
|
|
4809
|
-
* was triggered via clicking a link on the UI.
|
|
4810
|
-
*/
|
|
4811
|
-
trackNavigation(
|
|
4812
|
-
/**
|
|
4813
|
-
* The navigation target as object, for example: `{ target: { shellHash: 'SaleOrder-display' } }` or ` {
|
|
4814
|
-
* target: { semanticObject: 'SalesOrder', action: 'action' } } `
|
|
4815
|
-
*/
|
|
4816
|
-
oArguments: object
|
|
4817
|
-
): object;
|
|
4818
4815
|
}
|
|
4819
4816
|
/**
|
|
4820
4817
|
* @SINCE 1.19.1
|
|
@@ -5037,8 +5034,8 @@ declare namespace sap {
|
|
|
5037
5034
|
/**
|
|
5038
5035
|
* any value
|
|
5039
5036
|
*/
|
|
5040
|
-
sURL:
|
|
5041
|
-
):
|
|
5037
|
+
sURL: String
|
|
5038
|
+
): String;
|
|
5042
5039
|
/**
|
|
5043
5040
|
* @SINCE 1.16.0
|
|
5044
5041
|
*
|
|
@@ -5073,7 +5070,11 @@ declare namespace sap {
|
|
|
5073
5070
|
* the following parts `http://www.mycorp.com/sap/fiori/FioriLaunchpad.html` must match.
|
|
5074
5071
|
*
|
|
5075
5072
|
* The actual test is synchronous and *only* tests whether the hash part can be parsed and contains a semantic
|
|
5076
|
-
* object and action. It does not test whether the intent or
|
|
5073
|
+
* object and action. It does not test whether the intent or its parameters are valid for a given user
|
|
5074
|
+
*
|
|
5075
|
+
* This function does not work properly when used inside the app runtime as it compares the given URL to
|
|
5076
|
+
* the app runtime's URL instead of the outer FLP's URL. It can still be used for synchronous use cases
|
|
5077
|
+
* in the ushell that do not run inside the app runtime.
|
|
5077
5078
|
*/
|
|
5078
5079
|
isIntentUrl(
|
|
5079
5080
|
/**
|
|
@@ -5081,6 +5082,25 @@ declare namespace sap {
|
|
|
5081
5082
|
*/
|
|
5082
5083
|
sUrl: string
|
|
5083
5084
|
): boolean;
|
|
5085
|
+
/**
|
|
5086
|
+
* @SINCE 1.96.0
|
|
5087
|
+
*
|
|
5088
|
+
* Check if a URL has an intent based navigation part which can be parsed into a semantic object and action
|
|
5089
|
+
* part. Accepts only a relative URL (must contain #) or fully qualified Urls for which origin and filename
|
|
5090
|
+
* must correspond to the running launchpad.
|
|
5091
|
+
*
|
|
5092
|
+
* Given actual url `http://www.mycorp.com/sap/fiori/FioriLaunchpad.html?sap-language=DE#SO-action?P1=value1`,
|
|
5093
|
+
* the following parts `http://www.mycorp.com/sap/fiori/FioriLaunchpad.html` must match.
|
|
5094
|
+
*
|
|
5095
|
+
* This function *only* tests whether the hash part can be parsed and contains a semantic object and action.
|
|
5096
|
+
* It does not test whether the intent or its parameters are valid for a given user
|
|
5097
|
+
*/
|
|
5098
|
+
isIntentUrlAsync(
|
|
5099
|
+
/**
|
|
5100
|
+
* the URL to test. Note: this url must be in internal format.
|
|
5101
|
+
*/
|
|
5102
|
+
sUrl: string
|
|
5103
|
+
): Promise<boolean>;
|
|
5084
5104
|
/**
|
|
5085
5105
|
* @SINCE 1.20.0
|
|
5086
5106
|
*
|
|
@@ -5091,8 +5111,8 @@ declare namespace sap {
|
|
|
5091
5111
|
/**
|
|
5092
5112
|
* any value { ABC : [1,"1 2"], DEF : ["4"]}
|
|
5093
5113
|
*/
|
|
5094
|
-
oParams:
|
|
5095
|
-
):
|
|
5114
|
+
oParams: Object
|
|
5115
|
+
): String;
|
|
5096
5116
|
/**
|
|
5097
5117
|
* @SINCE 1.20.0
|
|
5098
5118
|
*
|
|
@@ -5102,8 +5122,8 @@ declare namespace sap {
|
|
|
5102
5122
|
/**
|
|
5103
5123
|
* Parameter string, e.g. `?ABC=1&ABC=1%202DEF=4`
|
|
5104
5124
|
*/
|
|
5105
|
-
sParams:
|
|
5106
|
-
):
|
|
5125
|
+
sParams: String
|
|
5126
|
+
): Object;
|
|
5107
5127
|
/**
|
|
5108
5128
|
* @SINCE 1.16.0
|
|
5109
5129
|
*
|
|
@@ -5115,7 +5135,7 @@ declare namespace sap {
|
|
|
5115
5135
|
*
|
|
5116
5136
|
* e.g. `"#Object-name~AFE2==?PV1=PV2&PV4=V5&/display/detail/7?UU=HH`
|
|
5117
5137
|
*/
|
|
5118
|
-
sHash:
|
|
5138
|
+
sHash: String
|
|
5119
5139
|
): object;
|
|
5120
5140
|
/**
|
|
5121
5141
|
* @SINCE 1.16.0
|
|
@@ -5129,7 +5149,7 @@ declare namespace sap {
|
|
|
5129
5149
|
* Hash part of a shell conformant URL #SO-Action~Context?P1=a&P2=x&/route?RPV=1 the hash part
|
|
5130
5150
|
* of an URL, e.g. "#Object-name~AFE2==?PV1=PV2&PV4=V5&/display/detail/7?UU=HH
|
|
5131
5151
|
*/
|
|
5132
|
-
sHash:
|
|
5152
|
+
sHash: String
|
|
5133
5153
|
): object;
|
|
5134
5154
|
}
|
|
5135
5155
|
/**
|
|
@@ -9254,7 +9274,7 @@ declare namespace sap {
|
|
|
9254
9274
|
*
|
|
9255
9275
|
* // Component.js (the app root component)
|
|
9256
9276
|
* ...
|
|
9257
|
-
* this.
|
|
9277
|
+
* this.getServiceAsync("ShellUIService").then( // promise is returned
|
|
9258
9278
|
* function (oService) {
|
|
9259
9279
|
* oService.setTitle("Application Title");
|
|
9260
9280
|
* },
|
|
@@ -9281,8 +9301,8 @@ declare namespace sap {
|
|
|
9281
9301
|
* "lazy": false,
|
|
9282
9302
|
* "factoryName": "sap.ushell.ui5service.ShellUIService",
|
|
9283
9303
|
* "settings": {
|
|
9284
|
-
* "setHierarchy": "auto",
|
|
9285
|
-
* "setTitle": "auto"
|
|
9304
|
+
* "setHierarchy": "auto",
|
|
9305
|
+
* "setTitle": "auto"
|
|
9286
9306
|
* }
|
|
9287
9307
|
* }
|
|
9288
9308
|
* }
|
|
@@ -9505,8 +9525,6 @@ declare namespace sap {
|
|
|
9505
9525
|
}
|
|
9506
9526
|
|
|
9507
9527
|
interface IUI5DefineDependencyNames {
|
|
9508
|
-
"sap/ushell/bootstrap/homepage/mockContainer": undefined;
|
|
9509
|
-
|
|
9510
9528
|
"sap/ushell/components/factsheet/controls/PictureTile": undefined;
|
|
9511
9529
|
|
|
9512
9530
|
"sap/ushell/components/factsheet/controls/PictureViewer": undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.96.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -458,7 +458,7 @@ declare namespace sap {
|
|
|
458
458
|
* sticky session header requested. This is to avoid that the feature is disabled if the load balancer returns
|
|
459
459
|
* another value for the sticky session header for some reason (e.g. the application server goes offline).
|
|
460
460
|
* NOTE: In line with {@link sap.ui2.srvc.PageBuildingService}, session stickiness is only supported
|
|
461
|
-
* in scopes different from PERS. Currently, session stickiness is affected by the following
|
|
461
|
+
* in scopes different from PERS. Currently, session stickiness is affected by the following restrictions:
|
|
462
462
|
*
|
|
463
463
|
* - If the client caches the response headers for certain requests, these cached headers will be used
|
|
464
464
|
* instead of the headers sent from the server (as in if cache was disabled).
|
package/types/sap.uxap.d.ts
CHANGED
package/types/sap.viz.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.96.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace zen {
|
|
@@ -2800,6 +2800,10 @@ declare namespace sap {
|
|
|
2800
2800
|
* busines formular style
|
|
2801
2801
|
*/
|
|
2802
2802
|
BusinessStyleFormular = "BusinessStyleFormular",
|
|
2803
|
+
/**
|
|
2804
|
+
* custom style
|
|
2805
|
+
*/
|
|
2806
|
+
CustomStyle = "CustomStyle",
|
|
2803
2807
|
/**
|
|
2804
2808
|
* mimicking spreadsheet
|
|
2805
2809
|
*/
|