@openui5/ts-types 1.96.0 → 1.96.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.m.d.ts +74 -9
- package/types/sap.tnt.d.ts +31 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +27 -28
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.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 +6 -6
- 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 +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- 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.uxap.d.ts +1 -1
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* Copyright 2009-
|
|
3
|
+
* Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
* you may not use this file except in compliance with the License.
|
package/types/sap.f.d.ts
CHANGED
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.96.
|
|
1
|
+
// For Library Version: 1.96.4
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -13771,6 +13771,14 @@ declare namespace sap {
|
|
|
13771
13771
|
*/
|
|
13772
13772
|
value?: sap.m.ObjectNumber;
|
|
13773
13773
|
|
|
13774
|
+
/**
|
|
13775
|
+
* @SINCE 1.96.4
|
|
13776
|
+
*
|
|
13777
|
+
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledBy). Note:
|
|
13778
|
+
* This is a downported feature introduced in version 1.97.0.
|
|
13779
|
+
*/
|
|
13780
|
+
ariaLabelledBy?: Array<sap.ui.core.Control | string>;
|
|
13781
|
+
|
|
13774
13782
|
/**
|
|
13775
13783
|
* Fired when the user clicks/taps on the control.
|
|
13776
13784
|
*/
|
|
@@ -13915,6 +13923,13 @@ declare namespace sap {
|
|
|
13915
13923
|
| boolean
|
|
13916
13924
|
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
13917
13925
|
|
|
13926
|
+
/**
|
|
13927
|
+
* @EXPERIMENTAL (since 1.96)
|
|
13928
|
+
*
|
|
13929
|
+
* Disables press event for the tile control.
|
|
13930
|
+
*/
|
|
13931
|
+
pressEnabled?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
13932
|
+
|
|
13918
13933
|
/**
|
|
13919
13934
|
* @EXPERIMENTAL (since 1.96)
|
|
13920
13935
|
*
|
|
@@ -17155,6 +17170,9 @@ declare namespace sap {
|
|
|
17155
17170
|
/**
|
|
17156
17171
|
* Determines the alternative text of the `ObjectHeader` icon. The text is displayed if the image for the
|
|
17157
17172
|
* icon is not available, or cannot be displayed.
|
|
17173
|
+
*
|
|
17174
|
+
* **Note:** Provide an empty string value for the `iconAlt` property in case you want to use the icon for
|
|
17175
|
+
* decoration only.
|
|
17158
17176
|
*/
|
|
17159
17177
|
iconAlt?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
17160
17178
|
|
|
@@ -44049,6 +44067,17 @@ declare namespace sap {
|
|
|
44049
44067
|
* Returns a metadata object for class sap.m.GenericTag.
|
|
44050
44068
|
*/
|
|
44051
44069
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
44070
|
+
/**
|
|
44071
|
+
* @SINCE 1.96.4
|
|
44072
|
+
*
|
|
44073
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
44074
|
+
*/
|
|
44075
|
+
addAriaLabelledBy(
|
|
44076
|
+
/**
|
|
44077
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
44078
|
+
*/
|
|
44079
|
+
vAriaLabelledBy: sap.ui.core.ID | sap.ui.core.Control
|
|
44080
|
+
): this;
|
|
44052
44081
|
/**
|
|
44053
44082
|
* Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.GenericTag`.
|
|
44054
44083
|
*
|
|
@@ -44118,6 +44147,13 @@ declare namespace sap {
|
|
|
44118
44147
|
*/
|
|
44119
44148
|
mParameters?: object
|
|
44120
44149
|
): this;
|
|
44150
|
+
/**
|
|
44151
|
+
* @SINCE 1.96.4
|
|
44152
|
+
*
|
|
44153
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
44154
|
+
* ariaLabelledBy}.
|
|
44155
|
+
*/
|
|
44156
|
+
getAriaLabelledBy(): sap.ui.core.ID[];
|
|
44121
44157
|
/**
|
|
44122
44158
|
* Gets current value of property {@link #getDesign design}.
|
|
44123
44159
|
*
|
|
@@ -44164,6 +44200,23 @@ declare namespace sap {
|
|
|
44164
44200
|
* Default value is `None`.
|
|
44165
44201
|
*/
|
|
44166
44202
|
getValueState(): sap.m.GenericTagValueState;
|
|
44203
|
+
/**
|
|
44204
|
+
* @SINCE 1.96.4
|
|
44205
|
+
*
|
|
44206
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
44207
|
+
*/
|
|
44208
|
+
removeAllAriaLabelledBy(): sap.ui.core.ID[];
|
|
44209
|
+
/**
|
|
44210
|
+
* @SINCE 1.96.4
|
|
44211
|
+
*
|
|
44212
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
44213
|
+
*/
|
|
44214
|
+
removeAriaLabelledBy(
|
|
44215
|
+
/**
|
|
44216
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
44217
|
+
*/
|
|
44218
|
+
vAriaLabelledBy: int | sap.ui.core.ID | sap.ui.core.Control
|
|
44219
|
+
): sap.ui.core.ID;
|
|
44167
44220
|
/**
|
|
44168
44221
|
* Sets a new value for property {@link #getDesign design}.
|
|
44169
44222
|
*
|
|
@@ -44581,6 +44634,16 @@ declare namespace sap {
|
|
|
44581
44634
|
* Text for navigate action button. Default Value is "Read More". Works only in ArticleMode.
|
|
44582
44635
|
*/
|
|
44583
44636
|
getNavigationButtonText(): string;
|
|
44637
|
+
/**
|
|
44638
|
+
* @EXPERIMENTAL (since 1.96)
|
|
44639
|
+
*
|
|
44640
|
+
* Gets current value of property {@link #getPressEnabled pressEnabled}.
|
|
44641
|
+
*
|
|
44642
|
+
* Disables press event for the tile control.
|
|
44643
|
+
*
|
|
44644
|
+
* Default value is `true`.
|
|
44645
|
+
*/
|
|
44646
|
+
getPressEnabled(): boolean;
|
|
44584
44647
|
/**
|
|
44585
44648
|
* @SINCE 1.46.0
|
|
44586
44649
|
*
|
|
@@ -51316,6 +51379,10 @@ declare namespace sap {
|
|
|
51316
51379
|
* Defines the value of the control.
|
|
51317
51380
|
*/
|
|
51318
51381
|
getValue(): string;
|
|
51382
|
+
/**
|
|
51383
|
+
* Gets the value of the accessibility description info field.
|
|
51384
|
+
*/
|
|
51385
|
+
getValueDescriptionInfo(): string;
|
|
51319
51386
|
/**
|
|
51320
51387
|
* Gets current value of property {@link #getValueState valueState}.
|
|
51321
51388
|
*
|
|
@@ -64906,6 +64973,9 @@ declare namespace sap {
|
|
|
64906
64973
|
*
|
|
64907
64974
|
* Determines the alternative text of the `ObjectHeader` icon. The text is displayed if the image for the
|
|
64908
64975
|
* icon is not available, or cannot be displayed.
|
|
64976
|
+
*
|
|
64977
|
+
* **Note:** Provide an empty string value for the `iconAlt` property in case you want to use the icon for
|
|
64978
|
+
* decoration only.
|
|
64909
64979
|
*/
|
|
64910
64980
|
getIconAlt(): string;
|
|
64911
64981
|
/**
|
|
@@ -65494,18 +65564,13 @@ declare namespace sap {
|
|
|
65494
65564
|
bIconActive?: boolean
|
|
65495
65565
|
): this;
|
|
65496
65566
|
/**
|
|
65497
|
-
* Sets
|
|
65498
|
-
*
|
|
65499
|
-
* Determines the alternative text of the `ObjectHeader` icon. The text is displayed if the image for the
|
|
65500
|
-
* icon is not available, or cannot be displayed.
|
|
65501
|
-
*
|
|
65502
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
65567
|
+
* Sets the alternative text of the `ObjectHeader` icon.
|
|
65503
65568
|
*/
|
|
65504
65569
|
setIconAlt(
|
|
65505
65570
|
/**
|
|
65506
|
-
*
|
|
65571
|
+
* the alternative icon text
|
|
65507
65572
|
*/
|
|
65508
|
-
sIconAlt
|
|
65573
|
+
sIconAlt: boolean
|
|
65509
65574
|
): this;
|
|
65510
65575
|
/**
|
|
65511
65576
|
* Sets a new value for property {@link #getIconDensityAware iconDensityAware}.
|
package/types/sap.tnt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.96.
|
|
1
|
+
// For Library Version: 1.96.4
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -185,6 +185,13 @@ declare namespace sap {
|
|
|
185
185
|
*/
|
|
186
186
|
selectedKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
187
187
|
|
|
188
|
+
/**
|
|
189
|
+
* @SINCE 1.96.2
|
|
190
|
+
*
|
|
191
|
+
* Specifies an optional aria-label that can be used by the screen readers.
|
|
192
|
+
*/
|
|
193
|
+
ariaLabel?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
194
|
+
|
|
188
195
|
/**
|
|
189
196
|
* Defines the content inside the flexible part.
|
|
190
197
|
*/
|
|
@@ -1349,6 +1356,14 @@ declare namespace sap {
|
|
|
1349
1356
|
item?: sap.ui.core.Item;
|
|
1350
1357
|
}
|
|
1351
1358
|
): this;
|
|
1359
|
+
/**
|
|
1360
|
+
* @SINCE 1.96.2
|
|
1361
|
+
*
|
|
1362
|
+
* Gets current value of property {@link #getAriaLabel ariaLabel}.
|
|
1363
|
+
*
|
|
1364
|
+
* Specifies an optional aria-label that can be used by the screen readers.
|
|
1365
|
+
*/
|
|
1366
|
+
getAriaLabel(): string;
|
|
1352
1367
|
/**
|
|
1353
1368
|
* Gets current value of property {@link #getExpanded expanded}.
|
|
1354
1369
|
*
|
|
@@ -1390,6 +1405,21 @@ declare namespace sap {
|
|
|
1390
1405
|
* Specifies the currently selected key.
|
|
1391
1406
|
*/
|
|
1392
1407
|
getSelectedKey(): string;
|
|
1408
|
+
/**
|
|
1409
|
+
* @SINCE 1.96.2
|
|
1410
|
+
*
|
|
1411
|
+
* Sets a new value for property {@link #getAriaLabel ariaLabel}.
|
|
1412
|
+
*
|
|
1413
|
+
* Specifies an optional aria-label that can be used by the screen readers.
|
|
1414
|
+
*
|
|
1415
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1416
|
+
*/
|
|
1417
|
+
setAriaLabel(
|
|
1418
|
+
/**
|
|
1419
|
+
* New value for property `ariaLabel`
|
|
1420
|
+
*/
|
|
1421
|
+
sAriaLabel?: string
|
|
1422
|
+
): this;
|
|
1393
1423
|
/**
|
|
1394
1424
|
* Sets if the control is in expanded or collapsed mode.
|
|
1395
1425
|
*/
|
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
|
264
264
|
): jQuery;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
// For Library Version: 1.96.
|
|
267
|
+
// For Library Version: 1.96.4
|
|
268
268
|
|
|
269
269
|
declare module "sap/base/assert" {
|
|
270
270
|
/**
|
|
@@ -16051,14 +16051,6 @@ declare namespace sap {
|
|
|
16051
16051
|
* The theming parameters are immutable and cannot be changed at runtime. Multiple `Parameters.get()`
|
|
16052
16052
|
* API calls for the same parameter name will always result in the same parameter value.
|
|
16053
16053
|
*
|
|
16054
|
-
* **Important, since 1.93:** When using the `Parameters.get()` API to retrieve theming parameters defined
|
|
16055
|
-
* as CSS variables, please be aware that the API can also unknowingly retrieve arbitrary CSS variables
|
|
16056
|
-
* defined in the DOM. All CSS variables defined via the `:root` pseudo-class can be retrieved this way.
|
|
16057
|
-
* Please make sure to only access theming parameters defined in a UI5 theme/library.
|
|
16058
|
-
*
|
|
16059
|
-
*
|
|
16060
|
-
*
|
|
16061
|
-
*
|
|
16062
16054
|
* The following API variants are available (see also the below examples):
|
|
16063
16055
|
* - **(deprecated since 1.92)** If no parameter is given a key-value map containing all parameters is
|
|
16064
16056
|
* returned
|
|
@@ -39556,10 +39548,9 @@ declare namespace sap {
|
|
|
39556
39548
|
/**
|
|
39557
39549
|
* A comma-separated list of property names that need to be selected.
|
|
39558
39550
|
* If the `select` parameter is given, it has to contain all properties that are contained in the analytical
|
|
39559
|
-
* information (see {@link sap.ui.model.analytics.AnalyticalBinding#updateAnalyticalInfo})
|
|
39560
|
-
* dimensions
|
|
39561
|
-
*
|
|
39562
|
-
* of a dimension that is also selected.
|
|
39551
|
+
* information (see {@link sap.ui.model.analytics.AnalyticalBinding#updateAnalyticalInfo}). It must not
|
|
39552
|
+
* contain additional dimensions or measures or associated properties for additional dimensions or measures.
|
|
39553
|
+
* But it may contain additional properties like a text property of a dimension that is also selected.
|
|
39563
39554
|
* All properties of the `select` parameter are also considered in {@link sap.ui.model.analytics.AnalyticalBinding#getDownloadUrl}.
|
|
39564
39555
|
* The `select` parameter must not contain any duplicate entry.
|
|
39565
39556
|
* If the `select` parameter does not fit to the analytical information or if the `select` parameter contains
|
|
@@ -39918,34 +39909,41 @@ declare namespace sap {
|
|
|
39918
39909
|
* Updates the binding's structure with new analytical information.
|
|
39919
39910
|
*
|
|
39920
39911
|
* Analytical information is the mapping of UI columns to properties in the bound OData entity set. Every
|
|
39921
|
-
* column object contains the name of the bound property and in addition:
|
|
39912
|
+
* column object contains the `name` of the bound property and in addition:
|
|
39922
39913
|
* - A column bound to a dimension property has further boolean properties:
|
|
39923
|
-
* grouped: dimension
|
|
39924
|
-
* - visible: if the column is visible, values for the related property will be fetched from the OData
|
|
39925
|
-
* service
|
|
39914
|
+
* grouped: dimension is used for building groups
|
|
39926
39915
|
* - inResult: if the column is not visible, but declared to be part of the result, values for the related
|
|
39927
|
-
* property
|
|
39916
|
+
* property are also fetched from the OData service
|
|
39917
|
+
* - visible: if the column is visible, values for the related property are fetched from the OData service
|
|
39918
|
+
*
|
|
39928
39919
|
* - A column bound to a measure property has further boolean properties:
|
|
39929
|
-
*
|
|
39920
|
+
* inResult: if the column is not visible, but declared to be part of the result, values for the related
|
|
39921
|
+
* property are also fetched from the OData service
|
|
39922
|
+
* - total: totals and sub-totals are provided for the measure at all aggregation levels
|
|
39923
|
+
* - visible: if the column is visible, values for the related property are fetched from the OData service
|
|
39930
39924
|
*
|
|
39931
39925
|
* - A column bound to a hierarchy property has further properties:
|
|
39932
|
-
* grouped: boolean value; indicates whether the hierarchy
|
|
39926
|
+
* grouped: boolean value; indicates whether the hierarchy is used for building groups
|
|
39933
39927
|
* - level: integer value; the hierarchy level is mandatory for at least one of those columns that represent
|
|
39934
|
-
* the same hierarchy
|
|
39928
|
+
* the same hierarchy
|
|
39935
39929
|
*
|
|
39936
39930
|
* Invoking this function resets the state of the binding and subsequent data requests such as calls to
|
|
39937
|
-
* getNodeContexts()
|
|
39938
|
-
*
|
|
39931
|
+
* getNodeContexts() trigger OData requests in order to fetch the data that are in line with this analytical
|
|
39932
|
+
* information.
|
|
39939
39933
|
*
|
|
39940
|
-
*
|
|
39941
|
-
*
|
|
39942
|
-
*
|
|
39934
|
+
* Be aware that a call of this function might lead to additional back-end requests, as well as a control
|
|
39935
|
+
* re-rendering later on. Whenever possible use the API of the analytical control, instead of relying on
|
|
39936
|
+
* the binding.
|
|
39943
39937
|
*/
|
|
39944
39938
|
updateAnalyticalInfo(
|
|
39945
39939
|
/**
|
|
39946
|
-
*
|
|
39940
|
+
* An array with objects holding the analytical information for every column
|
|
39941
|
+
*/
|
|
39942
|
+
aColumns: object[],
|
|
39943
|
+
/**
|
|
39944
|
+
* Whether to fire a change event asynchronously even if columns didn't change
|
|
39947
39945
|
*/
|
|
39948
|
-
|
|
39946
|
+
bForceChange: boolean
|
|
39949
39947
|
): void;
|
|
39950
39948
|
}
|
|
39951
39949
|
|
|
@@ -47688,6 +47686,7 @@ declare namespace sap {
|
|
|
47688
47686
|
isInitial(): boolean;
|
|
47689
47687
|
/**
|
|
47690
47688
|
* @SINCE 1.95.0
|
|
47689
|
+
* @deprecated (since 1.96.5)
|
|
47691
47690
|
* @EXPERIMENTAL
|
|
47692
47691
|
*
|
|
47693
47692
|
* Moves the bound entity into the given list binding. This binding loses its data. The method may only
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
package/types/sap.ui.layout.d.ts
CHANGED
package/types/sap.ui.mdc.d.ts
CHANGED
package/types/sap.ui.rta.d.ts
CHANGED
package/types/sap.ui.suite.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.96.
|
|
1
|
+
// For Library Version: 1.96.4
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -238,7 +238,7 @@ declare namespace sap {
|
|
|
238
238
|
static getType(): string;
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
|
-
* @SINCE 1.96.
|
|
241
|
+
* @SINCE 1.96.4
|
|
242
242
|
*
|
|
243
243
|
* Defines the Audiences.
|
|
244
244
|
*/
|
|
@@ -257,7 +257,7 @@ declare namespace sap {
|
|
|
257
257
|
Internal = "Internal",
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
260
|
-
* @SINCE 1.96.
|
|
260
|
+
* @SINCE 1.96.4
|
|
261
261
|
*
|
|
262
262
|
* Issue Categories.
|
|
263
263
|
*/
|
|
@@ -312,7 +312,7 @@ declare namespace sap {
|
|
|
312
312
|
Usage = "Usage",
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
|
-
* @SINCE 1.96.
|
|
315
|
+
* @SINCE 1.96.4
|
|
316
316
|
*
|
|
317
317
|
* Analysis history formats.
|
|
318
318
|
*/
|
|
@@ -327,7 +327,7 @@ declare namespace sap {
|
|
|
327
327
|
String = "String",
|
|
328
328
|
}
|
|
329
329
|
/**
|
|
330
|
-
* @SINCE 1.96.
|
|
330
|
+
* @SINCE 1.96.4
|
|
331
331
|
*
|
|
332
332
|
* Defines severity types.
|
|
333
333
|
*/
|
|
@@ -346,7 +346,7 @@ declare namespace sap {
|
|
|
346
346
|
Medium = "Medium",
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
|
-
* @SINCE 1.96.
|
|
349
|
+
* @SINCE 1.96.4
|
|
350
350
|
*
|
|
351
351
|
* Contains the available system presets.
|
|
352
352
|
*/
|
package/types/sap.ui.table.d.ts
CHANGED
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.uxap.d.ts
CHANGED