@openui5/ts-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 +348 -71
- 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 namespace sap {
|
|
4
4
|
/**
|
|
@@ -2149,7 +2149,7 @@ declare namespace sap {
|
|
|
2149
2149
|
* For the `sap.m.Table` control, if the `items` aggregation of the table is not bound then the callback
|
|
2150
2150
|
* function gets called with the row instance instead of the binding context.
|
|
2151
2151
|
* The callback function must return the cell data that is then stringified and copied to the clipboard.
|
|
2152
|
-
* If an array is returned from the callback function, then each array
|
|
2152
|
+
* If an array is returned from the callback function, then each array value will be copied as a separate
|
|
2153
2153
|
* cell into the clipboard.
|
|
2154
2154
|
* If a column should not be copied to the clipboard, then the callback function must return `undefined`
|
|
2155
2155
|
* or `null` for each cell of the same column.
|
|
@@ -2852,6 +2852,9 @@ declare namespace sap {
|
|
|
2852
2852
|
* Creates and returns a Copy button that can be used to trigger a copy action, for example, from the table
|
|
2853
2853
|
* toolbar.
|
|
2854
2854
|
*
|
|
2855
|
+
* **Note:** The `visible` and `enabled` properties of the Copy button must be managed through this plugin's
|
|
2856
|
+
* own `visible` and `enabled` properties.
|
|
2857
|
+
*
|
|
2855
2858
|
* @returns The button instance
|
|
2856
2859
|
*/
|
|
2857
2860
|
getCopyButton(
|
|
@@ -2916,7 +2919,7 @@ declare namespace sap {
|
|
|
2916
2919
|
* For the `sap.m.Table` control, if the `items` aggregation of the table is not bound then the callback
|
|
2917
2920
|
* function gets called with the row instance instead of the binding context.
|
|
2918
2921
|
* The callback function must return the cell data that is then stringified and copied to the clipboard.
|
|
2919
|
-
* If an array is returned from the callback function, then each array
|
|
2922
|
+
* If an array is returned from the callback function, then each array value will be copied as a separate
|
|
2920
2923
|
* cell into the clipboard.
|
|
2921
2924
|
* If a column should not be copied to the clipboard, then the callback function must return `undefined`
|
|
2922
2925
|
* or `null` for each cell of the same column.
|
|
@@ -3024,7 +3027,7 @@ declare namespace sap {
|
|
|
3024
3027
|
* For the `sap.m.Table` control, if the `items` aggregation of the table is not bound then the callback
|
|
3025
3028
|
* function gets called with the row instance instead of the binding context.
|
|
3026
3029
|
* The callback function must return the cell data that is then stringified and copied to the clipboard.
|
|
3027
|
-
* If an array is returned from the callback function, then each array
|
|
3030
|
+
* If an array is returned from the callback function, then each array value will be copied as a separate
|
|
3028
3031
|
* cell into the clipboard.
|
|
3029
3032
|
* If a column should not be copied to the clipboard, then the callback function must return `undefined`
|
|
3030
3033
|
* or `null` for each cell of the same column.
|
|
@@ -27810,7 +27813,8 @@ declare namespace sap {
|
|
|
27810
27813
|
* @since 1.46
|
|
27811
27814
|
*
|
|
27812
27815
|
* Specifies whether the suggestions highlighting is enabled. **Note:** Due to performance constraints,
|
|
27813
|
-
* the functionality will be disabled above 200 items.
|
|
27816
|
+
* the functionality will be disabled above 200 items. **Note:** Highlighting in table suggestions will
|
|
27817
|
+
* work only for cells containing sap.m.Label or sap.m.Text controls.
|
|
27814
27818
|
*/
|
|
27815
27819
|
enableSuggestionsHighlighting?:
|
|
27816
27820
|
| boolean
|
|
@@ -44013,6 +44017,8 @@ declare namespace sap {
|
|
|
44013
44017
|
|
|
44014
44018
|
/**
|
|
44015
44019
|
* @since 1.21.2
|
|
44020
|
+
* @deprecated (since 1.120) - In case of SAPUI5, see demokit sample 'Smart Field with ValueList Annotation'.
|
|
44021
|
+
* In case of OpenUI5, see demokit sample 'Input - Suggestions - Dynamic'.
|
|
44016
44022
|
*
|
|
44017
44023
|
* Suggestion helper for `sap.m.Input` fields when used with an OData model.
|
|
44018
44024
|
*
|
|
@@ -53795,7 +53801,12 @@ declare namespace sap {
|
|
|
53795
53801
|
*
|
|
53796
53802
|
* @returns jQuery object
|
|
53797
53803
|
*/
|
|
53798
|
-
getTabbables(
|
|
53804
|
+
getTabbables(
|
|
53805
|
+
/**
|
|
53806
|
+
* Whether only tabbables of data cells
|
|
53807
|
+
*/
|
|
53808
|
+
bContentOnly?: undefined
|
|
53809
|
+
): jQuery;
|
|
53799
53810
|
/**
|
|
53800
53811
|
* @since 1.20
|
|
53801
53812
|
*
|
|
@@ -73886,7 +73897,8 @@ declare namespace sap {
|
|
|
73886
73897
|
* Gets current value of property {@link #getEnableSuggestionsHighlighting enableSuggestionsHighlighting}.
|
|
73887
73898
|
*
|
|
73888
73899
|
* Specifies whether the suggestions highlighting is enabled. **Note:** Due to performance constraints,
|
|
73889
|
-
* the functionality will be disabled above 200 items.
|
|
73900
|
+
* the functionality will be disabled above 200 items. **Note:** Highlighting in table suggestions will
|
|
73901
|
+
* work only for cells containing sap.m.Label or sap.m.Text controls.
|
|
73890
73902
|
*
|
|
73891
73903
|
* Default value is `true`.
|
|
73892
73904
|
*
|
|
@@ -74587,7 +74599,8 @@ declare namespace sap {
|
|
|
74587
74599
|
* Sets a new value for property {@link #getEnableSuggestionsHighlighting enableSuggestionsHighlighting}.
|
|
74588
74600
|
*
|
|
74589
74601
|
* Specifies whether the suggestions highlighting is enabled. **Note:** Due to performance constraints,
|
|
74590
|
-
* the functionality will be disabled above 200 items.
|
|
74602
|
+
* the functionality will be disabled above 200 items. **Note:** Highlighting in table suggestions will
|
|
74603
|
+
* work only for cells containing sap.m.Label or sap.m.Text controls.
|
|
74591
74604
|
*
|
|
74592
74605
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
74593
74606
|
*
|
|
@@ -80824,7 +80837,12 @@ declare namespace sap {
|
|
|
80824
80837
|
*
|
|
80825
80838
|
* @returns jQuery object
|
|
80826
80839
|
*/
|
|
80827
|
-
getTabbables(
|
|
80840
|
+
getTabbables(
|
|
80841
|
+
/**
|
|
80842
|
+
* Whether only tabbables of the content area
|
|
80843
|
+
*/
|
|
80844
|
+
bContentOnly?: undefined
|
|
80845
|
+
): jQuery;
|
|
80828
80846
|
/**
|
|
80829
80847
|
* Gets current value of property {@link #getType type}.
|
|
80830
80848
|
*
|
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 namespace sap {
|
|
4
4
|
/**
|
|
@@ -265,6 +265,8 @@ declare namespace sap {
|
|
|
265
265
|
fixedItem?: sap.tnt.NavigationList;
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
|
+
* @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
|
|
269
|
+
*
|
|
268
270
|
* Defines the content inside the footer.
|
|
269
271
|
*/
|
|
270
272
|
footer?: sap.tnt.NavigationList;
|
|
@@ -1597,6 +1599,8 @@ declare namespace sap {
|
|
|
1597
1599
|
*/
|
|
1598
1600
|
destroyFixedItem(): this;
|
|
1599
1601
|
/**
|
|
1602
|
+
* @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
|
|
1603
|
+
*
|
|
1600
1604
|
* Destroys the footer in the aggregation {@link #getFooter footer}.
|
|
1601
1605
|
*
|
|
1602
1606
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -1665,6 +1669,8 @@ declare namespace sap {
|
|
|
1665
1669
|
*/
|
|
1666
1670
|
getFixedItem(): sap.tnt.NavigationList;
|
|
1667
1671
|
/**
|
|
1672
|
+
* @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
|
|
1673
|
+
*
|
|
1668
1674
|
* Gets content of aggregation {@link #getFooter footer}.
|
|
1669
1675
|
*
|
|
1670
1676
|
* Defines the content inside the footer.
|
|
@@ -1746,6 +1752,8 @@ declare namespace sap {
|
|
|
1746
1752
|
oFixedItem: sap.tnt.NavigationList
|
|
1747
1753
|
): this;
|
|
1748
1754
|
/**
|
|
1755
|
+
* @deprecated (since 1.120) - Use the aggregation `fixedItem` instead.
|
|
1756
|
+
*
|
|
1749
1757
|
* Sets the aggregated {@link #getFooter footer}.
|
|
1750
1758
|
*
|
|
1751
1759
|
* @returns Reference to `this` in order to allow method chaining
|
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
|
/**
|
|
@@ -3593,6 +3593,118 @@ declare module "sap/ui/core/AnimationMode" {
|
|
|
3593
3593
|
export default AnimationMode;
|
|
3594
3594
|
}
|
|
3595
3595
|
|
|
3596
|
+
declare module "sap/ui/core/ComponentRegistry" {
|
|
3597
|
+
/**
|
|
3598
|
+
* @since 1.120
|
|
3599
|
+
*
|
|
3600
|
+
* Registry of all `Component`s that currently exist.
|
|
3601
|
+
*/
|
|
3602
|
+
interface ComponentRegistry {
|
|
3603
|
+
/**
|
|
3604
|
+
* Number of existing components.
|
|
3605
|
+
*/
|
|
3606
|
+
size: int;
|
|
3607
|
+
|
|
3608
|
+
/**
|
|
3609
|
+
* Return an object with all instances of `sap.ui.core.Component`, keyed by their ID.
|
|
3610
|
+
*
|
|
3611
|
+
* Each call creates a new snapshot object. Depending on the size of the UI, this operation therefore might
|
|
3612
|
+
* be expensive. Consider to use the `forEach` or `filter` method instead of executing similar operations
|
|
3613
|
+
* on the returned object.
|
|
3614
|
+
*
|
|
3615
|
+
* **Note**: The returned object is created by a call to `Object.create(null)`, and therefore lacks all
|
|
3616
|
+
* methods of `Object.prototype`, e.g. `toString` etc.
|
|
3617
|
+
*
|
|
3618
|
+
* @returns Object with all components, keyed by their ID
|
|
3619
|
+
*/
|
|
3620
|
+
all(): Record<sap.ui.core.ID, sap.ui.core.Component>;
|
|
3621
|
+
/**
|
|
3622
|
+
* Returns an array with components for which the given `callback` returns a value that coerces to `true`.
|
|
3623
|
+
*
|
|
3624
|
+
* The expected signature of the callback is
|
|
3625
|
+
* ```javascript
|
|
3626
|
+
*
|
|
3627
|
+
* function callback(oComponent, sID)
|
|
3628
|
+
* ```
|
|
3629
|
+
* where `oComponent` is the currently visited component instance and `sID` is the ID of that instance.
|
|
3630
|
+
*
|
|
3631
|
+
* If components are created or destroyed within the `callback`, then the behavior is not specified. Newly
|
|
3632
|
+
* added objects might or might not be visited. When a component is destroyed during the filtering and was
|
|
3633
|
+
* not visited yet, it might or might not be visited. As the behavior for such concurrent modifications
|
|
3634
|
+
* is not specified, it may change in newer releases.
|
|
3635
|
+
*
|
|
3636
|
+
* If a `thisArg` is given, it will be provided as `this` context when calling `callback`. The `this` value
|
|
3637
|
+
* that the implementation of `callback` sees, depends on the usual resolution mechanism. E.g. when `callback`
|
|
3638
|
+
* was bound to some context object, that object wins over the given `thisArg`.
|
|
3639
|
+
*
|
|
3640
|
+
* This function returns an array with all components matching the given predicate. The order of the components
|
|
3641
|
+
* in the array is not specified and might change between calls (over time and across different versions
|
|
3642
|
+
* of UI5).
|
|
3643
|
+
*
|
|
3644
|
+
* @returns Array of components matching the predicate; order is undefined and might change in newer versions
|
|
3645
|
+
* of UI5
|
|
3646
|
+
*/
|
|
3647
|
+
filter(
|
|
3648
|
+
/**
|
|
3649
|
+
* predicate against which each Component is tested
|
|
3650
|
+
*/
|
|
3651
|
+
callback: (p1: sap.ui.core.Component, p2: sap.ui.core.ID) => boolean,
|
|
3652
|
+
/**
|
|
3653
|
+
* context object to provide as `this` in each call of `callback`
|
|
3654
|
+
*/
|
|
3655
|
+
thisArg?: Object
|
|
3656
|
+
): sap.ui.core.Component[];
|
|
3657
|
+
/**
|
|
3658
|
+
* Calls the given `callback` for each existing component.
|
|
3659
|
+
*
|
|
3660
|
+
* The expected signature of the callback is
|
|
3661
|
+
* ```javascript
|
|
3662
|
+
*
|
|
3663
|
+
* function callback(oComponent, sID)
|
|
3664
|
+
* ```
|
|
3665
|
+
* where `oComponent` is the currently visited component instance and `sID` is the ID of that instance.
|
|
3666
|
+
*
|
|
3667
|
+
* The order in which the callback is called for components is not specified and might change between calls
|
|
3668
|
+
* (over time and across different versions of UI5).
|
|
3669
|
+
*
|
|
3670
|
+
* If components are created or destroyed within the `callback`, then the behavior is not specified. Newly
|
|
3671
|
+
* added objects might or might not be visited. When a component is destroyed during the filtering and was
|
|
3672
|
+
* not visited yet, it might or might not be visited. As the behavior for such concurrent modifications
|
|
3673
|
+
* is not specified, it may change in newer releases.
|
|
3674
|
+
*
|
|
3675
|
+
* If a `thisArg` is given, it will be provided as `this` context when calling `callback`. The `this` value
|
|
3676
|
+
* that the implementation of `callback` sees, depends on the usual resolution mechanism. E.g. when `callback`
|
|
3677
|
+
* was bound to some context object, that object wins over the given `thisArg`.
|
|
3678
|
+
*/
|
|
3679
|
+
forEach(
|
|
3680
|
+
/**
|
|
3681
|
+
* Function to call for each Component
|
|
3682
|
+
*/
|
|
3683
|
+
callback: (p1: sap.ui.core.Component, p2: sap.ui.core.ID) => void,
|
|
3684
|
+
/**
|
|
3685
|
+
* Context object to provide as `this` in each call of `callback`
|
|
3686
|
+
*/
|
|
3687
|
+
thisArg?: Object
|
|
3688
|
+
): void;
|
|
3689
|
+
/**
|
|
3690
|
+
* Retrieves a Component by its ID.
|
|
3691
|
+
*
|
|
3692
|
+
* When the ID is `null` or `undefined` or when there's no Component with the given ID, then `undefined`
|
|
3693
|
+
* is returned.
|
|
3694
|
+
*
|
|
3695
|
+
* @returns Component with the given ID or `undefined`
|
|
3696
|
+
*/
|
|
3697
|
+
get(
|
|
3698
|
+
/**
|
|
3699
|
+
* ID of the Component to retrieve
|
|
3700
|
+
*/
|
|
3701
|
+
id: sap.ui.core.ID
|
|
3702
|
+
): sap.ui.core.Component | undefined;
|
|
3703
|
+
}
|
|
3704
|
+
const ComponentRegistry: ComponentRegistry;
|
|
3705
|
+
export default ComponentRegistry;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3596
3708
|
declare module "sap/ui/core/ComponentSupport" {
|
|
3597
3709
|
/**
|
|
3598
3710
|
* @since 1.58.0
|
|
@@ -4352,6 +4464,118 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4352
4464
|
}
|
|
4353
4465
|
}
|
|
4354
4466
|
|
|
4467
|
+
declare module "sap/ui/core/ElementRegistry" {
|
|
4468
|
+
/**
|
|
4469
|
+
* @since 1.120
|
|
4470
|
+
*
|
|
4471
|
+
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
4472
|
+
*/
|
|
4473
|
+
interface ElementRegistry {
|
|
4474
|
+
/**
|
|
4475
|
+
* Number of existing elements.
|
|
4476
|
+
*/
|
|
4477
|
+
size: int;
|
|
4478
|
+
|
|
4479
|
+
/**
|
|
4480
|
+
* Return an object with all instances of `sap.ui.core.Element`, keyed by their ID.
|
|
4481
|
+
*
|
|
4482
|
+
* Each call creates a new snapshot object. Depending on the size of the UI, this operation therefore might
|
|
4483
|
+
* be expensive. Consider to use the `forEach` or `filter` method instead of executing similar operations
|
|
4484
|
+
* on the returned object.
|
|
4485
|
+
*
|
|
4486
|
+
* **Note**: The returned object is created by a call to `Object.create(null)`, and therefore lacks all
|
|
4487
|
+
* methods of `Object.prototype`, e.g. `toString` etc.
|
|
4488
|
+
*
|
|
4489
|
+
* @returns Object with all elements, keyed by their ID
|
|
4490
|
+
*/
|
|
4491
|
+
all(): Record<sap.ui.core.ID, sap.ui.core.Element>;
|
|
4492
|
+
/**
|
|
4493
|
+
* Returns an array with elements for which the given `callback` returns a value that coerces to `true`.
|
|
4494
|
+
*
|
|
4495
|
+
* The expected signature of the callback is
|
|
4496
|
+
* ```javascript
|
|
4497
|
+
*
|
|
4498
|
+
* function callback(oElement, sID)
|
|
4499
|
+
* ```
|
|
4500
|
+
* where `oElement` is the currently visited element instance and `sID` is the ID of that instance.
|
|
4501
|
+
*
|
|
4502
|
+
* If elements are created or destroyed within the `callback`, then the behavior is not specified. Newly
|
|
4503
|
+
* added objects might or might not be visited. When an element is destroyed during the filtering and was
|
|
4504
|
+
* not visited yet, it might or might not be visited. As the behavior for such concurrent modifications
|
|
4505
|
+
* is not specified, it may change in newer releases.
|
|
4506
|
+
*
|
|
4507
|
+
* If a `thisArg` is given, it will be provided as `this` context when calling `callback`. The `this` value
|
|
4508
|
+
* that the implementation of `callback` sees, depends on the usual resolution mechanism. E.g. when `callback`
|
|
4509
|
+
* was bound to some context object, that object wins over the given `thisArg`.
|
|
4510
|
+
*
|
|
4511
|
+
* This function returns an array with all elements matching the given predicate. The order of the elements
|
|
4512
|
+
* in the array is not specified and might change between calls (over time and across different versions
|
|
4513
|
+
* of UI5).
|
|
4514
|
+
*
|
|
4515
|
+
* @returns Array of elements matching the predicate; order is undefined and might change in newer versions
|
|
4516
|
+
* of UI5
|
|
4517
|
+
*/
|
|
4518
|
+
filter(
|
|
4519
|
+
/**
|
|
4520
|
+
* predicate against which each element is tested
|
|
4521
|
+
*/
|
|
4522
|
+
callback: (p1: sap.ui.core.Element, p2: sap.ui.core.ID) => boolean,
|
|
4523
|
+
/**
|
|
4524
|
+
* context object to provide as `this` in each call of `callback`
|
|
4525
|
+
*/
|
|
4526
|
+
thisArg?: Object
|
|
4527
|
+
): sap.ui.core.Element[];
|
|
4528
|
+
/**
|
|
4529
|
+
* Calls the given `callback` for each element.
|
|
4530
|
+
*
|
|
4531
|
+
* The expected signature of the callback is
|
|
4532
|
+
* ```javascript
|
|
4533
|
+
*
|
|
4534
|
+
* function callback(oElement, sID)
|
|
4535
|
+
* ```
|
|
4536
|
+
* where `oElement` is the currently visited element instance and `sID` is the ID of that instance.
|
|
4537
|
+
*
|
|
4538
|
+
* The order in which the callback is called for elements is not specified and might change between calls
|
|
4539
|
+
* (over time and across different versions of UI5).
|
|
4540
|
+
*
|
|
4541
|
+
* If elements are created or destroyed within the `callback`, then the behavior is not specified. Newly
|
|
4542
|
+
* added objects might or might not be visited. When an element is destroyed during the filtering and was
|
|
4543
|
+
* not visited yet, it might or might not be visited. As the behavior for such concurrent modifications
|
|
4544
|
+
* is not specified, it may change in newer releases.
|
|
4545
|
+
*
|
|
4546
|
+
* If a `thisArg` is given, it will be provided as `this` context when calling `callback`. The `this` value
|
|
4547
|
+
* that the implementation of `callback` sees, depends on the usual resolution mechanism. E.g. when `callback`
|
|
4548
|
+
* was bound to some context object, that object wins over the given `thisArg`.
|
|
4549
|
+
*/
|
|
4550
|
+
forEach(
|
|
4551
|
+
/**
|
|
4552
|
+
* Function to call for each element
|
|
4553
|
+
*/
|
|
4554
|
+
callback: (p1: sap.ui.core.Element, p2: sap.ui.core.ID) => void,
|
|
4555
|
+
/**
|
|
4556
|
+
* Context object to provide as `this` in each call of `callback`
|
|
4557
|
+
*/
|
|
4558
|
+
thisArg?: Object
|
|
4559
|
+
): void;
|
|
4560
|
+
/**
|
|
4561
|
+
* Retrieves an Element by its ID.
|
|
4562
|
+
*
|
|
4563
|
+
* When the ID is `null` or `undefined` or when there's no element with the given ID, then `undefined` is
|
|
4564
|
+
* returned.
|
|
4565
|
+
*
|
|
4566
|
+
* @returns Element with the given ID or `undefined`
|
|
4567
|
+
*/
|
|
4568
|
+
get(
|
|
4569
|
+
/**
|
|
4570
|
+
* ID of the element to retrieve
|
|
4571
|
+
*/
|
|
4572
|
+
id: sap.ui.core.ID
|
|
4573
|
+
): sap.ui.core.Element | undefined;
|
|
4574
|
+
}
|
|
4575
|
+
const ElementRegistry: ElementRegistry;
|
|
4576
|
+
export default ElementRegistry;
|
|
4577
|
+
}
|
|
4578
|
+
|
|
4355
4579
|
declare module "sap/ui/core/getCompatibilityVersion" {
|
|
4356
4580
|
import Version from "sap/base/util/Version";
|
|
4357
4581
|
|
|
@@ -18041,7 +18265,7 @@ declare namespace sap {
|
|
|
18041
18265
|
/**
|
|
18042
18266
|
* The message type
|
|
18043
18267
|
*/
|
|
18044
|
-
type?: sap
|
|
18268
|
+
type?: import("sap/ui/core/message/MessageType").default;
|
|
18045
18269
|
/**
|
|
18046
18270
|
* The message code
|
|
18047
18271
|
*/
|
|
@@ -18218,7 +18442,7 @@ declare namespace sap {
|
|
|
18218
18442
|
*
|
|
18219
18443
|
* @returns type
|
|
18220
18444
|
*/
|
|
18221
|
-
getType(): sap
|
|
18445
|
+
getType(): import("sap/ui/core/message/MessageType").default;
|
|
18222
18446
|
/**
|
|
18223
18447
|
* Sets the additionaltext for the message or merge different additionaltext strings
|
|
18224
18448
|
*/
|
|
@@ -18340,7 +18564,7 @@ declare namespace sap {
|
|
|
18340
18564
|
/**
|
|
18341
18565
|
* The Message type
|
|
18342
18566
|
*/
|
|
18343
|
-
sType: sap
|
|
18567
|
+
sType: import("sap/ui/core/message/MessageType").default
|
|
18344
18568
|
): void;
|
|
18345
18569
|
}
|
|
18346
18570
|
/**
|
|
@@ -20315,6 +20539,8 @@ declare namespace sap {
|
|
|
20315
20539
|
sId: string
|
|
20316
20540
|
): sap.ui.core.Element | undefined;
|
|
20317
20541
|
/**
|
|
20542
|
+
* @deprecated (since 1.120) - please call the corresponding View factory instead, e.g. {@link sap.ui.core.mvc.XMLView.create}
|
|
20543
|
+
*
|
|
20318
20544
|
* Creates a clone of this view.
|
|
20319
20545
|
*
|
|
20320
20546
|
* Overrides the clone method to avoid conflicts between generic cloning of the content aggregation and
|
|
@@ -21164,6 +21390,7 @@ declare namespace sap {
|
|
|
21164
21390
|
namespace Component {
|
|
21165
21391
|
/**
|
|
21166
21392
|
* @since 1.67
|
|
21393
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ComponentRegistry} instead.
|
|
21167
21394
|
*
|
|
21168
21395
|
* Registry of all `Component`s that currently exist.
|
|
21169
21396
|
*/
|
|
@@ -21758,6 +21985,7 @@ declare namespace sap {
|
|
|
21758
21985
|
}
|
|
21759
21986
|
/**
|
|
21760
21987
|
* @since 1.67
|
|
21988
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ElementRegistry} instead.
|
|
21761
21989
|
*
|
|
21762
21990
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
21763
21991
|
*/
|
|
@@ -21848,6 +22076,20 @@ declare namespace sap {
|
|
|
21848
22076
|
*/
|
|
21849
22077
|
thisArg?: Object
|
|
21850
22078
|
): void;
|
|
22079
|
+
/**
|
|
22080
|
+
* Retrieves an Element by its ID.
|
|
22081
|
+
*
|
|
22082
|
+
* When the ID is `null` or `undefined` or when there's no element with the given ID, then `undefined` is
|
|
22083
|
+
* returned.
|
|
22084
|
+
*
|
|
22085
|
+
* @returns Element with the given ID or `undefined`
|
|
22086
|
+
*/
|
|
22087
|
+
get(
|
|
22088
|
+
/**
|
|
22089
|
+
* ID of the element to retrieve
|
|
22090
|
+
*/
|
|
22091
|
+
id: sap.ui.core.ID
|
|
22092
|
+
): sap.ui.core.Element | undefined;
|
|
21851
22093
|
}
|
|
21852
22094
|
|
|
21853
22095
|
/**
|
|
@@ -27354,16 +27596,21 @@ declare namespace sap {
|
|
|
27354
27596
|
namespace UIArea {
|
|
27355
27597
|
/**
|
|
27356
27598
|
* @since 1.107
|
|
27599
|
+
* @deprecated (since 1.120)
|
|
27357
27600
|
*
|
|
27358
27601
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
27359
27602
|
*/
|
|
27360
27603
|
interface registry {
|
|
27361
27604
|
/**
|
|
27605
|
+
* @deprecated (since 1.120)
|
|
27606
|
+
*
|
|
27362
27607
|
* Number of existing UIAreas.
|
|
27363
27608
|
*/
|
|
27364
27609
|
size: int;
|
|
27365
27610
|
|
|
27366
27611
|
/**
|
|
27612
|
+
* @deprecated (since 1.120)
|
|
27613
|
+
*
|
|
27367
27614
|
* Return an object with all instances of `sap.ui.core.UIArea`, keyed by their ID.
|
|
27368
27615
|
*
|
|
27369
27616
|
* Each call creates a new snapshot object. Depending on the size of the UI, this operation therefore might
|
|
@@ -27377,6 +27624,8 @@ declare namespace sap {
|
|
|
27377
27624
|
*/
|
|
27378
27625
|
all(): Record<sap.ui.core.ID, sap.ui.core.UIArea>;
|
|
27379
27626
|
/**
|
|
27627
|
+
* @deprecated (since 1.120)
|
|
27628
|
+
*
|
|
27380
27629
|
* Returns an array with UIAreas for which the given `callback` returns a value that coerces to `true`.
|
|
27381
27630
|
*
|
|
27382
27631
|
* The expected signature of the callback is
|
|
@@ -27413,6 +27662,8 @@ declare namespace sap {
|
|
|
27413
27662
|
thisArg?: Object
|
|
27414
27663
|
): sap.ui.core.UIArea[];
|
|
27415
27664
|
/**
|
|
27665
|
+
* @deprecated (since 1.120)
|
|
27666
|
+
*
|
|
27416
27667
|
* Calls the given `callback` for each UIArea.
|
|
27417
27668
|
*
|
|
27418
27669
|
* The expected signature of the callback is
|
|
@@ -27445,6 +27696,8 @@ declare namespace sap {
|
|
|
27445
27696
|
thisArg?: Object
|
|
27446
27697
|
): void;
|
|
27447
27698
|
/**
|
|
27699
|
+
* @deprecated (since 1.120)
|
|
27700
|
+
*
|
|
27448
27701
|
* Retrieves an UIArea by its ID.
|
|
27449
27702
|
*
|
|
27450
27703
|
* When the ID is `null` or `undefined` or when there's no UIArea with the given ID, then `undefined` is
|
|
@@ -37657,18 +37910,24 @@ declare namespace sap {
|
|
|
37657
37910
|
*/
|
|
37658
37911
|
static getActiveElement(): sap.ui.core.Element | undefined;
|
|
37659
37912
|
/**
|
|
37660
|
-
*
|
|
37913
|
+
* @since 1.119
|
|
37661
37914
|
*
|
|
37662
|
-
*
|
|
37663
|
-
*
|
|
37915
|
+
* Returns the registered element with the given ID, if any.
|
|
37916
|
+
*
|
|
37917
|
+
* The ID must be the globally unique ID of an element, the same as returned by `oElement.getId()`.
|
|
37918
|
+
*
|
|
37919
|
+
* When the element has been created from a declarative source (e.g. XMLView), that source might have used
|
|
37920
|
+
* a shorter, non-unique local ID. A search for such a local ID cannot be executed with this method. It
|
|
37921
|
+
* 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 }
|
|
37922
|
+
* method of that scope.
|
|
37664
37923
|
*
|
|
37665
37924
|
* @returns Element with the given ID or `undefined`
|
|
37666
37925
|
*/
|
|
37667
37926
|
static getElementById(
|
|
37668
37927
|
/**
|
|
37669
|
-
* ID of the element to
|
|
37928
|
+
* ID of the element to search for
|
|
37670
37929
|
*/
|
|
37671
|
-
|
|
37930
|
+
sId: sap.ui.core.ID | null | undefined
|
|
37672
37931
|
): sap.ui.core.Element | undefined;
|
|
37673
37932
|
/**
|
|
37674
37933
|
* Returns a metadata object for class sap.ui.core.Element.
|
|
@@ -38414,12 +38673,19 @@ declare namespace sap {
|
|
|
38414
38673
|
oDelegate: object
|
|
38415
38674
|
): this;
|
|
38416
38675
|
/**
|
|
38417
|
-
* @
|
|
38676
|
+
* @deprecated (since 1.70) - using this method is no longer recommended, but still works. Synchronous DOM
|
|
38677
|
+
* updates via this method have several drawbacks: they only work when the control has been rendered before
|
|
38678
|
+
* (no initial rendering possible), multiple state changes won't be combined automatically into a single
|
|
38679
|
+
* re-rendering, they might cause additional layout trashing, standard invalidation might cause another
|
|
38680
|
+
* async re-rendering.
|
|
38418
38681
|
*
|
|
38419
|
-
*
|
|
38682
|
+
* The recommended alternative is to rely on invalidation and standard re-rendering.
|
|
38420
38683
|
*
|
|
38421
38684
|
* As `sap.ui.core.Element` "bubbles up" the rerender, changes to child-`Elements` will also result in immediate
|
|
38422
38685
|
* rerendering of the whole sub tree.
|
|
38686
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
38687
|
+
*
|
|
38688
|
+
* This triggers immediate rerendering of its parent and thus of itself and its children.
|
|
38423
38689
|
*/
|
|
38424
38690
|
rerender(): void;
|
|
38425
38691
|
/**
|
|
@@ -41778,35 +42044,33 @@ declare namespace sap {
|
|
|
41778
42044
|
/**
|
|
41779
42045
|
* Get month names in width "narrow", "abbreviated" or "wide".
|
|
41780
42046
|
*
|
|
41781
|
-
* @returns array of month names
|
|
42047
|
+
* @returns The array of month names
|
|
41782
42048
|
*/
|
|
41783
42049
|
getMonths(
|
|
41784
42050
|
/**
|
|
41785
|
-
*
|
|
42051
|
+
* The required width for the month names
|
|
41786
42052
|
*/
|
|
41787
|
-
sWidth:
|
|
42053
|
+
sWidth: "narrow" | "abbreviated" | "wide",
|
|
41788
42054
|
/**
|
|
41789
|
-
*
|
|
41790
|
-
* or calculated from locale.
|
|
42055
|
+
* The type of calendar; defaults to the calendar type either set in configuration or calculated from locale
|
|
41791
42056
|
*/
|
|
41792
42057
|
sCalendarType?: sap.ui.core.CalendarType
|
|
41793
|
-
):
|
|
42058
|
+
): string[];
|
|
41794
42059
|
/**
|
|
41795
42060
|
* Get standalone month names in width "narrow", "abbreviated" or "wide".
|
|
41796
42061
|
*
|
|
41797
|
-
* @returns array of month names
|
|
42062
|
+
* @returns The array of standalone month names
|
|
41798
42063
|
*/
|
|
41799
42064
|
getMonthsStandAlone(
|
|
41800
42065
|
/**
|
|
41801
|
-
*
|
|
42066
|
+
* The required width for the month names
|
|
41802
42067
|
*/
|
|
41803
|
-
sWidth:
|
|
42068
|
+
sWidth: "narrow" | "abbreviated" | "wide",
|
|
41804
42069
|
/**
|
|
41805
|
-
*
|
|
41806
|
-
* or calculated from locale.
|
|
42070
|
+
* The type of calendar; defaults to the calendar type either set in configuration or calculated from locale
|
|
41807
42071
|
*/
|
|
41808
42072
|
sCalendarType?: sap.ui.core.CalendarType
|
|
41809
|
-
):
|
|
42073
|
+
): string[];
|
|
41810
42074
|
/**
|
|
41811
42075
|
* Get number symbol "decimal", "group", "plusSign", "minusSign", "percentSign".
|
|
41812
42076
|
*
|
|
@@ -42412,6 +42676,8 @@ declare namespace sap {
|
|
|
42412
42676
|
): string;
|
|
42413
42677
|
}
|
|
42414
42678
|
/**
|
|
42679
|
+
* @deprecated (since 1.120) - Please use {@link sap.ui.core.message.Message} instead.
|
|
42680
|
+
*
|
|
42415
42681
|
* This element is used to provide messages.
|
|
42416
42682
|
*
|
|
42417
42683
|
* Rendering must be done within the control that uses this kind of element. Its default level is none.
|
|
@@ -47267,6 +47533,8 @@ declare namespace sap {
|
|
|
47267
47533
|
Polite = "Polite",
|
|
47268
47534
|
}
|
|
47269
47535
|
/**
|
|
47536
|
+
* @deprecated (since 1.120) - Please use {@link sap.ui.core.message.MessageType} instead.
|
|
47537
|
+
*
|
|
47270
47538
|
* Specifies possible message types.
|
|
47271
47539
|
*/
|
|
47272
47540
|
enum MessageType {
|
|
@@ -58532,8 +58800,7 @@ declare namespace sap {
|
|
|
58532
58800
|
context?: sap.ui.model.odata.v4.Context;
|
|
58533
58801
|
|
|
58534
58802
|
/**
|
|
58535
|
-
* Whether the POST was successfully processed; in case of an error, the error is already reported to
|
|
58536
|
-
* {@link sap.ui.core.message.MessageManager}
|
|
58803
|
+
* Whether the POST was successfully processed; in case of an error, the error is already reported to {@link sap.ui.core.Messaging}
|
|
58537
58804
|
*/
|
|
58538
58805
|
success?: boolean;
|
|
58539
58806
|
}
|
|
@@ -59540,14 +59807,13 @@ declare namespace sap {
|
|
|
59540
59807
|
/**
|
|
59541
59808
|
* @experimental (since 1.120.0)
|
|
59542
59809
|
*
|
|
59543
|
-
* Returns the parent node (in case of a recursive hierarchy
|
|
59544
|
-
*
|
|
59545
|
-
* See:
|
|
59546
|
-
* #requestParent
|
|
59810
|
+
* Returns the parent node (in case of a recursive hierarchy; see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation})
|
|
59811
|
+
* or `undefined` if the parent of this node hasn't been read yet; it can then be requested via {@link #requestParent}.
|
|
59547
59812
|
*
|
|
59548
|
-
* @returns The parent node, or `null` if this node is a root node and thus has no parent
|
|
59813
|
+
* @returns The parent node, or `null` if this node is a root node and thus has no parent, or `undefined`
|
|
59814
|
+
* if the parent node hasn't been read yet
|
|
59549
59815
|
*/
|
|
59550
|
-
getParent(): sap.ui.model.odata.v4.Context | null;
|
|
59816
|
+
getParent(): sap.ui.model.odata.v4.Context | null | undefined;
|
|
59551
59817
|
/**
|
|
59552
59818
|
* @since 1.39.0
|
|
59553
59819
|
*
|
|
@@ -59606,7 +59872,7 @@ declare namespace sap {
|
|
|
59606
59872
|
/**
|
|
59607
59873
|
* Some node which may be a descendant
|
|
59608
59874
|
*/
|
|
59609
|
-
oNode
|
|
59875
|
+
oNode?: sap.ui.model.odata.v4.Context
|
|
59610
59876
|
): boolean;
|
|
59611
59877
|
/**
|
|
59612
59878
|
* @since 1.105.0
|
|
@@ -59691,9 +59957,10 @@ declare namespace sap {
|
|
|
59691
59957
|
* @experimental (since 1.119.0)
|
|
59692
59958
|
*
|
|
59693
59959
|
* Moves this node to the given parent (in case of a recursive hierarchy, see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation},
|
|
59694
|
-
* where `oAggregation.expandTo` must be one). No other {@link sap.ui.model.odata.v4.ODataListBinding#create creation},
|
|
59960
|
+
* 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},
|
|
59695
59961
|
* {@link #delete deletion}, or move must be pending, and no other modification (including collapse of some
|
|
59696
|
-
* ancestor node) must happen while this move is pending!
|
|
59962
|
+
* ancestor node) must happen while this move is pending! Omitting a new parent turns this node into a root
|
|
59963
|
+
* node (since 1.121.0).
|
|
59697
59964
|
*
|
|
59698
59965
|
* This context's {@link #getIndex index} may change and it becomes "created persisted", with {@link #isTransient }
|
|
59699
59966
|
* returning `false` etc.
|
|
@@ -59705,11 +59972,11 @@ declare namespace sap {
|
|
|
59705
59972
|
/**
|
|
59706
59973
|
* A parameter object
|
|
59707
59974
|
*/
|
|
59708
|
-
oParameters
|
|
59975
|
+
oParameters?: {
|
|
59709
59976
|
/**
|
|
59710
59977
|
* The new parent's context
|
|
59711
59978
|
*/
|
|
59712
|
-
parent
|
|
59979
|
+
parent?: sap.ui.model.odata.v4.Context;
|
|
59713
59980
|
}
|
|
59714
59981
|
): Promise<void>;
|
|
59715
59982
|
/**
|
|
@@ -59791,8 +60058,9 @@ declare namespace sap {
|
|
|
59791
60058
|
/**
|
|
59792
60059
|
* @experimental (since 1.120.0)
|
|
59793
60060
|
*
|
|
59794
|
-
* Requests the parent node (in case of a recursive hierarchy
|
|
59795
|
-
*
|
|
60061
|
+
* Requests the parent node (in case of a recursive hierarchy; see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}).
|
|
60062
|
+
*
|
|
60063
|
+
* Note: **DO NOT** call {@link #setKeepAlive} on the resulting context!
|
|
59796
60064
|
* See:
|
|
59797
60065
|
* #getParent
|
|
59798
60066
|
*
|
|
@@ -60779,12 +61047,12 @@ declare namespace sap {
|
|
|
60779
61047
|
* parent's navigation property, which is sent with the payload of the parent entity. Such a nested context
|
|
60780
61048
|
* cannot be inactive.
|
|
60781
61049
|
*
|
|
60782
|
-
* **Note:** After a
|
|
60783
|
-
* longer valid. Do not use the {@link sap.ui.model.odata.v4.Context#created created} promise of such
|
|
60784
|
-
* context! New contexts are created for the nested collection because it is not possible to reliably
|
|
60785
|
-
* the response entities to those of the request, especially if the count differs. For this reason,
|
|
60786
|
-
* `created` promises of all nested contexts are always rejected with an instance of `Error`, even if
|
|
60787
|
-
* deep create succeeds. This error always has the property `canceled` with the value `true`.
|
|
61050
|
+
* **Note:** After a successful creation of the main entity the context returned for a nested entity is
|
|
61051
|
+
* no longer valid. Do not use the {@link sap.ui.model.odata.v4.Context#created created} promise of such
|
|
61052
|
+
* a context! New contexts are created for the nested collection because it is not possible to reliably
|
|
61053
|
+
* assign the response entities to those of the request, especially if the count differs. For this reason,
|
|
61054
|
+
* the `created` promises of all nested contexts are always rejected with an instance of `Error`, even if
|
|
61055
|
+
* the deep create succeeds. This error always has the property `canceled` with the value `true`.
|
|
60788
61056
|
*
|
|
60789
61057
|
* Since 1.118.0 deep create also supports single-valued navigation properties; no API call is required
|
|
60790
61058
|
* in this case. Simply bind properties of the related entity relative to a transient context. An update
|
|
@@ -60994,9 +61262,9 @@ declare namespace sap {
|
|
|
60994
61262
|
* back to the setter (@experimental as of version 1.111.0). They are retrieved from the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy"
|
|
60995
61263
|
* and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy" annotations at this binding's entity type,
|
|
60996
61264
|
* identified via the `hierarchyQualifier` given to {@link #setAggregation}.
|
|
60997
|
-
* "$
|
|
61265
|
+
* "$DistanceFromRoot" holds the path to the property which provides the raw value for "@$ui5.node.level"
|
|
60998
61266
|
* (minus one) and should be used only to interpret the response retrieved via {@link #getDownloadUrl}.
|
|
60999
|
-
* "$
|
|
61267
|
+
* "$DrillState" holds the path to the property which provides the raw value for "@$ui5.node.isExpanded"
|
|
61000
61268
|
* and should be used only to interpret the response retrieved via {@link #getDownloadUrl}. "$NodeProperty"
|
|
61001
61269
|
* holds the path to the property which provides the hierarchy node value. That property is always $select'ed
|
|
61002
61270
|
* automatically and can be accessed as usual.
|
|
@@ -61106,11 +61374,10 @@ declare namespace sap {
|
|
|
61106
61374
|
* @since 1.74.0
|
|
61107
61375
|
*
|
|
61108
61376
|
* Returns a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
61109
|
-
* delivers all entities considering the binding's query options (such as filters or sorters).
|
|
61110
|
-
*
|
|
61111
|
-
*
|
|
61112
|
-
*
|
|
61113
|
-
* add an appropriate value for `$top` at least.
|
|
61377
|
+
* delivers all entities considering the binding's query options (such as filters or sorters). Returns `null`
|
|
61378
|
+
* if the binding's filter is {@link sap.ui.filter.Filter.NONE}. The returned URL does not specify `$skip`
|
|
61379
|
+
* and `$top` and leaves it up to the server how many rows it delivers. Many servers tend to choose a small
|
|
61380
|
+
* limit without `$skip` and `$top`, so it might be wise to add an appropriate value for `$top` at least.
|
|
61114
61381
|
*
|
|
61115
61382
|
* Additionally, you must be aware of server-driven paging and be ready to send a follow-up request if the
|
|
61116
61383
|
* response contains `@odata.nextlink`.
|
|
@@ -61118,9 +61385,9 @@ declare namespace sap {
|
|
|
61118
61385
|
* The URL cannot be determined synchronously in all cases; use {@link #requestDownloadUrl} to allow for
|
|
61119
61386
|
* asynchronous determination then.
|
|
61120
61387
|
*
|
|
61121
|
-
* @returns The download URL
|
|
61388
|
+
* @returns The download URL or `null`
|
|
61122
61389
|
*/
|
|
61123
|
-
getDownloadUrl(): string;
|
|
61390
|
+
getDownloadUrl(): string | null;
|
|
61124
61391
|
/**
|
|
61125
61392
|
* @since 1.81.0
|
|
61126
61393
|
*
|
|
@@ -61352,8 +61619,9 @@ declare namespace sap {
|
|
|
61352
61619
|
/**
|
|
61353
61620
|
* @since 1.74.0
|
|
61354
61621
|
*
|
|
61355
|
-
*
|
|
61356
|
-
* delivers all entities considering the binding's query options (such as filters or sorters).
|
|
61622
|
+
* Resolves with a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
61623
|
+
* delivers all entities considering the binding's query options (such as filters or sorters). Resolves
|
|
61624
|
+
* with `null` if the binding's filter is {@link sap.ui.filter.Filter.NONE}.
|
|
61357
61625
|
*
|
|
61358
61626
|
* The returned URL does not specify `$skip` and `$top` and leaves it up to the server how many rows it
|
|
61359
61627
|
* delivers. Many servers tend to choose a small limit without `$skip` and `$top`, so it might be wise to
|
|
@@ -61364,9 +61632,9 @@ declare namespace sap {
|
|
|
61364
61632
|
* See:
|
|
61365
61633
|
* #getDownloadUrl
|
|
61366
61634
|
*
|
|
61367
|
-
* @returns A promise that is resolved with the download URL
|
|
61635
|
+
* @returns A promise that is resolved with the download URL or `null`
|
|
61368
61636
|
*/
|
|
61369
|
-
requestDownloadUrl(): Promise<string>;
|
|
61637
|
+
requestDownloadUrl(): Promise<string | null>;
|
|
61370
61638
|
/**
|
|
61371
61639
|
* @since 1.86.0
|
|
61372
61640
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -61378,6 +61646,9 @@ declare namespace sap {
|
|
|
61378
61646
|
* The resulting filter does not consider application or control filters specified for this list binding
|
|
61379
61647
|
* in its constructor or in its {@link #filter} method; add filters which you want to keep with the "and"
|
|
61380
61648
|
* conjunction to the resulting filter before calling {@link #filter}.
|
|
61649
|
+
*
|
|
61650
|
+
* If there are only messages for transient entries, the method returns {@link sap.ui.model.Filter.NONE}.
|
|
61651
|
+
* Take care not to combine this filter with other filters.
|
|
61381
61652
|
* See:
|
|
61382
61653
|
* sap.ui.model.ListBinding#requestFilterForMessages
|
|
61383
61654
|
*
|
|
@@ -61470,8 +61741,8 @@ declare namespace sap {
|
|
|
61470
61741
|
* The number (as a positive integer) of different levels initially available without calling {@link sap.ui.model.odata.v4.Context#expand }
|
|
61471
61742
|
* (@experimental as of version 1.105.0; available for read-only hierarchies since 1.117.0), supported only
|
|
61472
61743
|
* if a `hierarchyQualifier` is given. Root nodes are on the first level. By default, only root nodes are
|
|
61473
|
-
* available; they are not yet expanded. Since 1.120.0, `Number.MAX_SAFE_INTEGER` can be used
|
|
61474
|
-
* all levels.
|
|
61744
|
+
* available; they are not yet expanded. Since 1.120.0, `expandTo >= Number.MAX_SAFE_INTEGER` can be used
|
|
61745
|
+
* to expand all levels (`1E16` is recommended inside XML views for simplicity).
|
|
61475
61746
|
*/
|
|
61476
61747
|
expandTo?: number;
|
|
61477
61748
|
/**
|
|
@@ -70256,8 +70527,8 @@ declare namespace sap {
|
|
|
70256
70527
|
oListener?: object
|
|
70257
70528
|
): void;
|
|
70258
70529
|
/**
|
|
70259
|
-
* Removes all control messages for this binding from
|
|
70260
|
-
* tasks.
|
|
70530
|
+
* Removes all control messages for this binding from {@link sap.ui.core.Messaging} in addition to the standard
|
|
70531
|
+
* clean-up tasks.
|
|
70261
70532
|
* See:
|
|
70262
70533
|
* sap.ui.base.EventProvider#destroy
|
|
70263
70534
|
*/
|
|
@@ -71491,7 +71762,7 @@ declare namespace sap {
|
|
|
71491
71762
|
*
|
|
71492
71763
|
* @returns The array of all messages
|
|
71493
71764
|
*/
|
|
71494
|
-
getAllMessages(): sap.ui.core.Message[];
|
|
71765
|
+
getAllMessages(): sap.ui.core.message.Message[];
|
|
71495
71766
|
/**
|
|
71496
71767
|
* Returns the changes of the data state in a map that the control can use in the `refreshDataState` method.
|
|
71497
71768
|
* The changed property's name is the key in the map. Each element in the map contains an object of below
|
|
@@ -71520,7 +71791,7 @@ declare namespace sap {
|
|
|
71520
71791
|
*
|
|
71521
71792
|
* @returns The array of control messages
|
|
71522
71793
|
*/
|
|
71523
|
-
getControlMessages(): sap.ui.core.Message[];
|
|
71794
|
+
getControlMessages(): sap.ui.core.message.Message[];
|
|
71524
71795
|
/**
|
|
71525
71796
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
71526
71797
|
*
|
|
@@ -71547,13 +71818,13 @@ declare namespace sap {
|
|
|
71547
71818
|
*
|
|
71548
71819
|
* @returns The array of all messages
|
|
71549
71820
|
*/
|
|
71550
|
-
getMessages(): sap.ui.core.Message[];
|
|
71821
|
+
getMessages(): sap.ui.core.message.Message[];
|
|
71551
71822
|
/**
|
|
71552
71823
|
* Returns the array of current state messages of the model.
|
|
71553
71824
|
*
|
|
71554
71825
|
* @returns The array of messages of the model
|
|
71555
71826
|
*/
|
|
71556
|
-
getModelMessages(): sap.ui.core.Message[];
|
|
71827
|
+
getModelMessages(): sap.ui.core.message.Message[];
|
|
71557
71828
|
/**
|
|
71558
71829
|
* Returns whether the data state is dirty in the UI control. A data state is dirty in the UI control if
|
|
71559
71830
|
* the entered value did not yet pass the type validation.
|
|
@@ -71991,7 +72262,7 @@ declare namespace sap {
|
|
|
71991
72262
|
*
|
|
71992
72263
|
* @returns The array of all messages
|
|
71993
72264
|
*/
|
|
71994
|
-
getAllMessages(): sap.ui.core.Message[];
|
|
72265
|
+
getAllMessages(): sap.ui.core.message.Message[];
|
|
71995
72266
|
/**
|
|
71996
72267
|
* Returns the changes of the data state in a map that the control can use in the `refreshDataState` method.
|
|
71997
72268
|
* The changed property's name is the key in the map. Each element in the map contains an object with the
|
|
@@ -72006,7 +72277,7 @@ declare namespace sap {
|
|
|
72006
72277
|
*
|
|
72007
72278
|
* @returns The array of control messages
|
|
72008
72279
|
*/
|
|
72009
|
-
getControlMessages(): sap.ui.core.Message[];
|
|
72280
|
+
getControlMessages(): sap.ui.core.message.Message[];
|
|
72010
72281
|
/**
|
|
72011
72282
|
* Returns the dirty value of a binding that was rejected by a type validation so that it could not be applied
|
|
72012
72283
|
* to the model. If the value was not rejected it returns `undefined`. In this case the current model value
|
|
@@ -72021,13 +72292,13 @@ declare namespace sap {
|
|
|
72021
72292
|
*
|
|
72022
72293
|
* @returns The sorted array of all messages
|
|
72023
72294
|
*/
|
|
72024
|
-
getMessages(): sap.ui.core.Message[];
|
|
72295
|
+
getMessages(): sap.ui.core.message.Message[];
|
|
72025
72296
|
/**
|
|
72026
72297
|
* Returns the array of this data state's current model messages.
|
|
72027
72298
|
*
|
|
72028
72299
|
* @returns The array of messages of the model
|
|
72029
72300
|
*/
|
|
72030
|
-
getModelMessages(): sap.ui.core.Message[];
|
|
72301
|
+
getModelMessages(): sap.ui.core.message.Message[];
|
|
72031
72302
|
/**
|
|
72032
72303
|
* Returns the formatted original value of the data. The original value is the last confirmed value.
|
|
72033
72304
|
*
|
|
@@ -72072,7 +72343,7 @@ declare namespace sap {
|
|
|
72072
72343
|
/**
|
|
72073
72344
|
* The control messages
|
|
72074
72345
|
*/
|
|
72075
|
-
aMessages: sap.ui.core.Message[]
|
|
72346
|
+
aMessages: sap.ui.core.message.Message[]
|
|
72076
72347
|
): this;
|
|
72077
72348
|
/**
|
|
72078
72349
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -72109,7 +72380,7 @@ declare namespace sap {
|
|
|
72109
72380
|
/**
|
|
72110
72381
|
* The model messages for this data state.
|
|
72111
72382
|
*/
|
|
72112
|
-
aMessages?: sap.ui.core.Message[]
|
|
72383
|
+
aMessages?: sap.ui.core.message.Message[]
|
|
72113
72384
|
): this;
|
|
72114
72385
|
/**
|
|
72115
72386
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -81973,6 +82244,8 @@ declare namespace sap {
|
|
|
81973
82244
|
|
|
81974
82245
|
"sap/ui/core/ComponentMetadata": undefined;
|
|
81975
82246
|
|
|
82247
|
+
"sap/ui/core/ComponentRegistry": undefined;
|
|
82248
|
+
|
|
81976
82249
|
"sap/ui/core/ComponentSupport": undefined;
|
|
81977
82250
|
|
|
81978
82251
|
"sap/ui/core/Configuration": undefined;
|
|
@@ -82015,6 +82288,8 @@ declare namespace sap {
|
|
|
82015
82288
|
|
|
82016
82289
|
"sap/ui/core/ElementMetadata": undefined;
|
|
82017
82290
|
|
|
82291
|
+
"sap/ui/core/ElementRegistry": undefined;
|
|
82292
|
+
|
|
82018
82293
|
"sap/ui/core/EnabledPropagator": undefined;
|
|
82019
82294
|
|
|
82020
82295
|
"sap/ui/core/EventBus": undefined;
|
|
@@ -82197,6 +82472,8 @@ declare namespace sap {
|
|
|
82197
82472
|
|
|
82198
82473
|
"sap/ui/core/UIArea": undefined;
|
|
82199
82474
|
|
|
82475
|
+
"sap/ui/core/UIAreaRegistry": undefined;
|
|
82476
|
+
|
|
82200
82477
|
"sap/ui/core/UIComponent": undefined;
|
|
82201
82478
|
|
|
82202
82479
|
"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 namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -3529,6 +3529,7 @@ declare namespace sap {
|
|
|
3529
3529
|
oListener?: object
|
|
3530
3530
|
): this;
|
|
3531
3531
|
/**
|
|
3532
|
+
* @deprecated (since 1.120.0)
|
|
3532
3533
|
* @experimental (since 1.97)
|
|
3533
3534
|
*
|
|
3534
3535
|
* This function is called when a CSRF token has expired.
|
|
@@ -3542,6 +3543,7 @@ declare namespace sap {
|
|
|
3542
3543
|
}
|
|
3543
3544
|
): void;
|
|
3544
3545
|
/**
|
|
3546
|
+
* @deprecated (since 1.120.0)
|
|
3545
3547
|
* @experimental (since 1.97)
|
|
3546
3548
|
*
|
|
3547
3549
|
* This function is called when a CSRF token is fetched.
|
|
@@ -3781,7 +3783,9 @@ declare namespace sap {
|
|
|
3781
3783
|
sPath: string
|
|
3782
3784
|
): Promise<null>;
|
|
3783
3785
|
/**
|
|
3786
|
+
* @deprecated (since 1.120.0)
|
|
3784
3787
|
* @experimental (since 1.97)
|
|
3788
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3785
3789
|
*
|
|
3786
3790
|
* Resolves the CSRF token and returns a Promise with its value.
|
|
3787
3791
|
*
|
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";
|
|
@@ -8820,6 +8820,8 @@ declare namespace sap {
|
|
|
8820
8820
|
interface $FilterableListContentSettings
|
|
8821
8821
|
extends sap.ui.mdc.valuehelp.base.$ListContentSettings {
|
|
8822
8822
|
/**
|
|
8823
|
+
* @deprecated (since 1.120.2) - replaced in future version by {@link sap.ui.mdc.ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
8824
|
+
*
|
|
8823
8825
|
* The fields based on which the table data is filtered. For filtering, the value of the `filterValue` property
|
|
8824
8826
|
* is used.
|
|
8825
8827
|
*
|
|
@@ -11236,6 +11238,8 @@ declare namespace sap {
|
|
|
11236
11238
|
*/
|
|
11237
11239
|
getFilterBar(): sap.ui.mdc.filterbar.vh.FilterBar;
|
|
11238
11240
|
/**
|
|
11241
|
+
* @deprecated (since 1.120.2) - replaced in future version by {@link sap.ui.mdc.ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
11242
|
+
*
|
|
11239
11243
|
* Gets current value of property {@link #getFilterFields filterFields}.
|
|
11240
11244
|
*
|
|
11241
11245
|
* The fields based on which the table data is filtered. For filtering, the value of the `filterValue` property
|
|
@@ -11343,6 +11347,8 @@ declare namespace sap {
|
|
|
11343
11347
|
oFilterBar: sap.ui.mdc.filterbar.vh.FilterBar
|
|
11344
11348
|
): this;
|
|
11345
11349
|
/**
|
|
11350
|
+
* @deprecated (since 1.120.2) - replaced in future version by {@link sap.ui.mdc.ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
11351
|
+
*
|
|
11346
11352
|
* Sets a new value for property {@link #getFilterFields filterFields}.
|
|
11347
11353
|
*
|
|
11348
11354
|
* The fields based on which the table data is filtered. For filtering, the value of the `filterValue` property
|
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