@sapui5/ts-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 +172 -99
- package/types/sap.f.d.ts +71 -528
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +300 -28
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +165 -4
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1137 -290
- 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 +181 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +356 -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 +32 -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 +403 -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 +76 -2
- package/types/sap.ui.core.d.ts +1173 -456
- 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 -265
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +357 -50
- 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 +5 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +77 -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 +390 -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 +188 -131
- 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 namespace sap {
|
|
4
4
|
/**
|
|
@@ -101,10 +101,81 @@ declare namespace sap {
|
|
|
101
101
|
|
|
102
102
|
namespace AppLifeCycle {
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Defines the current application. This object is only valid until the next application navigation. Fetch
|
|
105
|
+
* it again from the AppLifeCycle service in the appLoaded event.
|
|
105
106
|
*
|
|
106
|
-
*
|
|
107
|
-
|
|
107
|
+
* @since 1.120.0
|
|
108
|
+
*/
|
|
109
|
+
class CurrentApplication {
|
|
110
|
+
/**
|
|
111
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
112
|
+
*/
|
|
113
|
+
protected constructor();
|
|
114
|
+
/**
|
|
115
|
+
* The type of the current application.
|
|
116
|
+
*
|
|
117
|
+
* @since 1.120.0
|
|
118
|
+
*/
|
|
119
|
+
applicationType: sap.ushell.services.AppLifeCycle.ApplicationType;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Reference to component. Only available for applicationType "UI5"
|
|
123
|
+
*
|
|
124
|
+
* @since 1.120.0
|
|
125
|
+
*/
|
|
126
|
+
componentInstance: sap.ui.core.Component | null;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* `true` when root intent (normally #Shell-home) or Appfinder (#Shell-appfinder) is currently displayed.
|
|
130
|
+
*
|
|
131
|
+
* @since 1.120.0
|
|
132
|
+
*/
|
|
133
|
+
homePage: boolean;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* A function to collect the values of the given parameters
|
|
137
|
+
*
|
|
138
|
+
* @since 1.120.0
|
|
139
|
+
*
|
|
140
|
+
* @returns Resolves to an object keeping the application info parameters with values
|
|
141
|
+
*/
|
|
142
|
+
getInfo(
|
|
143
|
+
/**
|
|
144
|
+
* Array of requested parameters
|
|
145
|
+
*/
|
|
146
|
+
aParameterNames: sap.ushell.services.AppLifeCycle.AppInfoParameterName[]
|
|
147
|
+
): Promise<sap.ushell.services.AppLifeCycle.AppInfo>;
|
|
148
|
+
/**
|
|
149
|
+
* See {@link sap.ushell.services.URLParsing#parseShellHash} for details. This method is for SAP-internal
|
|
150
|
+
* use only!
|
|
151
|
+
*
|
|
152
|
+
* @since 1.120.0
|
|
153
|
+
*
|
|
154
|
+
* @returns A promise that resolves with the intent of the current application
|
|
155
|
+
*/
|
|
156
|
+
getIntent(
|
|
157
|
+
/**
|
|
158
|
+
* If set to true, the intent is extracted from the real application URL in case of a remote app
|
|
159
|
+
*/
|
|
160
|
+
bRealAppIntent: boolean
|
|
161
|
+
): Promise<sap.ushell.services.URLParsing.DecomposedHash>;
|
|
162
|
+
/**
|
|
163
|
+
* function that returns the value of a technical parameter for the given application. This method is for
|
|
164
|
+
* SAP internal usage only.
|
|
165
|
+
*
|
|
166
|
+
* @since 1.120.0
|
|
167
|
+
*
|
|
168
|
+
* @returns A promise that resolves with the value of the technical parameter
|
|
169
|
+
*/
|
|
170
|
+
getTechnicalParameter(
|
|
171
|
+
/**
|
|
172
|
+
* The name of the technical parameter
|
|
173
|
+
*/
|
|
174
|
+
sParameterName: string
|
|
175
|
+
): Promise<string>;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Enumeration of application info parameter names.
|
|
108
179
|
*
|
|
109
180
|
* @since 1.120.0
|
|
110
181
|
*/
|
|
@@ -159,9 +230,6 @@ declare namespace sap {
|
|
|
159
230
|
/**
|
|
160
231
|
* Enumeration of application types.
|
|
161
232
|
*
|
|
162
|
-
* This enum is part of the 'sap/ushell/services/AppLifeCycle' module export and must be accessed by the
|
|
163
|
-
* property 'ApplicationType'.
|
|
164
|
-
*
|
|
165
233
|
* @since 1.120.0
|
|
166
234
|
*/
|
|
167
235
|
enum ApplicationType {
|
|
@@ -187,122 +255,11 @@ declare namespace sap {
|
|
|
187
255
|
WDA = "WDA",
|
|
188
256
|
}
|
|
189
257
|
/**
|
|
190
|
-
* Defines the application info.
|
|
191
|
-
*
|
|
192
|
-
* @since 1.120.0
|
|
193
|
-
*/
|
|
194
|
-
type AppInfo = {
|
|
195
|
-
/**
|
|
196
|
-
* A human readable free form text maintained on the platform where FLP runs, and identifying the current
|
|
197
|
-
* product.
|
|
198
|
-
*/
|
|
199
|
-
productName: string;
|
|
200
|
-
/**
|
|
201
|
-
* Current FLP theme. Includes the path to the theme resources if the theme is not an sap theme (does not
|
|
202
|
-
* start with sap_)
|
|
203
|
-
*/
|
|
204
|
-
theme: string;
|
|
205
|
-
/**
|
|
206
|
-
* Current Language (BCP47 format)
|
|
207
|
-
*/
|
|
208
|
-
languageTag: string;
|
|
209
|
-
/**
|
|
210
|
-
* Intent that was used to launch the application (including parameters)
|
|
211
|
-
*/
|
|
212
|
-
appIntent: string;
|
|
213
|
-
/**
|
|
214
|
-
* ID of the framework
|
|
215
|
-
*/
|
|
216
|
-
appFrameworkId: string;
|
|
217
|
-
/**
|
|
218
|
-
* Identifier of the component that implements the base application.
|
|
219
|
-
*/
|
|
220
|
-
technicalAppComponentId: string;
|
|
221
|
-
/**
|
|
222
|
-
* Universal stable logical identifier of the application across the whole content.
|
|
223
|
-
*/
|
|
224
|
-
appId: string;
|
|
225
|
-
/**
|
|
226
|
-
* Version of the app
|
|
227
|
-
*/
|
|
228
|
-
appVersion: string;
|
|
229
|
-
/**
|
|
230
|
-
* The name of an organizational component that handles support incidents.
|
|
231
|
-
*/
|
|
232
|
-
appSupportInfo: string;
|
|
233
|
-
/**
|
|
234
|
-
* Version of the framework
|
|
235
|
-
*/
|
|
236
|
-
appFrameworkVersion: string;
|
|
237
|
-
/**
|
|
238
|
-
* The FLP URL with the current hash included.
|
|
239
|
-
*/
|
|
240
|
-
url: string;
|
|
241
|
-
};
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Defines the current application.
|
|
245
|
-
*
|
|
246
|
-
* @since 1.120.0
|
|
247
|
-
*/
|
|
248
|
-
type CurrentApplication = {
|
|
249
|
-
/**
|
|
250
|
-
* The type of the current application.
|
|
251
|
-
*/
|
|
252
|
-
applicationType: sap.ushell.services.AppLifeCycle.ApplicationType;
|
|
253
|
-
/**
|
|
254
|
-
* reference to component (only for applicationType "UI5")
|
|
255
|
-
*/
|
|
256
|
-
componentInstance?: sap.ui.core.Component;
|
|
257
|
-
/**
|
|
258
|
-
* `true` when root intent (normally #Shell-home) or Appfinder (#Shell-appfinder) is currently displayed.
|
|
259
|
-
*/
|
|
260
|
-
homePage: boolean;
|
|
261
|
-
/**
|
|
262
|
-
* function that returns the value of a technical parameter for the given application. This method is for
|
|
263
|
-
* SAP internal usage only.
|
|
264
|
-
*/
|
|
265
|
-
getTechnicalParameter: Function;
|
|
266
|
-
/**
|
|
267
|
-
* See {@link sap.ushell.services.URLParsing#parseShellHash} for details. This property is for SAP-internal
|
|
268
|
-
* use only!
|
|
269
|
-
*/
|
|
270
|
-
getIntent: () => Promise<sap.ushell.services.AppLifeCycle.Intent>;
|
|
271
|
-
/**
|
|
272
|
-
* provides the values of the given parameters.
|
|
273
|
-
*/
|
|
274
|
-
getInfo: (
|
|
275
|
-
p1: sap.ushell.services.AppLifeCycle.AppInfoParameterName[]
|
|
276
|
-
) => Promise<sap.ushell.services.AppLifeCycle.AppInfo>;
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* Defines an intent. See {@link sap.ushell.services.URLParsing#parseShellHash} for details.
|
|
258
|
+
* Defines the application info. Key-value pairs of application info parameters and their values.
|
|
281
259
|
*
|
|
282
260
|
* @since 1.120.0
|
|
283
261
|
*/
|
|
284
|
-
type
|
|
285
|
-
/**
|
|
286
|
-
* The semantic object of the intent.
|
|
287
|
-
*/
|
|
288
|
-
semanticObject: string;
|
|
289
|
-
/**
|
|
290
|
-
* The action of the intent.
|
|
291
|
-
*/
|
|
292
|
-
action: string;
|
|
293
|
-
/**
|
|
294
|
-
* The raw context of the intent.
|
|
295
|
-
*/
|
|
296
|
-
contextRaw: string;
|
|
297
|
-
/**
|
|
298
|
-
* The parameters of the intent.
|
|
299
|
-
*/
|
|
300
|
-
params: Record<string, string[]>;
|
|
301
|
-
/**
|
|
302
|
-
* The app specific route of the intent.
|
|
303
|
-
*/
|
|
304
|
-
appSpecificRoute: string;
|
|
305
|
-
};
|
|
262
|
+
type AppInfo = Record<string, any>;
|
|
306
263
|
}
|
|
307
264
|
|
|
308
265
|
namespace Bookmark {
|
|
@@ -528,6 +485,8 @@ declare namespace sap {
|
|
|
528
485
|
/**
|
|
529
486
|
* Shows the item for the current application. The item will be hidden after the user navigates away from
|
|
530
487
|
* this application. The item will not be added again if the user navigates back to the application.
|
|
488
|
+
* Exception: Apps which are using the keep alive feature. There the visibility is restored together with
|
|
489
|
+
* the app.
|
|
531
490
|
*
|
|
532
491
|
* @since 1.120.0
|
|
533
492
|
*
|
|
@@ -646,6 +605,8 @@ declare namespace sap {
|
|
|
646
605
|
/**
|
|
647
606
|
* Shows the item for the current application. The item will be hidden after the user navigates away from
|
|
648
607
|
* this application. The item will not be added again if the user navigates back to the application.
|
|
608
|
+
* Exception: Apps which are using the keep alive feature. There the visibility is restored together with
|
|
609
|
+
* the app.
|
|
649
610
|
*
|
|
650
611
|
* @since 1.124.0
|
|
651
612
|
*
|
|
@@ -905,7 +866,7 @@ declare namespace sap {
|
|
|
905
866
|
* How the matching links should be sorted. Possible Values:
|
|
906
867
|
* - `"intent"` lexicographical sort on returned 'intent' field
|
|
907
868
|
* - `"text"` lexicographical sort on returned 'text' field
|
|
908
|
-
* - `"priority"`
|
|
869
|
+
* - `"priority"` top intents are returned first
|
|
909
870
|
*/
|
|
910
871
|
sortResultsBy?: string;
|
|
911
872
|
/**
|
|
@@ -3751,7 +3712,7 @@ declare namespace sap {
|
|
|
3751
3712
|
* // Possible values are:
|
|
3752
3713
|
* // - "intent" (default) lexicographical sort on returned 'intent' field
|
|
3753
3714
|
* // - "text" lexicographical sort on returned 'text' field
|
|
3754
|
-
* // - "priority"
|
|
3715
|
+
* // - "priority" top intents are returned first
|
|
3755
3716
|
*
|
|
3756
3717
|
* treatTechHintAsFilter : true, // optional, defaults to false.
|
|
3757
3718
|
* // if true, only apps that match exactly the supplied technology (e.g. sap-ui-tech-hint=WDA) will be considered.
|
|
@@ -4847,8 +4808,10 @@ declare namespace sap {
|
|
|
4847
4808
|
* The `controlType` can be any control and is by default a {@link sap.m.Bar}. The `controlProperties` are
|
|
4848
4809
|
* passed to the constructor of the control.
|
|
4849
4810
|
*
|
|
4850
|
-
* **Note:** Only one footer is displayed at once. Any new footer will replace the previous one **
|
|
4851
|
-
*
|
|
4811
|
+
* **Note:** Only one footer is displayed at once. Any new footer will replace the previous one **Note:**
|
|
4812
|
+
* As several application views can provide own footer's, usage can result in a non aria complained HTML
|
|
4813
|
+
* structure. Two 'footer' tags will be present in the HTML structure which ends in an invalid accessibility
|
|
4814
|
+
* state. **Restriction:** NOT available for apps running in an iframe
|
|
4852
4815
|
*
|
|
4853
4816
|
* @since 1.124.0
|
|
4854
4817
|
*
|
|
@@ -8775,6 +8738,7 @@ declare namespace sap {
|
|
|
8775
8738
|
* An enumeration for the application work protect mode state.
|
|
8776
8739
|
*
|
|
8777
8740
|
* @since 1.90.0
|
|
8741
|
+
* @deprecated As of version 1.146. the concept has been abandoned.
|
|
8778
8742
|
*/
|
|
8779
8743
|
type DirtyState = {
|
|
8780
8744
|
/**
|
|
@@ -8792,6 +8756,83 @@ declare namespace sap {
|
|
|
8792
8756
|
};
|
|
8793
8757
|
}
|
|
8794
8758
|
|
|
8759
|
+
namespace navigation {
|
|
8760
|
+
/**
|
|
8761
|
+
* Module that stores the dirty state of the application.
|
|
8762
|
+
*
|
|
8763
|
+
* @since 1.146.0
|
|
8764
|
+
*/
|
|
8765
|
+
interface DirtyState {
|
|
8766
|
+
/**
|
|
8767
|
+
* Deregister the work protection dirty callback function. See registerDirtyStateProvider for more information.
|
|
8768
|
+
* Only the last registered function will be deregistered (in case it was registered multiple times).
|
|
8769
|
+
*
|
|
8770
|
+
* @since 1.146.0
|
|
8771
|
+
*/
|
|
8772
|
+
deregisterDirtyStateProvider(
|
|
8773
|
+
/**
|
|
8774
|
+
* function for determining the state of the application
|
|
8775
|
+
*/
|
|
8776
|
+
fnDirty: () => boolean
|
|
8777
|
+
): void;
|
|
8778
|
+
/**
|
|
8779
|
+
* If the dirty state was set to 'false' using 'setDirtyFlag' the registered dirty state provider methods
|
|
8780
|
+
* get called to determine the actual dirty state. The determined dirty state is then returned.
|
|
8781
|
+
*
|
|
8782
|
+
* However, if the dirty state was previously set to 'true' using 'setDirtyFlag' the registered dirty state
|
|
8783
|
+
* provider methods are ignored and the function simply returns 'true'.
|
|
8784
|
+
*
|
|
8785
|
+
* @since 1.146.0
|
|
8786
|
+
*
|
|
8787
|
+
* @returns The value of the dirty flag or the determined dirty state returned by the dirty state providers.
|
|
8788
|
+
*/
|
|
8789
|
+
getDirtyFlag(): Promise<boolean>;
|
|
8790
|
+
/**
|
|
8791
|
+
* Register the work protection dirty callback function. In the work protect mechanism, each platform can
|
|
8792
|
+
* register their own method in order to check if data was changed during the session, and notify the container
|
|
8793
|
+
* about the change. Registering multiple times the same function is allowed.
|
|
8794
|
+
*
|
|
8795
|
+
* Use `Function.prototype.bind()` to determine the callback's `this` or some of its arguments.
|
|
8796
|
+
*
|
|
8797
|
+
* Note that registered callback functions are not automatically de-registered when an application is closed.
|
|
8798
|
+
* Use {@link sap.ushell.navigation.DirtyState.deregisterDirtyStateProvider} to de-register the callback
|
|
8799
|
+
* function.
|
|
8800
|
+
*
|
|
8801
|
+
* @since 1.146.0
|
|
8802
|
+
*/
|
|
8803
|
+
registerDirtyStateProvider(
|
|
8804
|
+
/**
|
|
8805
|
+
* Function for determining the state of the application. The callback is used to determine the current
|
|
8806
|
+
* dirty state during a navigation. The function must return a boolean which determines if the current application
|
|
8807
|
+
* is dirty or not. If `true` is returned the end user is prompted with a dialog where they need to confirm
|
|
8808
|
+
* the potential data loss. The callback is called with a navigation context as its first parameter which
|
|
8809
|
+
* can be used to determine the dirty state:
|
|
8810
|
+
* ```javascript
|
|
8811
|
+
*
|
|
8812
|
+
* {
|
|
8813
|
+
* isCrossAppNavigation: true, // Boolean which indicates if the navigation is inner app or across two different applications.
|
|
8814
|
+
* innerAppRoute: "&/SalesOrder/11" // If it is an inner app navigation, it describes the inner app route.
|
|
8815
|
+
* }
|
|
8816
|
+
* ```
|
|
8817
|
+
*/
|
|
8818
|
+
fnDirty: () => boolean
|
|
8819
|
+
): void;
|
|
8820
|
+
/**
|
|
8821
|
+
* Setter for the isDirty flag value.
|
|
8822
|
+
*
|
|
8823
|
+
* @since 1.146.0
|
|
8824
|
+
*
|
|
8825
|
+
* @returns Resolves when the dirty flag is set.
|
|
8826
|
+
*/
|
|
8827
|
+
setDirtyFlag(
|
|
8828
|
+
/**
|
|
8829
|
+
* The value of the dirty flag.
|
|
8830
|
+
*/
|
|
8831
|
+
bIsDirty?: boolean
|
|
8832
|
+
): Promise<undefined>;
|
|
8833
|
+
}
|
|
8834
|
+
}
|
|
8835
|
+
|
|
8795
8836
|
namespace renderers {
|
|
8796
8837
|
namespace fiori2 {
|
|
8797
8838
|
/**
|
|
@@ -9571,8 +9612,7 @@ declare namespace sap {
|
|
|
9571
9612
|
*/
|
|
9572
9613
|
onCancel: Function;
|
|
9573
9614
|
/**
|
|
9574
|
-
*
|
|
9575
|
-
* header.
|
|
9615
|
+
* Set this value to true if you want that your content is displayed without the standard header.
|
|
9576
9616
|
*/
|
|
9577
9617
|
provideEmptyWrapper: boolean;
|
|
9578
9618
|
},
|
|
@@ -12552,6 +12592,10 @@ declare namespace sap {
|
|
|
12552
12592
|
* The press handler function.
|
|
12553
12593
|
*/
|
|
12554
12594
|
press?: Function;
|
|
12595
|
+
/**
|
|
12596
|
+
* The tooltip used for the ShellHEadItem.
|
|
12597
|
+
*/
|
|
12598
|
+
tooltip?: string;
|
|
12555
12599
|
};
|
|
12556
12600
|
}
|
|
12557
12601
|
/**
|
|
@@ -13499,6 +13543,7 @@ declare namespace sap {
|
|
|
13499
13543
|
* An enumeration for the application work protect mode state.
|
|
13500
13544
|
*
|
|
13501
13545
|
* @since 1.21.1
|
|
13546
|
+
* @deprecated As of version 1.146. the concept has been abandoned.
|
|
13502
13547
|
*/
|
|
13503
13548
|
DirtyState: sap.ushell.Container.DirtyState;
|
|
13504
13549
|
|
|
@@ -13534,7 +13579,7 @@ declare namespace sap {
|
|
|
13534
13579
|
* Attaches a listener to the rendererCreated event.
|
|
13535
13580
|
*
|
|
13536
13581
|
* @since 1.34.1
|
|
13537
|
-
* @deprecated As of version 1.
|
|
13582
|
+
* @deprecated As of version 1.146. the concept has been abandoned.
|
|
13538
13583
|
*/
|
|
13539
13584
|
attachRendererCreatedEvent(
|
|
13540
13585
|
/**
|
|
@@ -13600,6 +13645,7 @@ declare namespace sap {
|
|
|
13600
13645
|
* Only the last registered function will be deregistered (in case it was registered multiple times).
|
|
13601
13646
|
*
|
|
13602
13647
|
* @since 1.67.0
|
|
13648
|
+
* @deprecated As of version 1.146. replaced by {@link sap.ushell.navigation.DirtyState#deregisterDirtyStateProvider}.
|
|
13603
13649
|
*/
|
|
13604
13650
|
deregisterDirtyStateProvider(
|
|
13605
13651
|
/**
|
|
@@ -13622,7 +13668,7 @@ declare namespace sap {
|
|
|
13622
13668
|
* Detaches a listener from the rendererCreated event.
|
|
13623
13669
|
*
|
|
13624
13670
|
* @since 1.34.1
|
|
13625
|
-
* @deprecated As of version 1.
|
|
13671
|
+
* @deprecated As of version 1.146. the concept has been abandoned.
|
|
13626
13672
|
*/
|
|
13627
13673
|
detachRendererCreatedEvent(
|
|
13628
13674
|
/**
|
|
@@ -13638,7 +13684,7 @@ declare namespace sap {
|
|
|
13638
13684
|
* provider methods are ignored and the function simply returns 'true'.
|
|
13639
13685
|
*
|
|
13640
13686
|
* @since 1.27.0
|
|
13641
|
-
* @deprecated As of version 1.120.
|
|
13687
|
+
* @deprecated As of version 1.120. replaced by {@link sap.ushell.navigation.DirtyState#getDirtyFlag}.
|
|
13642
13688
|
*
|
|
13643
13689
|
* @returns The value of the dirty flag or the determined dirty state returned by the dirty state providers.
|
|
13644
13690
|
*/
|
|
@@ -13649,7 +13695,8 @@ declare namespace sap {
|
|
|
13649
13695
|
* All open UShell browser windows for the same origin are asked about their global dirty state.
|
|
13650
13696
|
*
|
|
13651
13697
|
* @since 1.21.1
|
|
13652
|
-
* @deprecated As of version 1.120.
|
|
13698
|
+
* @deprecated As of version 1.120. the concept has been abandoned. Use {@link sap.ushell.navigation.DirtyState#getDirtyFlag }
|
|
13699
|
+
* instead.
|
|
13653
13700
|
*
|
|
13654
13701
|
* @returns Resolves the dirty state (see {@link sap.ushell.Container.DirtyState}).
|
|
13655
13702
|
*/
|
|
@@ -13834,6 +13881,7 @@ declare namespace sap {
|
|
|
13834
13881
|
* Use `Function.prototype.bind()` to determine the callback's `this` or some of its arguments.
|
|
13835
13882
|
*
|
|
13836
13883
|
* @since 1.31.0
|
|
13884
|
+
* @deprecated As of version 1.146. replaced by {@link sap.ushell.navigation.DirtyState#registerDirtyStateProvider}.
|
|
13837
13885
|
*/
|
|
13838
13886
|
registerDirtyStateProvider(
|
|
13839
13887
|
/**
|
|
@@ -13845,7 +13893,7 @@ declare namespace sap {
|
|
|
13845
13893
|
* ```javascript
|
|
13846
13894
|
*
|
|
13847
13895
|
* {
|
|
13848
|
-
* isCrossAppNavigation: true, // Boolean which indicates if the navigation is inner app
|
|
13896
|
+
* isCrossAppNavigation: true, // Boolean which indicates if the navigation is inner app or across two different applications.
|
|
13849
13897
|
* innerAppRoute: "&/SalesOrder/11" // If it is an inner app navigation, it describes the inner app route.
|
|
13850
13898
|
* }
|
|
13851
13899
|
* ```
|
|
@@ -13858,6 +13906,7 @@ declare namespace sap {
|
|
|
13858
13906
|
* Default value is false
|
|
13859
13907
|
*
|
|
13860
13908
|
* @since 1.27.0
|
|
13909
|
+
* @deprecated As of version 1.146. replaced by {@link sap.ushell.navigation.DirtyState#setDirtyFlag}.
|
|
13861
13910
|
*/
|
|
13862
13911
|
setDirtyFlag(
|
|
13863
13912
|
/**
|
|
@@ -14007,6 +14056,8 @@ declare namespace sap {
|
|
|
14007
14056
|
|
|
14008
14057
|
"sap/ushell/modules/Search/SearchProvider": undefined;
|
|
14009
14058
|
|
|
14059
|
+
"sap/ushell/navigation/DirtyState": undefined;
|
|
14060
|
+
|
|
14010
14061
|
"sap/ushell/renderer/ShellLayout": undefined;
|
|
14011
14062
|
|
|
14012
14063
|
"sap/ushell/renderers/fiori2/Renderer": undefined;
|
|
@@ -14031,6 +14082,12 @@ declare namespace sap {
|
|
|
14031
14082
|
|
|
14032
14083
|
"sap/ushell/services/AppLifeCycle": undefined;
|
|
14033
14084
|
|
|
14085
|
+
"sap/ushell/services/AppLifeCycle/AppInfoParameterName": undefined;
|
|
14086
|
+
|
|
14087
|
+
"sap/ushell/services/AppLifeCycle/ApplicationType": undefined;
|
|
14088
|
+
|
|
14089
|
+
"sap/ushell/services/AppLifeCycle/CurrentApplication": undefined;
|
|
14090
|
+
|
|
14034
14091
|
"sap/ushell/services/Bookmark": undefined;
|
|
14035
14092
|
|
|
14036
14093
|
"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 namespace sap {
|
|
4
4
|
/**
|
|
@@ -1140,8 +1140,7 @@ declare namespace sap {
|
|
|
1140
1140
|
/**
|
|
1141
1141
|
* The list of Subsections.
|
|
1142
1142
|
*
|
|
1143
|
-
* Note
|
|
1144
|
-
* reasons.
|
|
1143
|
+
* **Note:** If you use multiple subsections, set a `title` for each subsection to avoid accessibility violations.
|
|
1145
1144
|
*/
|
|
1146
1145
|
subSections?:
|
|
1147
1146
|
| sap.uxap.ObjectPageSubSection[]
|
|
@@ -1173,8 +1172,12 @@ declare namespace sap {
|
|
|
1173
1172
|
* Defines the title of the respective section/subsection.
|
|
1174
1173
|
*
|
|
1175
1174
|
* **Note:** If a subsection is the only one (or the only one visible) within a section, its title is displayed
|
|
1176
|
-
* instead of the section title. This behavior is true even if the `showTitle`
|
|
1175
|
+
* instead of the section title. This behavior is true even if the `showTitle` property of {@link sap.uxap.ObjectPageSubSection }
|
|
1177
1176
|
* is set to `false`.
|
|
1177
|
+
*
|
|
1178
|
+
* **Note:** To avoid accessibility issues, always set a `title` on {@link sap.uxap.ObjectPageSubSection},
|
|
1179
|
+
* especially when a section contains multiple subsections. If no `title` is set on a subsection, the anchor
|
|
1180
|
+
* bar button popover will appear empty, which will lead to accessibility violations.
|
|
1178
1181
|
*/
|
|
1179
1182
|
title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
1180
1183
|
|
|
@@ -7099,8 +7102,7 @@ declare namespace sap {
|
|
|
7099
7102
|
*
|
|
7100
7103
|
* The list of Subsections.
|
|
7101
7104
|
*
|
|
7102
|
-
* Note
|
|
7103
|
-
* reasons.
|
|
7105
|
+
* **Note:** If you use multiple subsections, set a `title` for each subsection to avoid accessibility violations.
|
|
7104
7106
|
*/
|
|
7105
7107
|
getSubSections(): sap.uxap.ObjectPageSubSection[];
|
|
7106
7108
|
/**
|
|
@@ -7396,9 +7398,13 @@ declare namespace sap {
|
|
|
7396
7398
|
* Defines the title of the respective section/subsection.
|
|
7397
7399
|
*
|
|
7398
7400
|
* **Note:** If a subsection is the only one (or the only one visible) within a section, its title is displayed
|
|
7399
|
-
* instead of the section title. This behavior is true even if the `showTitle`
|
|
7401
|
+
* instead of the section title. This behavior is true even if the `showTitle` property of {@link sap.uxap.ObjectPageSubSection }
|
|
7400
7402
|
* is set to `false`.
|
|
7401
7403
|
*
|
|
7404
|
+
* **Note:** To avoid accessibility issues, always set a `title` on {@link sap.uxap.ObjectPageSubSection},
|
|
7405
|
+
* especially when a section contains multiple subsections. If no `title` is set on a subsection, the anchor
|
|
7406
|
+
* bar button popover will appear empty, which will lead to accessibility violations.
|
|
7407
|
+
*
|
|
7402
7408
|
*
|
|
7403
7409
|
* @returns Value of property `title`
|
|
7404
7410
|
*/
|
|
@@ -7486,9 +7492,13 @@ declare namespace sap {
|
|
|
7486
7492
|
* Defines the title of the respective section/subsection.
|
|
7487
7493
|
*
|
|
7488
7494
|
* **Note:** If a subsection is the only one (or the only one visible) within a section, its title is displayed
|
|
7489
|
-
* instead of the section title. This behavior is true even if the `showTitle`
|
|
7495
|
+
* instead of the section title. This behavior is true even if the `showTitle` property of {@link sap.uxap.ObjectPageSubSection }
|
|
7490
7496
|
* is set to `false`.
|
|
7491
7497
|
*
|
|
7498
|
+
* **Note:** To avoid accessibility issues, always set a `title` on {@link sap.uxap.ObjectPageSubSection},
|
|
7499
|
+
* especially when a section contains multiple subsections. If no `title` is set on a subsection, the anchor
|
|
7500
|
+
* bar button popover will appear empty, which will lead to accessibility violations.
|
|
7501
|
+
*
|
|
7492
7502
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7493
7503
|
*
|
|
7494
7504
|
*
|
package/types/sap.viz.d.ts
CHANGED
package/types/sap.zen.dsh.d.ts
CHANGED