@sapui5/types 1.144.1 → 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 +167 -102
- package/types/sap.f.d.ts +73 -526
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +342 -21
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +188 -4
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1022 -207
- 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 -1
- package/types/sap.fe.test.d.ts +150 -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 +172 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +350 -29
- 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 +31 -2
- 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 +404 -21
- package/types/sap.suite.ui.generic.template.d.ts +46 -1
- package/types/sap.suite.ui.microchart.d.ts +2 -1
- package/types/sap.tnt.d.ts +27 -26
- 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 +73 -2
- package/types/sap.ui.core.d.ts +1181 -478
- 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 +9 -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 +379 -51
- package/types/sap.ui.richtexteditor.d.ts +33 -11
- 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 +7 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +74 -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 +376 -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 +198 -136
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +18 -8
- 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.
|
|
@@ -5132,6 +5176,8 @@ declare module "sap/ushell/services/Extension/Item" {
|
|
|
5132
5176
|
/**
|
|
5133
5177
|
* Shows the item for the current application. The item will be hidden after the user navigates away from
|
|
5134
5178
|
* this application. The item will not be added again if the user navigates back to the application.
|
|
5179
|
+
* Exception: Apps which are using the keep alive feature. There the visibility is restored together with
|
|
5180
|
+
* the app.
|
|
5135
5181
|
*
|
|
5136
5182
|
* @since 1.120.0
|
|
5137
5183
|
*
|
|
@@ -5239,8 +5285,10 @@ declare module "sap/ushell/services/FrameBoundExtension" {
|
|
|
5239
5285
|
* The `controlType` can be any control and is by default a {@link sap.m.Bar}. The `controlProperties` are
|
|
5240
5286
|
* passed to the constructor of the control.
|
|
5241
5287
|
*
|
|
5242
|
-
* **Note:** Only one footer is displayed at once. Any new footer will replace the previous one **
|
|
5243
|
-
*
|
|
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
|
|
5244
5292
|
*
|
|
5245
5293
|
* @since 1.124.0
|
|
5246
5294
|
*
|
|
@@ -5465,6 +5513,8 @@ declare module "sap/ushell/services/FrameBoundExtension/Item" {
|
|
|
5465
5513
|
/**
|
|
5466
5514
|
* Shows the item for the current application. The item will be hidden after the user navigates away from
|
|
5467
5515
|
* this application. The item will not be added again if the user navigates back to the application.
|
|
5516
|
+
* Exception: Apps which are using the keep alive feature. There the visibility is restored together with
|
|
5517
|
+
* the app.
|
|
5468
5518
|
*
|
|
5469
5519
|
* @since 1.124.0
|
|
5470
5520
|
*
|
|
@@ -6838,7 +6888,7 @@ declare module "sap/ushell/services/Navigation" {
|
|
|
6838
6888
|
* How the matching links should be sorted. Possible Values:
|
|
6839
6889
|
* - `"intent"` lexicographical sort on returned 'intent' field
|
|
6840
6890
|
* - `"text"` lexicographical sort on returned 'text' field
|
|
6841
|
-
* - `"priority"`
|
|
6891
|
+
* - `"priority"` top intents are returned first
|
|
6842
6892
|
*/
|
|
6843
6893
|
sortResultsBy?: string;
|
|
6844
6894
|
/**
|
|
@@ -13107,6 +13157,10 @@ declare module "sap/ushell/ui/shell/ShellHeadItem" {
|
|
|
13107
13157
|
* The press handler function.
|
|
13108
13158
|
*/
|
|
13109
13159
|
press?: Function;
|
|
13160
|
+
/**
|
|
13161
|
+
* The tooltip used for the ShellHEadItem.
|
|
13162
|
+
*/
|
|
13163
|
+
tooltip?: string;
|
|
13110
13164
|
};
|
|
13111
13165
|
}
|
|
13112
13166
|
|
|
@@ -14231,6 +14285,8 @@ declare namespace sap {
|
|
|
14231
14285
|
|
|
14232
14286
|
"sap/ushell/modules/Search/SearchProvider": undefined;
|
|
14233
14287
|
|
|
14288
|
+
"sap/ushell/navigation/DirtyState": undefined;
|
|
14289
|
+
|
|
14234
14290
|
"sap/ushell/renderer/ShellLayout": undefined;
|
|
14235
14291
|
|
|
14236
14292
|
"sap/ushell/renderers/fiori2/Renderer": undefined;
|
|
@@ -14255,6 +14311,12 @@ declare namespace sap {
|
|
|
14255
14311
|
|
|
14256
14312
|
"sap/ushell/services/AppLifeCycle": undefined;
|
|
14257
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
|
+
|
|
14258
14320
|
"sap/ushell/services/Bookmark": undefined;
|
|
14259
14321
|
|
|
14260
14322
|
"sap/ushell/services/BookmarkV2": undefined;
|
package/types/sap.uxap.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/uxap/library" {
|
|
4
4
|
/**
|
|
@@ -7145,8 +7145,7 @@ declare module "sap/uxap/ObjectPageSection" {
|
|
|
7145
7145
|
*
|
|
7146
7146
|
* The list of Subsections.
|
|
7147
7147
|
*
|
|
7148
|
-
* Note
|
|
7149
|
-
* reasons.
|
|
7148
|
+
* **Note:** If you use multiple subsections, set a `title` for each subsection to avoid accessibility violations.
|
|
7150
7149
|
*/
|
|
7151
7150
|
getSubSections(): ObjectPageSubSection[];
|
|
7152
7151
|
/**
|
|
@@ -7359,8 +7358,7 @@ declare module "sap/uxap/ObjectPageSection" {
|
|
|
7359
7358
|
/**
|
|
7360
7359
|
* The list of Subsections.
|
|
7361
7360
|
*
|
|
7362
|
-
* Note
|
|
7363
|
-
* reasons.
|
|
7361
|
+
* **Note:** If you use multiple subsections, set a `title` for each subsection to avoid accessibility violations.
|
|
7364
7362
|
*/
|
|
7365
7363
|
subSections?:
|
|
7366
7364
|
| ObjectPageSubSection[]
|
|
@@ -7514,9 +7512,13 @@ declare module "sap/uxap/ObjectPageSectionBase" {
|
|
|
7514
7512
|
* Defines the title of the respective section/subsection.
|
|
7515
7513
|
*
|
|
7516
7514
|
* **Note:** If a subsection is the only one (or the only one visible) within a section, its title is displayed
|
|
7517
|
-
* instead of the section title. This behavior is true even if the `showTitle`
|
|
7515
|
+
* instead of the section title. This behavior is true even if the `showTitle` property of {@link sap.uxap.ObjectPageSubSection }
|
|
7518
7516
|
* is set to `false`.
|
|
7519
7517
|
*
|
|
7518
|
+
* **Note:** To avoid accessibility issues, always set a `title` on {@link sap.uxap.ObjectPageSubSection},
|
|
7519
|
+
* especially when a section contains multiple subsections. If no `title` is set on a subsection, the anchor
|
|
7520
|
+
* bar button popover will appear empty, which will lead to accessibility violations.
|
|
7521
|
+
*
|
|
7520
7522
|
*
|
|
7521
7523
|
* @returns Value of property `title`
|
|
7522
7524
|
*/
|
|
@@ -7604,9 +7606,13 @@ declare module "sap/uxap/ObjectPageSectionBase" {
|
|
|
7604
7606
|
* Defines the title of the respective section/subsection.
|
|
7605
7607
|
*
|
|
7606
7608
|
* **Note:** If a subsection is the only one (or the only one visible) within a section, its title is displayed
|
|
7607
|
-
* instead of the section title. This behavior is true even if the `showTitle`
|
|
7609
|
+
* instead of the section title. This behavior is true even if the `showTitle` property of {@link sap.uxap.ObjectPageSubSection }
|
|
7608
7610
|
* is set to `false`.
|
|
7609
7611
|
*
|
|
7612
|
+
* **Note:** To avoid accessibility issues, always set a `title` on {@link sap.uxap.ObjectPageSubSection},
|
|
7613
|
+
* especially when a section contains multiple subsections. If no `title` is set on a subsection, the anchor
|
|
7614
|
+
* bar button popover will appear empty, which will lead to accessibility violations.
|
|
7615
|
+
*
|
|
7610
7616
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7611
7617
|
*
|
|
7612
7618
|
*
|
|
@@ -7676,8 +7682,12 @@ declare module "sap/uxap/ObjectPageSectionBase" {
|
|
|
7676
7682
|
* Defines the title of the respective section/subsection.
|
|
7677
7683
|
*
|
|
7678
7684
|
* **Note:** If a subsection is the only one (or the only one visible) within a section, its title is displayed
|
|
7679
|
-
* instead of the section title. This behavior is true even if the `showTitle`
|
|
7685
|
+
* instead of the section title. This behavior is true even if the `showTitle` property of {@link sap.uxap.ObjectPageSubSection }
|
|
7680
7686
|
* is set to `false`.
|
|
7687
|
+
*
|
|
7688
|
+
* **Note:** To avoid accessibility issues, always set a `title` on {@link sap.uxap.ObjectPageSubSection},
|
|
7689
|
+
* especially when a section contains multiple subsections. If no `title` is set on a subsection, the anchor
|
|
7690
|
+
* bar button popover will appear empty, which will lead to accessibility violations.
|
|
7681
7691
|
*/
|
|
7682
7692
|
title?: string | PropertyBindingInfo;
|
|
7683
7693
|
|
package/types/sap.viz.d.ts
CHANGED
package/types/sap.zen.dsh.d.ts
CHANGED