@openui5/types 1.120.1 → 1.120.2
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.f.d.ts +1 -1
- package/types/sap.m.d.ts +27 -9
- package/types/sap.tnt.d.ts +9 -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 +352 -64
- 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 +5 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +7 -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 +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/sap.f.d.ts
CHANGED
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.2
|
|
2
2
|
|
|
3
3
|
declare module "sap/f/library" {
|
|
4
4
|
export interface IShellBar {
|
|
@@ -1207,6 +1207,8 @@ declare module "sap/m/library" {
|
|
|
1207
1207
|
|
|
1208
1208
|
/**
|
|
1209
1209
|
* @since 1.21.2
|
|
1210
|
+
* @deprecated (since 1.120) - In case of SAPUI5, see demokit sample 'Smart Field with ValueList Annotation'.
|
|
1211
|
+
* In case of OpenUI5, see demokit sample 'Input - Suggestions - Dynamic'.
|
|
1210
1212
|
*
|
|
1211
1213
|
* Suggestion helper for `sap.m.Input` fields when used with an OData model.
|
|
1212
1214
|
*
|
|
@@ -13901,7 +13903,12 @@ declare module "sap/m/ColumnListItem" {
|
|
|
13901
13903
|
*
|
|
13902
13904
|
* @returns jQuery object
|
|
13903
13905
|
*/
|
|
13904
|
-
getTabbables(
|
|
13906
|
+
getTabbables(
|
|
13907
|
+
/**
|
|
13908
|
+
* Whether only tabbables of data cells
|
|
13909
|
+
*/
|
|
13910
|
+
bContentOnly?: undefined
|
|
13911
|
+
): jQuery;
|
|
13905
13912
|
/**
|
|
13906
13913
|
* @since 1.20
|
|
13907
13914
|
*
|
|
@@ -38933,7 +38940,8 @@ declare module "sap/m/Input" {
|
|
|
38933
38940
|
* Gets current value of property {@link #getEnableSuggestionsHighlighting enableSuggestionsHighlighting}.
|
|
38934
38941
|
*
|
|
38935
38942
|
* Specifies whether the suggestions highlighting is enabled. **Note:** Due to performance constraints,
|
|
38936
|
-
* the functionality will be disabled above 200 items.
|
|
38943
|
+
* the functionality will be disabled above 200 items. **Note:** Highlighting in table suggestions will
|
|
38944
|
+
* work only for cells containing sap.m.Label or sap.m.Text controls.
|
|
38937
38945
|
*
|
|
38938
38946
|
* Default value is `true`.
|
|
38939
38947
|
*
|
|
@@ -39634,7 +39642,8 @@ declare module "sap/m/Input" {
|
|
|
39634
39642
|
* Sets a new value for property {@link #getEnableSuggestionsHighlighting enableSuggestionsHighlighting}.
|
|
39635
39643
|
*
|
|
39636
39644
|
* Specifies whether the suggestions highlighting is enabled. **Note:** Due to performance constraints,
|
|
39637
|
-
* the functionality will be disabled above 200 items.
|
|
39645
|
+
* the functionality will be disabled above 200 items. **Note:** Highlighting in table suggestions will
|
|
39646
|
+
* work only for cells containing sap.m.Label or sap.m.Text controls.
|
|
39638
39647
|
*
|
|
39639
39648
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
39640
39649
|
*
|
|
@@ -40352,7 +40361,8 @@ declare module "sap/m/Input" {
|
|
|
40352
40361
|
* @since 1.46
|
|
40353
40362
|
*
|
|
40354
40363
|
* Specifies whether the suggestions highlighting is enabled. **Note:** Due to performance constraints,
|
|
40355
|
-
* the functionality will be disabled above 200 items.
|
|
40364
|
+
* the functionality will be disabled above 200 items. **Note:** Highlighting in table suggestions will
|
|
40365
|
+
* work only for cells containing sap.m.Label or sap.m.Text controls.
|
|
40356
40366
|
*/
|
|
40357
40367
|
enableSuggestionsHighlighting?:
|
|
40358
40368
|
| boolean
|
|
@@ -48433,7 +48443,12 @@ declare module "sap/m/ListItemBase" {
|
|
|
48433
48443
|
*
|
|
48434
48444
|
* @returns jQuery object
|
|
48435
48445
|
*/
|
|
48436
|
-
getTabbables(
|
|
48446
|
+
getTabbables(
|
|
48447
|
+
/**
|
|
48448
|
+
* Whether only tabbables of the content area
|
|
48449
|
+
*/
|
|
48450
|
+
bContentOnly?: undefined
|
|
48451
|
+
): jQuery;
|
|
48437
48452
|
/**
|
|
48438
48453
|
* Gets current value of property {@link #getType type}.
|
|
48439
48454
|
*
|
|
@@ -85077,6 +85092,9 @@ declare module "sap/m/plugins/CopyProvider" {
|
|
|
85077
85092
|
* Creates and returns a Copy button that can be used to trigger a copy action, for example, from the table
|
|
85078
85093
|
* toolbar.
|
|
85079
85094
|
*
|
|
85095
|
+
* **Note:** The `visible` and `enabled` properties of the Copy button must be managed through this plugin's
|
|
85096
|
+
* own `visible` and `enabled` properties.
|
|
85097
|
+
*
|
|
85080
85098
|
* @returns The button instance
|
|
85081
85099
|
*/
|
|
85082
85100
|
getCopyButton(
|
|
@@ -85143,7 +85161,7 @@ declare module "sap/m/plugins/CopyProvider" {
|
|
|
85143
85161
|
* For the `sap.m.Table` control, if the `items` aggregation of the table is not bound then the callback
|
|
85144
85162
|
* function gets called with the row instance instead of the binding context.
|
|
85145
85163
|
* The callback function must return the cell data that is then stringified and copied to the clipboard.
|
|
85146
|
-
* If an array is returned from the callback function, then each array
|
|
85164
|
+
* If an array is returned from the callback function, then each array value will be copied as a separate
|
|
85147
85165
|
* cell into the clipboard.
|
|
85148
85166
|
* If a column should not be copied to the clipboard, then the callback function must return `undefined`
|
|
85149
85167
|
* or `null` for each cell of the same column.
|
|
@@ -85253,7 +85271,7 @@ declare module "sap/m/plugins/CopyProvider" {
|
|
|
85253
85271
|
* For the `sap.m.Table` control, if the `items` aggregation of the table is not bound then the callback
|
|
85254
85272
|
* function gets called with the row instance instead of the binding context.
|
|
85255
85273
|
* The callback function must return the cell data that is then stringified and copied to the clipboard.
|
|
85256
|
-
* If an array is returned from the callback function, then each array
|
|
85274
|
+
* If an array is returned from the callback function, then each array value will be copied as a separate
|
|
85257
85275
|
* cell into the clipboard.
|
|
85258
85276
|
* If a column should not be copied to the clipboard, then the callback function must return `undefined`
|
|
85259
85277
|
* or `null` for each cell of the same column.
|
|
@@ -85321,7 +85339,7 @@ declare module "sap/m/plugins/CopyProvider" {
|
|
|
85321
85339
|
* For the `sap.m.Table` control, if the `items` aggregation of the table is not bound then the callback
|
|
85322
85340
|
* function gets called with the row instance instead of the binding context.
|
|
85323
85341
|
* The callback function must return the cell data that is then stringified and copied to the clipboard.
|
|
85324
|
-
* If an array is returned from the callback function, then each array
|
|
85342
|
+
* If an array is returned from the callback function, then each array value will be copied as a separate
|
|
85325
85343
|
* cell into the clipboard.
|
|
85326
85344
|
* If a column should not be copied to the clipboard, then the callback function must return `undefined`
|
|
85327
85345
|
* or `null` for each cell of the same column.
|
package/types/sap.tnt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.2
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
/**
|
|
@@ -1530,6 +1530,8 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1530
1530
|
*/
|
|
1531
1531
|
destroyFixedItem(): this;
|
|
1532
1532
|
/**
|
|
1533
|
+
* @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
|
|
1534
|
+
*
|
|
1533
1535
|
* Destroys the footer in the aggregation {@link #getFooter footer}.
|
|
1534
1536
|
*
|
|
1535
1537
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -1598,6 +1600,8 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1598
1600
|
*/
|
|
1599
1601
|
getFixedItem(): NavigationList;
|
|
1600
1602
|
/**
|
|
1603
|
+
* @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
|
|
1604
|
+
*
|
|
1601
1605
|
* Gets content of aggregation {@link #getFooter footer}.
|
|
1602
1606
|
*
|
|
1603
1607
|
* Defines the content inside the footer.
|
|
@@ -1679,6 +1683,8 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1679
1683
|
oFixedItem: NavigationList
|
|
1680
1684
|
): this;
|
|
1681
1685
|
/**
|
|
1686
|
+
* @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
|
|
1687
|
+
*
|
|
1682
1688
|
* Sets the aggregated {@link #getFooter footer}.
|
|
1683
1689
|
*
|
|
1684
1690
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -1791,6 +1797,8 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1791
1797
|
fixedItem?: NavigationList;
|
|
1792
1798
|
|
|
1793
1799
|
/**
|
|
1800
|
+
* @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
|
|
1801
|
+
*
|
|
1794
1802
|
* Defines the content inside the footer.
|
|
1795
1803
|
*/
|
|
1796
1804
|
footer?: NavigationList;
|
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -280,7 +280,7 @@ declare namespace sap {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// For Library Version: 1.120.
|
|
283
|
+
// For Library Version: 1.120.2
|
|
284
284
|
|
|
285
285
|
declare module "sap/base/assert" {
|
|
286
286
|
/**
|
|
@@ -3595,6 +3595,122 @@ declare module "sap/ui/core/AnimationMode" {
|
|
|
3595
3595
|
export default AnimationMode;
|
|
3596
3596
|
}
|
|
3597
3597
|
|
|
3598
|
+
declare module "sap/ui/core/ComponentRegistry" {
|
|
3599
|
+
import { ID } from "sap/ui/core/library";
|
|
3600
|
+
|
|
3601
|
+
import Component from "sap/ui/core/Component";
|
|
3602
|
+
|
|
3603
|
+
/**
|
|
3604
|
+
* @since 1.120
|
|
3605
|
+
*
|
|
3606
|
+
* Registry of all `Component`s that currently exist.
|
|
3607
|
+
*/
|
|
3608
|
+
interface ComponentRegistry {
|
|
3609
|
+
/**
|
|
3610
|
+
* Number of existing components.
|
|
3611
|
+
*/
|
|
3612
|
+
size: int;
|
|
3613
|
+
|
|
3614
|
+
/**
|
|
3615
|
+
* Return an object with all instances of `sap.ui.core.Component`, keyed by their ID.
|
|
3616
|
+
*
|
|
3617
|
+
* Each call creates a new snapshot object. Depending on the size of the UI, this operation therefore might
|
|
3618
|
+
* be expensive. Consider to use the `forEach` or `filter` method instead of executing similar operations
|
|
3619
|
+
* on the returned object.
|
|
3620
|
+
*
|
|
3621
|
+
* **Note**: The returned object is created by a call to `Object.create(null)`, and therefore lacks all
|
|
3622
|
+
* methods of `Object.prototype`, e.g. `toString` etc.
|
|
3623
|
+
*
|
|
3624
|
+
* @returns Object with all components, keyed by their ID
|
|
3625
|
+
*/
|
|
3626
|
+
all(): Record<ID, Component>;
|
|
3627
|
+
/**
|
|
3628
|
+
* Returns an array with components for which the given `callback` returns a value that coerces to `true`.
|
|
3629
|
+
*
|
|
3630
|
+
* The expected signature of the callback is
|
|
3631
|
+
* ```javascript
|
|
3632
|
+
*
|
|
3633
|
+
* function callback(oComponent, sID)
|
|
3634
|
+
* ```
|
|
3635
|
+
* where `oComponent` is the currently visited component instance and `sID` is the ID of that instance.
|
|
3636
|
+
*
|
|
3637
|
+
* If components are created or destroyed within the `callback`, then the behavior is not specified. Newly
|
|
3638
|
+
* added objects might or might not be visited. When a component is destroyed during the filtering and was
|
|
3639
|
+
* not visited yet, it might or might not be visited. As the behavior for such concurrent modifications
|
|
3640
|
+
* is not specified, it may change in newer releases.
|
|
3641
|
+
*
|
|
3642
|
+
* If a `thisArg` is given, it will be provided as `this` context when calling `callback`. The `this` value
|
|
3643
|
+
* that the implementation of `callback` sees, depends on the usual resolution mechanism. E.g. when `callback`
|
|
3644
|
+
* was bound to some context object, that object wins over the given `thisArg`.
|
|
3645
|
+
*
|
|
3646
|
+
* This function returns an array with all components matching the given predicate. The order of the components
|
|
3647
|
+
* in the array is not specified and might change between calls (over time and across different versions
|
|
3648
|
+
* of UI5).
|
|
3649
|
+
*
|
|
3650
|
+
* @returns Array of components matching the predicate; order is undefined and might change in newer versions
|
|
3651
|
+
* of UI5
|
|
3652
|
+
*/
|
|
3653
|
+
filter(
|
|
3654
|
+
/**
|
|
3655
|
+
* predicate against which each Component is tested
|
|
3656
|
+
*/
|
|
3657
|
+
callback: (p1: Component, p2: ID) => boolean,
|
|
3658
|
+
/**
|
|
3659
|
+
* context object to provide as `this` in each call of `callback`
|
|
3660
|
+
*/
|
|
3661
|
+
thisArg?: Object
|
|
3662
|
+
): Component[];
|
|
3663
|
+
/**
|
|
3664
|
+
* Calls the given `callback` for each existing component.
|
|
3665
|
+
*
|
|
3666
|
+
* The expected signature of the callback is
|
|
3667
|
+
* ```javascript
|
|
3668
|
+
*
|
|
3669
|
+
* function callback(oComponent, sID)
|
|
3670
|
+
* ```
|
|
3671
|
+
* where `oComponent` is the currently visited component instance and `sID` is the ID of that instance.
|
|
3672
|
+
*
|
|
3673
|
+
* The order in which the callback is called for components is not specified and might change between calls
|
|
3674
|
+
* (over time and across different versions of UI5).
|
|
3675
|
+
*
|
|
3676
|
+
* If components are created or destroyed within the `callback`, then the behavior is not specified. Newly
|
|
3677
|
+
* added objects might or might not be visited. When a component is destroyed during the filtering and was
|
|
3678
|
+
* not visited yet, it might or might not be visited. As the behavior for such concurrent modifications
|
|
3679
|
+
* is not specified, it may change in newer releases.
|
|
3680
|
+
*
|
|
3681
|
+
* If a `thisArg` is given, it will be provided as `this` context when calling `callback`. The `this` value
|
|
3682
|
+
* that the implementation of `callback` sees, depends on the usual resolution mechanism. E.g. when `callback`
|
|
3683
|
+
* was bound to some context object, that object wins over the given `thisArg`.
|
|
3684
|
+
*/
|
|
3685
|
+
forEach(
|
|
3686
|
+
/**
|
|
3687
|
+
* Function to call for each Component
|
|
3688
|
+
*/
|
|
3689
|
+
callback: (p1: Component, p2: ID) => void,
|
|
3690
|
+
/**
|
|
3691
|
+
* Context object to provide as `this` in each call of `callback`
|
|
3692
|
+
*/
|
|
3693
|
+
thisArg?: Object
|
|
3694
|
+
): void;
|
|
3695
|
+
/**
|
|
3696
|
+
* Retrieves a Component by its ID.
|
|
3697
|
+
*
|
|
3698
|
+
* When the ID is `null` or `undefined` or when there's no Component with the given ID, then `undefined`
|
|
3699
|
+
* is returned.
|
|
3700
|
+
*
|
|
3701
|
+
* @returns Component with the given ID or `undefined`
|
|
3702
|
+
*/
|
|
3703
|
+
get(
|
|
3704
|
+
/**
|
|
3705
|
+
* ID of the Component to retrieve
|
|
3706
|
+
*/
|
|
3707
|
+
id: ID
|
|
3708
|
+
): Component | undefined;
|
|
3709
|
+
}
|
|
3710
|
+
const ComponentRegistry: ComponentRegistry;
|
|
3711
|
+
export default ComponentRegistry;
|
|
3712
|
+
}
|
|
3713
|
+
|
|
3598
3714
|
declare module "sap/ui/core/ComponentSupport" {
|
|
3599
3715
|
/**
|
|
3600
3716
|
* @since 1.58.0
|
|
@@ -4358,6 +4474,122 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4358
4474
|
}
|
|
4359
4475
|
}
|
|
4360
4476
|
|
|
4477
|
+
declare module "sap/ui/core/ElementRegistry" {
|
|
4478
|
+
import { ID } from "sap/ui/core/library";
|
|
4479
|
+
|
|
4480
|
+
import UI5Element from "sap/ui/core/Element";
|
|
4481
|
+
|
|
4482
|
+
/**
|
|
4483
|
+
* @since 1.120
|
|
4484
|
+
*
|
|
4485
|
+
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
4486
|
+
*/
|
|
4487
|
+
interface ElementRegistry {
|
|
4488
|
+
/**
|
|
4489
|
+
* Number of existing elements.
|
|
4490
|
+
*/
|
|
4491
|
+
size: int;
|
|
4492
|
+
|
|
4493
|
+
/**
|
|
4494
|
+
* Return an object with all instances of `sap.ui.core.Element`, keyed by their ID.
|
|
4495
|
+
*
|
|
4496
|
+
* Each call creates a new snapshot object. Depending on the size of the UI, this operation therefore might
|
|
4497
|
+
* be expensive. Consider to use the `forEach` or `filter` method instead of executing similar operations
|
|
4498
|
+
* on the returned object.
|
|
4499
|
+
*
|
|
4500
|
+
* **Note**: The returned object is created by a call to `Object.create(null)`, and therefore lacks all
|
|
4501
|
+
* methods of `Object.prototype`, e.g. `toString` etc.
|
|
4502
|
+
*
|
|
4503
|
+
* @returns Object with all elements, keyed by their ID
|
|
4504
|
+
*/
|
|
4505
|
+
all(): Record<ID, UI5Element>;
|
|
4506
|
+
/**
|
|
4507
|
+
* Returns an array with elements for which the given `callback` returns a value that coerces to `true`.
|
|
4508
|
+
*
|
|
4509
|
+
* The expected signature of the callback is
|
|
4510
|
+
* ```javascript
|
|
4511
|
+
*
|
|
4512
|
+
* function callback(oElement, sID)
|
|
4513
|
+
* ```
|
|
4514
|
+
* where `oElement` is the currently visited element instance and `sID` is the ID of that instance.
|
|
4515
|
+
*
|
|
4516
|
+
* If elements are created or destroyed within the `callback`, then the behavior is not specified. Newly
|
|
4517
|
+
* added objects might or might not be visited. When an element is destroyed during the filtering and was
|
|
4518
|
+
* not visited yet, it might or might not be visited. As the behavior for such concurrent modifications
|
|
4519
|
+
* is not specified, it may change in newer releases.
|
|
4520
|
+
*
|
|
4521
|
+
* If a `thisArg` is given, it will be provided as `this` context when calling `callback`. The `this` value
|
|
4522
|
+
* that the implementation of `callback` sees, depends on the usual resolution mechanism. E.g. when `callback`
|
|
4523
|
+
* was bound to some context object, that object wins over the given `thisArg`.
|
|
4524
|
+
*
|
|
4525
|
+
* This function returns an array with all elements matching the given predicate. The order of the elements
|
|
4526
|
+
* in the array is not specified and might change between calls (over time and across different versions
|
|
4527
|
+
* of UI5).
|
|
4528
|
+
*
|
|
4529
|
+
* @returns Array of elements matching the predicate; order is undefined and might change in newer versions
|
|
4530
|
+
* of UI5
|
|
4531
|
+
*/
|
|
4532
|
+
filter(
|
|
4533
|
+
/**
|
|
4534
|
+
* predicate against which each element is tested
|
|
4535
|
+
*/
|
|
4536
|
+
callback: (p1: UI5Element, p2: ID) => boolean,
|
|
4537
|
+
/**
|
|
4538
|
+
* context object to provide as `this` in each call of `callback`
|
|
4539
|
+
*/
|
|
4540
|
+
thisArg?: Object
|
|
4541
|
+
): UI5Element[];
|
|
4542
|
+
/**
|
|
4543
|
+
* Calls the given `callback` for each element.
|
|
4544
|
+
*
|
|
4545
|
+
* The expected signature of the callback is
|
|
4546
|
+
* ```javascript
|
|
4547
|
+
*
|
|
4548
|
+
* function callback(oElement, sID)
|
|
4549
|
+
* ```
|
|
4550
|
+
* where `oElement` is the currently visited element instance and `sID` is the ID of that instance.
|
|
4551
|
+
*
|
|
4552
|
+
* The order in which the callback is called for elements is not specified and might change between calls
|
|
4553
|
+
* (over time and across different versions of UI5).
|
|
4554
|
+
*
|
|
4555
|
+
* If elements are created or destroyed within the `callback`, then the behavior is not specified. Newly
|
|
4556
|
+
* added objects might or might not be visited. When an element is destroyed during the filtering and was
|
|
4557
|
+
* not visited yet, it might or might not be visited. As the behavior for such concurrent modifications
|
|
4558
|
+
* is not specified, it may change in newer releases.
|
|
4559
|
+
*
|
|
4560
|
+
* If a `thisArg` is given, it will be provided as `this` context when calling `callback`. The `this` value
|
|
4561
|
+
* that the implementation of `callback` sees, depends on the usual resolution mechanism. E.g. when `callback`
|
|
4562
|
+
* was bound to some context object, that object wins over the given `thisArg`.
|
|
4563
|
+
*/
|
|
4564
|
+
forEach(
|
|
4565
|
+
/**
|
|
4566
|
+
* Function to call for each element
|
|
4567
|
+
*/
|
|
4568
|
+
callback: (p1: UI5Element, p2: ID) => void,
|
|
4569
|
+
/**
|
|
4570
|
+
* Context object to provide as `this` in each call of `callback`
|
|
4571
|
+
*/
|
|
4572
|
+
thisArg?: Object
|
|
4573
|
+
): void;
|
|
4574
|
+
/**
|
|
4575
|
+
* Retrieves an Element by its ID.
|
|
4576
|
+
*
|
|
4577
|
+
* When the ID is `null` or `undefined` or when there's no element with the given ID, then `undefined` is
|
|
4578
|
+
* returned.
|
|
4579
|
+
*
|
|
4580
|
+
* @returns Element with the given ID or `undefined`
|
|
4581
|
+
*/
|
|
4582
|
+
get(
|
|
4583
|
+
/**
|
|
4584
|
+
* ID of the element to retrieve
|
|
4585
|
+
*/
|
|
4586
|
+
id: ID
|
|
4587
|
+
): UI5Element | undefined;
|
|
4588
|
+
}
|
|
4589
|
+
const ElementRegistry: ElementRegistry;
|
|
4590
|
+
export default ElementRegistry;
|
|
4591
|
+
}
|
|
4592
|
+
|
|
4361
4593
|
declare module "sap/ui/core/getCompatibilityVersion" {
|
|
4362
4594
|
import Version from "sap/base/util/Version";
|
|
4363
4595
|
|
|
@@ -12680,6 +12912,8 @@ declare module "sap/ui/core/library" {
|
|
|
12680
12912
|
}
|
|
12681
12913
|
|
|
12682
12914
|
/**
|
|
12915
|
+
* @deprecated (since 1.120) - Please use {@link sap.ui.core.message.MessageType} instead.
|
|
12916
|
+
*
|
|
12683
12917
|
* Specifies possible message types.
|
|
12684
12918
|
*/
|
|
12685
12919
|
export enum MessageType {
|
|
@@ -13755,6 +13989,7 @@ declare module "sap/ui/core/Component" {
|
|
|
13755
13989
|
);
|
|
13756
13990
|
/**
|
|
13757
13991
|
* @since 1.67
|
|
13992
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ComponentRegistry} instead.
|
|
13758
13993
|
*
|
|
13759
13994
|
* Registry of all `Component`s that currently exist.
|
|
13760
13995
|
*/
|
|
@@ -14438,6 +14673,7 @@ declare module "sap/ui/core/Component" {
|
|
|
14438
14673
|
|
|
14439
14674
|
/**
|
|
14440
14675
|
* @since 1.67
|
|
14676
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ComponentRegistry} instead.
|
|
14441
14677
|
*
|
|
14442
14678
|
* Registry of all `Component`s that currently exist.
|
|
14443
14679
|
*/
|
|
@@ -21965,6 +22201,7 @@ declare module "sap/ui/core/Element" {
|
|
|
21965
22201
|
);
|
|
21966
22202
|
/**
|
|
21967
22203
|
* @since 1.67
|
|
22204
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ElementRegistry} instead.
|
|
21968
22205
|
*
|
|
21969
22206
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
21970
22207
|
*/
|
|
@@ -22069,18 +22306,24 @@ declare module "sap/ui/core/Element" {
|
|
|
22069
22306
|
*/
|
|
22070
22307
|
static getActiveElement(): UI5Element | undefined;
|
|
22071
22308
|
/**
|
|
22072
|
-
*
|
|
22309
|
+
* @since 1.119
|
|
22073
22310
|
*
|
|
22074
|
-
*
|
|
22075
|
-
*
|
|
22311
|
+
* Returns the registered element with the given ID, if any.
|
|
22312
|
+
*
|
|
22313
|
+
* The ID must be the globally unique ID of an element, the same as returned by `oElement.getId()`.
|
|
22314
|
+
*
|
|
22315
|
+
* When the element has been created from a declarative source (e.g. XMLView), that source might have used
|
|
22316
|
+
* a shorter, non-unique local ID. A search for such a local ID cannot be executed with this method. It
|
|
22317
|
+
* can only be executed on the corresponding scope (e.g. on an XMLView instance), by using the {@link sap.ui.core.mvc.View#byId View#byId }
|
|
22318
|
+
* method of that scope.
|
|
22076
22319
|
*
|
|
22077
22320
|
* @returns Element with the given ID or `undefined`
|
|
22078
22321
|
*/
|
|
22079
22322
|
static getElementById(
|
|
22080
22323
|
/**
|
|
22081
|
-
* ID of the element to
|
|
22324
|
+
* ID of the element to search for
|
|
22082
22325
|
*/
|
|
22083
|
-
|
|
22326
|
+
sId: ID | null | undefined
|
|
22084
22327
|
): UI5Element | undefined;
|
|
22085
22328
|
/**
|
|
22086
22329
|
* Returns a metadata object for class sap.ui.core.Element.
|
|
@@ -22826,12 +23069,19 @@ declare module "sap/ui/core/Element" {
|
|
|
22826
23069
|
oDelegate: object
|
|
22827
23070
|
): this;
|
|
22828
23071
|
/**
|
|
22829
|
-
* @
|
|
23072
|
+
* @deprecated (since 1.70) - using this method is no longer recommended, but still works. Synchronous DOM
|
|
23073
|
+
* updates via this method have several drawbacks: they only work when the control has been rendered before
|
|
23074
|
+
* (no initial rendering possible), multiple state changes won't be combined automatically into a single
|
|
23075
|
+
* re-rendering, they might cause additional layout trashing, standard invalidation might cause another
|
|
23076
|
+
* async re-rendering.
|
|
22830
23077
|
*
|
|
22831
|
-
*
|
|
23078
|
+
* The recommended alternative is to rely on invalidation and standard re-rendering.
|
|
22832
23079
|
*
|
|
22833
23080
|
* As `sap.ui.core.Element` "bubbles up" the rerender, changes to child-`Elements` will also result in immediate
|
|
22834
23081
|
* rerendering of the whole sub tree.
|
|
23082
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23083
|
+
*
|
|
23084
|
+
* This triggers immediate rerendering of its parent and thus of itself and its children.
|
|
22835
23085
|
*/
|
|
22836
23086
|
rerender(): void;
|
|
22837
23087
|
/**
|
|
@@ -22894,6 +23144,7 @@ declare module "sap/ui/core/Element" {
|
|
|
22894
23144
|
|
|
22895
23145
|
/**
|
|
22896
23146
|
* @since 1.67
|
|
23147
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ElementRegistry} instead.
|
|
22897
23148
|
*
|
|
22898
23149
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
22899
23150
|
*/
|
|
@@ -22984,6 +23235,20 @@ declare module "sap/ui/core/Element" {
|
|
|
22984
23235
|
*/
|
|
22985
23236
|
thisArg?: Object
|
|
22986
23237
|
): void;
|
|
23238
|
+
/**
|
|
23239
|
+
* Retrieves an Element by its ID.
|
|
23240
|
+
*
|
|
23241
|
+
* When the ID is `null` or `undefined` or when there's no element with the given ID, then `undefined` is
|
|
23242
|
+
* returned.
|
|
23243
|
+
*
|
|
23244
|
+
* @returns Element with the given ID or `undefined`
|
|
23245
|
+
*/
|
|
23246
|
+
get(
|
|
23247
|
+
/**
|
|
23248
|
+
* ID of the element to retrieve
|
|
23249
|
+
*/
|
|
23250
|
+
id: ID
|
|
23251
|
+
): UI5Element | undefined;
|
|
22987
23252
|
}
|
|
22988
23253
|
export const registry: registry;
|
|
22989
23254
|
|
|
@@ -29280,35 +29545,33 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
29280
29545
|
/**
|
|
29281
29546
|
* Get month names in width "narrow", "abbreviated" or "wide".
|
|
29282
29547
|
*
|
|
29283
|
-
* @returns array of month names
|
|
29548
|
+
* @returns The array of month names
|
|
29284
29549
|
*/
|
|
29285
29550
|
getMonths(
|
|
29286
29551
|
/**
|
|
29287
|
-
*
|
|
29552
|
+
* The required width for the month names
|
|
29288
29553
|
*/
|
|
29289
|
-
sWidth:
|
|
29554
|
+
sWidth: "narrow" | "abbreviated" | "wide",
|
|
29290
29555
|
/**
|
|
29291
|
-
*
|
|
29292
|
-
* or calculated from locale.
|
|
29556
|
+
* The type of calendar; defaults to the calendar type either set in configuration or calculated from locale
|
|
29293
29557
|
*/
|
|
29294
29558
|
sCalendarType?: CalendarType
|
|
29295
|
-
):
|
|
29559
|
+
): string[];
|
|
29296
29560
|
/**
|
|
29297
29561
|
* Get standalone month names in width "narrow", "abbreviated" or "wide".
|
|
29298
29562
|
*
|
|
29299
|
-
* @returns array of month names
|
|
29563
|
+
* @returns The array of standalone month names
|
|
29300
29564
|
*/
|
|
29301
29565
|
getMonthsStandAlone(
|
|
29302
29566
|
/**
|
|
29303
|
-
*
|
|
29567
|
+
* The required width for the month names
|
|
29304
29568
|
*/
|
|
29305
|
-
sWidth:
|
|
29569
|
+
sWidth: "narrow" | "abbreviated" | "wide",
|
|
29306
29570
|
/**
|
|
29307
|
-
*
|
|
29308
|
-
* or calculated from locale.
|
|
29571
|
+
* The type of calendar; defaults to the calendar type either set in configuration or calculated from locale
|
|
29309
29572
|
*/
|
|
29310
29573
|
sCalendarType?: CalendarType
|
|
29311
|
-
):
|
|
29574
|
+
): string[];
|
|
29312
29575
|
/**
|
|
29313
29576
|
* Get number symbol "decimal", "group", "plusSign", "minusSign", "percentSign".
|
|
29314
29577
|
*
|
|
@@ -29932,6 +30195,8 @@ declare module "sap/ui/core/Message" {
|
|
|
29932
30195
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
29933
30196
|
|
|
29934
30197
|
/**
|
|
30198
|
+
* @deprecated (since 1.120) - Please use {@link sap.ui.core.message.Message} instead.
|
|
30199
|
+
*
|
|
29935
30200
|
* This element is used to provide messages.
|
|
29936
30201
|
*
|
|
29937
30202
|
* Rendering must be done within the control that uses this kind of element. Its default level is none.
|
|
@@ -30277,7 +30542,7 @@ declare module "sap/ui/core/message/ControlMessageProcessor" {
|
|
|
30277
30542
|
declare module "sap/ui/core/message/Message" {
|
|
30278
30543
|
import BaseObject from "sap/ui/base/Object";
|
|
30279
30544
|
|
|
30280
|
-
import
|
|
30545
|
+
import MessageType from "sap/ui/core/message/MessageType";
|
|
30281
30546
|
|
|
30282
30547
|
import MessageProcessor from "sap/ui/core/message/MessageProcessor";
|
|
30283
30548
|
|
|
@@ -30317,7 +30582,7 @@ declare module "sap/ui/core/message/Message" {
|
|
|
30317
30582
|
/**
|
|
30318
30583
|
* The message type
|
|
30319
30584
|
*/
|
|
30320
|
-
type?: MessageType;
|
|
30585
|
+
type?: MessageType | keyof typeof MessageType;
|
|
30321
30586
|
/**
|
|
30322
30587
|
* The message code
|
|
30323
30588
|
*/
|
|
@@ -30494,7 +30759,7 @@ declare module "sap/ui/core/message/Message" {
|
|
|
30494
30759
|
*
|
|
30495
30760
|
* @returns type
|
|
30496
30761
|
*/
|
|
30497
|
-
getType(): MessageType;
|
|
30762
|
+
getType(): MessageType | keyof typeof MessageType;
|
|
30498
30763
|
/**
|
|
30499
30764
|
* Sets the additionaltext for the message or merge different additionaltext strings
|
|
30500
30765
|
*/
|
|
@@ -30616,7 +30881,7 @@ declare module "sap/ui/core/message/Message" {
|
|
|
30616
30881
|
/**
|
|
30617
30882
|
* The Message type
|
|
30618
30883
|
*/
|
|
30619
|
-
sType: MessageType
|
|
30884
|
+
sType: MessageType | keyof typeof MessageType
|
|
30620
30885
|
): void;
|
|
30621
30886
|
}
|
|
30622
30887
|
}
|
|
@@ -32453,6 +32718,8 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
32453
32718
|
sId: string
|
|
32454
32719
|
): UI5Element | undefined;
|
|
32455
32720
|
/**
|
|
32721
|
+
* @deprecated (since 1.120) - please call the corresponding View factory instead, e.g. {@link sap.ui.core.mvc.XMLView.create}
|
|
32722
|
+
*
|
|
32456
32723
|
* Creates a clone of this view.
|
|
32457
32724
|
*
|
|
32458
32725
|
* Overrides the clone method to avoid conflicts between generic cloning of the content aggregation and
|
|
@@ -42159,6 +42426,7 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42159
42426
|
constructor();
|
|
42160
42427
|
/**
|
|
42161
42428
|
* @since 1.107
|
|
42429
|
+
* @deprecated (since 1.120)
|
|
42162
42430
|
*
|
|
42163
42431
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
42164
42432
|
*/
|
|
@@ -42474,16 +42742,21 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42474
42742
|
}
|
|
42475
42743
|
/**
|
|
42476
42744
|
* @since 1.107
|
|
42745
|
+
* @deprecated (since 1.120)
|
|
42477
42746
|
*
|
|
42478
42747
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
42479
42748
|
*/
|
|
42480
42749
|
interface registry {
|
|
42481
42750
|
/**
|
|
42751
|
+
* @deprecated (since 1.120)
|
|
42752
|
+
*
|
|
42482
42753
|
* Number of existing UIAreas.
|
|
42483
42754
|
*/
|
|
42484
42755
|
size: int;
|
|
42485
42756
|
|
|
42486
42757
|
/**
|
|
42758
|
+
* @deprecated (since 1.120)
|
|
42759
|
+
*
|
|
42487
42760
|
* Return an object with all instances of `sap.ui.core.UIArea`, keyed by their ID.
|
|
42488
42761
|
*
|
|
42489
42762
|
* Each call creates a new snapshot object. Depending on the size of the UI, this operation therefore might
|
|
@@ -42497,6 +42770,8 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42497
42770
|
*/
|
|
42498
42771
|
all(): Record<ID, UIArea>;
|
|
42499
42772
|
/**
|
|
42773
|
+
* @deprecated (since 1.120)
|
|
42774
|
+
*
|
|
42500
42775
|
* Returns an array with UIAreas for which the given `callback` returns a value that coerces to `true`.
|
|
42501
42776
|
*
|
|
42502
42777
|
* The expected signature of the callback is
|
|
@@ -42533,6 +42808,8 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42533
42808
|
thisArg?: Object
|
|
42534
42809
|
): UIArea[];
|
|
42535
42810
|
/**
|
|
42811
|
+
* @deprecated (since 1.120)
|
|
42812
|
+
*
|
|
42536
42813
|
* Calls the given `callback` for each UIArea.
|
|
42537
42814
|
*
|
|
42538
42815
|
* The expected signature of the callback is
|
|
@@ -42565,6 +42842,8 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42565
42842
|
thisArg?: Object
|
|
42566
42843
|
): void;
|
|
42567
42844
|
/**
|
|
42845
|
+
* @deprecated (since 1.120)
|
|
42846
|
+
*
|
|
42568
42847
|
* Retrieves an UIArea by its ID.
|
|
42569
42848
|
*
|
|
42570
42849
|
* When the ID is `null` or `undefined` or when there's no UIArea with the given ID, then `undefined` is
|
|
@@ -50012,8 +50291,8 @@ declare module "sap/ui/model/Binding" {
|
|
|
50012
50291
|
oListener?: object
|
|
50013
50292
|
): void;
|
|
50014
50293
|
/**
|
|
50015
|
-
* Removes all control messages for this binding from
|
|
50016
|
-
* tasks.
|
|
50294
|
+
* Removes all control messages for this binding from {@link sap.ui.core.Messaging} in addition to the standard
|
|
50295
|
+
* clean-up tasks.
|
|
50017
50296
|
* See:
|
|
50018
50297
|
* sap.ui.base.EventProvider#destroy
|
|
50019
50298
|
*/
|
|
@@ -51403,7 +51682,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
51403
51682
|
declare module "sap/ui/model/CompositeDataState" {
|
|
51404
51683
|
import DataState from "sap/ui/model/DataState";
|
|
51405
51684
|
|
|
51406
|
-
import Message from "sap/ui/core/Message";
|
|
51685
|
+
import Message from "sap/ui/core/message/Message";
|
|
51407
51686
|
|
|
51408
51687
|
import Metadata from "sap/ui/base/Metadata";
|
|
51409
51688
|
|
|
@@ -51909,7 +52188,7 @@ declare module "sap/ui/model/ContextBinding" {
|
|
|
51909
52188
|
declare module "sap/ui/model/DataState" {
|
|
51910
52189
|
import BaseObject from "sap/ui/base/Object";
|
|
51911
52190
|
|
|
51912
|
-
import Message from "sap/ui/core/Message";
|
|
52191
|
+
import Message from "sap/ui/core/message/Message";
|
|
51913
52192
|
|
|
51914
52193
|
import Metadata from "sap/ui/base/Metadata";
|
|
51915
52194
|
|
|
@@ -67192,14 +67471,13 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67192
67471
|
/**
|
|
67193
67472
|
* @experimental (since 1.120.0)
|
|
67194
67473
|
*
|
|
67195
|
-
* Returns the parent node (in case of a recursive hierarchy
|
|
67196
|
-
*
|
|
67197
|
-
* See:
|
|
67198
|
-
* #requestParent
|
|
67474
|
+
* Returns the parent node (in case of a recursive hierarchy; see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation})
|
|
67475
|
+
* or `undefined` if the parent of this node hasn't been read yet; it can then be requested via {@link #requestParent}.
|
|
67199
67476
|
*
|
|
67200
|
-
* @returns The parent node, or `null` if this node is a root node and thus has no parent
|
|
67477
|
+
* @returns The parent node, or `null` if this node is a root node and thus has no parent, or `undefined`
|
|
67478
|
+
* if the parent node hasn't been read yet
|
|
67201
67479
|
*/
|
|
67202
|
-
getParent(): Context | null;
|
|
67480
|
+
getParent(): Context | null | undefined;
|
|
67203
67481
|
/**
|
|
67204
67482
|
* @since 1.39.0
|
|
67205
67483
|
*
|
|
@@ -67258,7 +67536,7 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67258
67536
|
/**
|
|
67259
67537
|
* Some node which may be a descendant
|
|
67260
67538
|
*/
|
|
67261
|
-
oNode
|
|
67539
|
+
oNode?: Context
|
|
67262
67540
|
): boolean;
|
|
67263
67541
|
/**
|
|
67264
67542
|
* @since 1.105.0
|
|
@@ -67343,9 +67621,10 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67343
67621
|
* @experimental (since 1.119.0)
|
|
67344
67622
|
*
|
|
67345
67623
|
* Moves this node to the given parent (in case of a recursive hierarchy, see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation},
|
|
67346
|
-
* where `oAggregation.expandTo` must be one). No other {@link sap.ui.model.odata.v4.ODataListBinding#create creation},
|
|
67624
|
+
* where `oAggregation.expandTo` must be either one or at least `Number.MAX_SAFE_INTEGER`). No other {@link sap.ui.model.odata.v4.ODataListBinding#create creation},
|
|
67347
67625
|
* {@link #delete deletion}, or move must be pending, and no other modification (including collapse of some
|
|
67348
|
-
* ancestor node) must happen while this move is pending!
|
|
67626
|
+
* ancestor node) must happen while this move is pending! Omitting a new parent turns this node into a root
|
|
67627
|
+
* node (since 1.121.0).
|
|
67349
67628
|
*
|
|
67350
67629
|
* This context's {@link #getIndex index} may change and it becomes "created persisted", with {@link #isTransient }
|
|
67351
67630
|
* returning `false` etc.
|
|
@@ -67357,11 +67636,11 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67357
67636
|
/**
|
|
67358
67637
|
* A parameter object
|
|
67359
67638
|
*/
|
|
67360
|
-
oParameters
|
|
67639
|
+
oParameters?: {
|
|
67361
67640
|
/**
|
|
67362
67641
|
* The new parent's context
|
|
67363
67642
|
*/
|
|
67364
|
-
parent
|
|
67643
|
+
parent?: Context;
|
|
67365
67644
|
}
|
|
67366
67645
|
): Promise<void>;
|
|
67367
67646
|
/**
|
|
@@ -67443,8 +67722,9 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67443
67722
|
/**
|
|
67444
67723
|
* @experimental (since 1.120.0)
|
|
67445
67724
|
*
|
|
67446
|
-
* Requests the parent node (in case of a recursive hierarchy
|
|
67447
|
-
*
|
|
67725
|
+
* Requests the parent node (in case of a recursive hierarchy; see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}).
|
|
67726
|
+
*
|
|
67727
|
+
* Note: **DO NOT** call {@link #setKeepAlive} on the resulting context!
|
|
67448
67728
|
* See:
|
|
67449
67729
|
* #getParent
|
|
67450
67730
|
*
|
|
@@ -68520,12 +68800,12 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
68520
68800
|
* parent's navigation property, which is sent with the payload of the parent entity. Such a nested context
|
|
68521
68801
|
* cannot be inactive.
|
|
68522
68802
|
*
|
|
68523
|
-
* **Note:** After a
|
|
68524
|
-
* longer valid. Do not use the {@link sap.ui.model.odata.v4.Context#created created} promise of such
|
|
68525
|
-
* context! New contexts are created for the nested collection because it is not possible to reliably
|
|
68526
|
-
* the response entities to those of the request, especially if the count differs. For this reason,
|
|
68527
|
-
* `created` promises of all nested contexts are always rejected with an instance of `Error`, even if
|
|
68528
|
-
* deep create succeeds. This error always has the property `canceled` with the value `true`.
|
|
68803
|
+
* **Note:** After a successful creation of the main entity the context returned for a nested entity is
|
|
68804
|
+
* no longer valid. Do not use the {@link sap.ui.model.odata.v4.Context#created created} promise of such
|
|
68805
|
+
* a context! New contexts are created for the nested collection because it is not possible to reliably
|
|
68806
|
+
* assign the response entities to those of the request, especially if the count differs. For this reason,
|
|
68807
|
+
* the `created` promises of all nested contexts are always rejected with an instance of `Error`, even if
|
|
68808
|
+
* the deep create succeeds. This error always has the property `canceled` with the value `true`.
|
|
68529
68809
|
*
|
|
68530
68810
|
* Since 1.118.0 deep create also supports single-valued navigation properties; no API call is required
|
|
68531
68811
|
* in this case. Simply bind properties of the related entity relative to a transient context. An update
|
|
@@ -68735,9 +69015,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
68735
69015
|
* back to the setter (@experimental as of version 1.111.0). They are retrieved from the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy"
|
|
68736
69016
|
* and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy" annotations at this binding's entity type,
|
|
68737
69017
|
* identified via the `hierarchyQualifier` given to {@link #setAggregation}.
|
|
68738
|
-
* "$
|
|
69018
|
+
* "$DistanceFromRoot" holds the path to the property which provides the raw value for "@$ui5.node.level"
|
|
68739
69019
|
* (minus one) and should be used only to interpret the response retrieved via {@link #getDownloadUrl}.
|
|
68740
|
-
* "$
|
|
69020
|
+
* "$DrillState" holds the path to the property which provides the raw value for "@$ui5.node.isExpanded"
|
|
68741
69021
|
* and should be used only to interpret the response retrieved via {@link #getDownloadUrl}. "$NodeProperty"
|
|
68742
69022
|
* holds the path to the property which provides the hierarchy node value. That property is always $select'ed
|
|
68743
69023
|
* automatically and can be accessed as usual.
|
|
@@ -68847,11 +69127,10 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
68847
69127
|
* @since 1.74.0
|
|
68848
69128
|
*
|
|
68849
69129
|
* Returns a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
68850
|
-
* delivers all entities considering the binding's query options (such as filters or sorters).
|
|
68851
|
-
*
|
|
68852
|
-
*
|
|
68853
|
-
*
|
|
68854
|
-
* add an appropriate value for `$top` at least.
|
|
69130
|
+
* delivers all entities considering the binding's query options (such as filters or sorters). Returns `null`
|
|
69131
|
+
* if the binding's filter is {@link sap.ui.filter.Filter.NONE}. The returned URL does not specify `$skip`
|
|
69132
|
+
* and `$top` and leaves it up to the server how many rows it delivers. Many servers tend to choose a small
|
|
69133
|
+
* limit without `$skip` and `$top`, so it might be wise to add an appropriate value for `$top` at least.
|
|
68855
69134
|
*
|
|
68856
69135
|
* Additionally, you must be aware of server-driven paging and be ready to send a follow-up request if the
|
|
68857
69136
|
* response contains `@odata.nextlink`.
|
|
@@ -68859,9 +69138,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
68859
69138
|
* The URL cannot be determined synchronously in all cases; use {@link #requestDownloadUrl} to allow for
|
|
68860
69139
|
* asynchronous determination then.
|
|
68861
69140
|
*
|
|
68862
|
-
* @returns The download URL
|
|
69141
|
+
* @returns The download URL or `null`
|
|
68863
69142
|
*/
|
|
68864
|
-
getDownloadUrl(): string;
|
|
69143
|
+
getDownloadUrl(): string | null;
|
|
68865
69144
|
/**
|
|
68866
69145
|
* @since 1.81.0
|
|
68867
69146
|
*
|
|
@@ -69093,8 +69372,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69093
69372
|
/**
|
|
69094
69373
|
* @since 1.74.0
|
|
69095
69374
|
*
|
|
69096
|
-
*
|
|
69097
|
-
* delivers all entities considering the binding's query options (such as filters or sorters).
|
|
69375
|
+
* Resolves with a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
69376
|
+
* delivers all entities considering the binding's query options (such as filters or sorters). Resolves
|
|
69377
|
+
* with `null` if the binding's filter is {@link sap.ui.filter.Filter.NONE}.
|
|
69098
69378
|
*
|
|
69099
69379
|
* The returned URL does not specify `$skip` and `$top` and leaves it up to the server how many rows it
|
|
69100
69380
|
* delivers. Many servers tend to choose a small limit without `$skip` and `$top`, so it might be wise to
|
|
@@ -69105,9 +69385,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69105
69385
|
* See:
|
|
69106
69386
|
* #getDownloadUrl
|
|
69107
69387
|
*
|
|
69108
|
-
* @returns A promise that is resolved with the download URL
|
|
69388
|
+
* @returns A promise that is resolved with the download URL or `null`
|
|
69109
69389
|
*/
|
|
69110
|
-
requestDownloadUrl(): Promise<string>;
|
|
69390
|
+
requestDownloadUrl(): Promise<string | null>;
|
|
69111
69391
|
/**
|
|
69112
69392
|
* @since 1.86.0
|
|
69113
69393
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -69119,6 +69399,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69119
69399
|
* The resulting filter does not consider application or control filters specified for this list binding
|
|
69120
69400
|
* in its constructor or in its {@link #filter} method; add filters which you want to keep with the "and"
|
|
69121
69401
|
* conjunction to the resulting filter before calling {@link #filter}.
|
|
69402
|
+
*
|
|
69403
|
+
* If there are only messages for transient entries, the method returns {@link sap.ui.model.Filter.NONE}.
|
|
69404
|
+
* Take care not to combine this filter with other filters.
|
|
69122
69405
|
* See:
|
|
69123
69406
|
* sap.ui.model.ListBinding#requestFilterForMessages
|
|
69124
69407
|
*
|
|
@@ -69211,8 +69494,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69211
69494
|
* The number (as a positive integer) of different levels initially available without calling {@link sap.ui.model.odata.v4.Context#expand }
|
|
69212
69495
|
* (@experimental as of version 1.105.0; available for read-only hierarchies since 1.117.0), supported only
|
|
69213
69496
|
* if a `hierarchyQualifier` is given. Root nodes are on the first level. By default, only root nodes are
|
|
69214
|
-
* available; they are not yet expanded. Since 1.120.0, `Number.MAX_SAFE_INTEGER` can be used
|
|
69215
|
-
* all levels.
|
|
69497
|
+
* available; they are not yet expanded. Since 1.120.0, `expandTo >= Number.MAX_SAFE_INTEGER` can be used
|
|
69498
|
+
* to expand all levels (`1E16` is recommended inside XML views for simplicity).
|
|
69216
69499
|
*/
|
|
69217
69500
|
expandTo?: number;
|
|
69218
69501
|
/**
|
|
@@ -69439,8 +69722,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69439
69722
|
context?: Context;
|
|
69440
69723
|
|
|
69441
69724
|
/**
|
|
69442
|
-
* Whether the POST was successfully processed; in case of an error, the error is already reported to
|
|
69443
|
-
* {@link sap.ui.core.message.MessageManager}
|
|
69725
|
+
* Whether the POST was successfully processed; in case of an error, the error is already reported to {@link sap.ui.core.Messaging}
|
|
69444
69726
|
*/
|
|
69445
69727
|
success?: boolean;
|
|
69446
69728
|
}
|
|
@@ -84132,6 +84414,8 @@ declare namespace sap {
|
|
|
84132
84414
|
|
|
84133
84415
|
"sap/ui/core/ComponentMetadata": undefined;
|
|
84134
84416
|
|
|
84417
|
+
"sap/ui/core/ComponentRegistry": undefined;
|
|
84418
|
+
|
|
84135
84419
|
"sap/ui/core/ComponentSupport": undefined;
|
|
84136
84420
|
|
|
84137
84421
|
"sap/ui/core/Configuration": undefined;
|
|
@@ -84174,6 +84458,8 @@ declare namespace sap {
|
|
|
84174
84458
|
|
|
84175
84459
|
"sap/ui/core/ElementMetadata": undefined;
|
|
84176
84460
|
|
|
84461
|
+
"sap/ui/core/ElementRegistry": undefined;
|
|
84462
|
+
|
|
84177
84463
|
"sap/ui/core/EnabledPropagator": undefined;
|
|
84178
84464
|
|
|
84179
84465
|
"sap/ui/core/EventBus": undefined;
|
|
@@ -84356,6 +84642,8 @@ declare namespace sap {
|
|
|
84356
84642
|
|
|
84357
84643
|
"sap/ui/core/UIArea": undefined;
|
|
84358
84644
|
|
|
84645
|
+
"sap/ui/core/UIAreaRegistry": undefined;
|
|
84646
|
+
|
|
84359
84647
|
"sap/ui/core/UIComponent": undefined;
|
|
84360
84648
|
|
|
84361
84649
|
"sap/ui/core/util/Export": undefined;
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.2
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/integration/library" {
|
|
4
4
|
import { URI } from "sap/ui/core/library";
|
|
@@ -3737,6 +3737,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3737
3737
|
oListener?: object
|
|
3738
3738
|
): this;
|
|
3739
3739
|
/**
|
|
3740
|
+
* @deprecated (since 1.120.0)
|
|
3740
3741
|
* @experimental (since 1.97)
|
|
3741
3742
|
*
|
|
3742
3743
|
* This function is called when a CSRF token has expired.
|
|
@@ -3750,6 +3751,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3750
3751
|
}
|
|
3751
3752
|
): void;
|
|
3752
3753
|
/**
|
|
3754
|
+
* @deprecated (since 1.120.0)
|
|
3753
3755
|
* @experimental (since 1.97)
|
|
3754
3756
|
*
|
|
3755
3757
|
* This function is called when a CSRF token is fetched.
|
|
@@ -3989,7 +3991,9 @@ declare module "sap/ui/integration/Host" {
|
|
|
3989
3991
|
sPath: string
|
|
3990
3992
|
): Promise<null>;
|
|
3991
3993
|
/**
|
|
3994
|
+
* @deprecated (since 1.120.0)
|
|
3992
3995
|
* @experimental (since 1.97)
|
|
3996
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3993
3997
|
*
|
|
3994
3998
|
* Resolves the CSRF token and returns a Promise with its value.
|
|
3995
3999
|
*
|
package/types/sap.ui.layout.d.ts
CHANGED
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.2
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -22519,6 +22519,8 @@ declare module "sap/ui/mdc/valuehelp/base/FilterableListContent" {
|
|
|
22519
22519
|
*/
|
|
22520
22520
|
getFilterBar(): FilterBar;
|
|
22521
22521
|
/**
|
|
22522
|
+
* @deprecated (since 1.120.2) - replaced in future version by {@link sap.ui.mdc.ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
22523
|
+
*
|
|
22522
22524
|
* Gets current value of property {@link #getFilterFields filterFields}.
|
|
22523
22525
|
*
|
|
22524
22526
|
* The fields based on which the table data is filtered. For filtering, the value of the `filterValue` property
|
|
@@ -22626,6 +22628,8 @@ declare module "sap/ui/mdc/valuehelp/base/FilterableListContent" {
|
|
|
22626
22628
|
oFilterBar: FilterBar
|
|
22627
22629
|
): this;
|
|
22628
22630
|
/**
|
|
22631
|
+
* @deprecated (since 1.120.2) - replaced in future version by {@link sap.ui.mdc.ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
22632
|
+
*
|
|
22629
22633
|
* Sets a new value for property {@link #getFilterFields filterFields}.
|
|
22630
22634
|
*
|
|
22631
22635
|
* The fields based on which the table data is filtered. For filtering, the value of the `filterValue` property
|
|
@@ -22693,6 +22697,8 @@ declare module "sap/ui/mdc/valuehelp/base/FilterableListContent" {
|
|
|
22693
22697
|
|
|
22694
22698
|
export interface $FilterableListContentSettings extends $ListContentSettings {
|
|
22695
22699
|
/**
|
|
22700
|
+
* @deprecated (since 1.120.2) - replaced in future version by {@link sap.ui.mdc.ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
22701
|
+
*
|
|
22696
22702
|
* The fields based on which the table data is filtered. For filtering, the value of the `filterValue` property
|
|
22697
22703
|
* is used.
|
|
22698
22704
|
*
|
package/types/sap.ui.rta.d.ts
CHANGED
package/types/sap.ui.suite.d.ts
CHANGED
package/types/sap.ui.table.d.ts
CHANGED
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.uxap.d.ts
CHANGED