@sapui5/types 1.145.0 → 1.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +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 +58 -18
- package/types/sap.f.d.ts +73 -526
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +203 -38
- 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 +1 -1
- package/types/sap.fe.test.d.ts +1 -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 +45 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +322 -18
- 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 +178 -10
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +9 -16
- 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 +1 -1
- package/types/sap.ui.core.d.ts +1044 -382
- 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 +5 -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 +65 -266
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +2 -2
- package/types/sap.ui.richtexteditor.d.ts +6 -6
- 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 +1 -1
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +36 -3
- 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 +209 -2
- package/types/sap.ui.vtm.d.ts +2 -2
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +194 -136
- 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.146.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ushell/library" {
|
|
4
4
|
/**
|
|
@@ -890,6 +890,7 @@ declare module "sap/ushell/Container" {
|
|
|
890
890
|
* An enumeration for the application work protect mode state.
|
|
891
891
|
*
|
|
892
892
|
* @since 1.21.1
|
|
893
|
+
* @deprecated As of version 1.146. the concept has been abandoned.
|
|
893
894
|
*/
|
|
894
895
|
DirtyState: DirtyState;
|
|
895
896
|
|
|
@@ -925,7 +926,7 @@ declare module "sap/ushell/Container" {
|
|
|
925
926
|
* Attaches a listener to the rendererCreated event.
|
|
926
927
|
*
|
|
927
928
|
* @since 1.34.1
|
|
928
|
-
* @deprecated As of version 1.
|
|
929
|
+
* @deprecated As of version 1.146. the concept has been abandoned.
|
|
929
930
|
*/
|
|
930
931
|
attachRendererCreatedEvent(
|
|
931
932
|
/**
|
|
@@ -991,6 +992,7 @@ declare module "sap/ushell/Container" {
|
|
|
991
992
|
* Only the last registered function will be deregistered (in case it was registered multiple times).
|
|
992
993
|
*
|
|
993
994
|
* @since 1.67.0
|
|
995
|
+
* @deprecated As of version 1.146. replaced by {@link sap.ushell.navigation.DirtyState#deregisterDirtyStateProvider}.
|
|
994
996
|
*/
|
|
995
997
|
deregisterDirtyStateProvider(
|
|
996
998
|
/**
|
|
@@ -1013,7 +1015,7 @@ declare module "sap/ushell/Container" {
|
|
|
1013
1015
|
* Detaches a listener from the rendererCreated event.
|
|
1014
1016
|
*
|
|
1015
1017
|
* @since 1.34.1
|
|
1016
|
-
* @deprecated As of version 1.
|
|
1018
|
+
* @deprecated As of version 1.146. the concept has been abandoned.
|
|
1017
1019
|
*/
|
|
1018
1020
|
detachRendererCreatedEvent(
|
|
1019
1021
|
/**
|
|
@@ -1029,7 +1031,7 @@ declare module "sap/ushell/Container" {
|
|
|
1029
1031
|
* provider methods are ignored and the function simply returns 'true'.
|
|
1030
1032
|
*
|
|
1031
1033
|
* @since 1.27.0
|
|
1032
|
-
* @deprecated As of version 1.120.
|
|
1034
|
+
* @deprecated As of version 1.120. replaced by {@link sap.ushell.navigation.DirtyState#getDirtyFlag}.
|
|
1033
1035
|
*
|
|
1034
1036
|
* @returns The value of the dirty flag or the determined dirty state returned by the dirty state providers.
|
|
1035
1037
|
*/
|
|
@@ -1040,7 +1042,8 @@ declare module "sap/ushell/Container" {
|
|
|
1040
1042
|
* All open UShell browser windows for the same origin are asked about their global dirty state.
|
|
1041
1043
|
*
|
|
1042
1044
|
* @since 1.21.1
|
|
1043
|
-
* @deprecated As of version 1.120.
|
|
1045
|
+
* @deprecated As of version 1.120. the concept has been abandoned. Use {@link sap.ushell.navigation.DirtyState#getDirtyFlag }
|
|
1046
|
+
* instead.
|
|
1044
1047
|
*
|
|
1045
1048
|
* @returns Resolves the dirty state (see {@link sap.ushell.Container.DirtyState}).
|
|
1046
1049
|
*/
|
|
@@ -1225,6 +1228,7 @@ declare module "sap/ushell/Container" {
|
|
|
1225
1228
|
* Use `Function.prototype.bind()` to determine the callback's `this` or some of its arguments.
|
|
1226
1229
|
*
|
|
1227
1230
|
* @since 1.31.0
|
|
1231
|
+
* @deprecated As of version 1.146. replaced by {@link sap.ushell.navigation.DirtyState#registerDirtyStateProvider}.
|
|
1228
1232
|
*/
|
|
1229
1233
|
registerDirtyStateProvider(
|
|
1230
1234
|
/**
|
|
@@ -1236,7 +1240,7 @@ declare module "sap/ushell/Container" {
|
|
|
1236
1240
|
* ```javascript
|
|
1237
1241
|
*
|
|
1238
1242
|
* {
|
|
1239
|
-
* isCrossAppNavigation: true, // Boolean which indicates if the navigation is inner app
|
|
1243
|
+
* isCrossAppNavigation: true, // Boolean which indicates if the navigation is inner app or across two different applications.
|
|
1240
1244
|
* innerAppRoute: "&/SalesOrder/11" // If it is an inner app navigation, it describes the inner app route.
|
|
1241
1245
|
* }
|
|
1242
1246
|
* ```
|
|
@@ -1249,6 +1253,7 @@ declare module "sap/ushell/Container" {
|
|
|
1249
1253
|
* Default value is false
|
|
1250
1254
|
*
|
|
1251
1255
|
* @since 1.27.0
|
|
1256
|
+
* @deprecated As of version 1.146. replaced by {@link sap.ushell.navigation.DirtyState#setDirtyFlag}.
|
|
1252
1257
|
*/
|
|
1253
1258
|
setDirtyFlag(
|
|
1254
1259
|
/**
|
|
@@ -1264,6 +1269,7 @@ declare module "sap/ushell/Container" {
|
|
|
1264
1269
|
* An enumeration for the application work protect mode state.
|
|
1265
1270
|
*
|
|
1266
1271
|
* @since 1.90.0
|
|
1272
|
+
* @deprecated As of version 1.146. the concept has been abandoned.
|
|
1267
1273
|
*/
|
|
1268
1274
|
export type DirtyState = {
|
|
1269
1275
|
/**
|
|
@@ -1281,6 +1287,85 @@ declare module "sap/ushell/Container" {
|
|
|
1281
1287
|
};
|
|
1282
1288
|
}
|
|
1283
1289
|
|
|
1290
|
+
declare module "sap/ushell/navigation/DirtyState" {
|
|
1291
|
+
/**
|
|
1292
|
+
* Module that stores the dirty state of the application.
|
|
1293
|
+
*
|
|
1294
|
+
* @since 1.146.0
|
|
1295
|
+
*/
|
|
1296
|
+
interface DirtyState {
|
|
1297
|
+
/**
|
|
1298
|
+
* Deregister the work protection dirty callback function. See registerDirtyStateProvider for more information.
|
|
1299
|
+
* Only the last registered function will be deregistered (in case it was registered multiple times).
|
|
1300
|
+
*
|
|
1301
|
+
* @since 1.146.0
|
|
1302
|
+
*/
|
|
1303
|
+
deregisterDirtyStateProvider(
|
|
1304
|
+
/**
|
|
1305
|
+
* function for determining the state of the application
|
|
1306
|
+
*/
|
|
1307
|
+
fnDirty: () => boolean
|
|
1308
|
+
): void;
|
|
1309
|
+
/**
|
|
1310
|
+
* If the dirty state was set to 'false' using 'setDirtyFlag' the registered dirty state provider methods
|
|
1311
|
+
* get called to determine the actual dirty state. The determined dirty state is then returned.
|
|
1312
|
+
*
|
|
1313
|
+
* However, if the dirty state was previously set to 'true' using 'setDirtyFlag' the registered dirty state
|
|
1314
|
+
* provider methods are ignored and the function simply returns 'true'.
|
|
1315
|
+
*
|
|
1316
|
+
* @since 1.146.0
|
|
1317
|
+
*
|
|
1318
|
+
* @returns The value of the dirty flag or the determined dirty state returned by the dirty state providers.
|
|
1319
|
+
*/
|
|
1320
|
+
getDirtyFlag(): Promise<boolean>;
|
|
1321
|
+
/**
|
|
1322
|
+
* Register the work protection dirty callback function. In the work protect mechanism, each platform can
|
|
1323
|
+
* register their own method in order to check if data was changed during the session, and notify the container
|
|
1324
|
+
* about the change. Registering multiple times the same function is allowed.
|
|
1325
|
+
*
|
|
1326
|
+
* Use `Function.prototype.bind()` to determine the callback's `this` or some of its arguments.
|
|
1327
|
+
*
|
|
1328
|
+
* Note that registered callback functions are not automatically de-registered when an application is closed.
|
|
1329
|
+
* Use {@link sap.ushell.navigation.DirtyState.deregisterDirtyStateProvider} to de-register the callback
|
|
1330
|
+
* function.
|
|
1331
|
+
*
|
|
1332
|
+
* @since 1.146.0
|
|
1333
|
+
*/
|
|
1334
|
+
registerDirtyStateProvider(
|
|
1335
|
+
/**
|
|
1336
|
+
* Function for determining the state of the application. The callback is used to determine the current
|
|
1337
|
+
* dirty state during a navigation. The function must return a boolean which determines if the current application
|
|
1338
|
+
* is dirty or not. If `true` is returned the end user is prompted with a dialog where they need to confirm
|
|
1339
|
+
* the potential data loss. The callback is called with a navigation context as its first parameter which
|
|
1340
|
+
* can be used to determine the dirty state:
|
|
1341
|
+
* ```javascript
|
|
1342
|
+
*
|
|
1343
|
+
* {
|
|
1344
|
+
* isCrossAppNavigation: true, // Boolean which indicates if the navigation is inner app or across two different applications.
|
|
1345
|
+
* innerAppRoute: "&/SalesOrder/11" // If it is an inner app navigation, it describes the inner app route.
|
|
1346
|
+
* }
|
|
1347
|
+
* ```
|
|
1348
|
+
*/
|
|
1349
|
+
fnDirty: () => boolean
|
|
1350
|
+
): void;
|
|
1351
|
+
/**
|
|
1352
|
+
* Setter for the isDirty flag value.
|
|
1353
|
+
*
|
|
1354
|
+
* @since 1.146.0
|
|
1355
|
+
*
|
|
1356
|
+
* @returns Resolves when the dirty flag is set.
|
|
1357
|
+
*/
|
|
1358
|
+
setDirtyFlag(
|
|
1359
|
+
/**
|
|
1360
|
+
* The value of the dirty flag.
|
|
1361
|
+
*/
|
|
1362
|
+
bIsDirty?: boolean
|
|
1363
|
+
): Promise<undefined>;
|
|
1364
|
+
}
|
|
1365
|
+
const DirtyState: DirtyState;
|
|
1366
|
+
export default DirtyState;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1284
1369
|
declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
1285
1370
|
import {
|
|
1286
1371
|
default as UIComponent,
|
|
@@ -2061,8 +2146,7 @@ declare module "sap/ushell/renderers/fiori2/Renderer" {
|
|
|
2061
2146
|
*/
|
|
2062
2147
|
onCancel: Function;
|
|
2063
2148
|
/**
|
|
2064
|
-
*
|
|
2065
|
-
* header.
|
|
2149
|
+
* Set this value to true if you want that your content is displayed without the standard header.
|
|
2066
2150
|
*/
|
|
2067
2151
|
provideEmptyWrapper: boolean;
|
|
2068
2152
|
},
|
|
@@ -2805,7 +2889,7 @@ declare module "sap/ushell/services/AppConfiguration" {
|
|
|
2805
2889
|
declare module "sap/ushell/services/AppLifeCycle" {
|
|
2806
2890
|
import Event from "sap/ui/base/Event";
|
|
2807
2891
|
|
|
2808
|
-
import
|
|
2892
|
+
import CurrentApplication from "sap/ushell/services/AppLifeCycle/CurrentApplication";
|
|
2809
2893
|
|
|
2810
2894
|
/**
|
|
2811
2895
|
* The Unified Shell's AppLifeCycle service.
|
|
@@ -2828,25 +2912,6 @@ declare module "sap/ushell/services/AppLifeCycle" {
|
|
|
2828
2912
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2829
2913
|
*/
|
|
2830
2914
|
protected constructor();
|
|
2831
|
-
/**
|
|
2832
|
-
* Enumeration of application info parameter names.
|
|
2833
|
-
*
|
|
2834
|
-
* This enum is part of the 'sap/ushell/services/AppLifeCycle' module export and must be accessed by the
|
|
2835
|
-
* property 'AppInfoParameterName'.
|
|
2836
|
-
*
|
|
2837
|
-
* @since 1.120.0
|
|
2838
|
-
*/
|
|
2839
|
-
static AppInfoParameterName: typeof AppInfoParameterName;
|
|
2840
|
-
|
|
2841
|
-
/**
|
|
2842
|
-
* Enumeration of application types.
|
|
2843
|
-
*
|
|
2844
|
-
* This enum is part of the 'sap/ushell/services/AppLifeCycle' module export and must be accessed by the
|
|
2845
|
-
* property 'ApplicationType'.
|
|
2846
|
-
*
|
|
2847
|
-
* @since 1.120.0
|
|
2848
|
-
*/
|
|
2849
|
-
static ApplicationType: typeof ApplicationType;
|
|
2850
2915
|
|
|
2851
2916
|
/**
|
|
2852
2917
|
* Attaches an event handler for the appLoaded event. This event handler will be triggered each time an
|
|
@@ -2894,66 +2959,106 @@ declare module "sap/ushell/services/AppLifeCycle" {
|
|
|
2894
2959
|
*/
|
|
2895
2960
|
getCurrentApplication(): CurrentApplication | undefined;
|
|
2896
2961
|
}
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
declare module "sap/ushell/services/AppLifeCycle/CurrentApplication" {
|
|
2965
|
+
import ApplicationType from "sap/ushell/services/AppLifeCycle/ApplicationType";
|
|
2966
|
+
|
|
2967
|
+
import Component from "sap/ui/core/Component";
|
|
2968
|
+
|
|
2969
|
+
import AppInfoParameterName from "sap/ushell/services/AppLifeCycle/AppInfoParameterName";
|
|
2970
|
+
|
|
2971
|
+
import { DecomposedHash } from "sap/ushell/services/URLParsing";
|
|
2972
|
+
|
|
2897
2973
|
/**
|
|
2898
|
-
* Defines the application info.
|
|
2974
|
+
* Defines the application info. Key-value pairs of application info parameters and their values.
|
|
2899
2975
|
*
|
|
2900
2976
|
* @since 1.120.0
|
|
2901
2977
|
*/
|
|
2902
|
-
export type AppInfo =
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
*/
|
|
2912
|
-
theme: string;
|
|
2913
|
-
/**
|
|
2914
|
-
* Current Language (BCP47 format)
|
|
2915
|
-
*/
|
|
2916
|
-
languageTag: string;
|
|
2917
|
-
/**
|
|
2918
|
-
* Intent that was used to launch the application (including parameters)
|
|
2919
|
-
*/
|
|
2920
|
-
appIntent: string;
|
|
2978
|
+
export type AppInfo = Record<string, any>;
|
|
2979
|
+
|
|
2980
|
+
/**
|
|
2981
|
+
* Defines the current application. This object is only valid until the next application navigation. Fetch
|
|
2982
|
+
* it again from the AppLifeCycle service in the appLoaded event.
|
|
2983
|
+
*
|
|
2984
|
+
* @since 1.120.0
|
|
2985
|
+
*/
|
|
2986
|
+
export default class CurrentApplication {
|
|
2921
2987
|
/**
|
|
2922
|
-
*
|
|
2988
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2923
2989
|
*/
|
|
2924
|
-
|
|
2990
|
+
protected constructor();
|
|
2925
2991
|
/**
|
|
2926
|
-
*
|
|
2992
|
+
* The type of the current application.
|
|
2993
|
+
*
|
|
2994
|
+
* @since 1.120.0
|
|
2927
2995
|
*/
|
|
2928
|
-
|
|
2996
|
+
applicationType: ApplicationType | keyof typeof ApplicationType;
|
|
2997
|
+
|
|
2929
2998
|
/**
|
|
2930
|
-
*
|
|
2999
|
+
* Reference to component. Only available for applicationType "UI5"
|
|
3000
|
+
*
|
|
3001
|
+
* @since 1.120.0
|
|
2931
3002
|
*/
|
|
2932
|
-
|
|
3003
|
+
componentInstance: Component | null;
|
|
3004
|
+
|
|
2933
3005
|
/**
|
|
2934
|
-
*
|
|
3006
|
+
* `true` when root intent (normally #Shell-home) or Appfinder (#Shell-appfinder) is currently displayed.
|
|
3007
|
+
*
|
|
3008
|
+
* @since 1.120.0
|
|
2935
3009
|
*/
|
|
2936
|
-
|
|
3010
|
+
homePage: boolean;
|
|
3011
|
+
|
|
2937
3012
|
/**
|
|
2938
|
-
*
|
|
3013
|
+
* A function to collect the values of the given parameters
|
|
3014
|
+
*
|
|
3015
|
+
* @since 1.120.0
|
|
3016
|
+
*
|
|
3017
|
+
* @returns Resolves to an object keeping the application info parameters with values
|
|
2939
3018
|
*/
|
|
2940
|
-
|
|
3019
|
+
getInfo(
|
|
3020
|
+
/**
|
|
3021
|
+
* Array of requested parameters
|
|
3022
|
+
*/
|
|
3023
|
+
aParameterNames: Array<
|
|
3024
|
+
AppInfoParameterName | keyof typeof AppInfoParameterName
|
|
3025
|
+
>
|
|
3026
|
+
): Promise<AppInfo>;
|
|
2941
3027
|
/**
|
|
2942
|
-
*
|
|
3028
|
+
* See {@link sap.ushell.services.URLParsing#parseShellHash} for details. This method is for SAP-internal
|
|
3029
|
+
* use only!
|
|
3030
|
+
*
|
|
3031
|
+
* @since 1.120.0
|
|
3032
|
+
*
|
|
3033
|
+
* @returns A promise that resolves with the intent of the current application
|
|
2943
3034
|
*/
|
|
2944
|
-
|
|
3035
|
+
getIntent(
|
|
3036
|
+
/**
|
|
3037
|
+
* If set to true, the intent is extracted from the real application URL in case of a remote app
|
|
3038
|
+
*/
|
|
3039
|
+
bRealAppIntent: boolean
|
|
3040
|
+
): Promise<DecomposedHash>;
|
|
2945
3041
|
/**
|
|
2946
|
-
*
|
|
3042
|
+
* function that returns the value of a technical parameter for the given application. This method is for
|
|
3043
|
+
* SAP internal usage only.
|
|
3044
|
+
*
|
|
3045
|
+
* @since 1.120.0
|
|
3046
|
+
*
|
|
3047
|
+
* @returns A promise that resolves with the value of the technical parameter
|
|
2947
3048
|
*/
|
|
2948
|
-
|
|
2949
|
-
|
|
3049
|
+
getTechnicalParameter(
|
|
3050
|
+
/**
|
|
3051
|
+
* The name of the technical parameter
|
|
3052
|
+
*/
|
|
3053
|
+
sParameterName: string
|
|
3054
|
+
): Promise<string>;
|
|
3055
|
+
}
|
|
3056
|
+
}
|
|
2950
3057
|
|
|
3058
|
+
declare module "sap/ushell/services/AppLifeCycle/AppInfoParameterName" {
|
|
2951
3059
|
/**
|
|
2952
3060
|
* Enumeration of application info parameter names.
|
|
2953
3061
|
*
|
|
2954
|
-
* This enum is part of the 'sap/ushell/services/AppLifeCycle' module export and must be accessed by the
|
|
2955
|
-
* property 'AppInfoParameterName'.
|
|
2956
|
-
*
|
|
2957
3062
|
* @since 1.120.0
|
|
2958
3063
|
*/
|
|
2959
3064
|
enum AppInfoParameterName {
|
|
@@ -3004,12 +3109,13 @@ declare module "sap/ushell/services/AppLifeCycle" {
|
|
|
3004
3109
|
*/
|
|
3005
3110
|
theme = "theme",
|
|
3006
3111
|
}
|
|
3112
|
+
export default AppInfoParameterName;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
declare module "sap/ushell/services/AppLifeCycle/ApplicationType" {
|
|
3007
3116
|
/**
|
|
3008
3117
|
* Enumeration of application types.
|
|
3009
3118
|
*
|
|
3010
|
-
* This enum is part of the 'sap/ushell/services/AppLifeCycle' module export and must be accessed by the
|
|
3011
|
-
* property 'ApplicationType'.
|
|
3012
|
-
*
|
|
3013
3119
|
* @since 1.120.0
|
|
3014
3120
|
*/
|
|
3015
3121
|
enum ApplicationType {
|
|
@@ -3034,69 +3140,7 @@ declare module "sap/ushell/services/AppLifeCycle" {
|
|
|
3034
3140
|
*/
|
|
3035
3141
|
WDA = "WDA",
|
|
3036
3142
|
}
|
|
3037
|
-
|
|
3038
|
-
* Defines the current application.
|
|
3039
|
-
*
|
|
3040
|
-
* @since 1.120.0
|
|
3041
|
-
*/
|
|
3042
|
-
export type CurrentApplication = {
|
|
3043
|
-
/**
|
|
3044
|
-
* The type of the current application.
|
|
3045
|
-
*/
|
|
3046
|
-
applicationType: ApplicationType | keyof typeof ApplicationType;
|
|
3047
|
-
/**
|
|
3048
|
-
* reference to component (only for applicationType "UI5")
|
|
3049
|
-
*/
|
|
3050
|
-
componentInstance?: Component;
|
|
3051
|
-
/**
|
|
3052
|
-
* `true` when root intent (normally #Shell-home) or Appfinder (#Shell-appfinder) is currently displayed.
|
|
3053
|
-
*/
|
|
3054
|
-
homePage: boolean;
|
|
3055
|
-
/**
|
|
3056
|
-
* function that returns the value of a technical parameter for the given application. This method is for
|
|
3057
|
-
* SAP internal usage only.
|
|
3058
|
-
*/
|
|
3059
|
-
getTechnicalParameter: Function;
|
|
3060
|
-
/**
|
|
3061
|
-
* See {@link sap.ushell.services.URLParsing#parseShellHash} for details. This property is for SAP-internal
|
|
3062
|
-
* use only!
|
|
3063
|
-
*/
|
|
3064
|
-
getIntent: () => Promise<Intent>;
|
|
3065
|
-
/**
|
|
3066
|
-
* provides the values of the given parameters.
|
|
3067
|
-
*/
|
|
3068
|
-
getInfo: (
|
|
3069
|
-
p1: Array<AppInfoParameterName | keyof typeof AppInfoParameterName>
|
|
3070
|
-
) => Promise<AppInfo>;
|
|
3071
|
-
};
|
|
3072
|
-
|
|
3073
|
-
/**
|
|
3074
|
-
* Defines an intent. See {@link sap.ushell.services.URLParsing#parseShellHash} for details.
|
|
3075
|
-
*
|
|
3076
|
-
* @since 1.120.0
|
|
3077
|
-
*/
|
|
3078
|
-
export type Intent = {
|
|
3079
|
-
/**
|
|
3080
|
-
* The semantic object of the intent.
|
|
3081
|
-
*/
|
|
3082
|
-
semanticObject: string;
|
|
3083
|
-
/**
|
|
3084
|
-
* The action of the intent.
|
|
3085
|
-
*/
|
|
3086
|
-
action: string;
|
|
3087
|
-
/**
|
|
3088
|
-
* The raw context of the intent.
|
|
3089
|
-
*/
|
|
3090
|
-
contextRaw: string;
|
|
3091
|
-
/**
|
|
3092
|
-
* The parameters of the intent.
|
|
3093
|
-
*/
|
|
3094
|
-
params: Record<string, string[]>;
|
|
3095
|
-
/**
|
|
3096
|
-
* The app specific route of the intent.
|
|
3097
|
-
*/
|
|
3098
|
-
appSpecificRoute: string;
|
|
3099
|
-
};
|
|
3143
|
+
export default ApplicationType;
|
|
3100
3144
|
}
|
|
3101
3145
|
|
|
3102
3146
|
declare module "sap/ushell/services/Bookmark" {
|
|
@@ -4040,7 +4084,7 @@ declare module "sap/ushell/services/CrossApplicationNavigation" {
|
|
|
4040
4084
|
* // Possible values are:
|
|
4041
4085
|
* // - "intent" (default) lexicographical sort on returned 'intent' field
|
|
4042
4086
|
* // - "text" lexicographical sort on returned 'text' field
|
|
4043
|
-
* // - "priority"
|
|
4087
|
+
* // - "priority" top intents are returned first
|
|
4044
4088
|
*
|
|
4045
4089
|
* treatTechHintAsFilter : true, // optional, defaults to false.
|
|
4046
4090
|
* // if true, only apps that match exactly the supplied technology (e.g. sap-ui-tech-hint=WDA) will be considered.
|
|
@@ -5241,8 +5285,10 @@ declare module "sap/ushell/services/FrameBoundExtension" {
|
|
|
5241
5285
|
* The `controlType` can be any control and is by default a {@link sap.m.Bar}. The `controlProperties` are
|
|
5242
5286
|
* passed to the constructor of the control.
|
|
5243
5287
|
*
|
|
5244
|
-
* **Note:** Only one footer is displayed at once. Any new footer will replace the previous one **
|
|
5245
|
-
*
|
|
5288
|
+
* **Note:** Only one footer is displayed at once. Any new footer will replace the previous one **Note:**
|
|
5289
|
+
* As several application views can provide own footer's, usage can result in a non aria complained HTML
|
|
5290
|
+
* structure. Two 'footer' tags will be present in the HTML structure which ends in an invalid accessibility
|
|
5291
|
+
* state. **Restriction:** NOT available for apps running in an iframe
|
|
5246
5292
|
*
|
|
5247
5293
|
* @since 1.124.0
|
|
5248
5294
|
*
|
|
@@ -6842,7 +6888,7 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
6842
6888
|
* How the matching links should be sorted. Possible Values:
|
|
6843
6889
|
* - `"intent"` lexicographical sort on returned 'intent' field
|
|
6844
6890
|
* - `"text"` lexicographical sort on returned 'text' field
|
|
6845
|
-
* - `"priority"`
|
|
6891
|
+
* - `"priority"` top intents are returned first
|
|
6846
6892
|
*/
|
|
6847
6893
|
sortResultsBy?: string;
|
|
6848
6894
|
/**
|
|
@@ -13111,6 +13157,10 @@ declare module "sap/ushell/ui/shell/ShellHeadItem" {
|
|
|
13111
13157
|
* The press handler function.
|
|
13112
13158
|
*/
|
|
13113
13159
|
press?: Function;
|
|
13160
|
+
/**
|
|
13161
|
+
* The tooltip used for the ShellHEadItem.
|
|
13162
|
+
*/
|
|
13163
|
+
tooltip?: string;
|
|
13114
13164
|
};
|
|
13115
13165
|
}
|
|
13116
13166
|
|
|
@@ -14235,6 +14285,8 @@ declare namespace sap {
|
|
|
14235
14285
|
|
|
14236
14286
|
"sap/ushell/modules/Search/SearchProvider": undefined;
|
|
14237
14287
|
|
|
14288
|
+
"sap/ushell/navigation/DirtyState": undefined;
|
|
14289
|
+
|
|
14238
14290
|
"sap/ushell/renderer/ShellLayout": undefined;
|
|
14239
14291
|
|
|
14240
14292
|
"sap/ushell/renderers/fiori2/Renderer": undefined;
|
|
@@ -14259,6 +14311,12 @@ declare namespace sap {
|
|
|
14259
14311
|
|
|
14260
14312
|
"sap/ushell/services/AppLifeCycle": undefined;
|
|
14261
14313
|
|
|
14314
|
+
"sap/ushell/services/AppLifeCycle/AppInfoParameterName": undefined;
|
|
14315
|
+
|
|
14316
|
+
"sap/ushell/services/AppLifeCycle/ApplicationType": undefined;
|
|
14317
|
+
|
|
14318
|
+
"sap/ushell/services/AppLifeCycle/CurrentApplication": undefined;
|
|
14319
|
+
|
|
14262
14320
|
"sap/ushell/services/Bookmark": undefined;
|
|
14263
14321
|
|
|
14264
14322
|
"sap/ushell/services/BookmarkV2": undefined;
|
package/types/sap.uxap.d.ts
CHANGED
package/types/sap.viz.d.ts
CHANGED
package/types/sap.zen.dsh.d.ts
CHANGED