@sapui5/types 1.119.2 → 1.120.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +0 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +58 -58
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +103 -1
- package/types/sap.f.d.ts +2 -2
- package/types/sap.fe.core.d.ts +10 -1
- package/types/sap.fe.macros.d.ts +84 -78
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +11 -2
- package/types/sap.fe.test.d.ts +15 -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 +951 -15
- package/types/sap.insights.d.ts +92 -12
- package/types/sap.m.d.ts +5723 -155
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +7 -3
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +870 -1007
- package/types/sap.suite.ui.commons.d.ts +34 -2
- package/types/sap.suite.ui.generic.template.d.ts +26 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +45 -2
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +567 -40
- package/types/sap.ui.core.d.ts +1744 -143
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +14 -4
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +125 -102
- package/types/sap.ui.mdc.d.ts +2142 -1439
- package/types/sap.ui.richtexteditor.d.ts +4 -12
- 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 +7 -1
- package/types/sap.ui.table.d.ts +121 -47
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- 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 +5 -11
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +454 -136
- package/types/sap.ui.webc.main.d.ts +3737 -1084
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1996 -808
- package/types/sap.ushell_abap.d.ts +1 -1
- 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 +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
- package/types/sap.landvisz.d.ts +0 -8043
package/types/sap.ushell.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.120.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ushell/library" {
|
|
4
4
|
/**
|
|
@@ -755,8 +755,8 @@ declare module "sap/ushell/Container" {
|
|
|
755
755
|
/**
|
|
756
756
|
* @since 1.15.0
|
|
757
757
|
*
|
|
758
|
-
* The Unified Shell's container
|
|
759
|
-
*
|
|
758
|
+
* The Unified Shell's container. Manages renderers, services, and adapters. The container is designed to
|
|
759
|
+
* be a singleton, therefore instead of creating an instance, access the central one via `sap.ushell.Container`.
|
|
760
760
|
*/
|
|
761
761
|
export default class Container {
|
|
762
762
|
constructor();
|
|
@@ -767,15 +767,6 @@ declare module "sap/ushell/Container" {
|
|
|
767
767
|
*/
|
|
768
768
|
DirtyState: DirtyState;
|
|
769
769
|
|
|
770
|
-
/**
|
|
771
|
-
* @since 1.15.0
|
|
772
|
-
*
|
|
773
|
-
* Logs out the current user from all relevant back-end systems, including the logon system itself. This
|
|
774
|
-
* member represents the default native implementation of logout. If SessionHandler was created, we register
|
|
775
|
-
* the alternate logout function using registerLogout function.
|
|
776
|
-
*/
|
|
777
|
-
logout: undefined;
|
|
778
|
-
|
|
779
770
|
/**
|
|
780
771
|
* @since 1.15.0
|
|
781
772
|
*
|
|
@@ -831,6 +822,7 @@ declare module "sap/ushell/Container" {
|
|
|
831
822
|
cancelLogon(): void;
|
|
832
823
|
/**
|
|
833
824
|
* @since 1.15.0
|
|
825
|
+
* @deprecated (since 1.120.0)
|
|
834
826
|
*
|
|
835
827
|
* Creates a new renderer instance for the given renderer name.
|
|
836
828
|
*
|
|
@@ -924,6 +916,7 @@ declare module "sap/ushell/Container" {
|
|
|
924
916
|
getGlobalDirty(): jQuery.Deferred;
|
|
925
917
|
/**
|
|
926
918
|
* @since 1.30.0
|
|
919
|
+
* @deprecated (since 1.120.0)
|
|
927
920
|
*
|
|
928
921
|
* Gets a renderer instance for the given renderer name, that was created by the createRenderer method.
|
|
929
922
|
*
|
|
@@ -993,8 +986,8 @@ declare module "sap/ushell/Container" {
|
|
|
993
986
|
* the fourth parameter `{config: {header: "hidden"}}`. Its adapter is an instance of `my.own.FooAdapter`
|
|
994
987
|
* constructed with the parameters logon system, "runtimeConfig" and `{config: {foo: "bar"}}`.
|
|
995
988
|
*
|
|
996
|
-
*
|
|
997
|
-
*
|
|
989
|
+
* Note that the api will throw a runtime error (or reject for async mode) if the service name does not
|
|
990
|
+
* reflect a service available.
|
|
998
991
|
* See:
|
|
999
992
|
* sap.ushell.services.ContainerInterface
|
|
1000
993
|
*
|
|
@@ -1082,6 +1075,16 @@ declare module "sap/ushell/Container" {
|
|
|
1082
1075
|
*/
|
|
1083
1076
|
sParameter?: string
|
|
1084
1077
|
): Promise<object>;
|
|
1078
|
+
/**
|
|
1079
|
+
* @since 1.15.0
|
|
1080
|
+
*
|
|
1081
|
+
* Logs out the current user from all relevant back-end systems, including the logon system itself. This
|
|
1082
|
+
* member represents the default native implementation of logout. If SessionHandler was created, we register
|
|
1083
|
+
* the alternate logout function using registerLogout function.
|
|
1084
|
+
*
|
|
1085
|
+
* @returns A `jQuery.promise` to be resolved when logout is finished, even when it fails.
|
|
1086
|
+
*/
|
|
1087
|
+
logout(): jQuery.Deferred;
|
|
1085
1088
|
/**
|
|
1086
1089
|
* @since 1.31.0
|
|
1087
1090
|
*
|
|
@@ -1150,23 +1153,17 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
1150
1153
|
$UIComponentSettings,
|
|
1151
1154
|
} from "sap/ui/core/UIComponent";
|
|
1152
1155
|
|
|
1153
|
-
import { IAsyncContentCreation } from "sap/ui/core/library";
|
|
1154
|
-
|
|
1155
1156
|
import Control from "sap/ui/core/Control";
|
|
1156
1157
|
|
|
1157
|
-
import ComponentMetadata from "sap/ui/core/ComponentMetadata";
|
|
1158
|
-
|
|
1159
1158
|
import Bar from "sap/m/Bar";
|
|
1160
1159
|
|
|
1161
1160
|
/**
|
|
1162
1161
|
* @since 1.15.0
|
|
1162
|
+
* @deprecated (since 1.120.0) - Please use {@link sap.ushell.services.Extension} instead.
|
|
1163
1163
|
*
|
|
1164
1164
|
* The SAPUI5 component of SAP Fiori Launchpad renderer for the Unified Shell.
|
|
1165
1165
|
*/
|
|
1166
|
-
export default class Renderer
|
|
1167
|
-
extends UIComponent
|
|
1168
|
-
implements IAsyncContentCreation {
|
|
1169
|
-
__implements__sap_ui_core_IAsyncContentCreation: boolean;
|
|
1166
|
+
export default class Renderer extends UIComponent {
|
|
1170
1167
|
/**
|
|
1171
1168
|
* This method MUST be called by the Unified Shell's container only, others MUST call `sap.ushell.Container.createRenderer("fiori2",
|
|
1172
1169
|
* true)`.
|
|
@@ -1183,35 +1180,6 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
1183
1180
|
*/
|
|
1184
1181
|
LaunchpadState: undefined;
|
|
1185
1182
|
|
|
1186
|
-
/**
|
|
1187
|
-
* Creates a new subclass of class sap.ushell.renderers.fiori2.Renderer with name `sClassName` and enriches
|
|
1188
|
-
* it with the information contained in `oClassInfo`.
|
|
1189
|
-
*
|
|
1190
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.UIComponent.extend}.
|
|
1191
|
-
*
|
|
1192
|
-
* @returns Created class / constructor function
|
|
1193
|
-
*/
|
|
1194
|
-
static extend<T extends Record<string, unknown>>(
|
|
1195
|
-
/**
|
|
1196
|
-
* Name of the class being created
|
|
1197
|
-
*/
|
|
1198
|
-
sClassName: string,
|
|
1199
|
-
/**
|
|
1200
|
-
* Object literal with information about the class
|
|
1201
|
-
*/
|
|
1202
|
-
oClassInfo?: sap.ClassInfo<T, Renderer>,
|
|
1203
|
-
/**
|
|
1204
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
1205
|
-
* used by this class
|
|
1206
|
-
*/
|
|
1207
|
-
FNMetaImpl?: Function
|
|
1208
|
-
): Function;
|
|
1209
|
-
/**
|
|
1210
|
-
* Returns a metadata object for class sap.ushell.renderers.fiori2.Renderer.
|
|
1211
|
-
*
|
|
1212
|
-
* @returns Metadata object describing this class
|
|
1213
|
-
*/
|
|
1214
|
-
static getMetadata(): ComponentMetadata;
|
|
1215
1183
|
/**
|
|
1216
1184
|
* @since 1.30
|
|
1217
1185
|
* @deprecated (since 1.48) - Please use {@link #addUserAction} instead.
|
|
@@ -1232,7 +1200,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
1232
1200
|
* 1. The control instance is already created and its ID is included in the input parameter oControlProperties
|
|
1233
1201
|
* 2. The control type resource is already loaded
|
|
1234
1202
|
* See:
|
|
1235
|
-
* sap.ushell.renderers.fiori2.
|
|
1203
|
+
* sap.ushell.renderers.fiori2.Renderer.LaunchpadState
|
|
1236
1204
|
* If no launchpad state is provided, the content is added in all states.
|
|
1237
1205
|
*
|
|
1238
1206
|
* @returns oItem - the created control
|
|
@@ -1818,7 +1786,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
1818
1786
|
*
|
|
1819
1787
|
* See:
|
|
1820
1788
|
* sap.ushell.ui.shell.ToolAreaItem
|
|
1821
|
-
* sap.ushell.renderers.fiori2.
|
|
1789
|
+
* sap.ushell.renderers.fiori2.Renderer.LaunchpadState.
|
|
1822
1790
|
*
|
|
1823
1791
|
* @returns the added control
|
|
1824
1792
|
*/
|
|
@@ -1970,6 +1938,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
1970
1938
|
): void;
|
|
1971
1939
|
/**
|
|
1972
1940
|
* @since 1.37
|
|
1941
|
+
* @deprecated (since 1.120.0) - This functionality was discontinued
|
|
1973
1942
|
*
|
|
1974
1943
|
* This method returns the current state of the Viewport Container control.
|
|
1975
1944
|
*
|
|
@@ -1985,7 +1954,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
1985
1954
|
* This API is meant to be used for custom elements in the SAP Fiori launchpad. We do not recommend using
|
|
1986
1955
|
* it on standard launchpad elements, as this may interfere with the standard launchpad functionality.
|
|
1987
1956
|
* See:
|
|
1988
|
-
* sap.ushell.renderers.fiori2.
|
|
1957
|
+
* sap.ushell.renderers.fiori2.Renderer.LaunchpadState.
|
|
1989
1958
|
* If no launchpad state is provided, the content is hidden in all states.
|
|
1990
1959
|
*/
|
|
1991
1960
|
hideActionButton(
|
|
@@ -2160,7 +2129,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2160
2129
|
* to be used for implementing custom elements in the SAP Fiori launchpad. We do not recommend using it
|
|
2161
2130
|
* on a standard launchpad element, as this may interfere with the standard launchpad functionality.
|
|
2162
2131
|
* See:
|
|
2163
|
-
* sap.ushell.renderers.fiori2.
|
|
2132
|
+
* sap.ushell.renderers.fiori2.Renderer.LaunchpadState.
|
|
2164
2133
|
*/
|
|
2165
2134
|
removeToolAreaItem(
|
|
2166
2135
|
/**
|
|
@@ -2181,6 +2150,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2181
2150
|
): void;
|
|
2182
2151
|
/**
|
|
2183
2152
|
* @since 1.30
|
|
2153
|
+
* @deprecated (since 1.120.0) - Please use {@link #setShellFooter} instead.
|
|
2184
2154
|
*
|
|
2185
2155
|
* Displays the given sap.m.Bar as the footer of the Fiori launchpad shell.
|
|
2186
2156
|
* The footer will be displayed in all states.
|
|
@@ -2246,6 +2216,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2246
2216
|
): Control;
|
|
2247
2217
|
/**
|
|
2248
2218
|
* @since 1.30
|
|
2219
|
+
* @deprecated (since 1.120.0) - Please use {@link sap.ushell.ui5service.ShellUIService#getTitle} instead.
|
|
2249
2220
|
*
|
|
2250
2221
|
* Sets the title in the Fiori Launchpad shell header.
|
|
2251
2222
|
*/
|
|
@@ -2257,8 +2228,9 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2257
2228
|
): void;
|
|
2258
2229
|
/**
|
|
2259
2230
|
* @since 1.38
|
|
2231
|
+
* @deprecated (since 1.120.0) - This functionality was discontinued
|
|
2260
2232
|
*
|
|
2261
|
-
* Sets the header visibility according to the given value and shell states. (see sap.ushell.renderers.fiori2.
|
|
2233
|
+
* Sets the header visibility according to the given value and shell states. (see sap.ushell.renderers.fiori2.Renderer.LaunchpadState).
|
|
2262
2234
|
*
|
|
2263
2235
|
* **Example:**
|
|
2264
2236
|
* ```javascript
|
|
@@ -2355,7 +2327,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2355
2327
|
* @since 1.30
|
|
2356
2328
|
*
|
|
2357
2329
|
* Displays action buttons in the User Actions Menu in the SAP Fiori launchpad, in the given launchpad states
|
|
2358
|
-
* (LaunchpadState). (see sap.ushell.renderers.fiori2.
|
|
2330
|
+
* (LaunchpadState). (see sap.ushell.renderers.fiori2.Renderer.LaunchpadState).
|
|
2359
2331
|
* If no launchpad state is provided the content is displayed in all states.
|
|
2360
2332
|
* The user actions menu is opened via the button on the right hand side of the shell header.
|
|
2361
2333
|
*
|
|
@@ -2369,7 +2341,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2369
2341
|
* ```
|
|
2370
2342
|
*
|
|
2371
2343
|
* See:
|
|
2372
|
-
* sap.ushell.renderers.fiori2.
|
|
2344
|
+
* sap.ushell.renderers.fiori2.Renderer.LaunchpadState.
|
|
2373
2345
|
* If no launchpad state is provided, the content is added in all states.
|
|
2374
2346
|
*/
|
|
2375
2347
|
showActionButton(
|
|
@@ -2395,7 +2367,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2395
2367
|
*
|
|
2396
2368
|
* Displays FloatingActionButton on the bottom right corner of the Fiori launchpad, in the given launchpad
|
|
2397
2369
|
* states. The FloatingActionButton is rendered in the bottom right corner of the shell.
|
|
2398
|
-
* (see sap.ushell.renderers.fiori2.
|
|
2370
|
+
* (see sap.ushell.renderers.fiori2.Renderer.LaunchpadState).
|
|
2399
2371
|
* If no launchpad state is provided the content is displayed in all states.
|
|
2400
2372
|
*
|
|
2401
2373
|
*
|
|
@@ -2418,7 +2390,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2418
2390
|
*/
|
|
2419
2391
|
bCurrentState: boolean,
|
|
2420
2392
|
/**
|
|
2421
|
-
* (only valid if bCurrentState is set to false) - list of the sap.ushell.renderers.fiori2.
|
|
2393
|
+
* (only valid if bCurrentState is set to false) - list of the sap.ushell.renderers.fiori2.Renderer.LaunchpadState
|
|
2422
2394
|
* in which to add the aIds.
|
|
2423
2395
|
*/
|
|
2424
2396
|
aStates: string[]
|
|
@@ -2427,7 +2399,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2427
2399
|
* @since 1.30
|
|
2428
2400
|
*
|
|
2429
2401
|
* Displays HeaderItems on the right side of the Fiori launchpad shell header, in the given launchpad states
|
|
2430
|
-
* (see sap.ushell.renderers.fiori2.
|
|
2402
|
+
* (see sap.ushell.renderers.fiori2.Renderer.LaunchpadState).
|
|
2431
2403
|
* If no launchpad state is provided the content is displayed in all states.
|
|
2432
2404
|
* The shell header can display the user HeaderItem, and just one more HeaderItem.
|
|
2433
2405
|
* If this method is called when the right side of the header is full, this method will not do anything.
|
|
@@ -2452,7 +2424,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2452
2424
|
*/
|
|
2453
2425
|
bCurrentState: boolean,
|
|
2454
2426
|
/**
|
|
2455
|
-
* (only valid if bCurrentState is set to false) - list of the sap.ushell.renderers.fiori2.
|
|
2427
|
+
* (only valid if bCurrentState is set to false) - list of the sap.ushell.renderers.fiori2.Renderer.LaunchpadState
|
|
2456
2428
|
* in which to add the aIds.
|
|
2457
2429
|
*/
|
|
2458
2430
|
aStates: string[]
|
|
@@ -2461,7 +2433,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2461
2433
|
* @since 1.30
|
|
2462
2434
|
*
|
|
2463
2435
|
* Creates and displays one or more HeaderItem controls according to the given control IDs and Shell states
|
|
2464
|
-
* (see sap.ushell.renderers.fiori2.
|
|
2436
|
+
* (see sap.ushell.renderers.fiori2.Renderer.LaunchpadState).
|
|
2465
2437
|
*
|
|
2466
2438
|
* The HeaderItem controls will be displayed on the left side of the Fiori Launchpad shell header according
|
|
2467
2439
|
* to the given display parameters.
|
|
@@ -2479,7 +2451,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2479
2451
|
* ```
|
|
2480
2452
|
*
|
|
2481
2453
|
* See:
|
|
2482
|
-
* sap.ushell.renderers.fiori2.
|
|
2454
|
+
* sap.ushell.renderers.fiori2.Renderer.LaunchpadState.
|
|
2483
2455
|
*/
|
|
2484
2456
|
showHeaderItem(
|
|
2485
2457
|
/**
|
|
@@ -2502,7 +2474,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2502
2474
|
* @since 1.30
|
|
2503
2475
|
*
|
|
2504
2476
|
* Displays one or more sub header controls according to the given control IDs and shell states.
|
|
2505
|
-
* (see sap.ushell.renderers.fiori2.
|
|
2477
|
+
* (see sap.ushell.renderers.fiori2.Renderer.LaunchpadState).
|
|
2506
2478
|
*
|
|
2507
2479
|
* A sub header is placed in a container, located directly below the main Fiori launchpad shell header.
|
|
2508
2480
|
*
|
|
@@ -2570,7 +2542,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2570
2542
|
* ```
|
|
2571
2543
|
*
|
|
2572
2544
|
* See:
|
|
2573
|
-
* sap.ushell.renderers.fiori2.
|
|
2545
|
+
* sap.ushell.renderers.fiori2.Renderer.LaunchpadState.
|
|
2574
2546
|
*/
|
|
2575
2547
|
showToolAreaItem(
|
|
2576
2548
|
/**
|
|
@@ -2617,6 +2589,9 @@ declare module "sap/ushell/services/AppConfiguration" {
|
|
|
2617
2589
|
constructor();
|
|
2618
2590
|
|
|
2619
2591
|
/**
|
|
2592
|
+
* @deprecated (since 1.120.0) - Use the "sap.ui/fullWidth" property in the application's manifest.json
|
|
2593
|
+
* instead.
|
|
2594
|
+
*
|
|
2620
2595
|
* Sets the application screen size to full width
|
|
2621
2596
|
*/
|
|
2622
2597
|
setApplicationFullWidth(
|
|
@@ -2634,8 +2609,8 @@ declare module "sap/ushell/services/AppLifeCycle" {
|
|
|
2634
2609
|
*
|
|
2635
2610
|
* The Unified Shell's AppLifeCycle service.
|
|
2636
2611
|
*
|
|
2637
|
-
* **
|
|
2638
|
-
* For details see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
2612
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("AppLifeCycle")`.
|
|
2613
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
2639
2614
|
*/
|
|
2640
2615
|
export default class AppLifeCycle {
|
|
2641
2616
|
constructor();
|
|
@@ -2724,17 +2699,19 @@ declare module "sap/ushell/services/Bookmark" {
|
|
|
2724
2699
|
|
|
2725
2700
|
/**
|
|
2726
2701
|
* @since 1.15.0
|
|
2702
|
+
* @deprecated (since 1.119) - Please use {@link sap.ushell.services.BookmarkV2} instead.
|
|
2727
2703
|
*
|
|
2728
|
-
* The Unified Shell's bookmark service
|
|
2704
|
+
* The Unified Shell's bookmark service. Allows creating shortcuts on the user's home page.
|
|
2729
2705
|
*
|
|
2730
|
-
* **
|
|
2731
|
-
* For details see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
2706
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("Bookmark")`.
|
|
2707
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
2732
2708
|
*/
|
|
2733
2709
|
export default class Bookmark {
|
|
2734
2710
|
constructor();
|
|
2735
2711
|
|
|
2736
2712
|
/**
|
|
2737
2713
|
* @since 1.15.0
|
|
2714
|
+
* @deprecated (since 1.119) - Please use {@link sap.ushell.services.BookmarkV2#addBookmark} instead.
|
|
2738
2715
|
*
|
|
2739
2716
|
* Adds a bookmark tile to one of the user's classic home page groups or to multiple provided content nodes.
|
|
2740
2717
|
* See:
|
|
@@ -2845,7 +2822,7 @@ declare module "sap/ushell/services/Bookmark" {
|
|
|
2845
2822
|
): jQuery.Promise;
|
|
2846
2823
|
/**
|
|
2847
2824
|
* @since 1.21.2
|
|
2848
|
-
* @deprecated (since 1.112) - Please use {@link #addBookmark} instead.
|
|
2825
|
+
* @deprecated (since 1.112) - Please use {@link sap.ushell.services.BookmarkV2#addBookmark} instead.
|
|
2849
2826
|
*
|
|
2850
2827
|
* Adds the catalog tile with the given ID to given group. The catalog tile is looked up in the legacy SAP
|
|
2851
2828
|
* HANA catalog unless data to look up a remote catalog is provided.
|
|
@@ -2879,6 +2856,7 @@ declare module "sap/ushell/services/Bookmark" {
|
|
|
2879
2856
|
): jQuery.Promise;
|
|
2880
2857
|
/**
|
|
2881
2858
|
* @since 1.17.1
|
|
2859
|
+
* @deprecated (since 1.119) - Please use {@link sap.ushell.services.BookmarkV2#countBookmarks} instead.
|
|
2882
2860
|
*
|
|
2883
2861
|
* Counts **all** bookmarks pointing to the given URL from all of the user's pages. You can use this method
|
|
2884
2862
|
* to check if a bookmark already exists. This is a potentially asynchronous operation in case the user's
|
|
@@ -2902,6 +2880,7 @@ declare module "sap/ushell/services/Bookmark" {
|
|
|
2902
2880
|
): jQuery.Promise;
|
|
2903
2881
|
/**
|
|
2904
2882
|
* @since 1.17.1
|
|
2883
|
+
* @deprecated (since 1.119) - Please use {@link sap.ushell.services.BookmarkV2#deleteBookmarks} instead.
|
|
2905
2884
|
*
|
|
2906
2885
|
* Deletes **all** bookmarks pointing to the given URL from all of the user's pages.
|
|
2907
2886
|
* See:
|
|
@@ -2924,6 +2903,7 @@ declare module "sap/ushell/services/Bookmark" {
|
|
|
2924
2903
|
): jQuery.Promise;
|
|
2925
2904
|
/**
|
|
2926
2905
|
* @since 1.81
|
|
2906
|
+
* @deprecated (since 1.119) - Please use {@link sap.ushell.services.BookmarkV2#getContentNodes} instead.
|
|
2927
2907
|
*
|
|
2928
2908
|
* Returns available content nodes based on the current launchpad context. (Classic home page, spaces mode)
|
|
2929
2909
|
*
|
|
@@ -2945,6 +2925,7 @@ declare module "sap/ushell/services/Bookmark" {
|
|
|
2945
2925
|
getContentNodes(): Promise<ContentNode[]>;
|
|
2946
2926
|
/**
|
|
2947
2927
|
* @since 1.17.1
|
|
2928
|
+
* @deprecated (since 1.119) - Please use {@link sap.ushell.services.BookmarkV2#updateBookmarks} instead.
|
|
2948
2929
|
*
|
|
2949
2930
|
* Updates **all** bookmarks pointing to the given URL on all of the user's pages with the given new parameters.
|
|
2950
2931
|
* Parameters which are omitted are not changed in the existing bookmarks.
|
|
@@ -3056,122 +3037,423 @@ declare module "sap/ushell/services/Bookmark" {
|
|
|
3056
3037
|
};
|
|
3057
3038
|
}
|
|
3058
3039
|
|
|
3059
|
-
declare module "sap/ushell/services/
|
|
3060
|
-
|
|
3061
|
-
* @since 1.64.0
|
|
3062
|
-
*
|
|
3063
|
-
* The unified shell's Configuration service, which allows to attach to **selected** launchpad configuration
|
|
3064
|
-
* settings and their value changes.
|
|
3065
|
-
*/
|
|
3066
|
-
export default class Configuration {
|
|
3067
|
-
/**
|
|
3068
|
-
* This method MUST be called by the Unified Shell's container only, others MUST call `sap.ushell.Container.getServiceAsync("Configuration").then(function
|
|
3069
|
-
* (Configuration) {});`. Constructs a new Configuration service.
|
|
3070
|
-
* See:
|
|
3071
|
-
* sap.ushell.services.Container#getServiceAsync
|
|
3072
|
-
*/
|
|
3073
|
-
constructor();
|
|
3074
|
-
}
|
|
3075
|
-
}
|
|
3076
|
-
|
|
3077
|
-
declare module "sap/ushell/services/CrossApplicationNavigation" {
|
|
3078
|
-
import Component from "sap/ui/core/Component";
|
|
3040
|
+
declare module "sap/ushell/services/BookmarkV2" {
|
|
3041
|
+
import { ContentNodeType } from "sap/ushell/library";
|
|
3079
3042
|
|
|
3080
3043
|
/**
|
|
3081
|
-
* @since 1.
|
|
3082
|
-
*
|
|
3083
|
-
* The Unified Shell's CrossApplicationNavigation service allows to navigate to "external" targets outside
|
|
3084
|
-
* of the currently running app (but still in scope of the current Fiori launchpad) or create links to such
|
|
3085
|
-
* external targets.
|
|
3086
|
-
*
|
|
3087
|
-
* To use the CrossApplicationNavigation service you can retrieve an instance via ushell's Container:
|
|
3088
|
-
* ```javascript
|
|
3089
|
-
*
|
|
3090
|
-
* sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then(function (CrossApplicationNavigationService) {
|
|
3091
|
-
* // Use the CrossApplicationNavigation service
|
|
3092
|
-
* });
|
|
3093
|
-
* ```
|
|
3094
|
-
*
|
|
3095
|
-
*
|
|
3096
|
-
* The CrossApplicationNavigation service currently provides platform independent functionality.
|
|
3097
|
-
*
|
|
3098
|
-
* The service is meant to be used by applications, plugins and shell components.
|
|
3099
|
-
*
|
|
3100
|
-
* Usage:
|
|
3101
|
-
* ```javascript
|
|
3102
|
-
*
|
|
3103
|
-
* sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then( function (oService) {
|
|
3104
|
-
*
|
|
3105
|
-
* oService.hrefForExternalAsync({
|
|
3106
|
-
* target : {
|
|
3107
|
-
* semanticObject: "Product",
|
|
3108
|
-
* action: "display"
|
|
3109
|
-
* },
|
|
3110
|
-
* params: {
|
|
3111
|
-
* "ProductID": "102343333"
|
|
3112
|
-
* }
|
|
3113
|
-
* }).then( function(sHref) {
|
|
3114
|
-
* // Place sHref somewhere in the DOM
|
|
3115
|
-
* });
|
|
3116
|
-
* });
|
|
3117
|
-
* ```
|
|
3118
|
-
*
|
|
3119
|
-
*
|
|
3120
|
-
* Parameter names and values are case sensitive.
|
|
3121
|
-
*
|
|
3122
|
-
* Note that the usage of multi-valued parameters (specifying an array with more than one member as parameter
|
|
3123
|
-
* value, e.g. `params : { A : ["a1", "a2"] }`) is possible with this API but **strongly discouraged**.
|
|
3124
|
-
* Depending on the used platform / back-end implementation the target matching might not supported multi-value
|
|
3125
|
-
* parameters. Furthermore, it is not guaranteed that additional parameter values specified in the back-end
|
|
3126
|
-
* configuration are merged with parameter values passed in this method.
|
|
3127
|
-
*
|
|
3128
|
-
* Note that the application parameter length (including SemanticObject/Action) shall not exceed 512 bytes
|
|
3129
|
-
* when serialized as UTF-8.
|
|
3130
|
-
*
|
|
3131
|
-
* Note that when receiving the values as startup parameters (as part of the component data object) single
|
|
3132
|
-
* values are represented as an array of size 1. Above example is returned as ` deepEqual(getComponentData().startupParameters
|
|
3133
|
-
* , { "ProductID" : [ "102343333" ] } ) `
|
|
3134
|
-
*
|
|
3135
|
-
* Make sure not to store security critical data within an URL. URLs may appear in a server log, be persisted
|
|
3136
|
-
* inside and outside the system.
|
|
3044
|
+
* @since 1.119.0
|
|
3137
3045
|
*
|
|
3138
|
-
*
|
|
3139
|
-
* prolonged time, the actual data is persisted under a key accessible to any User (guessing the key).
|
|
3046
|
+
* The Unified Shell's bookmark service. Allows creating shortcuts on the user's home page.
|
|
3140
3047
|
*
|
|
3141
|
-
*
|
|
3048
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("BookmarkV2")`.
|
|
3049
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
3142
3050
|
*/
|
|
3143
|
-
export default class
|
|
3051
|
+
export default class BookmarkV2 {
|
|
3144
3052
|
constructor();
|
|
3145
3053
|
|
|
3146
3054
|
/**
|
|
3147
|
-
*
|
|
3148
|
-
*
|
|
3149
|
-
* A navigation to the Fiori launchpad Home is performed when this method is called on a first navigation.
|
|
3150
|
-
* In all other cases, this function simply performs a browser back navigation.
|
|
3055
|
+
* @since 1.119.0
|
|
3151
3056
|
*
|
|
3152
|
-
*
|
|
3153
|
-
*
|
|
3154
|
-
*
|
|
3057
|
+
* Adds a bookmark tile to one of the user's classic home page groups or to multiple provided content nodes.
|
|
3058
|
+
* See:
|
|
3059
|
+
* sap.ushell.services.URLParsing#getShellHash
|
|
3155
3060
|
*
|
|
3156
|
-
* @returns A
|
|
3061
|
+
* @returns A `Promise` which resolves on success, but rejects with a reason-message on failure to add the
|
|
3062
|
+
* bookmark to the specified or implied group. The promise gets resolved if personalization is disabled.
|
|
3157
3063
|
*/
|
|
3158
|
-
|
|
3064
|
+
addBookmark(
|
|
3065
|
+
/**
|
|
3066
|
+
* Bookmark parameters. In addition to title and URL, a bookmark might allow further settings, such as an
|
|
3067
|
+
* icon or a subtitle. Which settings are supported depends on the environment in which the application
|
|
3068
|
+
* is running. Unsupported parameters will be ignored.
|
|
3069
|
+
*/
|
|
3070
|
+
oParameters: {
|
|
3071
|
+
/**
|
|
3072
|
+
* The title of the bookmark.
|
|
3073
|
+
*/
|
|
3074
|
+
title: string;
|
|
3075
|
+
/**
|
|
3076
|
+
* The target intent or URL of the bookmark. If the target app runs in the current shell, the URL has to
|
|
3077
|
+
* be a valid intent, i.e. in the format `"#SO-Action?P1=a&P2=x&/route?RPV=1"`.
|
|
3078
|
+
*/
|
|
3079
|
+
url: string;
|
|
3080
|
+
/**
|
|
3081
|
+
* The optional icon URL of the bookmark (e.g. `"sap-icon://home"`).
|
|
3082
|
+
*/
|
|
3083
|
+
icon?: string;
|
|
3084
|
+
/**
|
|
3085
|
+
* The information text of the bookmark.
|
|
3086
|
+
*/
|
|
3087
|
+
info?: string;
|
|
3088
|
+
/**
|
|
3089
|
+
* The subtitle of the bookmark.
|
|
3090
|
+
*/
|
|
3091
|
+
subtitle?: string;
|
|
3092
|
+
/**
|
|
3093
|
+
* The URL to a REST or OData service that provides some dynamic information for the bookmark.
|
|
3094
|
+
*
|
|
3095
|
+
* **Semantic Date Ranges:**
|
|
3096
|
+
*
|
|
3097
|
+
* You can use placeholders for dynamic dates in the query parameters of the service URL. This can be used
|
|
3098
|
+
* to create KPI tiles based on user entries in control {@link sap.m.DynamicDateRange}, where it is possible
|
|
3099
|
+
* to specify dynamic dates like YESTERDAY or THISYEAR.
|
|
3100
|
+
*
|
|
3101
|
+
* The placeholder format looks like this: {Edm.<type>%%DynamicDate.<operator>.<value1>.<value2>.<position>%%}
|
|
3102
|
+
*
|
|
3103
|
+
*
|
|
3104
|
+
* - <type>: The Edm Type of the parameter. Supported types are String, DateTime and DateTimeOffset
|
|
3105
|
+
* for OData V2 and Date and DateTimeOffset for OData V4.
|
|
3106
|
+
* - <operator>, <value1>, <value2>: Possible values are the ones that can be used in
|
|
3107
|
+
* {@link sap.m.DynamicDateRange#toDates} to create a date range.
|
|
3108
|
+
* - <position>: Possible values are 'start' and 'end' which mark the start or end of the interval
|
|
3109
|
+
* specified by the operator.
|
|
3110
|
+
*
|
|
3111
|
+
* Examples:
|
|
3112
|
+
* - /a/url/$count?$filter=(testDate ge {Edm.DateTimeOffset%DynamicDate.YESTERDAY.start%} and testDate
|
|
3113
|
+
* le {Edm.DateTimeOffset%DynamicDate.YESTERDAY.end%})
|
|
3114
|
+
* - /a/url/$count?$filter=(testDate ge {Edm.DateTime%DynamicDate.THISYEAR.start%} and testDate le {Edm.DateTime%DynamicDate.THISYEAR.end%})
|
|
3115
|
+
*
|
|
3116
|
+
* - /a/url/$count?$filter=(testDate ge {Edm.Date%DynamicDate.TODAYFROMTO.1.5.start%} and testDate le
|
|
3117
|
+
* {Edm.Date%DynamicDate.TODAYFROMTO.1.5.end%})
|
|
3118
|
+
*
|
|
3119
|
+
* Hint: Check the debug log when displaying the resulting KPI tiles to get more information about the resolution
|
|
3120
|
+
* of the placeholders.
|
|
3121
|
+
*/
|
|
3122
|
+
serviceUrl?: string;
|
|
3123
|
+
/**
|
|
3124
|
+
* Metadata for parameter serviceUrl. Mandatory to specify if parameter serviceURL contains semantic date
|
|
3125
|
+
* ranges. This does not influence the data source of the app itself.
|
|
3126
|
+
*
|
|
3127
|
+
* Specify the data source as follows:
|
|
3128
|
+
* ```javascript
|
|
3129
|
+
*
|
|
3130
|
+
* {
|
|
3131
|
+
* type: "OData",
|
|
3132
|
+
* settings: {
|
|
3133
|
+
* odataVersion: "4.0"
|
|
3134
|
+
* }
|
|
3135
|
+
* }
|
|
3136
|
+
* ```
|
|
3137
|
+
*
|
|
3138
|
+
*
|
|
3139
|
+
*
|
|
3140
|
+
* type: The type of the serviceURL's service. Only "OData" is supported. odataVersion: The OData version
|
|
3141
|
+
* of parameter serviceURL. Valid values are "2.0" and "4.0".
|
|
3142
|
+
*/
|
|
3143
|
+
dataSource?: object;
|
|
3144
|
+
/**
|
|
3145
|
+
* The refresh interval for the `serviceUrl` in seconds.
|
|
3146
|
+
*/
|
|
3147
|
+
serviceRefreshInterval?: string;
|
|
3148
|
+
/**
|
|
3149
|
+
* The unit for the number retrieved from `serviceUrl`.
|
|
3150
|
+
*/
|
|
3151
|
+
numberUnit?: string;
|
|
3152
|
+
},
|
|
3153
|
+
/**
|
|
3154
|
+
* Either a legacy launchpad home page group, one content node or an array of content nodes (see {@link #getContentNodes}).
|
|
3155
|
+
* If not provided, the bookmark will be added to the default group if spaces mode is not active or to the
|
|
3156
|
+
* default page if spaces mode is active.
|
|
3157
|
+
*/
|
|
3158
|
+
vContainer?: object | ContentNode | ContentNode[],
|
|
3159
|
+
/**
|
|
3160
|
+
* The contentProviderId or undefined outside the cFLP
|
|
3161
|
+
*/
|
|
3162
|
+
sContentProviderId?: string
|
|
3163
|
+
): Promise<any>;
|
|
3159
3164
|
/**
|
|
3160
|
-
*
|
|
3161
|
-
* it into a long url with all parameters expanded
|
|
3165
|
+
* @since 1.119.0
|
|
3162
3166
|
*
|
|
3163
|
-
*
|
|
3167
|
+
* Counts **all** bookmarks pointing to the given URL from all of the user's pages. You can use this method
|
|
3168
|
+
* to check if a bookmark already exists. This is a potentially asynchronous operation in case the user's
|
|
3169
|
+
* pages have not yet been loaded completely!
|
|
3170
|
+
* See:
|
|
3171
|
+
* #addBookmark
|
|
3172
|
+
*
|
|
3173
|
+
* @returns A `Promise` which informs about success or failure of this asynchronous operation. In case of
|
|
3174
|
+
* success, the count of existing bookmarks is provided (which might be zero). In case of failure, an error
|
|
3175
|
+
* message is passed.
|
|
3164
3176
|
*/
|
|
3165
|
-
|
|
3177
|
+
countBookmarks(
|
|
3166
3178
|
/**
|
|
3167
|
-
*
|
|
3179
|
+
* The URL of the bookmarks to be counted, exactly as specified to {@link #addBookmark}.
|
|
3168
3180
|
*/
|
|
3169
|
-
|
|
3170
|
-
|
|
3181
|
+
sUrl: string,
|
|
3182
|
+
/**
|
|
3183
|
+
* The Content Provider ID.
|
|
3184
|
+
*/
|
|
3185
|
+
sContentProviderId: string
|
|
3186
|
+
): Promise<any>;
|
|
3171
3187
|
/**
|
|
3172
|
-
* @since 1.
|
|
3173
|
-
*
|
|
3174
|
-
*
|
|
3188
|
+
* @since 1.119.0
|
|
3189
|
+
*
|
|
3190
|
+
* Deletes **all** bookmarks pointing to the given URL from all of the user's pages.
|
|
3191
|
+
* See:
|
|
3192
|
+
* #addBookmark
|
|
3193
|
+
* #countBookmarks
|
|
3194
|
+
*
|
|
3195
|
+
* @returns A `Promise` which informs about success or failure of this asynchronous operation. In case of
|
|
3196
|
+
* success, the number of deleted bookmarks is provided (which might be zero). In case of failure, an error
|
|
3197
|
+
* message is passed.
|
|
3198
|
+
*/
|
|
3199
|
+
deleteBookmarks(
|
|
3200
|
+
/**
|
|
3201
|
+
* The URL of the bookmarks to be deleted, exactly as specified to {@link #addBookmark}.
|
|
3202
|
+
*/
|
|
3203
|
+
sUrl: string,
|
|
3204
|
+
/**
|
|
3205
|
+
* The contentProviderId or undefined outside the cFLP
|
|
3206
|
+
*/
|
|
3207
|
+
sContentProviderId?: string
|
|
3208
|
+
): Promise<any>;
|
|
3209
|
+
/**
|
|
3210
|
+
* @since 1.119.0
|
|
3211
|
+
*
|
|
3212
|
+
* Returns available content nodes based on the current launchpad context. (Classic home page, spaces mode)
|
|
3213
|
+
*
|
|
3214
|
+
* A content node may be:
|
|
3215
|
+
* - a classic home page group
|
|
3216
|
+
* - an unselectable node (space) or a selectable node (page) in spaces mode
|
|
3217
|
+
* - or any other containers in the future
|
|
3218
|
+
*
|
|
3219
|
+
* It has the following properties:
|
|
3220
|
+
* - id: ID of the content node
|
|
3221
|
+
* - label: Human-readable representation of a content node which can be displayed in a control
|
|
3222
|
+
* - type: Specifies the content node type. E.g: space, page, group, etc. See {@link sap.ushell.ContentNodeType }
|
|
3223
|
+
*
|
|
3224
|
+
* - isContainer: Specifies if a bookmark can be added
|
|
3225
|
+
* - children: Specifies sub-nodes
|
|
3226
|
+
*
|
|
3227
|
+
* @returns Promise resolving the currently available content nodes.
|
|
3228
|
+
*/
|
|
3229
|
+
getContentNodes(): Promise<ContentNode[]>;
|
|
3230
|
+
/**
|
|
3231
|
+
* @since 1.119.0
|
|
3232
|
+
*
|
|
3233
|
+
* Updates **all** bookmarks pointing to the given URL on all of the user's pages with the given new parameters.
|
|
3234
|
+
* Parameters which are omitted are not changed in the existing bookmarks.
|
|
3235
|
+
* See:
|
|
3236
|
+
* #addBookmark
|
|
3237
|
+
* #countBookmarks
|
|
3238
|
+
* #deleteBookmarks
|
|
3239
|
+
*
|
|
3240
|
+
* @returns A `Promise` which informs about success or failure of this asynchronous operation. In case of
|
|
3241
|
+
* success, the number of updated bookmarks is provided (which might be zero). In case of failure, an error
|
|
3242
|
+
* message is passed.
|
|
3243
|
+
*/
|
|
3244
|
+
updateBookmarks(
|
|
3245
|
+
/**
|
|
3246
|
+
* The URL of the bookmarks to be updated, exactly as specified to {@link #addBookmark}. In case you need
|
|
3247
|
+
* to update the URL itself, pass the old one here and the new one as `oParameters.url`!
|
|
3248
|
+
*/
|
|
3249
|
+
sUrl: string,
|
|
3250
|
+
/**
|
|
3251
|
+
* Bookmark parameters. In addition to title and URL, a bookmark might allow additional settings, such as
|
|
3252
|
+
* an icon or a subtitle. Which settings are supported depends on the environment in which the application
|
|
3253
|
+
* is running. Unsupported parameters will be ignored.
|
|
3254
|
+
*/
|
|
3255
|
+
oParameters: {
|
|
3256
|
+
/**
|
|
3257
|
+
* The title of the bookmark.
|
|
3258
|
+
*/
|
|
3259
|
+
title: string;
|
|
3260
|
+
/**
|
|
3261
|
+
* The target URL or intent of the bookmark. If the target application shall run in the current shell, the
|
|
3262
|
+
* URL has to be a valid intent, i.e. in the format like `"#SO-Action?P1=a&P2=x&/route?RPV=1"`.
|
|
3263
|
+
*/
|
|
3264
|
+
url: string;
|
|
3265
|
+
/**
|
|
3266
|
+
* The optional icon URL of the bookmark (e.g. `"sap-icon://home"`).
|
|
3267
|
+
*/
|
|
3268
|
+
icon?: string;
|
|
3269
|
+
/**
|
|
3270
|
+
* The information text of the bookmark.
|
|
3271
|
+
*/
|
|
3272
|
+
info?: string;
|
|
3273
|
+
/**
|
|
3274
|
+
* The subtitle of the bookmark.
|
|
3275
|
+
*/
|
|
3276
|
+
subtitle?: string;
|
|
3277
|
+
/**
|
|
3278
|
+
* The URL to a REST or OData service that provides some dynamic information for the bookmark.
|
|
3279
|
+
*/
|
|
3280
|
+
serviceUrl?: string;
|
|
3281
|
+
/**
|
|
3282
|
+
* Metadata for parameter serviceUrl. Mandatory to specify if parameter serviceURL contains semantic date
|
|
3283
|
+
* ranges. This does not influence the data source of the app itself.
|
|
3284
|
+
*/
|
|
3285
|
+
dataSource?: {
|
|
3286
|
+
/**
|
|
3287
|
+
* The type of the serviceURL's service. Only "OData" is supported.
|
|
3288
|
+
*/
|
|
3289
|
+
type?: string;
|
|
3290
|
+
/**
|
|
3291
|
+
* Additional settings for the data source.
|
|
3292
|
+
*/
|
|
3293
|
+
settings?: {
|
|
3294
|
+
/**
|
|
3295
|
+
* The OData version of parameter serviceURL. Valid values are "2.0" and "4.0".
|
|
3296
|
+
*/
|
|
3297
|
+
odataVersion?: object;
|
|
3298
|
+
};
|
|
3299
|
+
};
|
|
3300
|
+
/**
|
|
3301
|
+
* The refresh interval for the `serviceUrl` in seconds.
|
|
3302
|
+
*/
|
|
3303
|
+
serviceRefreshInterval?: string;
|
|
3304
|
+
/**
|
|
3305
|
+
* The unit for the number retrieved from `serviceUrl`.
|
|
3306
|
+
*/
|
|
3307
|
+
numberUnit?: string;
|
|
3308
|
+
},
|
|
3309
|
+
/**
|
|
3310
|
+
* The contentProviderId or undefined outside the cFLP
|
|
3311
|
+
*/
|
|
3312
|
+
sContentProviderId?: string
|
|
3313
|
+
): Promise<any>;
|
|
3314
|
+
}
|
|
3315
|
+
/**
|
|
3316
|
+
* A content node may be: - a classic home page group - an unselectable node (space) or a selectable node
|
|
3317
|
+
* (page) in spaces mode - or any other containers in the future
|
|
3318
|
+
*/
|
|
3319
|
+
export type ContentNode = {
|
|
3320
|
+
/**
|
|
3321
|
+
* ID of the content node
|
|
3322
|
+
*/
|
|
3323
|
+
id: string;
|
|
3324
|
+
/**
|
|
3325
|
+
* Human-readable representation of a content node which can be displayed in a control
|
|
3326
|
+
*/
|
|
3327
|
+
label: string;
|
|
3328
|
+
/**
|
|
3329
|
+
* Specifies the content node type. E.g: space, page, group, etc. See {@link sap.ushell.sap.ushell.services.BookmarkV2.ContentNodeType}
|
|
3330
|
+
*/
|
|
3331
|
+
type: ContentNodeType | keyof typeof ContentNodeType;
|
|
3332
|
+
/**
|
|
3333
|
+
* Specifies if a bookmark can be added
|
|
3334
|
+
*/
|
|
3335
|
+
isContainer: boolean;
|
|
3336
|
+
/**
|
|
3337
|
+
* Specifies sub-nodes
|
|
3338
|
+
*/
|
|
3339
|
+
children?: ContentNode[];
|
|
3340
|
+
};
|
|
3341
|
+
}
|
|
3342
|
+
|
|
3343
|
+
declare module "sap/ushell/services/Configuration" {
|
|
3344
|
+
/**
|
|
3345
|
+
* @since 1.64.0
|
|
3346
|
+
*
|
|
3347
|
+
* The unified shell's Configuration service. Allows attaching to **selected** launchpad configuration settings
|
|
3348
|
+
* and their value changes.
|
|
3349
|
+
*
|
|
3350
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("Configuration")`.
|
|
3351
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
3352
|
+
*/
|
|
3353
|
+
export default class Configuration {
|
|
3354
|
+
constructor();
|
|
3355
|
+
}
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3358
|
+
declare module "sap/ushell/services/CrossApplicationNavigation" {
|
|
3359
|
+
import Component from "sap/ui/core/Component";
|
|
3360
|
+
|
|
3361
|
+
/**
|
|
3362
|
+
* @since 1.15.0
|
|
3363
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.Navigation} instead
|
|
3364
|
+
*
|
|
3365
|
+
* The Unified Shell's CrossApplicationNavigation service. Allows navigating to "external" targets outside
|
|
3366
|
+
* of the currently running app (but still in scope of the current Fiori launchpad) or to create links to
|
|
3367
|
+
* such external targets.
|
|
3368
|
+
*
|
|
3369
|
+
* To use the CrossApplicationNavigation service you can retrieve an instance via ushell's Container:
|
|
3370
|
+
* ```javascript
|
|
3371
|
+
*
|
|
3372
|
+
* sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then(function (CrossApplicationNavigationService) {
|
|
3373
|
+
* // Use the CrossApplicationNavigation service
|
|
3374
|
+
* });
|
|
3375
|
+
* ```
|
|
3376
|
+
*
|
|
3377
|
+
*
|
|
3378
|
+
* The CrossApplicationNavigation service currently provides platform independent functionality.
|
|
3379
|
+
*
|
|
3380
|
+
* The service is meant to be used by applications, plugins and shell components.
|
|
3381
|
+
*
|
|
3382
|
+
* Usage:
|
|
3383
|
+
* ```javascript
|
|
3384
|
+
*
|
|
3385
|
+
* sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then( function (oService) {
|
|
3386
|
+
*
|
|
3387
|
+
* oService.hrefForExternalAsync({
|
|
3388
|
+
* target : {
|
|
3389
|
+
* semanticObject: "Product",
|
|
3390
|
+
* action: "display"
|
|
3391
|
+
* },
|
|
3392
|
+
* params: {
|
|
3393
|
+
* "ProductID": "102343333"
|
|
3394
|
+
* }
|
|
3395
|
+
* }).then( function(sHref) {
|
|
3396
|
+
* // Place sHref somewhere in the DOM
|
|
3397
|
+
* });
|
|
3398
|
+
* });
|
|
3399
|
+
* ```
|
|
3400
|
+
*
|
|
3401
|
+
*
|
|
3402
|
+
* Parameter names and values are case sensitive.
|
|
3403
|
+
*
|
|
3404
|
+
* Note that the usage of multi-valued parameters (specifying an array with more than one member as parameter
|
|
3405
|
+
* value, e.g. `params : { A : ["a1", "a2"] }`) is possible with this API but **strongly discouraged**.
|
|
3406
|
+
* Depending on the used platform / back-end implementation the target matching might not supported multi-value
|
|
3407
|
+
* parameters. Furthermore, it is not guaranteed that additional parameter values specified in the back-end
|
|
3408
|
+
* configuration are merged with parameter values passed in this method.
|
|
3409
|
+
*
|
|
3410
|
+
* Note that the application parameter length (including SemanticObject/Action) shall not exceed 512 bytes
|
|
3411
|
+
* when serialized as UTF-8.
|
|
3412
|
+
*
|
|
3413
|
+
* Note that when receiving the values as startup parameters (as part of the component data object) single
|
|
3414
|
+
* values are represented as an array of size 1. Above example is returned as ` deepEqual(getComponentData().startupParameters
|
|
3415
|
+
* , { "ProductID" : [ "102343333" ] } ) `
|
|
3416
|
+
*
|
|
3417
|
+
* Make sure not to store security critical data within an URL. URLs may appear in a server log, be persisted
|
|
3418
|
+
* inside and outside the system.
|
|
3419
|
+
*
|
|
3420
|
+
* Note: When constructing large URLs, the URLs may be shortened and persisted on a database server for
|
|
3421
|
+
* prolonged time, the actual data is persisted under a key accessible to any User (guessing the key).
|
|
3422
|
+
*
|
|
3423
|
+
* The same restrictions apply for the Application state.
|
|
3424
|
+
*/
|
|
3425
|
+
export default class CrossApplicationNavigation {
|
|
3426
|
+
constructor();
|
|
3427
|
+
|
|
3428
|
+
/**
|
|
3429
|
+
* Attempts to use the browser history to navigate to the previous app.
|
|
3430
|
+
*
|
|
3431
|
+
* A navigation to the Fiori launchpad Home is performed when this method is called on a first navigation.
|
|
3432
|
+
* In all other cases, this function simply performs a browser back navigation.
|
|
3433
|
+
*
|
|
3434
|
+
* Note that the behavior of this method is subject to change and therefore it may not yield to the expected
|
|
3435
|
+
* results especially on mobile devices where "back" is the previous inner-app state if these are put into
|
|
3436
|
+
* the history!
|
|
3437
|
+
*
|
|
3438
|
+
* @returns A promise which resolves once the back navigation was triggered
|
|
3439
|
+
*/
|
|
3440
|
+
backToPreviousApp(): Promise<undefined>;
|
|
3441
|
+
/**
|
|
3442
|
+
* if sHashFragment is a compacted hash (sap-intent-param is present), in a hash, this function replaces
|
|
3443
|
+
* it into a long url with all parameters expanded
|
|
3444
|
+
*
|
|
3445
|
+
* @returns promise the success handler of the resolve promise get an expanded shell hash as first argument
|
|
3446
|
+
*/
|
|
3447
|
+
expandCompactHash(
|
|
3448
|
+
/**
|
|
3449
|
+
* an (internal format) shell hash
|
|
3450
|
+
*/
|
|
3451
|
+
sHashFragment: string
|
|
3452
|
+
): jQuery.Promise;
|
|
3453
|
+
/**
|
|
3454
|
+
* @since 1.38.0
|
|
3455
|
+
*
|
|
3456
|
+
* Returns a list of semantic objects of the intents the current user can navigate to.
|
|
3175
3457
|
*
|
|
3176
3458
|
* @returns A promise that resolves with an array of strings representing the semantic objects of the intents
|
|
3177
3459
|
* the current user can navigate to, or rejects with an error message. The returned array will not contain
|
|
@@ -3290,8 +3572,8 @@ declare module "sap/ushell/services/CrossApplicationNavigation" {
|
|
|
3290
3572
|
*
|
|
3291
3573
|
* Besides 'value', supported search options for the extended format are:
|
|
3292
3574
|
* **required**: whether the parameter must be required (true) or not required (false) in the signature
|
|
3293
|
-
* of the matching target (once the navigation occurs to the returned link).
|
|
3294
|
-
*
|
|
3575
|
+
* of the matching target (once the navigation occurs to the returned link). Note that this option will
|
|
3576
|
+
* be effective if the Fiori Launchpad is configured to resolve navigation targets via `sap.ushell.services.ClientSideTargetResolution`
|
|
3295
3577
|
* and therefore may not be supported in all platforms.
|
|
3296
3578
|
*
|
|
3297
3579
|
* Example:
|
|
@@ -4146,7 +4428,7 @@ declare module "sap/ushell/services/EndUserFeedback" {
|
|
|
4146
4428
|
* @deprecated (since 1.93)
|
|
4147
4429
|
*
|
|
4148
4430
|
* The Unified Shell's end user feedback service. This service is deprecated and does nothing. End user
|
|
4149
|
-
* feedback functionality
|
|
4431
|
+
* feedback functionality is not part of the ushell library.
|
|
4150
4432
|
*/
|
|
4151
4433
|
export default class EndUserFeedback {
|
|
4152
4434
|
/**
|
|
@@ -4186,9 +4468,425 @@ declare module "sap/ushell/services/EndUserFeedback" {
|
|
|
4186
4468
|
}
|
|
4187
4469
|
}
|
|
4188
4470
|
|
|
4189
|
-
declare module "sap/ushell/services/
|
|
4471
|
+
declare module "sap/ushell/services/Extension" {
|
|
4472
|
+
import Footer from "sap/ushell/services/Extension/Footer";
|
|
4473
|
+
|
|
4474
|
+
import Item from "sap/ushell/services/Extension/Item";
|
|
4475
|
+
|
|
4476
|
+
import SidePane from "sap/ushell/services/Extension/SidePane";
|
|
4477
|
+
|
|
4478
|
+
import ToolArea from "sap/ushell/services/Extension/ToolArea";
|
|
4479
|
+
|
|
4190
4480
|
/**
|
|
4191
|
-
* @since 1.
|
|
4481
|
+
* @since 1.120.0
|
|
4482
|
+
* @experimental (since 1.120.0) - Restriction: API calls might be ignored for apps running in an iframe
|
|
4483
|
+
*
|
|
4484
|
+
* The Unified Shell's Extension service. Allows adding extensions on the user's home page.
|
|
4485
|
+
*
|
|
4486
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("Extension")`.
|
|
4487
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
4488
|
+
*
|
|
4489
|
+
*
|
|
4490
|
+
* All extension items and extension areas are instantiated as invisible. You have to call .show<...> to
|
|
4491
|
+
* make them visible.
|
|
4492
|
+
*/
|
|
4493
|
+
export default class Extension {
|
|
4494
|
+
constructor();
|
|
4495
|
+
|
|
4496
|
+
/**
|
|
4497
|
+
* @since 1.120.0
|
|
4498
|
+
*
|
|
4499
|
+
* Adds an entry to the user settings dialog box including the UI control that appears when the user clicks
|
|
4500
|
+
* the new entry, and handling of user settings actions such as SAVE and CANCEL. **Restriction:** Might
|
|
4501
|
+
* be ignored for apps running in an iframe
|
|
4502
|
+
*
|
|
4503
|
+
* @returns Resolves once the settings entry was added.
|
|
4504
|
+
*/
|
|
4505
|
+
addUserSettingsEntry(
|
|
4506
|
+
/**
|
|
4507
|
+
* The data of the new added user settings entry.
|
|
4508
|
+
*/
|
|
4509
|
+
properties: {
|
|
4510
|
+
/**
|
|
4511
|
+
* The ID of the object.
|
|
4512
|
+
*/
|
|
4513
|
+
entryHelpID?: string;
|
|
4514
|
+
/**
|
|
4515
|
+
* The title of the entry to be presented in the list in the user settings dialog box. We recommend using
|
|
4516
|
+
* a string from the translation bundle.
|
|
4517
|
+
*/
|
|
4518
|
+
title: string;
|
|
4519
|
+
/**
|
|
4520
|
+
* A string to be presented as the sub title of the entry OR a function which resolves the sub title.
|
|
4521
|
+
*/
|
|
4522
|
+
value: string | Function;
|
|
4523
|
+
/**
|
|
4524
|
+
* A function that resolves the content which has to be a {@link sap.ui.core.Control}. A SAPUI5 view instance
|
|
4525
|
+
* can also be returned. The result will be displayed in the settings as content for this entry.
|
|
4526
|
+
*/
|
|
4527
|
+
content: Function;
|
|
4528
|
+
/**
|
|
4529
|
+
* A callback which is called when the user clicks "save" in the user settings dialog. The function has
|
|
4530
|
+
* to return a native promise. If an error occurs, pass the error message via rejected promise. Errors are
|
|
4531
|
+
* displayed in the common log.
|
|
4532
|
+
*/
|
|
4533
|
+
onSave: Function;
|
|
4534
|
+
/**
|
|
4535
|
+
* A callback which is called when the user closes the user settings dialog without saving any changes.
|
|
4536
|
+
*/
|
|
4537
|
+
onCancel: Function;
|
|
4538
|
+
/**
|
|
4539
|
+
* Set this value to `true` if you want that your content is displayed without the standard header.
|
|
4540
|
+
*/
|
|
4541
|
+
provideEmptyWrapper?: boolean;
|
|
4542
|
+
}
|
|
4543
|
+
): Promise<any>;
|
|
4544
|
+
/**
|
|
4545
|
+
* @since 1.120.0
|
|
4546
|
+
*
|
|
4547
|
+
* Creates a new footer which is positioned below the launchpad content.
|
|
4548
|
+
*
|
|
4549
|
+
* **Note:** Only one footer is displayed at once. Any new footer will replace the previous one **Restriction:**
|
|
4550
|
+
* Might be ignored for apps running in an iframe
|
|
4551
|
+
*
|
|
4552
|
+
* @returns The newly created footer.
|
|
4553
|
+
*/
|
|
4554
|
+
createFooter(
|
|
4555
|
+
/**
|
|
4556
|
+
* The properties that will be passed to the created control.
|
|
4557
|
+
*/
|
|
4558
|
+
controlProperties: object,
|
|
4559
|
+
/**
|
|
4560
|
+
* Additional parameters.
|
|
4561
|
+
*/
|
|
4562
|
+
parameters?: {
|
|
4563
|
+
/**
|
|
4564
|
+
* Defines the `controlType`.
|
|
4565
|
+
*/
|
|
4566
|
+
controlType?: string;
|
|
4567
|
+
}
|
|
4568
|
+
): Promise<Footer>;
|
|
4569
|
+
/**
|
|
4570
|
+
* @since 1.120.0
|
|
4571
|
+
*
|
|
4572
|
+
* Creates a header item in the shell header.
|
|
4573
|
+
*
|
|
4574
|
+
* @returns The newly created header item.
|
|
4575
|
+
*/
|
|
4576
|
+
createHeaderItem(
|
|
4577
|
+
/**
|
|
4578
|
+
* The properties that will be passed to the created control.
|
|
4579
|
+
*/
|
|
4580
|
+
controlProperties: object,
|
|
4581
|
+
/**
|
|
4582
|
+
* Additional parameters.
|
|
4583
|
+
*/
|
|
4584
|
+
parameters?: {
|
|
4585
|
+
/**
|
|
4586
|
+
* Possible values are `begin` and `end`.
|
|
4587
|
+
*/
|
|
4588
|
+
position?: string;
|
|
4589
|
+
}
|
|
4590
|
+
): Promise<Item>;
|
|
4591
|
+
/**
|
|
4592
|
+
* @since 1.120.0
|
|
4593
|
+
*
|
|
4594
|
+
* Creates a new sub header which is positioned below the header.
|
|
4595
|
+
*
|
|
4596
|
+
* **Note:** Only one sub header is displayed at once **Restriction:** Might be ignored for apps
|
|
4597
|
+
* running in an iframe
|
|
4598
|
+
*
|
|
4599
|
+
* @returns The newly created sub header.
|
|
4600
|
+
*/
|
|
4601
|
+
createSubHeader(
|
|
4602
|
+
/**
|
|
4603
|
+
* The properties that will be passed to the created control.
|
|
4604
|
+
*/
|
|
4605
|
+
controlProperties: object,
|
|
4606
|
+
/**
|
|
4607
|
+
* Additional parameters.
|
|
4608
|
+
*/
|
|
4609
|
+
parameters?: {
|
|
4610
|
+
/**
|
|
4611
|
+
* Defines the `controlType`.
|
|
4612
|
+
*/
|
|
4613
|
+
controlType?: string;
|
|
4614
|
+
}
|
|
4615
|
+
): Promise<Item>;
|
|
4616
|
+
/**
|
|
4617
|
+
* @since 1.120.0
|
|
4618
|
+
*
|
|
4619
|
+
* Creates a user action in the user action menu.
|
|
4620
|
+
*
|
|
4621
|
+
* @returns The newly created user action.
|
|
4622
|
+
*/
|
|
4623
|
+
createUserAction(
|
|
4624
|
+
/**
|
|
4625
|
+
* The properties that will be passed to the created control.
|
|
4626
|
+
*/
|
|
4627
|
+
controlProperties: object,
|
|
4628
|
+
/**
|
|
4629
|
+
* Additional parameters.
|
|
4630
|
+
*/
|
|
4631
|
+
parameters?: {
|
|
4632
|
+
/**
|
|
4633
|
+
* Defines the `controlType`.
|
|
4634
|
+
*/
|
|
4635
|
+
controlType?: string;
|
|
4636
|
+
}
|
|
4637
|
+
): Promise<Item>;
|
|
4638
|
+
/**
|
|
4639
|
+
* @since 1.120.0
|
|
4640
|
+
*
|
|
4641
|
+
* Returns the API for the SidePane which is located next to the launchpad content. **Restriction:**
|
|
4642
|
+
* Might be ignored for apps running in an iframe
|
|
4643
|
+
*
|
|
4644
|
+
* @returns The SidePane.
|
|
4645
|
+
*/
|
|
4646
|
+
getSidePane(): Promise<SidePane>;
|
|
4647
|
+
/**
|
|
4648
|
+
* @since 1.120.0
|
|
4649
|
+
*
|
|
4650
|
+
* Returns the API for the ToolArea which is located next to the launchpad content. **Restriction:**
|
|
4651
|
+
* Might be ignored for apps running in an iframe
|
|
4652
|
+
*
|
|
4653
|
+
* @returns The ToolArea.
|
|
4654
|
+
*/
|
|
4655
|
+
getToolArea(): Promise<ToolArea>;
|
|
4656
|
+
}
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
declare module "sap/ushell/services/Extension/Footer" {
|
|
4660
|
+
/**
|
|
4661
|
+
* @since 1.120.0
|
|
4662
|
+
* @experimental (since 1.120.0)
|
|
4663
|
+
*
|
|
4664
|
+
* The footer extension point is positioned below the launchpad content. To be instantiated by {@link sap.ushell.services.Extension}.
|
|
4665
|
+
* **Restriction:** Might be ignored for apps running in an iframe
|
|
4666
|
+
*/
|
|
4667
|
+
export default class Footer {
|
|
4668
|
+
constructor();
|
|
4669
|
+
|
|
4670
|
+
/**
|
|
4671
|
+
* @since 1.120.0
|
|
4672
|
+
*
|
|
4673
|
+
* Destroys the footer.
|
|
4674
|
+
*
|
|
4675
|
+
* @returns Resolves once the footer was destroyed.
|
|
4676
|
+
*/
|
|
4677
|
+
destroy(): Promise<any>;
|
|
4678
|
+
}
|
|
4679
|
+
}
|
|
4680
|
+
|
|
4681
|
+
declare module "sap/ushell/services/Extension/Item" {
|
|
4682
|
+
/**
|
|
4683
|
+
* @since 1.120.0
|
|
4684
|
+
* @experimental (since 1.120.0)
|
|
4685
|
+
*
|
|
4686
|
+
* Item wrapping an item positioned in an extension point. To be instantiated by {@link sap.ushell.services.Extension}.
|
|
4687
|
+
*/
|
|
4688
|
+
export default class Item {
|
|
4689
|
+
constructor();
|
|
4690
|
+
|
|
4691
|
+
/**
|
|
4692
|
+
* @since 1.120.0
|
|
4693
|
+
*
|
|
4694
|
+
* Destroys the item and it's related content.
|
|
4695
|
+
*
|
|
4696
|
+
* @returns Resolves once the item was destroyed.
|
|
4697
|
+
*/
|
|
4698
|
+
destroy(): Promise<any>;
|
|
4699
|
+
/**
|
|
4700
|
+
* @since 1.120.0
|
|
4701
|
+
*
|
|
4702
|
+
* Shows the item for all applications. Does not change the visibility of the item for the launchpad "home".
|
|
4703
|
+
*
|
|
4704
|
+
* @returns this to allow method chaining.
|
|
4705
|
+
*/
|
|
4706
|
+
hideForAllApps(): Item;
|
|
4707
|
+
/**
|
|
4708
|
+
* @since 1.120.0
|
|
4709
|
+
*
|
|
4710
|
+
* Hides the item for the current application. Note: The item will not be hidden if it was set visible for
|
|
4711
|
+
* all apps {@link #showForAllApps}
|
|
4712
|
+
*
|
|
4713
|
+
* @returns this to allow method chaining.
|
|
4714
|
+
*/
|
|
4715
|
+
hideForCurrentApp(): Item;
|
|
4716
|
+
/**
|
|
4717
|
+
* @since 1.120.0
|
|
4718
|
+
*
|
|
4719
|
+
* Hides the item for launchpad "home". Does not change the visibility of the item within applications.
|
|
4720
|
+
*
|
|
4721
|
+
* @returns this to allow method chaining.
|
|
4722
|
+
*/
|
|
4723
|
+
hideOnHome(): Item;
|
|
4724
|
+
/**
|
|
4725
|
+
* @since 1.120.0
|
|
4726
|
+
*
|
|
4727
|
+
* Shows the item for all applications. Does not change the visibility of the item for the launchpad "home".
|
|
4728
|
+
*
|
|
4729
|
+
* @returns this to allow method chaining.
|
|
4730
|
+
*/
|
|
4731
|
+
showForAllApps(): Item;
|
|
4732
|
+
/**
|
|
4733
|
+
* @since 1.120.0
|
|
4734
|
+
*
|
|
4735
|
+
* Shows the item for the current application. The item will be hidden after the user navigates away from
|
|
4736
|
+
* this application. The item will not be added again if the user navigates back to the application.
|
|
4737
|
+
*
|
|
4738
|
+
* @returns this to allow method chaining.
|
|
4739
|
+
*/
|
|
4740
|
+
showForCurrentApp(): Item;
|
|
4741
|
+
/**
|
|
4742
|
+
* @since 1.120.0
|
|
4743
|
+
*
|
|
4744
|
+
* Shows the item for launchpad "home". Does not change the visibility of the item within applications.
|
|
4745
|
+
*
|
|
4746
|
+
* @returns this to allow method chaining.
|
|
4747
|
+
*/
|
|
4748
|
+
showOnHome(): Item;
|
|
4749
|
+
}
|
|
4750
|
+
}
|
|
4751
|
+
|
|
4752
|
+
declare module "sap/ushell/services/Extension/SidePane" {
|
|
4753
|
+
import Item from "sap/ushell/services/Extension/Item";
|
|
4754
|
+
|
|
4755
|
+
/**
|
|
4756
|
+
* @since 1.120.0
|
|
4757
|
+
* @experimental (since 1.120.0)
|
|
4758
|
+
*
|
|
4759
|
+
* The side pane extension point is positioned next the launchpad content. To be instantiated by {@link sap.ushell.services.Extension}.
|
|
4760
|
+
* **Restriction:** Might be ignored for apps running in an iframe
|
|
4761
|
+
*/
|
|
4762
|
+
export default class SidePane {
|
|
4763
|
+
constructor();
|
|
4764
|
+
|
|
4765
|
+
/**
|
|
4766
|
+
* @since 1.120.0
|
|
4767
|
+
*
|
|
4768
|
+
* Creates an item in the side pane.
|
|
4769
|
+
*
|
|
4770
|
+
* @returns The newly created item.
|
|
4771
|
+
*/
|
|
4772
|
+
createItem(
|
|
4773
|
+
/**
|
|
4774
|
+
* The properties that will be passed to the created control.
|
|
4775
|
+
*/
|
|
4776
|
+
controlProperties: object,
|
|
4777
|
+
/**
|
|
4778
|
+
* Additional parameters.
|
|
4779
|
+
*/
|
|
4780
|
+
parameters?: {
|
|
4781
|
+
/**
|
|
4782
|
+
* Defines the `controlType`.
|
|
4783
|
+
*/
|
|
4784
|
+
controlType?: string;
|
|
4785
|
+
}
|
|
4786
|
+
): Promise<Item>;
|
|
4787
|
+
/**
|
|
4788
|
+
* @since 1.120.0
|
|
4789
|
+
*
|
|
4790
|
+
* Shows the side pane for all applications. Does not change the visibility of the side pane for the launchpad
|
|
4791
|
+
* "home".
|
|
4792
|
+
*
|
|
4793
|
+
* @returns this to allow method chaining.
|
|
4794
|
+
*/
|
|
4795
|
+
hideForAllApps(): SidePane;
|
|
4796
|
+
/**
|
|
4797
|
+
* @since 1.120.0
|
|
4798
|
+
*
|
|
4799
|
+
* Hides the area for launchpad "home". Does not change the visibility of the area within applications.
|
|
4800
|
+
*
|
|
4801
|
+
* @returns this to allow method chaining.
|
|
4802
|
+
*/
|
|
4803
|
+
hideOnHome(): SidePane;
|
|
4804
|
+
/**
|
|
4805
|
+
* @since 1.120.0
|
|
4806
|
+
*
|
|
4807
|
+
* Shows the side pane for all applications. Does not change the visibility of the side pane for the launchpad
|
|
4808
|
+
* "home".
|
|
4809
|
+
*
|
|
4810
|
+
* @returns this to allow method chaining.
|
|
4811
|
+
*/
|
|
4812
|
+
showForAllApps(): SidePane;
|
|
4813
|
+
/**
|
|
4814
|
+
* @since 1.120.0
|
|
4815
|
+
*
|
|
4816
|
+
* Shows the side pane for launchpad "home". Does not change the visibility of the side pane within applications.
|
|
4817
|
+
*
|
|
4818
|
+
* @returns this to allow method chaining.
|
|
4819
|
+
*/
|
|
4820
|
+
showOnHome(): SidePane;
|
|
4821
|
+
}
|
|
4822
|
+
}
|
|
4823
|
+
|
|
4824
|
+
declare module "sap/ushell/services/Extension/ToolArea" {
|
|
4825
|
+
import Item from "sap/ushell/services/Extension/Item";
|
|
4826
|
+
|
|
4827
|
+
/**
|
|
4828
|
+
* @since 1.120.0
|
|
4829
|
+
* @experimental (since 1.120.0)
|
|
4830
|
+
*
|
|
4831
|
+
* The tool area extension point is positioned next the launchpad content. To be instantiated by {@link sap.ushell.services.Extension}.
|
|
4832
|
+
* **Restriction:** Might be ignored for apps running in an iframe
|
|
4833
|
+
*/
|
|
4834
|
+
export default class ToolArea {
|
|
4835
|
+
constructor();
|
|
4836
|
+
|
|
4837
|
+
/**
|
|
4838
|
+
* @since 1.120.0
|
|
4839
|
+
*
|
|
4840
|
+
* Creates an item in the tool area.
|
|
4841
|
+
*
|
|
4842
|
+
* @returns The newly created item.
|
|
4843
|
+
*/
|
|
4844
|
+
createItem(
|
|
4845
|
+
/**
|
|
4846
|
+
* The properties that will be passed to the created control.
|
|
4847
|
+
*/
|
|
4848
|
+
controlProperties: object
|
|
4849
|
+
): Promise<Item>;
|
|
4850
|
+
/**
|
|
4851
|
+
* @since 1.120.0
|
|
4852
|
+
*
|
|
4853
|
+
* Shows the tool area for all applications. Does not change the visibility of the tool area for the launchpad
|
|
4854
|
+
* "home".
|
|
4855
|
+
*
|
|
4856
|
+
* @returns this to allow method chaining.
|
|
4857
|
+
*/
|
|
4858
|
+
hideForAllApps(): ToolArea;
|
|
4859
|
+
/**
|
|
4860
|
+
* @since 1.120.0
|
|
4861
|
+
*
|
|
4862
|
+
* Hides the tool area for launchpad "home". Does not change the visibility of the tool area within applications.
|
|
4863
|
+
*
|
|
4864
|
+
* @returns this to allow method chaining.
|
|
4865
|
+
*/
|
|
4866
|
+
hideOnHome(): ToolArea;
|
|
4867
|
+
/**
|
|
4868
|
+
* @since 1.120.0
|
|
4869
|
+
*
|
|
4870
|
+
* Shows the tool area for all applications. Does not change the visibility of the tool area for the launchpad
|
|
4871
|
+
* "home".
|
|
4872
|
+
*
|
|
4873
|
+
* @returns this to allow method chaining.
|
|
4874
|
+
*/
|
|
4875
|
+
showForAllApps(): ToolArea;
|
|
4876
|
+
/**
|
|
4877
|
+
* @since 1.120.0
|
|
4878
|
+
*
|
|
4879
|
+
* Shows the tool area for launchpad "home". Does not change the visibility of the tool area within applications.
|
|
4880
|
+
*
|
|
4881
|
+
* @returns this to allow method chaining.
|
|
4882
|
+
*/
|
|
4883
|
+
showOnHome(): ToolArea;
|
|
4884
|
+
}
|
|
4885
|
+
}
|
|
4886
|
+
|
|
4887
|
+
declare module "sap/ushell/services/LaunchPage" {
|
|
4888
|
+
/**
|
|
4889
|
+
* @since 1.15.0
|
|
4192
4890
|
* @deprecated (since 1.99) - This service has been deprecated as it only works for the classic homepage.
|
|
4193
4891
|
*
|
|
4194
4892
|
* A service for handling groups, tiles and catalogs.
|
|
@@ -4927,16 +5625,13 @@ declare module "sap/ushell/services/Message" {
|
|
|
4927
5625
|
|
|
4928
5626
|
/**
|
|
4929
5627
|
* @since 1.16.0
|
|
5628
|
+
*
|
|
5629
|
+
* Message service.
|
|
5630
|
+
*
|
|
5631
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("Message")`.
|
|
5632
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
4930
5633
|
*/
|
|
4931
5634
|
export default class Message {
|
|
4932
|
-
/**
|
|
4933
|
-
* This method MUST be called by the Unified Shell's container only, others MUST call `sap.ushell.Container.getServiceAsync("Message")`.
|
|
4934
|
-
* Constructs a new instance of the page builder service.
|
|
4935
|
-
*
|
|
4936
|
-
* Message service.
|
|
4937
|
-
* See:
|
|
4938
|
-
* sap.ushell.services.Container#getServiceAsync
|
|
4939
|
-
*/
|
|
4940
5635
|
constructor();
|
|
4941
5636
|
|
|
4942
5637
|
/**
|
|
@@ -5044,19 +5739,13 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5044
5739
|
import { URI } from "sap/ui/core/library";
|
|
5045
5740
|
|
|
5046
5741
|
/**
|
|
5047
|
-
* @since 1.
|
|
5048
|
-
*
|
|
5049
|
-
* The Unified Shell's Navigation service allows to navigate to "external" targets outside of the currently
|
|
5050
|
-
* running app (but still in scope of the current Fiori launchpad) or create links to such external targets.
|
|
5742
|
+
* @since 1.120.0
|
|
5051
5743
|
*
|
|
5052
|
-
*
|
|
5053
|
-
*
|
|
5054
|
-
*
|
|
5055
|
-
* sap.ui.require(["sap/ushell/Container"], async () => {
|
|
5056
|
-
* const oNavigationService = await Container.getServiceAsync("Navigation");
|
|
5057
|
-
* // Use the Navigation service
|
|
5058
|
-
* ```
|
|
5744
|
+
* The Unified Shell's Navigation service. Allows navigating to "external" targets outside of the currently
|
|
5745
|
+
* running app (but still in scope of the current Fiori launchpad) or to create links to such external targets.
|
|
5059
5746
|
*
|
|
5747
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("Navigation")`.
|
|
5748
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
5060
5749
|
*
|
|
5061
5750
|
* The Navigation service currently provides platform independent functionality.
|
|
5062
5751
|
*
|
|
@@ -5065,7 +5754,7 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5065
5754
|
* Usage:
|
|
5066
5755
|
* ```javascript
|
|
5067
5756
|
*
|
|
5068
|
-
* sap.ui.require(["sap/ushell/Container"], async () => {
|
|
5757
|
+
* sap.ui.require(["sap/ushell/Container"], async (Container) => {
|
|
5069
5758
|
* const oNavigationService = await Container.getServiceAsync("Navigation");
|
|
5070
5759
|
* const sHref = await oNavigationService.getHref({
|
|
5071
5760
|
* target : {
|
|
@@ -5078,7 +5767,7 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5078
5767
|
* }, oComponent);
|
|
5079
5768
|
* // do something with the resolved sHref.
|
|
5080
5769
|
* });
|
|
5081
|
-
*
|
|
5770
|
+
* ```
|
|
5082
5771
|
*
|
|
5083
5772
|
*
|
|
5084
5773
|
* Parameter names and values are case sensitive.
|
|
@@ -5108,22 +5797,22 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5108
5797
|
constructor();
|
|
5109
5798
|
|
|
5110
5799
|
/**
|
|
5111
|
-
* @since 1.
|
|
5800
|
+
* @since 1.120.0
|
|
5112
5801
|
*
|
|
5113
5802
|
* Attempts to use the browser history to navigate to the previous app.
|
|
5114
5803
|
*
|
|
5115
5804
|
* A navigation to the Fiori launchpad Home is performed when this method is called on a first navigation.
|
|
5116
5805
|
* In all other cases, this function simply performs a browser back navigation.
|
|
5117
5806
|
*
|
|
5118
|
-
*
|
|
5119
|
-
*
|
|
5120
|
-
*
|
|
5807
|
+
* Note that the behavior of this method is subject to change and therefore it may not yield to the expected
|
|
5808
|
+
* results especially on mobile devices where "back" is the previous inner-app state if these are put into
|
|
5809
|
+
* the history!
|
|
5121
5810
|
*
|
|
5122
5811
|
* @returns A promise which resolves once the back navigation was triggered
|
|
5123
5812
|
*/
|
|
5124
5813
|
backToPreviousApp(): Promise<any>;
|
|
5125
5814
|
/**
|
|
5126
|
-
* @since 1.
|
|
5815
|
+
* @since 1.120.0
|
|
5127
5816
|
*
|
|
5128
5817
|
* Returns a promise resolving to a URL that launches an app with certain parameters. This API can be used
|
|
5129
5818
|
* to convert the internal shell hash format into the URL format for use in link tags. The resulting href
|
|
@@ -5132,7 +5821,7 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5132
5821
|
*
|
|
5133
5822
|
* ```javascript
|
|
5134
5823
|
*
|
|
5135
|
-
* sap.ui.require(["sap/ushell/Container"], async () => {
|
|
5824
|
+
* sap.ui.require(["sap/ushell/Container"], async (Container) => {
|
|
5136
5825
|
* const oNavigationService = await Container.getServiceAsync("Navigation");
|
|
5137
5826
|
* const sHref = await oNavigationService.getHref({
|
|
5138
5827
|
* target: { shellHash: oLink.intent }
|
|
@@ -5154,23 +5843,25 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5154
5843
|
* Using the arguments as in the example above, a link with a sap-xapp-state parameter that encodes the
|
|
5155
5844
|
* provided data is returned. The sap-xapp-state-data parameter does not appear in the generated link.
|
|
5156
5845
|
*
|
|
5157
|
-
* Do **not** use "#Shell-home" to navigate to a specific homepage!
|
|
5158
|
-
* a link to return to the home page of the Fiori launchpad
|
|
5846
|
+
* Do **not** use "#Shell-home" to navigate to a specific homepage!
|
|
5847
|
+
* A proper way for an application to generate a link to return to the home page of the Fiori launchpad
|
|
5848
|
+
* is:
|
|
5849
|
+
* `getHref( { target : { shellHash : "#" }})`
|
|
5159
5850
|
*
|
|
5160
5851
|
* @returns A Promise resolving the encoded href.
|
|
5161
5852
|
*/
|
|
5162
5853
|
getHref(
|
|
5163
5854
|
/**
|
|
5164
|
-
* The navigation target to transform.
|
|
5855
|
+
* The navigation target to transform. When omitted the current hash is used as basis for the calculation.
|
|
5165
5856
|
*/
|
|
5166
|
-
oTarget
|
|
5857
|
+
oTarget?: Target,
|
|
5167
5858
|
/**
|
|
5168
5859
|
* A UI5 component, used to logically attach any related app state.
|
|
5169
5860
|
*/
|
|
5170
5861
|
oComponent?: Component
|
|
5171
5862
|
): Promise<string>;
|
|
5172
5863
|
/**
|
|
5173
|
-
* @since 1.
|
|
5864
|
+
* @since 1.120.0
|
|
5174
5865
|
*
|
|
5175
5866
|
* Resolves the given filters to a list of links available to the user.
|
|
5176
5867
|
*
|
|
@@ -5179,8 +5870,8 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5179
5870
|
* to use it directly you have to transform it first into a href.
|
|
5180
5871
|
* ```javascript
|
|
5181
5872
|
*
|
|
5182
|
-
*
|
|
5183
|
-
*
|
|
5873
|
+
* const sHref = await NavigationService.getHref({ target: { shellHash: oLink.intent} }, oComponent);
|
|
5874
|
+
* ```
|
|
5184
5875
|
*/
|
|
5185
5876
|
getLinks(
|
|
5186
5877
|
/**
|
|
@@ -5189,15 +5880,16 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5189
5880
|
aLinkFilter?: LinkFilter[]
|
|
5190
5881
|
): Promise<Link[][]>;
|
|
5191
5882
|
/**
|
|
5192
|
-
* @since 1.
|
|
5883
|
+
* @since 1.120.0
|
|
5193
5884
|
*
|
|
5194
5885
|
* For a given semantic object, this method considers all actions associated with the semantic object and
|
|
5195
|
-
* returns the one tagged as a "primaryAction".
|
|
5196
|
-
* intent of the first inbound (after sorting has
|
|
5886
|
+
* returns the one tagged as a "primaryAction".
|
|
5887
|
+
* If no inbound tagged as "primaryAction" exists, then the intent of the first inbound (after sorting has
|
|
5888
|
+
* been applied) matching the action "displayFactSheet".
|
|
5197
5889
|
*
|
|
5198
5890
|
* The primary intent is determined by querying {@link sap.ushell.services.Navigation#getLinks} with the
|
|
5199
|
-
* given semantic object and optional parameter.
|
|
5200
|
-
* a single item remains.
|
|
5891
|
+
* given semantic object and optional parameter.
|
|
5892
|
+
* Then the resulting list is filtered to the outcome that a single item remains.
|
|
5201
5893
|
*
|
|
5202
5894
|
* @returns A promise resolving a link matching the 'primaryAction' tag.
|
|
5203
5895
|
*/
|
|
@@ -5212,18 +5904,19 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5212
5904
|
oLinkFilter?: LinkFilter
|
|
5213
5905
|
): Promise<Link>;
|
|
5214
5906
|
/**
|
|
5215
|
-
* @since 1.
|
|
5907
|
+
* @since 1.120.0
|
|
5216
5908
|
*
|
|
5217
5909
|
* Returns a list of semantic objects of the intents the current user can navigate to.
|
|
5218
5910
|
*
|
|
5219
5911
|
* @returns A promise that resolves with an array of strings representing the semantic objects of the intents
|
|
5220
5912
|
* the current user can navigate to, or rejects with an error message. The returned array will not contain
|
|
5221
|
-
* duplicates.
|
|
5222
|
-
* in the returned
|
|
5913
|
+
* duplicates.
|
|
5914
|
+
* **Note:** the caller should not rely on the specific order the semantic objects appear in the returned
|
|
5915
|
+
* array.
|
|
5223
5916
|
*/
|
|
5224
5917
|
getSemanticObjects(): Promise<string[]>;
|
|
5225
5918
|
/**
|
|
5226
|
-
* @since 1.
|
|
5919
|
+
* @since 1.120.0
|
|
5227
5920
|
*
|
|
5228
5921
|
* Navigates back in history the number of given steps if this is supported by the underlying platform.
|
|
5229
5922
|
* If no argument is provided it will navigate back 1 step.
|
|
@@ -5235,7 +5928,7 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5235
5928
|
iSteps: int
|
|
5236
5929
|
): void;
|
|
5237
5930
|
/**
|
|
5238
|
-
* @since 1.
|
|
5931
|
+
* @since 1.120.0
|
|
5239
5932
|
*
|
|
5240
5933
|
* Checks whether the FLP has performed the first navigation. This method can be used to detect whether
|
|
5241
5934
|
* the current app was started directly, that is, without a previous navigation to another app, to the FLP
|
|
@@ -5245,7 +5938,7 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5245
5938
|
*/
|
|
5246
5939
|
isInitialNavigation(): Promise<boolean>;
|
|
5247
5940
|
/**
|
|
5248
|
-
* @since 1.
|
|
5941
|
+
* @since 1.120.0
|
|
5249
5942
|
*
|
|
5250
5943
|
* Calculates whether the given navigation targets are supported for the given parameters, form factor etc.
|
|
5251
5944
|
* . "Supported" means that a valid navigation target is configured for the user and for the given device.
|
|
@@ -5277,7 +5970,7 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5277
5970
|
oComponent?: Component
|
|
5278
5971
|
): void;
|
|
5279
5972
|
/**
|
|
5280
|
-
* @since 1.
|
|
5973
|
+
* @since 1.120.0
|
|
5281
5974
|
*
|
|
5282
5975
|
* Triggers a navigation to a specified target outside of the currently running application (e.g. different
|
|
5283
5976
|
* launchpad application). Invocation will trigger a hash change and subsequent invocation of the target.
|
|
@@ -5296,9 +5989,10 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5296
5989
|
* Using the arguments as in the example above, a link with a sap-xapp-state parameter that encodes the
|
|
5297
5990
|
* provided data is returned. The sap-xapp-state-data parameter does not appear in the generated link.
|
|
5298
5991
|
*
|
|
5299
|
-
* Do **not** use "#Shell-home" to navigate to a specific homepage!
|
|
5300
|
-
* a link to return to the home page of the Fiori launchpad
|
|
5301
|
-
*
|
|
5992
|
+
* Do **not** use "#Shell-home" to navigate to a specific homepage!
|
|
5993
|
+
* A proper way for an application to generate a link to return to the home page of the Fiori launchpad
|
|
5994
|
+
* is:
|
|
5995
|
+
* `navigate( { target : { shellHash : "#" }})`
|
|
5302
5996
|
*
|
|
5303
5997
|
* @returns A Promise resolving once the navigation was triggered. The Promise might never reject or resolve
|
|
5304
5998
|
* when an error occurs during the navigation.
|
|
@@ -5314,7 +6008,7 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5314
6008
|
oComponent?: Component
|
|
5315
6009
|
): Promise<any>;
|
|
5316
6010
|
/**
|
|
5317
|
-
* @since 1.
|
|
6011
|
+
* @since 1.120.0
|
|
5318
6012
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5319
6013
|
*
|
|
5320
6014
|
* Resolves the URL hash fragment. This function gets the hash part of the URL and returns the URL of the
|
|
@@ -5337,8 +6031,8 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5337
6031
|
*/
|
|
5338
6032
|
export type Link = {
|
|
5339
6033
|
/**
|
|
5340
|
-
* The intent: for example "#AnObject-Action?A=B&C=e&C=j"
|
|
5341
|
-
* and cannot be directly put into a link tag.
|
|
6034
|
+
* The intent: for example "#AnObject-Action?A=B&C=e&C=j"
|
|
6035
|
+
* **Note:** The intent is in a **internal** format and cannot be directly put into a link tag.
|
|
5342
6036
|
*/
|
|
5343
6037
|
intent: string;
|
|
5344
6038
|
/**
|
|
@@ -5373,25 +6067,34 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5373
6067
|
*/
|
|
5374
6068
|
action?: string;
|
|
5375
6069
|
/**
|
|
5376
|
-
* Matches the parameters of a link.
|
|
6070
|
+
* Matches the parameters of a link.
|
|
6071
|
+
* **Simple format:**
|
|
6072
|
+
*
|
|
6073
|
+
*
|
|
5377
6074
|
* ```javascript
|
|
5378
6075
|
*
|
|
5379
|
-
*
|
|
5380
|
-
*
|
|
5381
|
-
*
|
|
5382
|
-
*
|
|
5383
|
-
*
|
|
5384
|
-
*
|
|
6076
|
+
* {
|
|
6077
|
+
* P1: "B",
|
|
6078
|
+
* P2: ["e", "j"]
|
|
6079
|
+
* }
|
|
6080
|
+
* ```
|
|
6081
|
+
*
|
|
6082
|
+
*
|
|
6083
|
+
* **Extended format:**
|
|
6084
|
+
*
|
|
6085
|
+
*
|
|
5385
6086
|
* ```javascript
|
|
5386
6087
|
*
|
|
5387
|
-
*
|
|
5388
|
-
*
|
|
5389
|
-
*
|
|
5390
|
-
*
|
|
5391
|
-
*
|
|
5392
|
-
*
|
|
5393
|
-
*
|
|
5394
|
-
*
|
|
6088
|
+
* {
|
|
6089
|
+
* P1: { value: "v1" },
|
|
6090
|
+
* P2: { value: ["v2", "v3"] },
|
|
6091
|
+
* P3: { value: "v4", required: true }
|
|
6092
|
+
* }
|
|
6093
|
+
* ```
|
|
6094
|
+
*
|
|
6095
|
+
*
|
|
6096
|
+
* `required`: Whether the parameter is be required (`true`) or not (`false`) in the signature of the matching
|
|
6097
|
+
* target. Note that this option is only effective on platforms using the `sap.ushell.services.ClientSideTargetResolution`
|
|
5395
6098
|
*/
|
|
5396
6099
|
params?: object;
|
|
5397
6100
|
/**
|
|
@@ -5434,8 +6137,8 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5434
6137
|
*/
|
|
5435
6138
|
export type Target = {
|
|
5436
6139
|
/**
|
|
5437
|
-
* Defaults to current hash.
|
|
5438
|
-
*
|
|
6140
|
+
* Defaults to current hash. Note that the only the `appSpecificRoute` will be considered when target is
|
|
6141
|
+
* omitted.
|
|
5439
6142
|
*/
|
|
5440
6143
|
target?: {
|
|
5441
6144
|
/**
|
|
@@ -5451,31 +6154,44 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
5451
6154
|
*/
|
|
5452
6155
|
contextRaw?: string;
|
|
5453
6156
|
/**
|
|
5454
|
-
* The entire intent including parameters and appSpecificRoute.
|
|
5455
|
-
*
|
|
5456
|
-
*
|
|
6157
|
+
* The entire intent including parameters and appSpecificRoute.
|
|
6158
|
+
* **Note:** If set all other parameters are ignored.
|
|
6159
|
+
* **Note:** While parameters need to be url-encoded once when used in the `shellHash` the app specific
|
|
6160
|
+
* route must not be encoded.
|
|
5457
6161
|
*/
|
|
5458
6162
|
shellHash?: string;
|
|
5459
6163
|
};
|
|
5460
6164
|
/**
|
|
5461
|
-
* The parameters of the target
|
|
6165
|
+
* The parameters of the target
|
|
6166
|
+
* **Simple format:**
|
|
6167
|
+
*
|
|
6168
|
+
*
|
|
5462
6169
|
* ```javascript
|
|
5463
6170
|
*
|
|
5464
|
-
*
|
|
5465
|
-
*
|
|
5466
|
-
*
|
|
5467
|
-
*
|
|
5468
|
-
*
|
|
5469
|
-
*
|
|
6171
|
+
* {
|
|
6172
|
+
* P1: "B",
|
|
6173
|
+
* P2: ["e", "j"]
|
|
6174
|
+
* }
|
|
6175
|
+
* ```
|
|
6176
|
+
*
|
|
6177
|
+
*
|
|
6178
|
+
* **Extended format:**
|
|
6179
|
+
*
|
|
6180
|
+
*
|
|
5470
6181
|
* ```javascript
|
|
5471
6182
|
*
|
|
5472
|
-
*
|
|
5473
|
-
*
|
|
5474
|
-
*
|
|
5475
|
-
*
|
|
5476
|
-
*
|
|
5477
|
-
*
|
|
5478
|
-
*
|
|
6183
|
+
* {
|
|
6184
|
+
* P1: { value: "v1" },
|
|
6185
|
+
* P2: { value: ["v2", "v3"] }
|
|
6186
|
+
* }
|
|
6187
|
+
* ```
|
|
6188
|
+
*
|
|
6189
|
+
*
|
|
6190
|
+
*
|
|
6191
|
+
*
|
|
6192
|
+
*
|
|
6193
|
+
* **Note:** Parameter values can contain special characters and must be provided unencoded. The APIs takes
|
|
6194
|
+
* care of the necessary encodings.
|
|
5479
6195
|
*/
|
|
5480
6196
|
params?: object;
|
|
5481
6197
|
/**
|
|
@@ -5496,8 +6212,8 @@ declare module "sap/ushell/services/NavTargetResolution" {
|
|
|
5496
6212
|
*
|
|
5497
6213
|
* The Unified Shell's internal navigation target resolution service.
|
|
5498
6214
|
*
|
|
5499
|
-
* **
|
|
5500
|
-
* For details see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
6215
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("NavTargetResolution")`.
|
|
6216
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
5501
6217
|
*
|
|
5502
6218
|
* Methods in this class deal with *internal* representations of the shell hash.
|
|
5503
6219
|
*
|
|
@@ -5627,9 +6343,9 @@ declare module "sap/ushell/services/NavTargetResolution" {
|
|
|
5627
6343
|
* ```javascript
|
|
5628
6344
|
*
|
|
5629
6345
|
* {
|
|
5630
|
-
* "additionalInformation": "SAPUI5.Component=sap.ushell.
|
|
6346
|
+
* "additionalInformation": "SAPUI5.Component=sap.ushell.renderer.search.container",
|
|
5631
6347
|
* "applicationType": "URL",
|
|
5632
|
-
* "url": "/sap/bc/ui5_ui5/ui2/ushell/resources/sap/ushell/
|
|
6348
|
+
* "url": "/sap/bc/ui5_ui5/ui2/ushell/resources/sap/ushell/renderer/search/container",
|
|
5633
6349
|
* "navigationMode": "embedded"
|
|
5634
6350
|
* }
|
|
5635
6351
|
* ```
|
|
@@ -5707,6 +6423,7 @@ declare module "sap/ushell/services/NavTargetResolution" {
|
|
|
5707
6423
|
declare module "sap/ushell/services/Notifications" {
|
|
5708
6424
|
/**
|
|
5709
6425
|
* @since 1.32.0
|
|
6426
|
+
* @deprecated (since 1.119) - Please use {@link sap.ushell.services.NotificationsV2} instead.
|
|
5710
6427
|
*
|
|
5711
6428
|
* UShell service for fetching user notification data from the Notification center/service
|
|
5712
6429
|
* and exposing them to the Unified Shell and Fiori applications UI controls.
|
|
@@ -5747,7 +6464,7 @@ declare module "sap/ushell/services/Notifications" {
|
|
|
5747
6464
|
* The ID of the notification whose action is being executed
|
|
5748
6465
|
*/
|
|
5749
6466
|
sNotificationId: string
|
|
5750
|
-
): Promise
|
|
6467
|
+
): jQuery.Promise;
|
|
5751
6468
|
/**
|
|
5752
6469
|
* @since 1.32
|
|
5753
6470
|
*
|
|
@@ -5885,11 +6602,172 @@ declare module "sap/ushell/services/Notifications" {
|
|
|
5885
6602
|
}
|
|
5886
6603
|
}
|
|
5887
6604
|
|
|
6605
|
+
declare module "sap/ushell/services/NotificationsV2" {
|
|
6606
|
+
/**
|
|
6607
|
+
* @since 1.119
|
|
6608
|
+
*
|
|
6609
|
+
* UShell service for fetching user notification data from the Notification center/service
|
|
6610
|
+
* and exposing them to the Unified Shell and Fiori applications UI controls.
|
|
6611
|
+
*
|
|
6612
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("NotificationsV2")`.
|
|
6613
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
6614
|
+
*
|
|
6615
|
+
* In order to get user notifications, Unified Shell notification service issues OData requests
|
|
6616
|
+
* to the service defined by the configuration property `serviceUrl`,
|
|
6617
|
+
* for example: "/sap/opu/odata4/iwngw/notification/default/iwngw/notification_srv/0001"
|
|
6618
|
+
* .
|
|
6619
|
+
*
|
|
6620
|
+
* Unified Shell Notification service has several working modes, depending on the environment and the available
|
|
6621
|
+
* resources:
|
|
6622
|
+
* PackagedApp mode: Fiori launchpad runs in the context of PackagedApp
|
|
6623
|
+
* FioriClient mode: Fiori launchpad runs in the context of FioriLaunchpad
|
|
6624
|
+
* WebSocket mode: Fiori launchpad runs in a browser, and WebSocket connection to the notifications provider
|
|
6625
|
+
* is available
|
|
6626
|
+
* Polling mode: Fiori launchpad in runs in a browser, and WebSocket connection to the notifications provider
|
|
6627
|
+
* is not available
|
|
6628
|
+
*
|
|
6629
|
+
*
|
|
6630
|
+
* The notification service exposes an API that includes: - Service enabling and initialization
|
|
6631
|
+
* - Registration of callback functions (by Shell/FLP controls) that will be called for every data update
|
|
6632
|
+
* . - Retrieval of notification data (e.g. notifications, number of unseen notifications) - Execution of
|
|
6633
|
+
* a notification actions - Marking user notifications as seen
|
|
6634
|
+
*/
|
|
6635
|
+
export default class NotificationsV2 {
|
|
6636
|
+
constructor();
|
|
6637
|
+
|
|
6638
|
+
/**
|
|
6639
|
+
* Launches dismiss notification call.
|
|
6640
|
+
*
|
|
6641
|
+
*
|
|
6642
|
+
* @returns Promise object that on success resolves to undefined or it is rejected with a message object
|
|
6643
|
+
*/
|
|
6644
|
+
dismissNotification(
|
|
6645
|
+
/**
|
|
6646
|
+
* The ID of the notification whose action is being executed
|
|
6647
|
+
*/
|
|
6648
|
+
sNotificationId: string
|
|
6649
|
+
): Promise<undefined>;
|
|
6650
|
+
/**
|
|
6651
|
+
* Launches a notification action oData call.
|
|
6652
|
+
* After launching the action, the function gets updated notification data in order to push the updated
|
|
6653
|
+
* data to the consumers.
|
|
6654
|
+
*
|
|
6655
|
+
* @returns Promise object that on success resolves to undefined or it is rejected with failed notifications
|
|
6656
|
+
*/
|
|
6657
|
+
executeBulkAction(
|
|
6658
|
+
/**
|
|
6659
|
+
* The ID of the notification header/group whose action is being executed
|
|
6660
|
+
*/
|
|
6661
|
+
sNotificationGroupId: string,
|
|
6662
|
+
/**
|
|
6663
|
+
* The ID of the action that is being executed
|
|
6664
|
+
*/
|
|
6665
|
+
sActionId: string
|
|
6666
|
+
): Promise<any>;
|
|
6667
|
+
/**
|
|
6668
|
+
* Returns the notifications of the user sorted by type include the group headers and the notifications
|
|
6669
|
+
*
|
|
6670
|
+
* @returns Promise for all notification items
|
|
6671
|
+
*/
|
|
6672
|
+
getNotificationsByTypeWithGroupHeaders(): Promise<any>;
|
|
6673
|
+
/**
|
|
6674
|
+
* Returns the number of notifications
|
|
6675
|
+
* e.g. Notifications for user.
|
|
6676
|
+
*
|
|
6677
|
+
* @returns Returns the number of notifications of the user
|
|
6678
|
+
*/
|
|
6679
|
+
getNotificationsCount(): int;
|
|
6680
|
+
/**
|
|
6681
|
+
* Returns the group headers of the user notifications
|
|
6682
|
+
*
|
|
6683
|
+
* @returns Promise for all group headers
|
|
6684
|
+
*/
|
|
6685
|
+
getNotificationsGroupHeaders(): Promise<any>;
|
|
6686
|
+
/**
|
|
6687
|
+
* Returns the number of unseen notifications
|
|
6688
|
+
* e.g. Notifications that the user hasn't seen yet.
|
|
6689
|
+
*
|
|
6690
|
+
* @returns Promise resolves with the number of unread notifications of the user
|
|
6691
|
+
*/
|
|
6692
|
+
getUnseenNotificationsCount(): Promise<any>;
|
|
6693
|
+
/**
|
|
6694
|
+
* Initializes the notification service
|
|
6695
|
+
*
|
|
6696
|
+
* Initialization is performed only if the following two conditions are fulfilled:
|
|
6697
|
+
* 1. Notification service is enabled
|
|
6698
|
+
* 2. Notification service hasn't been initialized yet
|
|
6699
|
+
*
|
|
6700
|
+
*
|
|
6701
|
+
* The main initialization functionality is determining and setting the mode in which notifications are
|
|
6702
|
+
* consumed.
|
|
6703
|
+
* The possible modes are:
|
|
6704
|
+
* PACKAGED_APP - Notifications are fetched when a callback is called by PackagedApp environment
|
|
6705
|
+
* FIORI_CLIENT - Notifications are fetched when a callback is called by FioriClient environment
|
|
6706
|
+
* WEB_SOCKET - Notifications are fetched on WebSocket "ping"
|
|
6707
|
+
* POLLING - Notifications are fetched using periodic polling mechanism
|
|
6708
|
+
*/
|
|
6709
|
+
init(): void;
|
|
6710
|
+
/**
|
|
6711
|
+
* Indicates whether notification service is enabled.
|
|
6712
|
+
* Enabling is based on the `enable` service configuration flag.
|
|
6713
|
+
* The service configuration must also include serviceUrl attribute.
|
|
6714
|
+
*
|
|
6715
|
+
*
|
|
6716
|
+
* @returns A boolean value indicating whether the notifications service is enabled
|
|
6717
|
+
*/
|
|
6718
|
+
isEnabled(): boolean;
|
|
6719
|
+
/**
|
|
6720
|
+
*
|
|
6721
|
+
* @returns boolean value whether first request was already performed and data was returned.
|
|
6722
|
+
*/
|
|
6723
|
+
isFirstDataLoaded(): boolean;
|
|
6724
|
+
/**
|
|
6725
|
+
* Launches mark as read notification call.
|
|
6726
|
+
* After launching the action, the function gets updated notification data in order to push the updated
|
|
6727
|
+
* data to the consumers.
|
|
6728
|
+
*
|
|
6729
|
+
* @returns Promise object that on success resolves to undefined or it is rejected with a message object
|
|
6730
|
+
*/
|
|
6731
|
+
markRead(
|
|
6732
|
+
/**
|
|
6733
|
+
* The ID of the notification whose action is being executed
|
|
6734
|
+
*/
|
|
6735
|
+
sNotificationId: string
|
|
6736
|
+
): Promise<undefined>;
|
|
6737
|
+
/**
|
|
6738
|
+
* Mark all notifications as seen.
|
|
6739
|
+
* the main use-case is when the user navigated to the notification center and sees all the pending notifications.
|
|
6740
|
+
*
|
|
6741
|
+
* @returns Promise taht resolves when operation is finished
|
|
6742
|
+
*/
|
|
6743
|
+
notificationsSeen(): Promise<any>;
|
|
6744
|
+
/**
|
|
6745
|
+
* Gets a callback function that will be called when updated unseen notifications count is available.
|
|
6746
|
+
*/
|
|
6747
|
+
registerNotificationCountUpdateCallback(
|
|
6748
|
+
/**
|
|
6749
|
+
* The callback function that is registered and called on data update.
|
|
6750
|
+
*/
|
|
6751
|
+
callback: Function
|
|
6752
|
+
): void;
|
|
6753
|
+
/**
|
|
6754
|
+
* Gets a callback function that will be called when updated notifications data is available.
|
|
6755
|
+
*/
|
|
6756
|
+
registerNotificationsUpdateCallback(
|
|
6757
|
+
/**
|
|
6758
|
+
* The callback function that is registered and called on data update.
|
|
6759
|
+
*/
|
|
6760
|
+
callback: Function
|
|
6761
|
+
): void;
|
|
6762
|
+
}
|
|
6763
|
+
}
|
|
6764
|
+
|
|
5888
6765
|
declare module "sap/ushell/services/Personalization" {
|
|
5889
6766
|
import Component from "sap/ui/core/Component";
|
|
5890
6767
|
|
|
5891
6768
|
/**
|
|
5892
6769
|
* @since 1.15.0
|
|
6770
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.PersonalizationV2} instead
|
|
5893
6771
|
*
|
|
5894
6772
|
* This method MUST be called by the Unified Shell's container only, others MUST call `sap.ushell.Container.getServiceAsync("Personalization").then(function
|
|
5895
6773
|
* (Personalization) {});`. Constructs a new instance of the personalization service.
|
|
@@ -6194,139 +7072,534 @@ declare module "sap/ushell/services/Personalization" {
|
|
|
6194
7072
|
}
|
|
6195
7073
|
}
|
|
6196
7074
|
|
|
6197
|
-
declare module "sap/ushell/services/
|
|
7075
|
+
declare module "sap/ushell/services/PersonalizationV2" {
|
|
7076
|
+
import Component from "sap/ui/core/Component";
|
|
7077
|
+
|
|
7078
|
+
import ContextContainer from "sap/ushell/services/PersonalizationV2/ContextContainer";
|
|
7079
|
+
|
|
7080
|
+
import Personalizer from "sap/ushell/services/PersonalizationV2/Personalizer";
|
|
7081
|
+
|
|
7082
|
+
import TransientPersonalizer from "sap/ushell/services/PersonalizationV2/TransientPersonalizer";
|
|
7083
|
+
|
|
6198
7084
|
/**
|
|
6199
|
-
* @since 1.
|
|
7085
|
+
* @since 1.120.0
|
|
6200
7086
|
*
|
|
6201
|
-
*
|
|
6202
|
-
*
|
|
6203
|
-
* ```javascript
|
|
7087
|
+
* The Unified Shell's personalization service. Provides a personalizer object that handles all personalization
|
|
7088
|
+
* operations.
|
|
6204
7089
|
*
|
|
6205
|
-
*
|
|
6206
|
-
*
|
|
6207
|
-
* });
|
|
6208
|
-
* ```
|
|
7090
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("PersonalizationV2")`.
|
|
7091
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
6209
7092
|
*/
|
|
6210
|
-
export default class
|
|
7093
|
+
export default class PersonalizationV2 {
|
|
7094
|
+
constructor();
|
|
6211
7095
|
/**
|
|
6212
|
-
*
|
|
6213
|
-
*
|
|
6214
|
-
* Example: An application has two types of variants. Variant type 1 contains filter values for a query,
|
|
6215
|
-
* which are stored in item 1 of the variant, and personalization data for a table, which are stored in
|
|
6216
|
-
* item 2 of the variant. Variant type 2 contains a setting (item 3) that is independent of the filtering
|
|
6217
|
-
* and the table settings. It might be used for a different screen than the variants of type 1. In this
|
|
6218
|
-
* example you would have 2 variant sets, one for each variant type.
|
|
7096
|
+
* @since 1.120.0
|
|
6219
7097
|
*/
|
|
6220
|
-
|
|
6221
|
-
/**
|
|
6222
|
-
* Context
|
|
6223
|
-
*/
|
|
6224
|
-
oContextContainer: object
|
|
6225
|
-
);
|
|
6226
|
-
}
|
|
6227
|
-
}
|
|
7098
|
+
static constants: undefined;
|
|
6228
7099
|
|
|
6229
|
-
declare module "sap/ushell/services/ShellNavigation" {
|
|
6230
|
-
/**
|
|
6231
|
-
* @since 1.15.0
|
|
6232
|
-
*/
|
|
6233
|
-
export default class ShellNavigation {
|
|
6234
7100
|
/**
|
|
6235
|
-
*
|
|
6236
|
-
* the Unified Shell's container only, others MUST call `sap.ushell.Container.getServiceAsync("ShellNavigation").then(function
|
|
6237
|
-
* (ShellNavigation) {});`. Constructs a new instance of the shell navigation service.
|
|
6238
|
-
*
|
|
6239
|
-
* Note that the shell instantiation mechanism has to assure exactly one instance is created (!)
|
|
6240
|
-
*
|
|
6241
|
-
* This interface is for consumption by shell renderers/containers only
|
|
6242
|
-
*
|
|
6243
|
-
* It is not for direct usage by applications, see inner app navigation : UI5 interfaces (hashChanger, Router)
|
|
6244
|
-
* cross app navigation : @see CrossApplicationNavigation
|
|
6245
|
-
*
|
|
6246
|
-
* Usage:
|
|
6247
|
-
*
|
|
6248
|
-
* Example: see renders/fiorisandbox/Shell.controller.js
|
|
6249
|
-
*
|
|
7101
|
+
* @since 1.120.0
|
|
6250
7102
|
*
|
|
6251
|
-
*
|
|
6252
|
-
*
|
|
6253
|
-
*
|
|
6254
|
-
* "sap/ushell/services/ShellNavigation"
|
|
6255
|
-
* ], function (ShellNavigation) {
|
|
6256
|
-
* Shell.onHashChange(shellHash,appHash) { / *resolve url, load app and exchange root view* / }
|
|
6257
|
-
* Shell.init() {
|
|
6258
|
-
* this.privShellNavigator = new ShellNavigation();
|
|
6259
|
-
* this.privShellNavigator.init(jQuery.proxy(this.doHashChange, this));
|
|
6260
|
-
* }
|
|
6261
|
-
* });
|
|
6262
|
-
* ```
|
|
6263
|
-
*
|
|
6264
|
-
*
|
|
6265
|
-
* Note: further app specific integration via the reference app reuse code (setting of app specific handler)
|
|
7103
|
+
* Factory method to obtain an empty Data Context object. When data present in a prior context is not relevant
|
|
7104
|
+
* (e.g. when using a "uniquely" generated key and planning to overwrite any colliding front-end server
|
|
7105
|
+
* data).
|
|
6266
7106
|
*
|
|
6267
|
-
*
|
|
6268
|
-
* url modification.
|
|
7107
|
+
* The call always returns an cleared container().
|
|
6269
7108
|
*
|
|
6270
|
-
*
|
|
6271
|
-
*
|
|
6272
|
-
* and abstraction w.r.t. Eventing
|
|
7109
|
+
* Note that an existing container at the front-end server is not actually deleted or overwritten unless
|
|
7110
|
+
* a save operation is executed.
|
|
6273
7111
|
*
|
|
6274
|
-
*
|
|
7112
|
+
* An initial object is returned.
|
|
6275
7113
|
*
|
|
6276
|
-
*
|
|
6277
|
-
*
|
|
6278
|
-
*
|
|
6279
|
-
*
|
|
7114
|
+
* @returns Resolves a ContextContainer as parameter. object as parameter. The personalization container
|
|
7115
|
+
* provides two different interfaces to synchronously operate on personalization data. In the item mode
|
|
7116
|
+
* the container contains items as name value pairs for personalization data. In the variant mode the container
|
|
7117
|
+
* contains variant sets which contain variants containing items.
|
|
6280
7118
|
*/
|
|
6281
|
-
|
|
7119
|
+
createEmptyContainer(
|
|
6282
7120
|
/**
|
|
6283
|
-
*
|
|
7121
|
+
* Identifies the container. The string length is restricted to 40 characters
|
|
6284
7122
|
*/
|
|
6285
|
-
|
|
7123
|
+
sContainerKey: string,
|
|
6286
7124
|
/**
|
|
6287
|
-
*
|
|
7125
|
+
* Currently the validity property of the scope object is relevant.
|
|
7126
|
+
* E.g. ` { validity : 30}` indicates a validity of the data for 30 minutes.
|
|
6288
7127
|
*/
|
|
6289
|
-
|
|
7128
|
+
oScope: Scope,
|
|
6290
7129
|
/**
|
|
6291
|
-
*
|
|
7130
|
+
* Component which uses the container. This allows to associate the stored data with the application.
|
|
6292
7131
|
*/
|
|
6293
|
-
|
|
6294
|
-
)
|
|
6295
|
-
|
|
7132
|
+
oComponent: Component
|
|
7133
|
+
): Promise<ContextContainer>;
|
|
6296
7134
|
/**
|
|
6297
|
-
*
|
|
7135
|
+
* @since 1.120.0
|
|
6298
7136
|
*
|
|
6299
|
-
*
|
|
6300
|
-
*
|
|
7137
|
+
* Asynchronously starts a deletion request for the given container identified by sContainerKey. Can be
|
|
7138
|
+
* called without having ever called getContainer with the corresponding key
|
|
6301
7139
|
*
|
|
6302
|
-
*
|
|
6303
|
-
*
|
|
7140
|
+
* Note: After invoking this operation, the state of other containers obtained for the same key is undefined!
|
|
7141
|
+
* If you want to use the container after deletion, it is strongly recommended to obtain a new instance
|
|
7142
|
+
* of a container for the given key *after* the promise has returned.
|
|
6304
7143
|
*
|
|
6305
|
-
*
|
|
6306
|
-
* for application loading sAppSpecificPart // Typically ignored sOldShellHashPart, // The old shell hash
|
|
6307
|
-
* part, if exist sOldAppSpecificPart, // The old app hash part, if exist
|
|
7144
|
+
* Note: Invoking this operation while another save or load operation is under way may result in failure.
|
|
6308
7145
|
*
|
|
6309
|
-
* @returns
|
|
7146
|
+
* @returns promise for the deletion operation
|
|
6310
7147
|
*/
|
|
6311
|
-
|
|
7148
|
+
deleteContainer(
|
|
6312
7149
|
/**
|
|
6313
|
-
*
|
|
7150
|
+
* identifies the container
|
|
6314
7151
|
*/
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
*
|
|
6329
|
-
*
|
|
7152
|
+
sContainerKey: string,
|
|
7153
|
+
/**
|
|
7154
|
+
* The scope
|
|
7155
|
+
*/
|
|
7156
|
+
oScope: Scope
|
|
7157
|
+
): Promise<any>;
|
|
7158
|
+
/**
|
|
7159
|
+
* @since 1.120.0
|
|
7160
|
+
*
|
|
7161
|
+
* Factory method to obtain a Data Context object, which is a local copy of the persistence layer data.
|
|
7162
|
+
* The Container data is asynchronously read on creation if present, otherwise an initial object is created.
|
|
7163
|
+
* The Container data can then be *synchronously* modified (getItemValue, setItemValue). Only on invoking
|
|
7164
|
+
* the save() method the data is transferred to the persistence. This allows the application to perform
|
|
7165
|
+
* multiple local modifications and delay the save operation.
|
|
7166
|
+
*
|
|
7167
|
+
* Every getContainer operation returns a new local copy, containing the full data at the point of creation.
|
|
7168
|
+
*
|
|
7169
|
+
* Executing load() on the container reloads the data from the persistence, discarding local changes.
|
|
7170
|
+
*
|
|
7171
|
+
* Note that the container allows the application to control the round trips to the front-end server persistence.
|
|
7172
|
+
* The factory method getContainer is asynchronous and loads the container via the connected adapter from
|
|
7173
|
+
* the front-end server. All operations (but for the save operation) are executed synchronously, operating
|
|
7174
|
+
* on the local data. This allows the application to control the round trips to the front-end server persistence.
|
|
7175
|
+
*
|
|
7176
|
+
* A container can contain a set of items, identified by a key.
|
|
7177
|
+
*
|
|
7178
|
+
* You can wrap a container in a VariantSetAdapter to read and write a more complex structure (with multiple
|
|
7179
|
+
* keys (variantSet,variant,item)).
|
|
7180
|
+
*
|
|
7181
|
+
* Do not mix up the usage of a personalizer and a container for one containerKey. Do not use a PersonalizationContainer
|
|
7182
|
+
* and a Container for the same key except for migration scenarios.
|
|
7183
|
+
*
|
|
7184
|
+
* scope / validity parameter: An unspecified (undefined validity) or infinite (Infinity) validity indicates
|
|
7185
|
+
* that data is persisted in the Personalization data of the front-end server. A round trip is executed
|
|
7186
|
+
* on an initial get and at least every save operation. Data is stored per user and retained indefinitely
|
|
7187
|
+
* at the front-end server.
|
|
7188
|
+
*
|
|
7189
|
+
* The validity parameter allows a designated storage validity for the created container. A 0 validity indicates
|
|
7190
|
+
* the data is only persisted within the Fiori launchpad window. No round trips to the front-end server
|
|
7191
|
+
* are executed. Data is lost if the Fiori launchpad window state is lost (e.g. by navigating to a different
|
|
7192
|
+
* page, pressing F5 (reload page) or duplicating the window).
|
|
7193
|
+
*
|
|
7194
|
+
* For versions > 1.24 it may happen that for cross-app navigation a reload of the Fiori launchpad is triggered.
|
|
7195
|
+
* In this case a storage of the personalization data in the Fiori launchpad window would lead to data loss.
|
|
7196
|
+
* To overcome this a validity 0 is automatically changed to a validity 1440 (24h; storage on the front-end
|
|
7197
|
+
* server). This is only done if a reload of the Fiori launchpad is triggered for a cross-app navigation.
|
|
7198
|
+
*
|
|
7199
|
+
* Security: It is the responsibility of the application to not persist information relevant to auditing
|
|
7200
|
+
* or security using the PersonalizationService with inappropriate validity models. No mechanisms exist
|
|
7201
|
+
* to destroy or selectively destroy application-specific data in the front-end server persistence (especially
|
|
7202
|
+
* for validity Infinity).
|
|
7203
|
+
*
|
|
7204
|
+
* For non-zero validity scopes, data will be transmitted and persisted in the front-end server system.
|
|
7205
|
+
*
|
|
7206
|
+
* For limited validity, actual deletion of data on the front-end server is subject to explicit cleanup
|
|
7207
|
+
* execution of front-end server jobs and not guaranteed. The data may still be persisted and retrievable.
|
|
7208
|
+
* The interface only assures that expired data is no longer exposed to the application code in the Fiori
|
|
7209
|
+
* launchpad.
|
|
7210
|
+
*
|
|
7211
|
+
* The ContainerKey uniquely defines the Container, validity is not part of the key (there are no separate
|
|
7212
|
+
* namespaces per validity).
|
|
7213
|
+
*
|
|
7214
|
+
* In general, mixing different validity models for a given container key is not supported. Fast chaining
|
|
7215
|
+
* of different methods may source arbitrary persistence layers. The validity of the resulting object in
|
|
7216
|
+
* the done function of a promise is the last get validity.
|
|
7217
|
+
*
|
|
7218
|
+
* The validity associated with the last getContainer or createEmptyContainer determines the current validity
|
|
7219
|
+
* of the container and the validity used during the next save operation.
|
|
7220
|
+
*
|
|
7221
|
+
* Naturally, if a delete or get with validity 0 is issued, it will *not* delete or retrieve a front-end
|
|
7222
|
+
* server persistent storage. Thus a sequence delete( [validity 0])/wait for promise, getContainer(sKey,{
|
|
7223
|
+
* validity : Infinity}) may return a valid dataset.
|
|
7224
|
+
*
|
|
7225
|
+
* @returns Resolves a ContextContainer as parameter. The container provides setItemValue / getItemValue
|
|
7226
|
+
* methods to synchronously operate on personalization data. By wrapping it in a VariantSetAdapter, an alternate
|
|
7227
|
+
* interface to maintain variants can be obtained.
|
|
7228
|
+
*/
|
|
7229
|
+
getContainer(
|
|
7230
|
+
/**
|
|
7231
|
+
* Identifies the container. The string length is restricted to 40 characters
|
|
7232
|
+
*/
|
|
7233
|
+
sContainerKey: string,
|
|
7234
|
+
/**
|
|
7235
|
+
* Currently the validity property of the scope object is relevant: E.g. ` { validity : 30}` indicates a
|
|
7236
|
+
* validity of the data for 30 minutes.
|
|
7237
|
+
*/
|
|
7238
|
+
oScope: Scope,
|
|
7239
|
+
/**
|
|
7240
|
+
* Component which uses the container. This allows to associate the stored data with the application.
|
|
7241
|
+
*/
|
|
7242
|
+
oComponent: Component
|
|
7243
|
+
): Promise<ContextContainer>;
|
|
7244
|
+
/**
|
|
7245
|
+
* @since 1.120.0
|
|
7246
|
+
*
|
|
7247
|
+
* Returns a generated key. This key is suitably random, but it is susceptible to brute force attacks. Storages
|
|
7248
|
+
* based on the generated key must not be used for sensitive data.
|
|
7249
|
+
*
|
|
7250
|
+
* @returns 40 character string consisting of A-Z and 0-9 which can be used as a generated key for personalization
|
|
7251
|
+
* container. Every invocation returns a new key. Seed of random function is OS Random Seed.
|
|
7252
|
+
*/
|
|
7253
|
+
getGeneratedKey(): Promise<string>;
|
|
7254
|
+
/**
|
|
7255
|
+
* @since 1.120.0
|
|
7256
|
+
*
|
|
7257
|
+
* Returns a personalizer object which handles personalization by asynchronous operations storing the personalization
|
|
7258
|
+
* data immediately via the connected adapter. For each operation a round trip is executed.
|
|
7259
|
+
*
|
|
7260
|
+
* Do not mix the usage of a personalizer and a personalization container for one containerKey.
|
|
7261
|
+
*
|
|
7262
|
+
* Fetching multiple Personalizer for the same container, but different items is not supported. Use {@link sap.ushell.services.Personalizer#getContainer }
|
|
7263
|
+
* instead for this scenario.
|
|
7264
|
+
*
|
|
7265
|
+
* @returns which provides generic read and write access to the currently logged on user's personalization
|
|
7266
|
+
* settings.
|
|
7267
|
+
*/
|
|
7268
|
+
getPersonalizer(
|
|
7269
|
+
/**
|
|
7270
|
+
* object for identifying the data
|
|
7271
|
+
*/
|
|
7272
|
+
oPersId: PersId,
|
|
7273
|
+
/**
|
|
7274
|
+
* scope object
|
|
7275
|
+
* E.g. ` { validity: 30}` indicates a validity of the data for 30 minutes.
|
|
7276
|
+
*/
|
|
7277
|
+
oScope: Scope,
|
|
7278
|
+
/**
|
|
7279
|
+
* Component which uses the personalizer. This allows to associate the stored data with the application.
|
|
7280
|
+
*/
|
|
7281
|
+
oComponent?: Component
|
|
7282
|
+
): Promise<Personalizer>;
|
|
7283
|
+
/**
|
|
7284
|
+
* @since 1.120.0
|
|
7285
|
+
*
|
|
7286
|
+
* Returns a transient personalizer object which handles personalization by asynchronous operations storing
|
|
7287
|
+
* the personalization data transiently as an object property. Primary usage of the transient personalizer
|
|
7288
|
+
* is a personalization scenario with variants where the transient personalizer is used as a buffer for
|
|
7289
|
+
* table personalization data.
|
|
7290
|
+
*
|
|
7291
|
+
* @returns which provides asynchronous read and write access to a transient personalization data storage.
|
|
7292
|
+
*/
|
|
7293
|
+
getTransientPersonalizer(): Promise<TransientPersonalizer>;
|
|
7294
|
+
}
|
|
7295
|
+
/**
|
|
7296
|
+
* currently the validity property of the scope object is relevant:
|
|
7297
|
+
*/
|
|
7298
|
+
export type PersId = {
|
|
7299
|
+
/**
|
|
7300
|
+
* Identifies the set of personalization data that is loaded/saved as one bundle from the front-end server.
|
|
7301
|
+
*/
|
|
7302
|
+
container: string;
|
|
7303
|
+
/**
|
|
7304
|
+
* The name of the object the personalization is applied to.
|
|
7305
|
+
*/
|
|
7306
|
+
item: string;
|
|
7307
|
+
};
|
|
7308
|
+
|
|
7309
|
+
/**
|
|
7310
|
+
* currently the validity property of the scope object is relevant:
|
|
7311
|
+
*/
|
|
7312
|
+
export type Scope = {
|
|
7313
|
+
/**
|
|
7314
|
+
* validity of the container persistence in minutes
|
|
7315
|
+
* 0 ( per FLP Window),
|
|
7316
|
+
* Infinity, undefined (front-end server persistence per user )
|
|
7317
|
+
* x Minutes (front-end server persistence per user, ignored if older than x minutes)
|
|
7318
|
+
*/
|
|
7319
|
+
validity?: int;
|
|
7320
|
+
/**
|
|
7321
|
+
* Type or category of key
|
|
7322
|
+
*/
|
|
7323
|
+
keyCategory?: /* was: sap.ushell.services.PersonalizationV2.constants.keyCategory */ any;
|
|
7324
|
+
/**
|
|
7325
|
+
* Expected frequency how often users will use this container to store data inside
|
|
7326
|
+
*/
|
|
7327
|
+
writeFrequency?: /* was: sap.ushell.services.PersonalizationV2.constants.writeFrequency */ any;
|
|
7328
|
+
/**
|
|
7329
|
+
* Defines if storage on client side should be allowed or not
|
|
7330
|
+
*/
|
|
7331
|
+
clientStorageAllowed?: boolean;
|
|
7332
|
+
/**
|
|
7333
|
+
* Indicates the container is intended to be shared across multiple applications
|
|
7334
|
+
*/
|
|
7335
|
+
shared?: boolean;
|
|
7336
|
+
};
|
|
7337
|
+
}
|
|
7338
|
+
|
|
7339
|
+
declare module "sap/ushell/services/PersonalizationV2/constants" {
|
|
7340
|
+
/**
|
|
7341
|
+
* @since 1.120.0
|
|
7342
|
+
*/
|
|
7343
|
+
const constants: undefined;
|
|
7344
|
+
|
|
7345
|
+
export default constants;
|
|
7346
|
+
}
|
|
7347
|
+
|
|
7348
|
+
declare module "sap/ushell/services/PersonalizationV2/ContextContainer" {
|
|
7349
|
+
/**
|
|
7350
|
+
* @since 1.120.0
|
|
7351
|
+
*
|
|
7352
|
+
* The container is the anchor object of the unified shell personalization in container mode.
|
|
7353
|
+
*/
|
|
7354
|
+
export default class ContextContainer {
|
|
7355
|
+
/**
|
|
7356
|
+
* To be called by the personalization service getContainer method.
|
|
7357
|
+
*/
|
|
7358
|
+
constructor();
|
|
7359
|
+
}
|
|
7360
|
+
}
|
|
7361
|
+
|
|
7362
|
+
declare module "sap/ushell/services/PersonalizationV2/Personalizer" {
|
|
7363
|
+
/**
|
|
7364
|
+
* @since 1.120.0
|
|
7365
|
+
*
|
|
7366
|
+
* The Unified Shell personalizer providing set get delete methods to access the persisted personalization
|
|
7367
|
+
* data in direct mode.
|
|
7368
|
+
*/
|
|
7369
|
+
export default class Personalizer {
|
|
7370
|
+
/**
|
|
7371
|
+
* To be called by the personalization service getPersonalizer method.
|
|
7372
|
+
*/
|
|
7373
|
+
constructor();
|
|
7374
|
+
}
|
|
7375
|
+
}
|
|
7376
|
+
|
|
7377
|
+
declare module "sap/ushell/services/PersonalizationV2/TransientPersonalizer" {
|
|
7378
|
+
/**
|
|
7379
|
+
* @since 1.120.0
|
|
7380
|
+
*
|
|
7381
|
+
* The transient personalizer shall be used in container mode for table personalization. To be called by
|
|
7382
|
+
* the personalization service getTransientPersonalizer method.
|
|
7383
|
+
*/
|
|
7384
|
+
export default class TransientPersonalizer {
|
|
7385
|
+
constructor();
|
|
7386
|
+
}
|
|
7387
|
+
}
|
|
7388
|
+
|
|
7389
|
+
declare module "sap/ushell/services/PersonalizationV2/Variant" {
|
|
7390
|
+
/**
|
|
7391
|
+
* @since 1.120.0
|
|
7392
|
+
*
|
|
7393
|
+
* The personalization variant contains personalization data. It is used in the personalization container
|
|
7394
|
+
* mode.
|
|
7395
|
+
*/
|
|
7396
|
+
export default class Variant {
|
|
7397
|
+
/**
|
|
7398
|
+
* To be instantiated via Personalization.VariantSet add / get Variant only
|
|
7399
|
+
*/
|
|
7400
|
+
constructor();
|
|
7401
|
+
}
|
|
7402
|
+
}
|
|
7403
|
+
|
|
7404
|
+
declare module "sap/ushell/services/PersonalizationV2/VariantSetAdapter" {
|
|
7405
|
+
/**
|
|
7406
|
+
* @since 1.120.0
|
|
7407
|
+
*
|
|
7408
|
+
* Wrapper object to expose a variant interface on a ContextContainer object obtained from the PersonalizationV2
|
|
7409
|
+
* service:
|
|
7410
|
+
* ```javascript
|
|
7411
|
+
*
|
|
7412
|
+
* oPersonalizationV2Service.getContainer(...).then(function(oContainer) {
|
|
7413
|
+
* that.oVariantSetContainer = new VariantSetAdapter(oContainer);
|
|
7414
|
+
* });
|
|
7415
|
+
* ```
|
|
7416
|
+
*/
|
|
7417
|
+
export default class VariantSetAdapter {
|
|
7418
|
+
/**
|
|
7419
|
+
* VariantSetAdapter amends ContextContainer with functionality to
|
|
7420
|
+
*
|
|
7421
|
+
* Example: An application has two types of variants. Variant type 1 contains filter values for a query,
|
|
7422
|
+
* which are stored in item 1 of the variant, and personalization data for a table, which are stored in
|
|
7423
|
+
* item 2 of the variant. Variant type 2 contains a setting (item 3) that is independent of the filtering
|
|
7424
|
+
* and the table settings. It might be used for a different screen than the variants of type 1. In this
|
|
7425
|
+
* example you would have 2 variant sets, one for each variant type.
|
|
7426
|
+
*/
|
|
7427
|
+
constructor(
|
|
7428
|
+
/**
|
|
7429
|
+
* Context
|
|
7430
|
+
*/
|
|
7431
|
+
oContextContainer: object
|
|
7432
|
+
);
|
|
7433
|
+
}
|
|
7434
|
+
}
|
|
7435
|
+
|
|
7436
|
+
declare module "sap/ushell/services/ShellNavigation" {
|
|
7437
|
+
/**
|
|
7438
|
+
* @since 1.15.0
|
|
7439
|
+
*
|
|
7440
|
+
* The Unified Shell's internal navigation service (platform independent).
|
|
7441
|
+
*
|
|
7442
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("ShellNavigation")`.
|
|
7443
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
7444
|
+
*
|
|
7445
|
+
* This interface is for consumption by shell renderers/containers only
|
|
7446
|
+
*
|
|
7447
|
+
* It is not for direct usage by applications, see inner app navigation : UI5 interfaces (hashChanger, Router)
|
|
7448
|
+
* cross app navigation : @see CrossApplicationNavigation
|
|
7449
|
+
*
|
|
7450
|
+
* Usage:
|
|
7451
|
+
*
|
|
7452
|
+
* Example: see renders/fiorisandbox/Shell.controller.js
|
|
7453
|
+
*
|
|
7454
|
+
*
|
|
7455
|
+
* ```javascript
|
|
7456
|
+
*
|
|
7457
|
+
* sap.ui.define([
|
|
7458
|
+
* "sap/ushell/services/ShellNavigation"
|
|
7459
|
+
* ], function (ShellNavigation) {
|
|
7460
|
+
* Shell.onHashChange(shellHash,appHash) { / *resolve url, load app and exchange root view* / }
|
|
7461
|
+
* Shell.init() {
|
|
7462
|
+
* this.privShellNavigator = new ShellNavigation();
|
|
7463
|
+
* this.privShellNavigator.init(jQuery.proxy(this.doHashChange, this));
|
|
7464
|
+
* }
|
|
7465
|
+
* });
|
|
7466
|
+
* ```
|
|
7467
|
+
*
|
|
7468
|
+
*
|
|
7469
|
+
* Note: further app specific integration via the reference app reuse code (setting of app specific handler)
|
|
7470
|
+
*
|
|
7471
|
+
* Note: the ShellNavigation service replaces the UI5 core HashChanger which abstracts from the browser
|
|
7472
|
+
* url modification.
|
|
7473
|
+
*
|
|
7474
|
+
* It performs the following services: - encoding of the actual browser url hash ( via hasher.js). - expansion
|
|
7475
|
+
* of "shortened" urls ( AppParameterParts) via invocation. - splitting of shellHash and AppSpecific hash
|
|
7476
|
+
* and abstraction w.r.t. Eventing
|
|
7477
|
+
*
|
|
7478
|
+
* Thus it is crucial to use appropriate interfaces and not directly invoke window.location.hash.
|
|
7479
|
+
*
|
|
7480
|
+
* - internal construction methods for a "current" App specific and non-app specific hash (invoked by CrossApplicationNavigation),
|
|
7481
|
+
* not to be invoked directly!
|
|
7482
|
+
*/
|
|
7483
|
+
export default class ShellNavigation {
|
|
7484
|
+
constructor();
|
|
7485
|
+
|
|
7486
|
+
/**
|
|
7487
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7488
|
+
*
|
|
7489
|
+
* compact the parameter object, if required a number of parameters will be removed, instead a corresponding
|
|
7490
|
+
* "sap-intent-param" containing a key of an appstate representing the removed parameters will be inserted
|
|
7491
|
+
*
|
|
7492
|
+
* @returns a promise, whose first argument of resolve is
|
|
7493
|
+
*/
|
|
7494
|
+
compactParams(
|
|
7495
|
+
/**
|
|
7496
|
+
* A parameter object
|
|
7497
|
+
*/
|
|
7498
|
+
oParams: object,
|
|
7499
|
+
/**
|
|
7500
|
+
* An array of string value of parameters which shall not be compacted The array may contains a *-terminated
|
|
7501
|
+
* string, which will match and strings with the same prefix ( e.g. "sap-*" will match "sap-ushell", "sap-wd",
|
|
7502
|
+
* "sap-" etc. )
|
|
7503
|
+
*/
|
|
7504
|
+
aRetainedParameters?: any[],
|
|
7505
|
+
/**
|
|
7506
|
+
* optional, a SAP UI5 Component
|
|
7507
|
+
*/
|
|
7508
|
+
oComponent?: object,
|
|
7509
|
+
/**
|
|
7510
|
+
* whether an transient appstate is sufficient
|
|
7511
|
+
*/
|
|
7512
|
+
bTransient?: boolean
|
|
7513
|
+
): Promise<any>;
|
|
7514
|
+
/**
|
|
7515
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7516
|
+
*
|
|
7517
|
+
* Returns the current navigation context.
|
|
7518
|
+
*
|
|
7519
|
+
* @returns An object like:
|
|
7520
|
+
* ```javascript
|
|
7521
|
+
*
|
|
7522
|
+
* {
|
|
7523
|
+
* "status": sap.ushell.NavigationState.Navigating,
|
|
7524
|
+
* "isCrossAppNavigation": true,
|
|
7525
|
+
* "innerAppRoute": "employee/overview"
|
|
7526
|
+
* }
|
|
7527
|
+
* ```
|
|
7528
|
+
*
|
|
7529
|
+
*
|
|
7530
|
+
* This object can be used inside dirty flag providers to take corresponding actions.
|
|
7531
|
+
*/
|
|
7532
|
+
getNavigationContext(): object;
|
|
7533
|
+
/**
|
|
7534
|
+
* Initializes ShellNavigation
|
|
7535
|
+
*
|
|
7536
|
+
* This function should be used by a custom renderer in order to implement custom navigation. Do not use
|
|
7537
|
+
* this function for developing Fiori applications.
|
|
7538
|
+
*
|
|
7539
|
+
* This method should be invoked by the Shell in order to: - Register the event listener - Register the
|
|
7540
|
+
* container callback for the (currently single) ShellHash changes.
|
|
7541
|
+
*
|
|
7542
|
+
* Signature of the callback function sShellHashPart, // The hash part on the URL that is resolved and used
|
|
7543
|
+
* for application loading sAppSpecificPart // Typically ignored sOldShellHashPart, // The old shell hash
|
|
7544
|
+
* part, if exist sOldAppSpecificPart, // The old app hash part, if exist
|
|
7545
|
+
*
|
|
7546
|
+
* @returns this
|
|
7547
|
+
*/
|
|
7548
|
+
init(
|
|
7549
|
+
/**
|
|
7550
|
+
* The callback method for hash changes
|
|
7551
|
+
*/
|
|
7552
|
+
fnShellCallback: Function
|
|
7553
|
+
): object;
|
|
7554
|
+
/**
|
|
7555
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7556
|
+
*
|
|
7557
|
+
* Rewrite the hash fragment identifier without triggering any navigation at
|
|
7558
|
+
*/
|
|
7559
|
+
replaceHashWithoutNavigation(
|
|
7560
|
+
/**
|
|
7561
|
+
* new hash fragment
|
|
7562
|
+
*/
|
|
7563
|
+
sNewHash: string
|
|
7564
|
+
): void;
|
|
7565
|
+
/**
|
|
7566
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7567
|
+
*
|
|
7568
|
+
* Resets the internal flag used to track whether the last navigation is made via hasher#setHash or hasher#replaceHash.
|
|
7569
|
+
* This method should be called after a navigation is successfully made to a target application to avoid
|
|
7570
|
+
* returning an inconsistent answer when calling `#wasHistoryEntryReplaced`. An inconsistent answer might
|
|
7571
|
+
* occur when a navigation is made via forward/back button without passing via `hasher#replaceHash` or `hasher#setHash`.
|
|
7572
|
+
*
|
|
7573
|
+
* This method should not be used externally. It's reserved uniquely for internal shell consumption and
|
|
7574
|
+
* its signature or result might change at any time.
|
|
7575
|
+
*/
|
|
7576
|
+
resetHistoryEntryReplaced(): void;
|
|
7577
|
+
/**
|
|
7578
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7579
|
+
*
|
|
7580
|
+
* Returns true if the history entry was replaced immediately after the last navigation. To be useful, this
|
|
7581
|
+
* method should be called immediately after the hash enters the URL but before the target application is
|
|
7582
|
+
* finally navigated to.
|
|
7583
|
+
*
|
|
7584
|
+
* This method should not be used externally. It's reserved uniquely for internal shell consumption and
|
|
7585
|
+
* its signature or result might change at any time.
|
|
7586
|
+
*
|
|
7587
|
+
* @returns Whether `hasher#replaceHash` was called after the last navigation.
|
|
7588
|
+
*/
|
|
7589
|
+
wasHistoryEntryReplaced(): boolean;
|
|
7590
|
+
}
|
|
7591
|
+
}
|
|
7592
|
+
|
|
7593
|
+
declare module "sap/ushell/services/SmartNavigation" {
|
|
7594
|
+
/**
|
|
7595
|
+
* @since 1.44.0
|
|
7596
|
+
* @deprecated (since 1.112) - This service has been deprecated. Please use the CrossApplicationNavigation
|
|
7597
|
+
* service instead.
|
|
7598
|
+
*/
|
|
7599
|
+
export default class SmartNavigation {
|
|
7600
|
+
/**
|
|
7601
|
+
* Constructs an instance of SmartNavigation.
|
|
7602
|
+
*
|
|
6330
7603
|
* The constructed service provides an enhancement on {@link CrossApplicationNavigation#getLinks} and
|
|
6331
7604
|
* {@link CrossApplicationNavigation#toExternal}. In order for an application to leverage this enhancement,
|
|
6332
7605
|
* it is pertinent that the application uses {@link SmartNavigation#toExternal} for navigation. Hence the
|
|
@@ -6347,49 +7620,13 @@ declare module "sap/ushell/services/SupportTicket" {
|
|
|
6347
7620
|
/**
|
|
6348
7621
|
* @since 1.19.1
|
|
6349
7622
|
*
|
|
6350
|
-
*
|
|
6351
|
-
*
|
|
7623
|
+
* The Unified Shell's SupportTicket service.
|
|
7624
|
+
*
|
|
7625
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("SupportTicket")`.
|
|
7626
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
6352
7627
|
*/
|
|
6353
7628
|
export default class SupportTicket {
|
|
6354
|
-
|
|
6355
|
-
* See:
|
|
6356
|
-
* sap.ushell.services.Container#getServiceAsync
|
|
6357
|
-
*/
|
|
6358
|
-
constructor(
|
|
6359
|
-
/**
|
|
6360
|
-
* the service adapter for the support ticket service, as already provided by the container
|
|
6361
|
-
*/
|
|
6362
|
-
oAdapter: object,
|
|
6363
|
-
/**
|
|
6364
|
-
* the interface provided by the container
|
|
6365
|
-
*/
|
|
6366
|
-
oContainerInterface: object,
|
|
6367
|
-
/**
|
|
6368
|
-
* the runtime configuration specified in the `sap.ushell.Container.getServiceAsync()` call (not evaluated
|
|
6369
|
-
* yet)
|
|
6370
|
-
*/
|
|
6371
|
-
sParameters: string,
|
|
6372
|
-
/**
|
|
6373
|
-
* the service configuration defined in the bootstrap configuration; the boolean property `enabled` controls
|
|
6374
|
-
* the service enablement
|
|
6375
|
-
*
|
|
6376
|
-
* This service is disabled by default. It can be enabled explicitly in the bootstrap configuration of the
|
|
6377
|
-
* start page:
|
|
6378
|
-
* window["sap-ushell-config"] = {
|
|
6379
|
-
* services: {
|
|
6380
|
-
* SupportTicket: {
|
|
6381
|
-
* config: {
|
|
6382
|
-
* enabled: true
|
|
6383
|
-
* }
|
|
6384
|
-
* }
|
|
6385
|
-
* }
|
|
6386
|
-
* }
|
|
6387
|
-
*
|
|
6388
|
-
* Platform implementations can also enable it dynamically by modification of the
|
|
6389
|
-
* bootstrap configuration during boot time.
|
|
6390
|
-
*/
|
|
6391
|
-
oServiceConfiguration: object
|
|
6392
|
-
);
|
|
7629
|
+
constructor();
|
|
6393
7630
|
|
|
6394
7631
|
/**
|
|
6395
7632
|
* @since 1.20.0
|
|
@@ -6435,9 +7672,10 @@ declare module "sap/ushell/services/URLParsing" {
|
|
|
6435
7672
|
/**
|
|
6436
7673
|
* @since 1.15.0
|
|
6437
7674
|
*
|
|
6438
|
-
* The Unified Shell's internal URL parsing service (platform independent)
|
|
6439
|
-
*
|
|
6440
|
-
*
|
|
7675
|
+
* The Unified Shell's internal URL parsing service (platform independent).
|
|
7676
|
+
*
|
|
7677
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("URLParsing")`.
|
|
7678
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
6441
7679
|
*
|
|
6442
7680
|
* Methods in this class allow to break down a shell compliant hash into it's respective parts (SemanticObject,Action,Context,
|
|
6443
7681
|
* Parameters, appSpecificHash) or (ShellPart,appSpecificHash) respectively or construct a hash from its
|
|
@@ -6711,6 +7949,8 @@ declare module "sap/ushell/services/URLParsing" {
|
|
|
6711
7949
|
declare module "sap/ushell/services/UsageAnalytics" {
|
|
6712
7950
|
/**
|
|
6713
7951
|
* @since 1.32.0
|
|
7952
|
+
* @deprecated (since 1.120.0) - The corresponding cloud service "SAP Web Analytics" has been retired, therefore
|
|
7953
|
+
* this client-side service API cannot be used any longer.
|
|
6714
7954
|
*
|
|
6715
7955
|
* A UShell service for tracking business flows and user actions. The UsageAnalytics service exposes API
|
|
6716
7956
|
* for logging custom events and setting custom field values in the logged events.
|
|
@@ -6803,11 +8043,10 @@ declare module "sap/ushell/services/UserInfo" {
|
|
|
6803
8043
|
/**
|
|
6804
8044
|
* @since 1.16.3
|
|
6805
8045
|
*
|
|
6806
|
-
*
|
|
6807
|
-
* (UserInfo) {});`. Constructs a new instance of the user information service.
|
|
8046
|
+
* The Unified Shell's user information service. Allows retrieving information about the logged-in user.
|
|
6808
8047
|
*
|
|
6809
|
-
*
|
|
6810
|
-
*
|
|
8048
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call `sap.ushell.Container.getServiceAsync("UserInfo")`.
|
|
8049
|
+
* For details, see {@link sap.ushell.services.Container#getServiceAsync}.
|
|
6811
8050
|
*/
|
|
6812
8051
|
export default class UserInfo {
|
|
6813
8052
|
constructor();
|
|
@@ -6852,15 +8091,6 @@ declare module "sap/ushell/services/UserInfo" {
|
|
|
6852
8091
|
* @returns The user's last name.
|
|
6853
8092
|
*/
|
|
6854
8093
|
getLastName(): string;
|
|
6855
|
-
/**
|
|
6856
|
-
* @since 1.71.0
|
|
6857
|
-
*
|
|
6858
|
-
* Returns an object representing data about the user: ID, first name, last name, full name, e-mail address.
|
|
6859
|
-
*
|
|
6860
|
-
* @returns object providing information about the logged-in user: ID, first name, last name, full name,
|
|
6861
|
-
* e-mail address
|
|
6862
|
-
*/
|
|
6863
|
-
getShellUserInfo(): Promise<any>;
|
|
6864
8094
|
}
|
|
6865
8095
|
}
|
|
6866
8096
|
|
|
@@ -7327,9 +8557,8 @@ declare module "sap/ushell/ui/footerbar/AddBookmarkButton" {
|
|
|
7327
8557
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
7328
8558
|
|
|
7329
8559
|
/**
|
|
7330
|
-
* Enables
|
|
7331
|
-
*
|
|
7332
|
-
* the launchpad.
|
|
8560
|
+
* Enables users to save bookmark tiles in the Fiori launchpad. Clicking the button opens a dialog box for
|
|
8561
|
+
* saving the app state, so that the app can be launched directly in that state from the launchpad.
|
|
7333
8562
|
*/
|
|
7334
8563
|
export default class AddBookmarkButton extends Button {
|
|
7335
8564
|
/**
|
|
@@ -9867,7 +11096,7 @@ declare module "sap/ushell/ui5service/UserStatus" {
|
|
|
9867
11096
|
/**
|
|
9868
11097
|
* @deprecated (since 1.70) - Support for this service has been discontinued.
|
|
9869
11098
|
*/
|
|
9870
|
-
interface UserStatus {
|
|
11099
|
+
interface UserStatus extends /* was: sap.ui.core.service.Service */ Object {
|
|
9871
11100
|
/**
|
|
9872
11101
|
* Creates a new subclass of class sap.ushell.ui5service.UserStatus with name `sClassName` and enriches
|
|
9873
11102
|
* it with the information contained in `oClassInfo`.
|
|
@@ -9976,6 +11205,8 @@ declare namespace sap {
|
|
|
9976
11205
|
namespace Personalization {
|
|
9977
11206
|
/**
|
|
9978
11207
|
* @since 1.22.0
|
|
11208
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.PersonalizationV2.ContextContainer }
|
|
11209
|
+
* instead
|
|
9979
11210
|
*
|
|
9980
11211
|
* The container is the anchor object of the unified shell personalization in container mode.
|
|
9981
11212
|
*/
|
|
@@ -9987,6 +11218,7 @@ declare namespace sap {
|
|
|
9987
11218
|
|
|
9988
11219
|
/**
|
|
9989
11220
|
* @since 1.22.0
|
|
11221
|
+
* @deprecated (since 1.120.0)
|
|
9990
11222
|
*
|
|
9991
11223
|
* Returns an array with all internal keys of direct items in the container.
|
|
9992
11224
|
*
|
|
@@ -10093,6 +11325,8 @@ declare namespace sap {
|
|
|
10093
11325
|
load(): object;
|
|
10094
11326
|
/**
|
|
10095
11327
|
* @since 1.22.0
|
|
11328
|
+
* @deprecated (since 1.120.0) - Use {@link sap.ushell.services.Personalization.ContextContainer#saveDeferred }
|
|
11329
|
+
* instead
|
|
10096
11330
|
*
|
|
10097
11331
|
* Attempts to save the current container data at the underlying storage asynchronously. The current state
|
|
10098
11332
|
* is serialized.
|
|
@@ -10131,8 +11365,225 @@ declare namespace sap {
|
|
|
10131
11365
|
sItemValue: object
|
|
10132
11366
|
): void;
|
|
10133
11367
|
}
|
|
11368
|
+
/**
|
|
11369
|
+
* @since 1.18.0
|
|
11370
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.Personalization#getContainer} instead
|
|
11371
|
+
*
|
|
11372
|
+
* The personalization container is the anchor object of the unified shell personalization in container
|
|
11373
|
+
* mode.
|
|
11374
|
+
*/
|
|
11375
|
+
class PersonalizationContainer {
|
|
11376
|
+
/**
|
|
11377
|
+
* To be called by the personalization service getPersonalizationContainer method.
|
|
11378
|
+
*/
|
|
11379
|
+
constructor();
|
|
11380
|
+
}
|
|
11381
|
+
/**
|
|
11382
|
+
* @since 1.18.0
|
|
11383
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.Personalization#getContainer} instead
|
|
11384
|
+
*
|
|
11385
|
+
* The personalization variant contains personalization data. It is used in the personalization container
|
|
11386
|
+
* mode.
|
|
11387
|
+
*/
|
|
11388
|
+
class PersonalizationContainerVariant {
|
|
11389
|
+
/**
|
|
11390
|
+
* To be called by the personalization variant set.
|
|
11391
|
+
*/
|
|
11392
|
+
constructor();
|
|
11393
|
+
|
|
11394
|
+
/**
|
|
11395
|
+
* @since 1.18.0
|
|
11396
|
+
*
|
|
11397
|
+
* Checks if a specific item is contained in this variant.
|
|
11398
|
+
*
|
|
11399
|
+
* @returns true if the variant contains an item with the key
|
|
11400
|
+
*/
|
|
11401
|
+
containsItem(
|
|
11402
|
+
/**
|
|
11403
|
+
* item key
|
|
11404
|
+
*/
|
|
11405
|
+
sItemKey: string
|
|
11406
|
+
): boolean;
|
|
11407
|
+
/**
|
|
11408
|
+
* @since 1.18.0
|
|
11409
|
+
*
|
|
11410
|
+
* Deletes an item from this variant. In case the item does not exist, nothing happens.
|
|
11411
|
+
*/
|
|
11412
|
+
delItem(
|
|
11413
|
+
/**
|
|
11414
|
+
* item key
|
|
11415
|
+
*/
|
|
11416
|
+
sItemKey: string
|
|
11417
|
+
): void;
|
|
11418
|
+
/**
|
|
11419
|
+
* @since 1.18.0
|
|
11420
|
+
*
|
|
11421
|
+
* Returns an array with the keys of all items in this variant.
|
|
11422
|
+
*
|
|
11423
|
+
* @returns item keys
|
|
11424
|
+
*/
|
|
11425
|
+
getItemKeys(): any[];
|
|
11426
|
+
/**
|
|
11427
|
+
* @since 1.18.0
|
|
11428
|
+
*
|
|
11429
|
+
* Returns the value for an item in this variant.
|
|
11430
|
+
*
|
|
11431
|
+
* @returns item value (JSON object). In case the variant does not contain an item with this key `undefined`
|
|
11432
|
+
* is returned.
|
|
11433
|
+
*/
|
|
11434
|
+
getItemValue(
|
|
11435
|
+
/**
|
|
11436
|
+
* item key
|
|
11437
|
+
*/
|
|
11438
|
+
sItemKey: string
|
|
11439
|
+
): object;
|
|
11440
|
+
/**
|
|
11441
|
+
* @since 1.18.0
|
|
11442
|
+
*
|
|
11443
|
+
* Returns the key of this variant.
|
|
11444
|
+
*
|
|
11445
|
+
* @returns variant key.
|
|
11446
|
+
*/
|
|
11447
|
+
getVariantKey(): string;
|
|
11448
|
+
/**
|
|
11449
|
+
* @since 1.18.0
|
|
11450
|
+
*
|
|
11451
|
+
* Returns the name of this variant.
|
|
11452
|
+
*
|
|
11453
|
+
* @returns variant name.
|
|
11454
|
+
*/
|
|
11455
|
+
getVariantName(): string;
|
|
11456
|
+
/**
|
|
11457
|
+
* @since 1.18.0
|
|
11458
|
+
*
|
|
11459
|
+
* Sets the value for an item in this variant.
|
|
11460
|
+
*/
|
|
11461
|
+
setItemValue(
|
|
11462
|
+
/**
|
|
11463
|
+
* item key
|
|
11464
|
+
*/
|
|
11465
|
+
sItemKey: string,
|
|
11466
|
+
/**
|
|
11467
|
+
* value (JSON object)
|
|
11468
|
+
*/
|
|
11469
|
+
item: object
|
|
11470
|
+
): void;
|
|
11471
|
+
}
|
|
11472
|
+
/**
|
|
11473
|
+
* @since 1.18.0
|
|
11474
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.Personalization#getContainer} instead
|
|
11475
|
+
*
|
|
11476
|
+
* The personalization variant set contains variants of personalization data. It is used in the personalization
|
|
11477
|
+
* container mode.
|
|
11478
|
+
*/
|
|
11479
|
+
class PersonalizationContainerVariantSet {
|
|
11480
|
+
/**
|
|
11481
|
+
* To be called by the personalization container.
|
|
11482
|
+
*/
|
|
11483
|
+
constructor();
|
|
11484
|
+
/**
|
|
11485
|
+
* @since 1.18.0
|
|
11486
|
+
*
|
|
11487
|
+
* Deletes a variant from the variant set. In case the variant does not exist nothing happens.
|
|
11488
|
+
*/
|
|
11489
|
+
delVariant: undefined;
|
|
11490
|
+
|
|
11491
|
+
/**
|
|
11492
|
+
* @since 1.18.0
|
|
11493
|
+
*
|
|
11494
|
+
* Checks if a specific variant is contained in the variant set.
|
|
11495
|
+
*
|
|
11496
|
+
* @returns true if the variant set contains a variant with the key
|
|
11497
|
+
*/
|
|
11498
|
+
containsVariant(
|
|
11499
|
+
/**
|
|
11500
|
+
* variant key
|
|
11501
|
+
*/
|
|
11502
|
+
sVariantKey: string
|
|
11503
|
+
): boolean;
|
|
11504
|
+
/**
|
|
11505
|
+
* @since 1.18.0
|
|
11506
|
+
*
|
|
11507
|
+
* Returns the current variant key.
|
|
11508
|
+
*
|
|
11509
|
+
* @returns current variant key. In case the current variant was never set `null` is returned.
|
|
11510
|
+
*/
|
|
11511
|
+
getCurrentVariantKey(): string;
|
|
11512
|
+
/**
|
|
11513
|
+
* @since 1.18.0
|
|
11514
|
+
*
|
|
11515
|
+
* Returns a variant object.
|
|
11516
|
+
*
|
|
11517
|
+
* @returns {@link sap.ushell.services.Personalization.PersonalizationContainerVariant}. In case the variant
|
|
11518
|
+
* set does not contain a variant with this key `undefined` is returned.
|
|
11519
|
+
*/
|
|
11520
|
+
getVariant(
|
|
11521
|
+
/**
|
|
11522
|
+
* variant key
|
|
11523
|
+
*/
|
|
11524
|
+
sVariantKey: string
|
|
11525
|
+
): object;
|
|
11526
|
+
/**
|
|
11527
|
+
* @since 1.18.0
|
|
11528
|
+
*
|
|
11529
|
+
* Returns the variant key corresponding to a variant name.
|
|
11530
|
+
*
|
|
11531
|
+
* @returns variant key. In case the variant set does not contain a variant with this name `undefined` is
|
|
11532
|
+
* returned.
|
|
11533
|
+
*/
|
|
11534
|
+
getVariantKeyByName(
|
|
11535
|
+
/**
|
|
11536
|
+
* variant name
|
|
11537
|
+
*/
|
|
11538
|
+
sVariantName: string
|
|
11539
|
+
): object;
|
|
11540
|
+
/**
|
|
11541
|
+
* @since 1.18.0
|
|
11542
|
+
*
|
|
11543
|
+
* Returns an array with the keys of the variants in the variant set.
|
|
11544
|
+
*
|
|
11545
|
+
* @returns variant keys
|
|
11546
|
+
*/
|
|
11547
|
+
getVariantKeys(): any[];
|
|
11548
|
+
/**
|
|
11549
|
+
* @since 1.18.0
|
|
11550
|
+
*
|
|
11551
|
+
* Sets the current variant key.
|
|
11552
|
+
*/
|
|
11553
|
+
setCurrentVariantKey(
|
|
11554
|
+
/**
|
|
11555
|
+
* There is no validity check for the variant key.
|
|
11556
|
+
*/
|
|
11557
|
+
sVariantKey: string
|
|
11558
|
+
): void;
|
|
11559
|
+
}
|
|
11560
|
+
/**
|
|
11561
|
+
* @since 1.15.0
|
|
11562
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.PersonalizationV2.Personalizer} instead
|
|
11563
|
+
*
|
|
11564
|
+
* The Unified Shell personalizer providing set get delete methods to access the persisted personalization
|
|
11565
|
+
* data in direct mode.
|
|
11566
|
+
*/
|
|
11567
|
+
class Personalizer {
|
|
11568
|
+
/**
|
|
11569
|
+
* To be called by the personalization service getPersonalizer method.
|
|
11570
|
+
*/
|
|
11571
|
+
constructor();
|
|
11572
|
+
}
|
|
11573
|
+
/**
|
|
11574
|
+
* @since 1.18.0
|
|
11575
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.PersonalizationV2.TransientPersonalizer }
|
|
11576
|
+
* instead
|
|
11577
|
+
*
|
|
11578
|
+
* The transient personalizer shall be used in container mode for table personalization. To be called by
|
|
11579
|
+
* the personalization service getTransientPersonalizer method.
|
|
11580
|
+
*/
|
|
11581
|
+
class TransientPersonalizer {
|
|
11582
|
+
constructor();
|
|
11583
|
+
}
|
|
10134
11584
|
/**
|
|
10135
11585
|
* @since 1.22.0
|
|
11586
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.PersonalizationV2.Variant} instead
|
|
10136
11587
|
*
|
|
10137
11588
|
* The personalization variant contains personalization data. It is used in the personalization container
|
|
10138
11589
|
* mode.
|
|
@@ -10237,6 +11688,7 @@ declare namespace sap {
|
|
|
10237
11688
|
}
|
|
10238
11689
|
/**
|
|
10239
11690
|
* @since 1.22.0
|
|
11691
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.PersonalizationV2.VariantSet} instead
|
|
10240
11692
|
*
|
|
10241
11693
|
* The personalization variant set contains variants of personalization data. It is used in the personalization
|
|
10242
11694
|
* container mode.
|
|
@@ -10346,392 +11798,98 @@ declare namespace sap {
|
|
|
10346
11798
|
sVariantKey: string
|
|
10347
11799
|
): void;
|
|
10348
11800
|
}
|
|
10349
|
-
}
|
|
10350
|
-
|
|
10351
|
-
/**
|
|
10352
|
-
* @since 1.18.0
|
|
10353
|
-
*
|
|
10354
|
-
* The personalization container is the anchor object of the unified shell personalization in container
|
|
10355
|
-
* mode.
|
|
10356
|
-
*/
|
|
10357
|
-
class PersonalizationContainer {
|
|
10358
|
-
/**
|
|
10359
|
-
* To be called by the personalization service getPersonalizationContainer method.
|
|
10360
|
-
*/
|
|
10361
|
-
constructor();
|
|
10362
|
-
|
|
10363
|
-
/**
|
|
10364
|
-
* @since 1.18.0
|
|
10365
|
-
*
|
|
10366
|
-
* Creates a new variant set in the container. In case a variant set with this key is already existing an
|
|
10367
|
-
* exception is thrown.
|
|
10368
|
-
*
|
|
10369
|
-
* @returns {@link sap.ushell.services.PersonalizationContainerVariantSet}
|
|
10370
|
-
*/
|
|
10371
|
-
addVariantSet(
|
|
10372
|
-
/**
|
|
10373
|
-
* variant set key
|
|
10374
|
-
*/
|
|
10375
|
-
sVariantSetKey: string
|
|
10376
|
-
): object;
|
|
10377
|
-
/**
|
|
10378
|
-
* @since 1.18.0
|
|
10379
|
-
*
|
|
10380
|
-
* Checks if a specific direct item is contained in the container.
|
|
10381
|
-
*
|
|
10382
|
-
* @returns true if the container contains a direct item with the key
|
|
10383
|
-
*/
|
|
10384
|
-
containsItem(
|
|
10385
|
-
/**
|
|
10386
|
-
* item key
|
|
10387
|
-
*/
|
|
10388
|
-
sItemKey: string
|
|
10389
|
-
): boolean;
|
|
10390
|
-
/**
|
|
10391
|
-
* @since 1.18.0
|
|
10392
|
-
*
|
|
10393
|
-
* Checks if a specific variant set is contained in the container.
|
|
10394
|
-
*
|
|
10395
|
-
* @returns true if the container contains a variant set with the key
|
|
10396
|
-
*/
|
|
10397
|
-
containsVariantSet(
|
|
10398
|
-
/**
|
|
10399
|
-
* variant set key
|
|
10400
|
-
*/
|
|
10401
|
-
sVariantSetKey: string
|
|
10402
|
-
): boolean;
|
|
10403
|
-
/**
|
|
10404
|
-
* @since 1.18.0
|
|
10405
|
-
*
|
|
10406
|
-
* Deletes a direct item from the container. In case the item does not exist, nothing happens.
|
|
10407
|
-
*/
|
|
10408
|
-
delItem(
|
|
10409
|
-
/**
|
|
10410
|
-
* item key
|
|
10411
|
-
*/
|
|
10412
|
-
sItemKey: string
|
|
10413
|
-
): void;
|
|
10414
|
-
/**
|
|
10415
|
-
* @since 1.18.0
|
|
10416
|
-
*
|
|
10417
|
-
* Deletes a variant set from the container. In case the variant set does not exist nothing happens.
|
|
10418
|
-
*/
|
|
10419
|
-
delVariantSet(
|
|
10420
|
-
/**
|
|
10421
|
-
* variant set key
|
|
10422
|
-
*/
|
|
10423
|
-
sVariantSetKey: string
|
|
10424
|
-
): void;
|
|
10425
|
-
/**
|
|
10426
|
-
* @since 1.18.0
|
|
10427
|
-
*
|
|
10428
|
-
* Returns an array with the keys of direct items in the container.
|
|
10429
|
-
*
|
|
10430
|
-
* @returns item keys
|
|
10431
|
-
*/
|
|
10432
|
-
getItemKeys(): any[];
|
|
10433
|
-
/**
|
|
10434
|
-
* @since 1.18.0
|
|
10435
|
-
*
|
|
10436
|
-
* Returns the value for a direct item from the container.
|
|
10437
|
-
*
|
|
10438
|
-
* @returns item value (JSON object). In case the container does not contain a direct item with this key
|
|
10439
|
-
* `undefined` is returned.
|
|
10440
|
-
*/
|
|
10441
|
-
getItemValue(
|
|
10442
|
-
/**
|
|
10443
|
-
* item key
|
|
10444
|
-
*/
|
|
10445
|
-
sItemKey: string
|
|
10446
|
-
): object;
|
|
10447
|
-
/**
|
|
10448
|
-
* @since 1.18.0
|
|
10449
|
-
*
|
|
10450
|
-
* Returns an array with the keys of the variant sets in the container.
|
|
10451
|
-
*
|
|
10452
|
-
* @returns variant set keys
|
|
10453
|
-
*/
|
|
10454
|
-
getVariantSetKeys(): any[];
|
|
10455
|
-
/**
|
|
10456
|
-
* @since 1.18.0
|
|
10457
|
-
*
|
|
10458
|
-
* (Re)loads the current container data from the underlying storage asynchronously. The current local data
|
|
10459
|
-
* is discarded.
|
|
10460
|
-
*
|
|
10461
|
-
* Returns a promise for the load operation. If another save/load/delete operation is not completed, the
|
|
10462
|
-
* operation may fail! (wait for the other promise).
|
|
10463
|
-
*
|
|
10464
|
-
* Synchronous read and write operations before the load is done have undefined effects.
|
|
10465
|
-
*
|
|
10466
|
-
* @returns Promise object
|
|
10467
|
-
*/
|
|
10468
|
-
load(): object;
|
|
10469
|
-
/**
|
|
10470
|
-
* @since 1.18.0
|
|
10471
|
-
*
|
|
10472
|
-
* Attempts to save the current container data at the underlying storage asynchronously. The current state
|
|
10473
|
-
* is serialized.
|
|
10474
|
-
*
|
|
10475
|
-
* @returns Promise object
|
|
10476
|
-
*
|
|
10477
|
-
* If another save/load/delete operation is not completed, the operation may fail! (wait for the other promise).
|
|
10478
|
-
*/
|
|
10479
|
-
save(): object;
|
|
10480
|
-
/**
|
|
10481
|
-
* @since 1.18.0
|
|
10482
|
-
*
|
|
10483
|
-
* Sets the value of a direct item in the container. In case the item is already existing its value is overwritten.
|
|
10484
|
-
* In case it is not existing a new item with this key and value is created.
|
|
10485
|
-
*/
|
|
10486
|
-
setItemValue(
|
|
10487
|
-
/**
|
|
10488
|
-
* item key
|
|
10489
|
-
*/
|
|
10490
|
-
sItemKey: string,
|
|
10491
|
-
/**
|
|
10492
|
-
* item value (JSON object)
|
|
10493
|
-
*/
|
|
10494
|
-
oItemValue: object
|
|
10495
|
-
): void;
|
|
10496
|
-
}
|
|
10497
|
-
/**
|
|
10498
|
-
* @since 1.18.0
|
|
10499
|
-
*
|
|
10500
|
-
* The personalization variant contains personalization data. It is used in the personalization container
|
|
10501
|
-
* mode.
|
|
10502
|
-
*/
|
|
10503
|
-
class PersonalizationContainerVariant {
|
|
10504
|
-
/**
|
|
10505
|
-
* To be called by the personalization variant set.
|
|
10506
|
-
*/
|
|
10507
|
-
constructor();
|
|
10508
|
-
|
|
10509
11801
|
/**
|
|
10510
11802
|
* @since 1.18.0
|
|
11803
|
+
* @deprecated (since 1.120) - Please use {@link sap.ushell.services.PersonalizationV2.VariantSetAdapter }
|
|
11804
|
+
* instead
|
|
10511
11805
|
*
|
|
10512
|
-
*
|
|
10513
|
-
*
|
|
10514
|
-
*
|
|
10515
|
-
*/
|
|
10516
|
-
containsItem(
|
|
10517
|
-
/**
|
|
10518
|
-
* item key
|
|
10519
|
-
*/
|
|
10520
|
-
sItemKey: string
|
|
10521
|
-
): boolean;
|
|
10522
|
-
/**
|
|
10523
|
-
* @since 1.18.0
|
|
10524
|
-
*
|
|
10525
|
-
* Deletes an item from this variant. In case the item does not exist, nothing happens.
|
|
10526
|
-
*/
|
|
10527
|
-
delItem(
|
|
10528
|
-
/**
|
|
10529
|
-
* item key
|
|
10530
|
-
*/
|
|
10531
|
-
sItemKey: string
|
|
10532
|
-
): void;
|
|
10533
|
-
/**
|
|
10534
|
-
* @since 1.18.0
|
|
10535
|
-
*
|
|
10536
|
-
* Returns an array with the keys of all items in this variant.
|
|
10537
|
-
*
|
|
10538
|
-
* @returns item keys
|
|
10539
|
-
*/
|
|
10540
|
-
getItemKeys(): any[];
|
|
10541
|
-
/**
|
|
10542
|
-
* @since 1.18.0
|
|
10543
|
-
*
|
|
10544
|
-
* Returns the value for an item in this variant.
|
|
10545
|
-
*
|
|
10546
|
-
* @returns item value (JSON object). In case the variant does not contain an item with this key `undefined`
|
|
10547
|
-
* is returned.
|
|
10548
|
-
*/
|
|
10549
|
-
getItemValue(
|
|
10550
|
-
/**
|
|
10551
|
-
* item key
|
|
10552
|
-
*/
|
|
10553
|
-
sItemKey: string
|
|
10554
|
-
): object;
|
|
10555
|
-
/**
|
|
10556
|
-
* @since 1.18.0
|
|
10557
|
-
*
|
|
10558
|
-
* Returns the key of this variant.
|
|
10559
|
-
*
|
|
10560
|
-
* @returns variant key.
|
|
10561
|
-
*/
|
|
10562
|
-
getVariantKey(): string;
|
|
10563
|
-
/**
|
|
10564
|
-
* @since 1.18.0
|
|
10565
|
-
*
|
|
10566
|
-
* Returns the name of this variant.
|
|
10567
|
-
*
|
|
10568
|
-
* @returns variant name.
|
|
10569
|
-
*/
|
|
10570
|
-
getVariantName(): string;
|
|
10571
|
-
/**
|
|
10572
|
-
* @since 1.18.0
|
|
11806
|
+
* Wrapper object to expose a variant interface on a ContextContainer object obtained from the Personalization
|
|
11807
|
+
* service:
|
|
11808
|
+
* ```javascript
|
|
10573
11809
|
*
|
|
10574
|
-
*
|
|
11810
|
+
* getContainer(...).done( function(oContainer) {
|
|
11811
|
+
* that.oVariantSetContainer = new VariantSetAdapter(oContainer);
|
|
11812
|
+
* });
|
|
11813
|
+
* ```
|
|
10575
11814
|
*/
|
|
10576
|
-
|
|
11815
|
+
class VariantSetAdapter {
|
|
10577
11816
|
/**
|
|
10578
|
-
*
|
|
10579
|
-
|
|
10580
|
-
|
|
10581
|
-
|
|
10582
|
-
*
|
|
11817
|
+
* VariantSetAdapter amends ContextContainer with functionality to
|
|
11818
|
+
*
|
|
11819
|
+
* Example: An application has two types of variants. Variant type 1 contains filter values for a query,
|
|
11820
|
+
* which are stored in item 1 of the variant, and personalization data for a table, which are stored in
|
|
11821
|
+
* item 2 of the variant. Variant type 2 contains a setting (item 3) that is independent of the filtering
|
|
11822
|
+
* and the table settings. It might be used for a different screen than the variants of type 1. In this
|
|
11823
|
+
* example you would have 2 variant sets, one for each variant type.
|
|
10583
11824
|
*/
|
|
10584
|
-
|
|
10585
|
-
|
|
10586
|
-
|
|
10587
|
-
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
* The personalization variant set contains variants of personalization data. It is used in the personalization
|
|
10591
|
-
* container mode.
|
|
10592
|
-
*/
|
|
10593
|
-
class PersonalizationContainerVariantSet {
|
|
10594
|
-
/**
|
|
10595
|
-
* To be called by the personalization container.
|
|
10596
|
-
*/
|
|
10597
|
-
constructor();
|
|
10598
|
-
/**
|
|
10599
|
-
* @since 1.18.0
|
|
10600
|
-
*
|
|
10601
|
-
* Deletes a variant from the variant set. In case the variant does not exist nothing happens.
|
|
10602
|
-
*/
|
|
10603
|
-
delVariant: undefined;
|
|
11825
|
+
constructor(
|
|
11826
|
+
/**
|
|
11827
|
+
* Context
|
|
11828
|
+
*/
|
|
11829
|
+
oContextContainer: object
|
|
11830
|
+
);
|
|
10604
11831
|
|
|
10605
|
-
/**
|
|
10606
|
-
* @since 1.18.0
|
|
10607
|
-
*
|
|
10608
|
-
* Checks if a specific variant is contained in the variant set.
|
|
10609
|
-
*
|
|
10610
|
-
* @returns true if the variant set contains a variant with the key
|
|
10611
|
-
*/
|
|
10612
|
-
containsVariant(
|
|
10613
|
-
/**
|
|
10614
|
-
* variant key
|
|
10615
|
-
*/
|
|
10616
|
-
sVariantKey: string
|
|
10617
|
-
): boolean;
|
|
10618
|
-
/**
|
|
10619
|
-
* @since 1.18.0
|
|
10620
|
-
*
|
|
10621
|
-
* Returns the current variant key.
|
|
10622
|
-
*
|
|
10623
|
-
* @returns current variant key. In case the current variant was never set `null` is returned.
|
|
10624
|
-
*/
|
|
10625
|
-
getCurrentVariantKey(): string;
|
|
10626
|
-
/**
|
|
10627
|
-
* @since 1.18.0
|
|
10628
|
-
*
|
|
10629
|
-
* Returns a variant object.
|
|
10630
|
-
*
|
|
10631
|
-
* @returns {@link sap.ushell.services.PersonalizationContainerVariant}. In case the variant set does not
|
|
10632
|
-
* contain a variant with this key `undefined` is returned.
|
|
10633
|
-
*/
|
|
10634
|
-
getVariant(
|
|
10635
11832
|
/**
|
|
10636
|
-
*
|
|
11833
|
+
* @since 1.22.0
|
|
11834
|
+
*
|
|
11835
|
+
* Creates a new variant set in the container. In case a variant set with this key is already existing an
|
|
11836
|
+
* exception is thrown.
|
|
11837
|
+
*
|
|
11838
|
+
* @returns {@link ontainerVariantSet}
|
|
10637
11839
|
*/
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
*
|
|
10645
|
-
* @returns variant key. In case the variant set does not contain a variant with this name `undefined` is
|
|
10646
|
-
* returned.
|
|
10647
|
-
*/
|
|
10648
|
-
getVariantKeyByName(
|
|
11840
|
+
addVariantSet(
|
|
11841
|
+
/**
|
|
11842
|
+
* variant set key
|
|
11843
|
+
*/
|
|
11844
|
+
sVariantSetKey: string
|
|
11845
|
+
): object;
|
|
10649
11846
|
/**
|
|
10650
|
-
*
|
|
11847
|
+
* @since 1.18.0
|
|
11848
|
+
*
|
|
11849
|
+
* Checks if a specific variant set is contained in the container.
|
|
11850
|
+
*
|
|
11851
|
+
* @returns true if the container contains a variant set with the key
|
|
10651
11852
|
*/
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
*
|
|
10659
|
-
* @returns variant keys
|
|
10660
|
-
*/
|
|
10661
|
-
getVariantKeys(): any[];
|
|
10662
|
-
/**
|
|
10663
|
-
* @since 1.18.0
|
|
10664
|
-
*
|
|
10665
|
-
* Sets the current variant key.
|
|
10666
|
-
*/
|
|
10667
|
-
setCurrentVariantKey(
|
|
11853
|
+
containsVariantSet(
|
|
11854
|
+
/**
|
|
11855
|
+
* variant set key
|
|
11856
|
+
*/
|
|
11857
|
+
sVariantSetKey: string
|
|
11858
|
+
): boolean;
|
|
10668
11859
|
/**
|
|
10669
|
-
*
|
|
11860
|
+
* @since 1.22.0
|
|
11861
|
+
*
|
|
11862
|
+
* Deletes a variant set from the container. In case the variant set does not exist nothing happens.
|
|
10670
11863
|
*/
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
* The transient personalizer shall be used in container mode for table personalization. To be called by
|
|
10678
|
-
* the personalization service getTransientPersonalizer method.
|
|
10679
|
-
*/
|
|
10680
|
-
class TransientPersonalizer {
|
|
10681
|
-
constructor();
|
|
10682
|
-
|
|
10683
|
-
/**
|
|
10684
|
-
* @since 1.18.0
|
|
10685
|
-
*
|
|
10686
|
-
* Deletes a personalization data value.
|
|
10687
|
-
*
|
|
10688
|
-
* @returns Promise object which returns if the deletion was successful or erroneous. Promise object done
|
|
10689
|
-
* function: no params. Promise object fail function ins never triggered.
|
|
10690
|
-
*/
|
|
10691
|
-
delPersData(): jQuery.Promise;
|
|
10692
|
-
/**
|
|
10693
|
-
* @since 1.18.0
|
|
10694
|
-
*
|
|
10695
|
-
* Gets a personalization data value.
|
|
10696
|
-
*
|
|
10697
|
-
* @returns Promise object which provides the personalization value. Promise object done function: param
|
|
10698
|
-
* {object} oValue JSON object containing the personalization value. If there is no personalization data
|
|
10699
|
-
* for the item, undefined is returned. Promise object fail function ins never triggered.
|
|
10700
|
-
*/
|
|
10701
|
-
getPersData(): jQuery.Promise;
|
|
10702
|
-
/**
|
|
10703
|
-
* @since 1.18.0
|
|
10704
|
-
*
|
|
10705
|
-
* Synchronously gets a personalization data value.
|
|
10706
|
-
*
|
|
10707
|
-
* @returns JSON object containing the personalization value.
|
|
10708
|
-
*/
|
|
10709
|
-
getValue(): object;
|
|
10710
|
-
/**
|
|
10711
|
-
* @since 1.18.0
|
|
10712
|
-
*
|
|
10713
|
-
* Sets a personalization data value.
|
|
10714
|
-
*
|
|
10715
|
-
* @returns Promise object which returns if the saving was successful or erroneous. Promise object done
|
|
10716
|
-
* function: no params. Promise fail function ins never triggered.
|
|
10717
|
-
*/
|
|
10718
|
-
setPersData(
|
|
11864
|
+
delVariantSet(
|
|
11865
|
+
/**
|
|
11866
|
+
* variant set key
|
|
11867
|
+
*/
|
|
11868
|
+
sVariantSetKey: string
|
|
11869
|
+
): void;
|
|
10719
11870
|
/**
|
|
10720
|
-
*
|
|
11871
|
+
* @since 1.22.0
|
|
11872
|
+
*
|
|
11873
|
+
* Returns the variant set object from the container.
|
|
11874
|
+
*
|
|
11875
|
+
* @returns {@link ontainerVariantSet}. In case the container does not contain a variant set with this key
|
|
11876
|
+
* `undefined` is returned.
|
|
10721
11877
|
*/
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
*/
|
|
10729
|
-
setValue(
|
|
11878
|
+
getVariantSet(
|
|
11879
|
+
/**
|
|
11880
|
+
* variant set key The string length is restricted to 40 characters
|
|
11881
|
+
*/
|
|
11882
|
+
sVariantSetKey: string
|
|
11883
|
+
): object;
|
|
10730
11884
|
/**
|
|
10731
|
-
*
|
|
11885
|
+
* @since 1.18.0
|
|
11886
|
+
*
|
|
11887
|
+
* Returns an array with the keys of the variant sets in the container.
|
|
11888
|
+
*
|
|
11889
|
+
* @returns variant set keys
|
|
10732
11890
|
*/
|
|
10733
|
-
|
|
10734
|
-
|
|
11891
|
+
getVariantSetKeys(): any[];
|
|
11892
|
+
}
|
|
10735
11893
|
}
|
|
10736
11894
|
}
|
|
10737
11895
|
|
|
@@ -10741,11 +11899,9 @@ declare namespace sap {
|
|
|
10741
11899
|
*
|
|
10742
11900
|
* The Unified Shell's ShellUIService service.
|
|
10743
11901
|
*
|
|
10744
|
-
*
|
|
10745
|
-
*
|
|
10746
|
-
*
|
|
10747
|
-
*
|
|
10748
|
-
*
|
|
11902
|
+
* Allows apps to interact with the Fiori Launchpad UI. The service is injected in the app components by
|
|
11903
|
+
* the FLP renderer before the corresponding apps start. To consume the service, app components should declare
|
|
11904
|
+
* it in their "manifest.json" as follows:
|
|
10749
11905
|
* ```javascript
|
|
10750
11906
|
*
|
|
10751
11907
|
* {
|
|
@@ -10805,8 +11961,8 @@ declare namespace sap {
|
|
|
10805
11961
|
* ```
|
|
10806
11962
|
*
|
|
10807
11963
|
*
|
|
10808
|
-
*
|
|
10809
|
-
*
|
|
11964
|
+
* Note that the `setHierarchy` or `setTitle` methods should not be actively called by the application when
|
|
11965
|
+
* title and hierarchy are set automatically.
|
|
10810
11966
|
*
|
|
10811
11967
|
* **Note:** Please be aware that the sapFiori2Adaptation configuration of the application may cause the
|
|
10812
11968
|
* ShellUIService service to work incorrectly. We recommend to disable the sapFiori2Adaptation configuration
|
|
@@ -10983,6 +12139,8 @@ declare namespace sap {
|
|
|
10983
12139
|
|
|
10984
12140
|
"sap/ushell/services/_Personalization/PersonalizationContainerVariantSet": undefined;
|
|
10985
12141
|
|
|
12142
|
+
"sap/ushell/services/_Personalization/Personalizer": undefined;
|
|
12143
|
+
|
|
10986
12144
|
"sap/ushell/services/_Personalization/TransientPersonalizer": undefined;
|
|
10987
12145
|
|
|
10988
12146
|
"sap/ushell/services/_Personalization/Variant": undefined;
|
|
@@ -10995,12 +12153,28 @@ declare namespace sap {
|
|
|
10995
12153
|
|
|
10996
12154
|
"sap/ushell/services/Bookmark": undefined;
|
|
10997
12155
|
|
|
12156
|
+
"sap/ushell/services/BookmarkV2": undefined;
|
|
12157
|
+
|
|
10998
12158
|
"sap/ushell/services/Configuration": undefined;
|
|
10999
12159
|
|
|
11000
12160
|
"sap/ushell/services/CrossApplicationNavigation": undefined;
|
|
11001
12161
|
|
|
11002
12162
|
"sap/ushell/services/EndUserFeedback": undefined;
|
|
11003
12163
|
|
|
12164
|
+
"sap/ushell/services/Extension": undefined;
|
|
12165
|
+
|
|
12166
|
+
"sap/ushell/services/Extension/FloatingContainer": undefined;
|
|
12167
|
+
|
|
12168
|
+
"sap/ushell/services/Extension/Footer": undefined;
|
|
12169
|
+
|
|
12170
|
+
"sap/ushell/services/Extension/Header": undefined;
|
|
12171
|
+
|
|
12172
|
+
"sap/ushell/services/Extension/Item": undefined;
|
|
12173
|
+
|
|
12174
|
+
"sap/ushell/services/Extension/SidePane": undefined;
|
|
12175
|
+
|
|
12176
|
+
"sap/ushell/services/Extension/ToolArea": undefined;
|
|
12177
|
+
|
|
11004
12178
|
"sap/ushell/services/LaunchPage": undefined;
|
|
11005
12179
|
|
|
11006
12180
|
"sap/ushell/services/Message": undefined;
|
|
@@ -11011,10 +12185,24 @@ declare namespace sap {
|
|
|
11011
12185
|
|
|
11012
12186
|
"sap/ushell/services/Notifications": undefined;
|
|
11013
12187
|
|
|
12188
|
+
"sap/ushell/services/NotificationsV2": undefined;
|
|
12189
|
+
|
|
11014
12190
|
"sap/ushell/services/Personalization": undefined;
|
|
11015
12191
|
|
|
11016
12192
|
"sap/ushell/services/personalization/VariantSetAdapter": undefined;
|
|
11017
12193
|
|
|
12194
|
+
"sap/ushell/services/PersonalizationV2": undefined;
|
|
12195
|
+
|
|
12196
|
+
"sap/ushell/services/PersonalizationV2/ContextContainer": undefined;
|
|
12197
|
+
|
|
12198
|
+
"sap/ushell/services/PersonalizationV2/Personalizer": undefined;
|
|
12199
|
+
|
|
12200
|
+
"sap/ushell/services/PersonalizationV2/TransientPersonalizer": undefined;
|
|
12201
|
+
|
|
12202
|
+
"sap/ushell/services/PersonalizationV2/Variant": undefined;
|
|
12203
|
+
|
|
12204
|
+
"sap/ushell/services/PersonalizationV2/VariantSetAdapter": undefined;
|
|
12205
|
+
|
|
11018
12206
|
"sap/ushell/services/SearchableContent": undefined;
|
|
11019
12207
|
|
|
11020
12208
|
"sap/ushell/services/ShellNavigation": undefined;
|