@sapui5/ts-types 1.151.1 → 1.153.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 +4 -4
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +18 -1
- package/types/sap.f.d.ts +1189 -292
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +104 -9
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +238 -52
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +12 -2
- package/types/sap.fe.test.d.ts +15 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +303 -24
- package/types/sap.insights.d.ts +1 -1
- package/types/{mobile-1.151.0-d.ts → sap.m.d.ts} +368 -32
- 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 +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +926 -14
- package/types/sap.suite.ui.generic.template.d.ts +31 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- 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 +4 -2
- package/types/{core-1.151.0-d.ts → sap.ui.core.d.ts} +375 -144
- package/types/{dt-1.151.0-d.ts → sap.ui.dt.d.ts} +1 -1
- package/types/sap.ui.export.d.ts +20 -2
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +101 -325
- package/types/sap.ui.joule.frontend.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.151.0-d.ts → sap.ui.mdc.d.ts} +6646 -5514
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +10 -2
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +63 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +60 -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 +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +183 -56
- 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.ushell.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.153.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -893,8 +893,8 @@ declare namespace sap {
|
|
|
893
893
|
};
|
|
894
894
|
|
|
895
895
|
/**
|
|
896
|
-
* A target describing the intent:
|
|
897
|
-
*
|
|
896
|
+
* A target describing the intent: #-?&/ **Note:** The
|
|
897
|
+
* intent shall not exceed 512 bytes when serialized as UTF-8.
|
|
898
898
|
*/
|
|
899
899
|
type Target = {
|
|
900
900
|
/**
|
|
@@ -910,10 +910,6 @@ declare namespace sap {
|
|
|
910
910
|
* The action part of the intent.
|
|
911
911
|
*/
|
|
912
912
|
action?: string;
|
|
913
|
-
/**
|
|
914
|
-
* The contextRaw part of the intent without the '~' prefix.
|
|
915
|
-
*/
|
|
916
|
-
contextRaw?: string;
|
|
917
913
|
/**
|
|
918
914
|
* The entire intent including parameters and appSpecificRoute.
|
|
919
915
|
* **Note:** If set all other parameters are ignored.
|
|
@@ -2779,10 +2775,6 @@ declare namespace sap {
|
|
|
2779
2775
|
* the action
|
|
2780
2776
|
*/
|
|
2781
2777
|
action: string;
|
|
2782
|
-
/**
|
|
2783
|
-
* the raw context string
|
|
2784
|
-
*/
|
|
2785
|
-
contextRaw: string;
|
|
2786
2778
|
/**
|
|
2787
2779
|
* the parameters
|
|
2788
2780
|
*/
|
|
@@ -2849,10 +2841,6 @@ declare namespace sap {
|
|
|
2849
2841
|
* the action
|
|
2850
2842
|
*/
|
|
2851
2843
|
action: string;
|
|
2852
|
-
/**
|
|
2853
|
-
* the raw context string
|
|
2854
|
-
*/
|
|
2855
|
-
contextRaw: string;
|
|
2856
2844
|
};
|
|
2857
2845
|
/**
|
|
2858
2846
|
* the parameters
|
|
@@ -6495,7 +6483,7 @@ declare namespace sap {
|
|
|
6495
6483
|
* @deprecated As of version 1.119. Please use {@link sap.ushell.services.NotificationsV2#executeBulkAction }
|
|
6496
6484
|
* instead.
|
|
6497
6485
|
*
|
|
6498
|
-
* @returns
|
|
6486
|
+
* @returns Resolves to undefined on success or is rejected with failed notifications
|
|
6499
6487
|
*/
|
|
6500
6488
|
executeBulkAction(
|
|
6501
6489
|
/**
|
|
@@ -6506,7 +6494,7 @@ declare namespace sap {
|
|
|
6506
6494
|
* The ID of the action that is being executed
|
|
6507
6495
|
*/
|
|
6508
6496
|
sActionId: string
|
|
6509
|
-
): Promise
|
|
6497
|
+
): jQuery.Promise;
|
|
6510
6498
|
/**
|
|
6511
6499
|
* Returns the notifications of the user sorted by type include the group headers and the notifications
|
|
6512
6500
|
*
|
|
@@ -7382,15 +7370,54 @@ declare namespace sap {
|
|
|
7382
7370
|
getTransientPersonalizer(): Promise<sap.ushell.services.PersonalizationV2.TransientPersonalizer>;
|
|
7383
7371
|
}
|
|
7384
7372
|
/**
|
|
7385
|
-
* Abstract base
|
|
7373
|
+
* Abstract base interface for ushell services. For details, see {@link sap.ushell.Container#getServiceAsync}.
|
|
7386
7374
|
*
|
|
7387
7375
|
* @since 1.121.0
|
|
7388
7376
|
*/
|
|
7389
|
-
|
|
7377
|
+
class Service {
|
|
7378
|
+
/**
|
|
7379
|
+
* See:
|
|
7380
|
+
* sap.ushell.Container.getServiceAsync
|
|
7381
|
+
*/
|
|
7382
|
+
constructor();
|
|
7383
|
+
}
|
|
7384
|
+
/**
|
|
7385
|
+
* The Unified Shell's session handler service. Manages the timeout of an FLP session:
|
|
7386
|
+
* - Announces user activity to the platform (via the UShell container service).
|
|
7387
|
+
* - Maintains user activity data in local storage to support multi-browser-tab use cases.
|
|
7388
|
+
* - Notifies the user once the session is about to end, offering the option to extend the session.
|
|
7389
|
+
*
|
|
7390
|
+
* **Note:** To retrieve a valid instance of this service, it is necessary to call {@link sap.ushell.Container#getServiceAsync}.
|
|
7391
|
+
*
|
|
7392
|
+
* ```javascript
|
|
7393
|
+
*
|
|
7394
|
+
* sap.ui.require(["sap/ushell/Container"], async function (Container) {
|
|
7395
|
+
* const SessionHandler = await Container.getServiceAsync("SessionHandler");
|
|
7396
|
+
* // do something with the SessionHandler service
|
|
7397
|
+
* });
|
|
7398
|
+
* ```
|
|
7399
|
+
*
|
|
7400
|
+
*
|
|
7401
|
+
* This service should be available in any FLP context (native, iframe, ...).
|
|
7402
|
+
*
|
|
7403
|
+
* @since 1.151.0
|
|
7404
|
+
*/
|
|
7405
|
+
class SessionHandler extends sap.ushell.services.Service {
|
|
7390
7406
|
/**
|
|
7391
7407
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7392
7408
|
*/
|
|
7393
7409
|
protected constructor();
|
|
7410
|
+
|
|
7411
|
+
/**
|
|
7412
|
+
* Notifies the FLP that the user is currently active, so the FLP treats the session as active and defers
|
|
7413
|
+
* idle warnings / automatic sign-out.
|
|
7414
|
+
*
|
|
7415
|
+
* Intended for apps whose user activity the FLP cannot observe directly (e.g. content embedded in an iframe).
|
|
7416
|
+
* The app decides when the user is active and calls this to signal it.
|
|
7417
|
+
*
|
|
7418
|
+
* @since 1.151.0
|
|
7419
|
+
*/
|
|
7420
|
+
notifyUserActivity(): void;
|
|
7394
7421
|
}
|
|
7395
7422
|
/**
|
|
7396
7423
|
* The Unified Shell's internal navigation service (platform independent).
|
|
@@ -7480,7 +7507,7 @@ declare namespace sap {
|
|
|
7480
7507
|
* whether an transient appstate is sufficient
|
|
7481
7508
|
*/
|
|
7482
7509
|
bTransient?: boolean
|
|
7483
|
-
): Promise
|
|
7510
|
+
): jQuery.Promise;
|
|
7484
7511
|
/**
|
|
7485
7512
|
* Returns the current navigation context.
|
|
7486
7513
|
*
|
|
@@ -7847,7 +7874,7 @@ declare namespace sap {
|
|
|
7847
7874
|
*
|
|
7848
7875
|
* @since 1.16.0
|
|
7849
7876
|
*
|
|
7850
|
-
* @returns the hash part of an URL, e.g. `"Object-name
|
|
7877
|
+
* @returns the hash part of an URL, e.g. `"Object-name?PV1=PV2&PV4=V5&/display/detail/7?UU=HH` Returns
|
|
7851
7878
|
* an empty string in case no shell hash was provided.
|
|
7852
7879
|
*/
|
|
7853
7880
|
constructShellHash(
|
|
@@ -7878,8 +7905,8 @@ declare namespace sap {
|
|
|
7878
7905
|
* should be treated as opaque) The URL has to comply with the Fiori-Wave 2 agreed upon format This
|
|
7879
7906
|
* service shall be used to extract a hash part from an url. The result can be further broken up by parseShellHash
|
|
7880
7907
|
*
|
|
7881
|
-
* Examples http://a.b.c?defhij#SemanticObject-Action
|
|
7882
|
-
* returns : "#SemanticObject-Action
|
|
7908
|
+
* Examples http://a.b.c?defhij#SemanticObject-Action?PV1=A&PV2=B&/appspecific
|
|
7909
|
+
* returns : "#SemanticObject-Action?PV1=A&PV2=B&/appspecific"
|
|
7883
7910
|
*
|
|
7884
7911
|
* Note: the results when passing an illegal (non-compliant) url are undefined and subject to change w.o.
|
|
7885
7912
|
* notice. Notably further checks may added. The design is deliberately restrictive and non-robust.
|
|
@@ -7891,7 +7918,7 @@ declare namespace sap {
|
|
|
7891
7918
|
getShellHash(
|
|
7892
7919
|
/**
|
|
7893
7920
|
* a valid (Shell) url, e.g.
|
|
7894
|
-
* `http://xx.b.c#Object-name
|
|
7921
|
+
* `http://xx.b.c#Object-name?PV1=PV2&PV4=V5&/display/detail/7?UU=HH`
|
|
7895
7922
|
*/
|
|
7896
7923
|
sShellHashString: sap.ui.core.URI
|
|
7897
7924
|
): sap.ushell.services.Navigation.TargetIntent;
|
|
@@ -7977,9 +8004,8 @@ declare namespace sap {
|
|
|
7977
8004
|
*/
|
|
7978
8005
|
parseShellHash(
|
|
7979
8006
|
/**
|
|
7980
|
-
* Hash part of a shell compliant URL `#SO-Action
|
|
7981
|
-
*
|
|
7982
|
-
* e.g. `"#Object-name~AFE2==?PV1=PV2&PV4=V5&/display/detail/7?UU=HH`
|
|
8007
|
+
* Hash part of a shell compliant URL `#SO-Action?P1=a&P2=x&/route?RPV=1` the hash part of an URL,
|
|
8008
|
+
* e.g. `"#Object-name?PV1=PV2&PV4=V5&/display/detail/7?UU=HH`
|
|
7983
8009
|
*/
|
|
7984
8010
|
sHash: sap.ushell.services.Navigation.TargetIntent
|
|
7985
8011
|
): sap.ushell.services.URLParsing.DecomposedHash;
|
|
@@ -7994,7 +8020,7 @@ declare namespace sap {
|
|
|
7994
8020
|
* ```javascript
|
|
7995
8021
|
*
|
|
7996
8022
|
* {
|
|
7997
|
-
* shellPart : "Object-name
|
|
8023
|
+
* shellPart : "Object-name?PV1=PV2&PV4=V5",
|
|
7998
8024
|
* appSpecificRoute : "display/detail/7?UU=HH"
|
|
7999
8025
|
* }
|
|
8000
8026
|
* ```
|
|
@@ -8002,8 +8028,8 @@ declare namespace sap {
|
|
|
8002
8028
|
*/
|
|
8003
8029
|
splitHash(
|
|
8004
8030
|
/**
|
|
8005
|
-
* The hash part of a shell conformant URL. It has to have the following format: #SO-Action
|
|
8006
|
-
* Here is an example for the hash part of an URL: "#Object-name
|
|
8031
|
+
* The hash part of a shell conformant URL. It has to have the following format: #SO-Action?P1=a&P2=x&/route?RPV=1
|
|
8032
|
+
* Here is an example for the hash part of an URL: "#Object-name?PV1=PV2&PV4=V5&/display/detail/7?UU=HH
|
|
8007
8033
|
*/
|
|
8008
8034
|
sHash: sap.ushell.services.Navigation.TargetIntent
|
|
8009
8035
|
): sap.ushell.services.URLParsing.SplitHash;
|
|
@@ -8183,6 +8209,85 @@ declare namespace sap {
|
|
|
8183
8209
|
*/
|
|
8184
8210
|
getShellUserInfo(): Promise<sap.ushell.services.UserInfo.ShellUserInfo>;
|
|
8185
8211
|
}
|
|
8212
|
+
|
|
8213
|
+
/**
|
|
8214
|
+
* A helper type that maps service names to service types.
|
|
8215
|
+
*/
|
|
8216
|
+
type ServiceTypes = {
|
|
8217
|
+
AppLifeCycle: sap.ushell.services.AppLifeCycle;
|
|
8218
|
+
/**
|
|
8219
|
+
* @deprecated As of version 1.120. Please use {@link sap.ushell.services.BookmarkV2} instead.
|
|
8220
|
+
*/
|
|
8221
|
+
Bookmark: sap.ushell.services.Bookmark;
|
|
8222
|
+
|
|
8223
|
+
BookmarkV2: sap.ushell.services.BookmarkV2;
|
|
8224
|
+
|
|
8225
|
+
Configuration: sap.ushell.services.Configuration;
|
|
8226
|
+
/**
|
|
8227
|
+
* @deprecated As of version 1.120. Deprecated without successor together with the classic homepage.
|
|
8228
|
+
*/
|
|
8229
|
+
ContentExtensionAdapterFactory: sap.ushell.services.ContentExtensionAdapterFactory;
|
|
8230
|
+
/**
|
|
8231
|
+
* @deprecated As of version 1.120. Please use {@link sap.ushell.services.Navigation} instead.
|
|
8232
|
+
*/
|
|
8233
|
+
CrossApplicationNavigation: sap.ushell.services.CrossApplicationNavigation;
|
|
8234
|
+
/**
|
|
8235
|
+
* @deprecated As of version 1.93. Deprecated without successor.
|
|
8236
|
+
*/
|
|
8237
|
+
EndUserFeedback: sap.ushell.services.EndUserFeedback;
|
|
8238
|
+
|
|
8239
|
+
Extension: sap.ushell.services.Extension;
|
|
8240
|
+
|
|
8241
|
+
FrameBoundExtension: sap.ushell.services.FrameBoundExtension;
|
|
8242
|
+
/**
|
|
8243
|
+
* @deprecated As of version 1.99. Deprecated together with the classic homepage.
|
|
8244
|
+
*/
|
|
8245
|
+
LaunchPage: sap.ushell.services.LaunchPage;
|
|
8246
|
+
/**
|
|
8247
|
+
* @deprecated As of version 1.120. Please use {@link sap.m.MessageToast}, {@link sap.m.MessageBox}, or
|
|
8248
|
+
* {@link sap.m.Dialog} instead.
|
|
8249
|
+
*/
|
|
8250
|
+
Message: sap.ushell.services.Message;
|
|
8251
|
+
/**
|
|
8252
|
+
* @deprecated As of version 1.120. Use {@link sap.ushell.services.Navigation} for Navigation instead.
|
|
8253
|
+
*/
|
|
8254
|
+
NavTargetResolution: sap.ushell.services.NavTargetResolution;
|
|
8255
|
+
|
|
8256
|
+
Navigation: sap.ushell.services.Navigation;
|
|
8257
|
+
/**
|
|
8258
|
+
* @deprecated As of version 1.119. Please use {@link sap.ushell.services.NotificationsV2} instead.
|
|
8259
|
+
*/
|
|
8260
|
+
Notifications: sap.ushell.services.Notifications;
|
|
8261
|
+
|
|
8262
|
+
NotificationsV2: sap.ushell.services.NotificationsV2;
|
|
8263
|
+
/**
|
|
8264
|
+
* @deprecated As of version 1.120. Please use {@link sap.ushell.services.PersonalizationV2} instead.
|
|
8265
|
+
*/
|
|
8266
|
+
Personalization: sap.ushell.services.Personalization;
|
|
8267
|
+
|
|
8268
|
+
PersonalizationV2: sap.ushell.services.PersonalizationV2;
|
|
8269
|
+
|
|
8270
|
+
SessionHandler: sap.ushell.services.SessionHandler;
|
|
8271
|
+
/**
|
|
8272
|
+
* @deprecated As of version 1.120. Use {@link sap.ushell.services.Navigation} for Navigation instead.
|
|
8273
|
+
*/
|
|
8274
|
+
ShellNavigation: sap.ushell.services.ShellNavigation;
|
|
8275
|
+
/**
|
|
8276
|
+
* @deprecated As of version 1.112. Please use the CrossApplicationNavigation service instead.
|
|
8277
|
+
*/
|
|
8278
|
+
SmartNavigation: sap.ushell.services.SmartNavigation;
|
|
8279
|
+
|
|
8280
|
+
SupportTicket: sap.ushell.services.SupportTicket;
|
|
8281
|
+
|
|
8282
|
+
URLParsing: sap.ushell.services.URLParsing;
|
|
8283
|
+
/**
|
|
8284
|
+
* @deprecated As of version 1.120. The corresponding cloud service "SAP Web Analytics" has been retired,
|
|
8285
|
+
* therefore this client-side service API cannot be used any longer.
|
|
8286
|
+
*/
|
|
8287
|
+
UsageAnalytics: sap.ushell.services.UsageAnalytics;
|
|
8288
|
+
|
|
8289
|
+
UserInfo: sap.ushell.services.UserInfo;
|
|
8290
|
+
};
|
|
8186
8291
|
}
|
|
8187
8292
|
|
|
8188
8293
|
namespace base {
|
|
@@ -8195,7 +8300,7 @@ declare namespace sap {
|
|
|
8195
8300
|
*/
|
|
8196
8301
|
type HashComparison = {
|
|
8197
8302
|
/**
|
|
8198
|
-
* The intent is the semantic object
|
|
8303
|
+
* The intent is the semantic object and action of the hash
|
|
8199
8304
|
*
|
|
8200
8305
|
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
8201
8306
|
*/
|
|
@@ -8325,21 +8430,19 @@ declare namespace sap {
|
|
|
8325
8430
|
* {
|
|
8326
8431
|
* target: {
|
|
8327
8432
|
* semanticObject: string,
|
|
8328
|
-
* action: string
|
|
8329
|
-
* contextRaw: string
|
|
8433
|
+
* action: string
|
|
8330
8434
|
* },
|
|
8331
8435
|
* params: MapObject,
|
|
8332
8436
|
* appStateKey: string
|
|
8333
8437
|
* appSpecificRoute: string
|
|
8334
8438
|
* }
|
|
8335
8439
|
* ```
|
|
8336
|
-
* `{ target: { shellHash } }`
|
|
8337
|
-
* object
|
|
8440
|
+
* `{ target: { shellHash } }`
|
|
8338
8441
|
*
|
|
8339
8442
|
* @since 1.94.0
|
|
8340
8443
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8341
8444
|
*
|
|
8342
|
-
* @returns the hash part of an URL, e.g. `"Object-name
|
|
8445
|
+
* @returns the hash part of an URL, e.g. `"Object-name?PV1=PV2&PV4=V5&/display/detail/7?UU=HH` returns
|
|
8343
8446
|
* "" for an `undefined` object
|
|
8344
8447
|
*/
|
|
8345
8448
|
constructShellHash(
|
|
@@ -8374,8 +8477,8 @@ declare namespace sap {
|
|
|
8374
8477
|
* should be treated as opaque) The URL has to comply with the Fiori-Wave 2 agreed upon format This
|
|
8375
8478
|
* service shall be used to extract a hash part from an url. The result can be further broken up by parseShellHash
|
|
8376
8479
|
*
|
|
8377
|
-
* Examples http://a.b.c?defhij#SemanticObject-Action
|
|
8378
|
-
* returns : "#SemanticObject-Action
|
|
8480
|
+
* Examples http://a.b.c?defhij#SemanticObject-Action?PV1=A&PV2=B&/appspecific
|
|
8481
|
+
* returns : "#SemanticObject-Action?PV1=A&PV2=B&/appspecific"
|
|
8379
8482
|
*
|
|
8380
8483
|
* Note: the results when passing an illegal (non-compliant) url are undefined and subject to change w.o.
|
|
8381
8484
|
* notice. Notably further checks may added. The design is deliberately restrictive and non-robust.
|
|
@@ -8388,7 +8491,7 @@ declare namespace sap {
|
|
|
8388
8491
|
getShellHash(
|
|
8389
8492
|
/**
|
|
8390
8493
|
* a valid (Shell) url, e.g.
|
|
8391
|
-
* `http://xx.b.c#Object-name
|
|
8494
|
+
* `http://xx.b.c#Object-name?PV1=PV2&PV4=V5&/display/detail/7?UU=HH`
|
|
8392
8495
|
*/
|
|
8393
8496
|
sShellHashString: string
|
|
8394
8497
|
): object;
|
|
@@ -8433,7 +8536,7 @@ declare namespace sap {
|
|
|
8433
8536
|
sUrl: string
|
|
8434
8537
|
): Promise<boolean>;
|
|
8435
8538
|
/**
|
|
8436
|
-
*
|
|
8539
|
+
* Combine members of a javascript object into a parameter string, note that parameters are ordered in an
|
|
8437
8540
|
* arbitrary manner which is subject to change
|
|
8438
8541
|
*
|
|
8439
8542
|
* @since 1.94.0
|
|
@@ -8464,7 +8567,7 @@ declare namespace sap {
|
|
|
8464
8567
|
sParams: string
|
|
8465
8568
|
): object;
|
|
8466
8569
|
/**
|
|
8467
|
-
* Decompose a shell hash into the respective parts
|
|
8570
|
+
* Decompose a shell hash into the respective parts.
|
|
8468
8571
|
*
|
|
8469
8572
|
* @since 1.94.0
|
|
8470
8573
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -8478,8 +8581,6 @@ declare namespace sap {
|
|
|
8478
8581
|
*
|
|
8479
8582
|
* action : string,
|
|
8480
8583
|
*
|
|
8481
|
-
* contextRaw : string,
|
|
8482
|
-
*
|
|
8483
8584
|
* params : MapObject,
|
|
8484
8585
|
*
|
|
8485
8586
|
* appSpecificRoute : string
|
|
@@ -8490,9 +8591,8 @@ declare namespace sap {
|
|
|
8490
8591
|
*/
|
|
8491
8592
|
parseShellHash(
|
|
8492
8593
|
/**
|
|
8493
|
-
* Hash part of a
|
|
8494
|
-
*
|
|
8495
|
-
* e.g. `"#Object-name~AFE2==?PV1=PV2&PV4=V5&/display/detail/7?UU=HH`
|
|
8594
|
+
* Hash part of a FLP-compliant URL `#SO-Action?P1=a&P2=x&/route?RPV=1`. At minimum, Semantic Object and
|
|
8595
|
+
* Action need to be part of the hash. A single # is also accepted.
|
|
8496
8596
|
*/
|
|
8497
8597
|
sHash: string,
|
|
8498
8598
|
/**
|
|
@@ -8500,6 +8600,31 @@ declare namespace sap {
|
|
|
8500
8600
|
*/
|
|
8501
8601
|
bReturnEmpty?: boolean
|
|
8502
8602
|
): object;
|
|
8603
|
+
/**
|
|
8604
|
+
* split a Unified Shell compliant hash into an Object containing a shell specific part and an app specific
|
|
8605
|
+
* parts
|
|
8606
|
+
* for non compliant hash strings, the empty object {} is returned. An optional leading # is stripped.
|
|
8607
|
+
*
|
|
8608
|
+
* @since 1.94.0
|
|
8609
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8610
|
+
*
|
|
8611
|
+
* @returns `{}`(empty object) if not a parseable hash
|
|
8612
|
+
* ```javascript
|
|
8613
|
+
*
|
|
8614
|
+
* {
|
|
8615
|
+
* shellPart : "Object-name?PV1=PV2&PV4=V5",
|
|
8616
|
+
* appSpecificRoute : "&/display/detail/7?UU=HH"
|
|
8617
|
+
* }
|
|
8618
|
+
* ```
|
|
8619
|
+
* otherwise Note that params always has an Array for each parameter value!
|
|
8620
|
+
*/
|
|
8621
|
+
splitHash(
|
|
8622
|
+
/**
|
|
8623
|
+
* Hash part of a shell conformant URL #SO-Action?P1=a&P2=x&/route?RPV=1 the hash part of an
|
|
8624
|
+
* URL, e.g. "#Object-name?PV1=PV2&PV4=V5&/display/detail/7?UU=HH
|
|
8625
|
+
*/
|
|
8626
|
+
sHash: string
|
|
8627
|
+
): object;
|
|
8503
8628
|
/**
|
|
8504
8629
|
* Internal function
|
|
8505
8630
|
*
|
|
@@ -14463,11 +14588,14 @@ declare namespace sap {
|
|
|
14463
14588
|
*
|
|
14464
14589
|
* @returns the service or, in asynchronous mode, a Promise that returns the service
|
|
14465
14590
|
*/
|
|
14466
|
-
getService<
|
|
14591
|
+
getService<
|
|
14592
|
+
ServiceType extends sap.ushell.services.Service,
|
|
14593
|
+
ServiceName extends string = string,
|
|
14594
|
+
>(
|
|
14467
14595
|
/**
|
|
14468
14596
|
* The service name, such as "Menu"
|
|
14469
14597
|
*/
|
|
14470
|
-
sServiceName:
|
|
14598
|
+
sServiceName: ServiceName,
|
|
14471
14599
|
/**
|
|
14472
14600
|
* A parameter which is passed to the service constructor and every adapter constructor. (since 1.15.0)
|
|
14473
14601
|
*/
|
|
@@ -14535,11 +14663,14 @@ declare namespace sap {
|
|
|
14535
14663
|
*
|
|
14536
14664
|
* @returns a Promise that returns the requested service
|
|
14537
14665
|
*/
|
|
14538
|
-
getServiceAsync<
|
|
14666
|
+
getServiceAsync<
|
|
14667
|
+
ServiceType extends sap.ushell.services.Service,
|
|
14668
|
+
ServiceName extends string = string,
|
|
14669
|
+
>(
|
|
14539
14670
|
/**
|
|
14540
14671
|
* The service name, such as "Menu"
|
|
14541
14672
|
*/
|
|
14542
|
-
sServiceName:
|
|
14673
|
+
sServiceName: ServiceName,
|
|
14543
14674
|
/**
|
|
14544
14675
|
* A parameter which is passed to the service constructor and every adapter constructor.
|
|
14545
14676
|
*/
|
|
@@ -14733,12 +14864,6 @@ declare namespace sap {
|
|
|
14733
14864
|
|
|
14734
14865
|
"sap/ushell/modules/Notifications/NotificationsProvider": undefined;
|
|
14735
14866
|
|
|
14736
|
-
"sap/ushell/modules/ProductSwitch": undefined;
|
|
14737
|
-
|
|
14738
|
-
"sap/ushell/modules/ProductSwitch/ProductSwitchAPI": undefined;
|
|
14739
|
-
|
|
14740
|
-
"sap/ushell/modules/ProductSwitch/ProductSwitchProvider": undefined;
|
|
14741
|
-
|
|
14742
14867
|
"sap/ushell/modules/Search": undefined;
|
|
14743
14868
|
|
|
14744
14869
|
"sap/ushell/modules/Search/SearchAPI": undefined;
|
|
@@ -14855,6 +14980,8 @@ declare namespace sap {
|
|
|
14855
14980
|
|
|
14856
14981
|
"sap/ushell/services/SearchableContent": undefined;
|
|
14857
14982
|
|
|
14983
|
+
"sap/ushell/services/SessionHandler": undefined;
|
|
14984
|
+
|
|
14858
14985
|
"sap/ushell/services/ShellNavigation": undefined;
|
|
14859
14986
|
|
|
14860
14987
|
"sap/ushell/services/ShellNavigationInternal": undefined;
|
package/types/sap.uxap.d.ts
CHANGED
package/types/sap.viz.d.ts
CHANGED
package/types/sap.zen.dsh.d.ts
CHANGED