@sapui5/ts-types 1.104.1 → 1.105.1
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 +2 -2
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +829 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +2 -2
- package/types/sap.fe.macros.d.ts +8 -4
- package/types/sap.fe.navigation.d.ts +53 -5
- package/types/sap.fe.templates.d.ts +2 -2
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +66 -54
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +197 -47
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +68 -3
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +122 -179
- package/types/sap.sac.grid.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +97 -6
- 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 +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 +73 -22
- package/types/sap.ui.core.d.ts +195 -43
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +3 -3
- package/types/sap.ui.fl.d.ts +1117 -5
- package/types/sap.ui.generic.app.d.ts +9 -10
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +59 -7
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +3 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +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 +51 -4
- 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 +272 -19
- 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 +209 -16
- package/types/sap.ui.webc.main.d.ts +524 -62
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +6 -8
- package/types/sap.ushell_abap.d.ts +1 -215
- 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.105.1
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ushell {
|
|
@@ -850,7 +850,7 @@ declare namespace sap {
|
|
|
850
850
|
* of the currently running app (but still in scope of the current Fiori launchpad) or create links to such
|
|
851
851
|
* external targets.
|
|
852
852
|
*
|
|
853
|
-
* To use the CrossApplicationNavigation service you can
|
|
853
|
+
* To use the CrossApplicationNavigation service you can retrieve an instance via ushell's Container:
|
|
854
854
|
* ```javascript
|
|
855
855
|
*
|
|
856
856
|
* sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then(function (CrossApplicationNavigationService) {
|
|
@@ -1016,7 +1016,7 @@ declare namespace sap {
|
|
|
1016
1016
|
* // Possible values are:
|
|
1017
1017
|
* // - "intent" (default) lexicographical sort on returned 'intent' field
|
|
1018
1018
|
* // - "text" lexicographical sort on returned 'text' field
|
|
1019
|
-
* // - "priority"
|
|
1019
|
+
* // - "priority" experimental - top intents are returned first
|
|
1020
1020
|
*
|
|
1021
1021
|
* treatTechHintAsFilter : true, // optional, defaults to false
|
|
1022
1022
|
* // if true, only apps that match
|
|
@@ -1603,7 +1603,7 @@ declare namespace sap {
|
|
|
1603
1603
|
toExternal(
|
|
1604
1604
|
/**
|
|
1605
1605
|
* A configuration object describing the navigation target. The navigation target can be provided as its
|
|
1606
|
-
* separate aspects like semantic object, action,
|
|
1606
|
+
* separate aspects like semantic object, action, parameters etc. in separate members of the configuration
|
|
1607
1607
|
* object.
|
|
1608
1608
|
*
|
|
1609
1609
|
* **Note:** Parameter values can contain special characters and must be provided unencoded; the function
|
|
@@ -1656,7 +1656,7 @@ declare namespace sap {
|
|
|
1656
1656
|
*
|
|
1657
1657
|
*
|
|
1658
1658
|
* Alternatively a `shellHash` can be provided that includes already all aspects of the navigation target:
|
|
1659
|
-
* semantic object, action, intent
|
|
1659
|
+
* semantic object, action, intent parameters, app-specific route (including app parameters)
|
|
1660
1660
|
*
|
|
1661
1661
|
* **Note:** While parameters need to be url-encoded once when used in the `shellHash` the app specific
|
|
1662
1662
|
* route must not be encoded.
|
|
@@ -1675,7 +1675,7 @@ declare namespace sap {
|
|
|
1675
1675
|
* To navigate to the homepage of the Fiori launchpad, navigate to `{target: {shellHash: "#"}}`. Do not
|
|
1676
1676
|
* use "#Shell-home" or "Shell-home" to navigate to!
|
|
1677
1677
|
*
|
|
1678
|
-
* To provide a complex
|
|
1678
|
+
* To provide a complex parameter structure to a target app the pseudo parameter `sap-xapp-state-data` can
|
|
1679
1679
|
* be used.
|
|
1680
1680
|
*
|
|
1681
1681
|
* Example:
|
|
@@ -11440,8 +11440,6 @@ declare namespace sap {
|
|
|
11440
11440
|
|
|
11441
11441
|
"sap/ushell/services/LaunchPage": undefined;
|
|
11442
11442
|
|
|
11443
|
-
"sap/ushell/services/Menu": undefined;
|
|
11444
|
-
|
|
11445
11443
|
"sap/ushell/services/Message": undefined;
|
|
11446
11444
|
|
|
11447
11445
|
"sap/ushell/services/NavTargetResolution": undefined;
|
|
@@ -1,221 +1,7 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.105.1
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
|
-
namespace ui {
|
|
5
|
-
/**
|
|
6
|
-
* Provides access to UI5 loader configuration.
|
|
7
|
-
*
|
|
8
|
-
* The configuration is used by {@link sap.ui.require} and {@link sap.ui.define}.
|
|
9
|
-
*/
|
|
10
|
-
namespace loader {
|
|
11
|
-
/**
|
|
12
|
-
* @SINCE 1.56.0
|
|
13
|
-
*
|
|
14
|
-
* Sets the configuration for the UI5 loader. The configuration can be updated multiple times. Later changes
|
|
15
|
-
* do not impact modules that have been loaded before.
|
|
16
|
-
*
|
|
17
|
-
* If no parameter is given, a partial copy of UI5 loader configuration in use is returned.
|
|
18
|
-
*
|
|
19
|
-
* The configuration options are aligned with the "Common Config" draft of the AMD spec (https://github.com/amdjs/amdjs-api/blob/master/CommonConfig.md).
|
|
20
|
-
*
|
|
21
|
-
* The following code shows an example of what a UI5 loader configuration might look like:
|
|
22
|
-
* ```javascript
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* sap.ui.loader.config({
|
|
26
|
-
*
|
|
27
|
-
* // location from where to load all modules by default
|
|
28
|
-
* baseUrl: '../../resources/',
|
|
29
|
-
*
|
|
30
|
-
* paths: {
|
|
31
|
-
* // load modules whose ID equals to or starts with 'my/module' from example.com
|
|
32
|
-
* 'my/module': 'https://example.com/resources/my/module'
|
|
33
|
-
* },
|
|
34
|
-
*
|
|
35
|
-
* map: {
|
|
36
|
-
* // if any module requires 'sinon', load module 'sap/ui/thirdparty/sinon-4'
|
|
37
|
-
* '*': {
|
|
38
|
-
* 'sinon': 'sap/ui/thirdparty/sinon-4'
|
|
39
|
-
* },
|
|
40
|
-
* // but if a module whose ID equals to or starts with 'app' requires 'sinon'
|
|
41
|
-
* // then load a legacy version instead
|
|
42
|
-
* "app": {
|
|
43
|
-
* 'sinon': 'sap/ui/legacy/sinon'
|
|
44
|
-
* }
|
|
45
|
-
* },
|
|
46
|
-
*
|
|
47
|
-
* // define two bundles that consists of JS modules only
|
|
48
|
-
* bundles: {
|
|
49
|
-
* bundle1: ['module1', 'module2'],
|
|
50
|
-
* bundle2: ['moduleX', 'moduleY']
|
|
51
|
-
* },
|
|
52
|
-
*
|
|
53
|
-
* // define a bundle that also contains non-JS resources
|
|
54
|
-
* bundlesUI5: {
|
|
55
|
-
* 'all.js': ['Component.js', 'manifest.json',
|
|
56
|
-
* 'App.controller.js', 'App.view.xml']
|
|
57
|
-
* },
|
|
58
|
-
*
|
|
59
|
-
* // activate real async loading and module definitions
|
|
60
|
-
* async: true,
|
|
61
|
-
*
|
|
62
|
-
* // provide dependency and export metadata for non-UI5 modules
|
|
63
|
-
* shim: {
|
|
64
|
-
* 'sap/ui/thirdparty/blanket': {
|
|
65
|
-
* amd: true,
|
|
66
|
-
* exports: 'blanket'
|
|
67
|
-
* }
|
|
68
|
-
* }
|
|
69
|
-
*
|
|
70
|
-
* });
|
|
71
|
-
*
|
|
72
|
-
* ```
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* @returns UI5 loader configuration in use.
|
|
76
|
-
*/
|
|
77
|
-
function config(
|
|
78
|
-
/**
|
|
79
|
-
* The provided configuration gets merged with the UI5 loader configuration in use. If `cfg` is omitted
|
|
80
|
-
* or `undefined`, a copy of the current configuration gets returned, containing at least the properties
|
|
81
|
-
* `amd` and `async`.
|
|
82
|
-
*/
|
|
83
|
-
cfg?: {
|
|
84
|
-
/**
|
|
85
|
-
* Default location to load modules from. If none of the configured `paths` prefixes matches a module ID,
|
|
86
|
-
* the module will be loaded from the concatenation of the `baseUrl` and the module ID.
|
|
87
|
-
*
|
|
88
|
-
* If the `baseUrl` itself is a relative URL, it is evaluated relative to `document.baseURI`.
|
|
89
|
-
*/
|
|
90
|
-
baseUrl?: string;
|
|
91
|
-
/**
|
|
92
|
-
* A map of resource locations keyed by a corresponding module ID prefix. When a module is to be loaded,
|
|
93
|
-
* the longest key in `paths` is searched that is a prefix of the module ID. The module will be loaded from
|
|
94
|
-
* the concatenation of the corresponding value in `paths` and the remainder of the module ID (after the
|
|
95
|
-
* prefix). If no entry in `paths` matches, then the module will be loaded from the `baseUrl`.
|
|
96
|
-
*
|
|
97
|
-
* The prefixes (keys) must not contain relative segments (./ or ../), a trailing slash will be removed,
|
|
98
|
-
* and only full name segment matches are considered a match (prefix 'sap/m' does not match a module ID
|
|
99
|
-
* 'sap/main').
|
|
100
|
-
*
|
|
101
|
-
* **Note**: In contrast to the "Common Config" of the AMD spec, the paths (values in the map) are interpreted
|
|
102
|
-
* relative to `document.baseURI`, not relative to `cfg.baseUrl`.
|
|
103
|
-
*/
|
|
104
|
-
paths?: Record<string, string>;
|
|
105
|
-
/**
|
|
106
|
-
* A map of maps that defines how to map module IDs to other module IDs (inner maps) in the context of a
|
|
107
|
-
* specific set of modules (keys of outer map).
|
|
108
|
-
*
|
|
109
|
-
* Each key of the outer map represents a module ID prefix that describes the context for which its value
|
|
110
|
-
* (inner map) has to be used. The special key `*` describes the default context which applies for any module.
|
|
111
|
-
* Only the most specific matching context will be taken into account.
|
|
112
|
-
*
|
|
113
|
-
* Each inner map maps a module ID or module ID prefix to another module ID or module ID prefix. Again,
|
|
114
|
-
* only the most specific match is taken into account and only one mapping is evaluated (the evaluation
|
|
115
|
-
* of the mappings is not done recursively).
|
|
116
|
-
*
|
|
117
|
-
* Matches are always complete matches, a prefix 'a/b/c' does not match the module ID 'a/b/com'.
|
|
118
|
-
*/
|
|
119
|
-
map?: Record<string, Record<string, string>>;
|
|
120
|
-
/**
|
|
121
|
-
* Defines additional metadata for modules for which the normal behavior of the AMD APIs is not sufficient.
|
|
122
|
-
*
|
|
123
|
-
* A typical example are scripts that don't use `define` or `sap.ui.define`, but export to a global name.
|
|
124
|
-
* With the `exports` property, one or more export names can be specified, and the loader can retrieve the
|
|
125
|
-
* exported value after executing the corresponding module. If such a module has dependencies, they can
|
|
126
|
-
* be specified in the `deps` array and are loaded and executed before executing the module.
|
|
127
|
-
*
|
|
128
|
-
* The `amd` flag of a shim is a ui5loader-specific extension of the standard AMD shims. If set, the ui5loader
|
|
129
|
-
* hides a currently active AMD loader before executing the module and restores it afterwards. Otherwise,
|
|
130
|
-
* it might miss the export of third party modules that check for an AMD loader and register with it instead
|
|
131
|
-
* of exporting to a global name. A future version of the ui5loader might ignore this flag when it acts
|
|
132
|
-
* as an AMD loader by itself.
|
|
133
|
-
*
|
|
134
|
-
* **Note:** The ui5loader does not support the `init` option described by the "Common Config" section of
|
|
135
|
-
* the AMD spec.
|
|
136
|
-
*/
|
|
137
|
-
shim?: Record<
|
|
138
|
-
string,
|
|
139
|
-
{
|
|
140
|
-
amd: boolean;
|
|
141
|
-
|
|
142
|
-
deps: string[];
|
|
143
|
-
|
|
144
|
-
exports: string | string[];
|
|
145
|
-
}
|
|
146
|
-
>;
|
|
147
|
-
/**
|
|
148
|
-
* A map of arrays that each define the modules contained in a bundle.
|
|
149
|
-
*
|
|
150
|
-
* Each key of the map represents the module ID of a bundle file. The array value represents the set of
|
|
151
|
-
* JavaScript modules (their module IDs) that are contained in the bundle.
|
|
152
|
-
*
|
|
153
|
-
* When a module is required that has not been loaded yet, and for which a containing bundle is known, that
|
|
154
|
-
* bundle will be required first. Only then the original module will be required again and usually be taken
|
|
155
|
-
* from the just loaded bundle.
|
|
156
|
-
*
|
|
157
|
-
* A bundle will be loaded asynchronously only when the loader is in asynchronous mode and when the request
|
|
158
|
-
* for the contained module originates from an asynchronous API. In all other cases, the bundle has to be
|
|
159
|
-
* loaded synchronously to fulfill API contracts.
|
|
160
|
-
*
|
|
161
|
-
* **Note:** The loader only supports one containing bundle per module. If a module is declared to be part
|
|
162
|
-
* of multiple bundles, only the last one will be taken into account.
|
|
163
|
-
*
|
|
164
|
-
* This configuration option is basically provided to be compatible with requireJS or SystemJS configuration.
|
|
165
|
-
*/
|
|
166
|
-
bundles?: Record<string, string[]>;
|
|
167
|
-
/**
|
|
168
|
-
* A map of arrays that each define the resources contained in a bundle.
|
|
169
|
-
*
|
|
170
|
-
* This is similar to `bundles`, but all strings are unified resource names including a file type extension,
|
|
171
|
-
* not only module IDs. This allows to represent more than just JavaScript modules.
|
|
172
|
-
*
|
|
173
|
-
* Each key of the map represents the resource name (in unified resource name syntax) of a bundle file.
|
|
174
|
-
* The array value represents the set of resources (also in unified resource name syntax) that are contained
|
|
175
|
-
* in the bundle. The array can contain JavaScript as well as other textual resource types (e.g. *.xml or
|
|
176
|
-
* *.json resources).
|
|
177
|
-
*
|
|
178
|
-
* When a module is required that has not been loaded yet, and for which a containing bundle is known, that
|
|
179
|
-
* bundle will be required first. Only then the original module will be required again and usually be taken
|
|
180
|
-
* from the just loaded bundle.
|
|
181
|
-
*
|
|
182
|
-
* A bundle will be loaded asynchronously only when the loader is in asynchronous mode and when the request
|
|
183
|
-
* for the contained module originates from an asynchronous API. In all other cases, the bundle has to be
|
|
184
|
-
* loaded synchronously to fulfill API contracts.
|
|
185
|
-
*
|
|
186
|
-
* **Note:** The loader only supports one containing bundle per module. If a module is declared to be part
|
|
187
|
-
* of multiple bundles, only the last one will be taken into account.
|
|
188
|
-
*
|
|
189
|
-
* **Note:** Although non-JS resources can be declared to be part of a bundle, only requests for JavaScript
|
|
190
|
-
* modules will currently trigger the loading of a bundle.
|
|
191
|
-
*/
|
|
192
|
-
bundlesUI5?: Record<string, string[]>;
|
|
193
|
-
/**
|
|
194
|
-
* When set to true, `sap.ui.require` loads modules asynchronously via script tags and `sap.ui.define` executes
|
|
195
|
-
* asynchronously. To enable this feature, it is recommended to set the attribute `data-sap-ui-async="true"`
|
|
196
|
-
* on the application bootstrap tag.
|
|
197
|
-
*
|
|
198
|
-
* **Note:** Switching back from async to sync is not supported and trying to do so will throw an `Error`
|
|
199
|
-
*/
|
|
200
|
-
async?: boolean;
|
|
201
|
-
/**
|
|
202
|
-
* When set to true, the ui5loader will overwrite the global properties `define` and `require` with its
|
|
203
|
-
* own implementations. Any previously active AMD loader will be remembered internally and can be restored
|
|
204
|
-
* by setting `amd` to false again.
|
|
205
|
-
*
|
|
206
|
-
* **Note:** Switching to the `amd` mode, the ui5loader will set `async` to true implicitly for activating
|
|
207
|
-
* asynchronous loading. Once the loading behaviour has been defined to be asynchronous, it can not be changed
|
|
208
|
-
* to synchronous behaviour again, also not via setting `amd` to false.
|
|
209
|
-
*/
|
|
210
|
-
amd?: boolean;
|
|
211
|
-
}
|
|
212
|
-
): object | undefined;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
4
|
interface IUI5DefineDependencyNames {
|
|
217
|
-
"sap/ushell_abap/bootstrap/evo/abap-dbg": undefined;
|
|
218
|
-
|
|
219
5
|
"sap/ushell_abap/library": undefined;
|
|
220
6
|
}
|
|
221
7
|
}
|
package/types/sap.uxap.d.ts
CHANGED
package/types/sap.viz.d.ts
CHANGED
package/types/sap.zen.dsh.d.ts
CHANGED