@openui5/types 1.120.0 → 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 +440 -128
- 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 +19 -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/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
|
/**
|
|
@@ -490,6 +490,17 @@ declare module "sap/base/i18n/Formatting" {
|
|
|
490
490
|
* @returns the mapping between custom currencies and its digits
|
|
491
491
|
*/
|
|
492
492
|
getCustomCurrencies(): object;
|
|
493
|
+
/**
|
|
494
|
+
* @since 1.120
|
|
495
|
+
*
|
|
496
|
+
* Returns the currently set customizing data for Islamic calendar support.
|
|
497
|
+
*
|
|
498
|
+
* See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
|
|
499
|
+
*
|
|
500
|
+
* @returns Returns an array that contains the customizing data. Each element in the array has properties:
|
|
501
|
+
* dateFormat, islamicMonthStart, gregDate. For details, please see {@link #.setCustomIslamicCalendarData}
|
|
502
|
+
*/
|
|
503
|
+
getCustomIslamicCalendarData(): CustomIslamicCalendarData[] | undefined;
|
|
493
504
|
/**
|
|
494
505
|
* @since 1.120
|
|
495
506
|
*
|
|
@@ -517,15 +528,6 @@ declare module "sap/base/i18n/Formatting" {
|
|
|
517
528
|
* @returns the format LanguageTag
|
|
518
529
|
*/
|
|
519
530
|
getLanguageTag(): LanguageTag;
|
|
520
|
-
/**
|
|
521
|
-
* @since 1.120
|
|
522
|
-
*
|
|
523
|
-
* Returns the currently set customizing data for Islamic calendar support
|
|
524
|
-
*
|
|
525
|
-
* @returns Returns an array contains the customizing data. Each element in the array has properties: dateFormat,
|
|
526
|
-
* islamicMonthStart, gregDate. For details, please see {@link #setLegacyDateCalendarCustomizing}
|
|
527
|
-
*/
|
|
528
|
-
getLegacyDateCalendarCustomizing(): object[] | undefined;
|
|
529
531
|
/**
|
|
530
532
|
* @since 1.120
|
|
531
533
|
*
|
|
@@ -690,6 +692,20 @@ declare module "sap/base/i18n/Formatting" {
|
|
|
690
692
|
*/
|
|
691
693
|
mCurrencies: object
|
|
692
694
|
): void;
|
|
695
|
+
/**
|
|
696
|
+
* @since 1.120
|
|
697
|
+
*
|
|
698
|
+
* Allows to specify the customizing data for Islamic calendar support
|
|
699
|
+
*
|
|
700
|
+
* See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
|
|
701
|
+
*/
|
|
702
|
+
setCustomIslamicCalendarData(
|
|
703
|
+
/**
|
|
704
|
+
* Contains the customizing data for the support of Islamic calendar. One JSON object in the array represents
|
|
705
|
+
* one row of data from Table TISLCAL
|
|
706
|
+
*/
|
|
707
|
+
aCustomCalendarData: CustomIslamicCalendarData[]
|
|
708
|
+
): void;
|
|
693
709
|
/**
|
|
694
710
|
* @since 1.120
|
|
695
711
|
*
|
|
@@ -741,30 +757,6 @@ declare module "sap/base/i18n/Formatting" {
|
|
|
741
757
|
*/
|
|
742
758
|
vLanguageTag: string | LanguageTag | null
|
|
743
759
|
): void;
|
|
744
|
-
/**
|
|
745
|
-
* @since 1.120
|
|
746
|
-
*
|
|
747
|
-
* Allows to specify the customizing data for Islamic calendar support
|
|
748
|
-
*/
|
|
749
|
-
setLegacyDateCalendarCustomizing(
|
|
750
|
-
/**
|
|
751
|
-
* contains the customizing data for the support of Islamic calendar.
|
|
752
|
-
*/
|
|
753
|
-
aMappings: Array<{
|
|
754
|
-
/**
|
|
755
|
-
* The date format
|
|
756
|
-
*/
|
|
757
|
-
dateFormat: string;
|
|
758
|
-
/**
|
|
759
|
-
* The Islamic date
|
|
760
|
-
*/
|
|
761
|
-
islamicMonthStart: string;
|
|
762
|
-
/**
|
|
763
|
-
* The corresponding Gregorian date
|
|
764
|
-
*/
|
|
765
|
-
gregDate: string;
|
|
766
|
-
}>
|
|
767
|
-
): void;
|
|
768
760
|
/**
|
|
769
761
|
* @since 1.120
|
|
770
762
|
*
|
|
@@ -839,6 +831,24 @@ declare module "sap/base/i18n/Formatting" {
|
|
|
839
831
|
const Formatting: Formatting;
|
|
840
832
|
export default Formatting;
|
|
841
833
|
|
|
834
|
+
/**
|
|
835
|
+
* Customizing data for the support of Islamic calendar. Represents one row of data from Table TISLCAL.
|
|
836
|
+
*/
|
|
837
|
+
export type CustomIslamicCalendarData = {
|
|
838
|
+
/**
|
|
839
|
+
* The date format. Column DATFM in TISLCAL.
|
|
840
|
+
*/
|
|
841
|
+
dateFormat: "A" | "B";
|
|
842
|
+
/**
|
|
843
|
+
* The Islamic date in format: 'yyyyMMdd'. Column ISLMONTHSTART in TISLCAL.
|
|
844
|
+
*/
|
|
845
|
+
islamicMonthStart: string;
|
|
846
|
+
/**
|
|
847
|
+
* The corresponding Gregorian date format: 'yyyyMMdd'. Column GREGDATE in TISLCAL.
|
|
848
|
+
*/
|
|
849
|
+
gregDate: string;
|
|
850
|
+
};
|
|
851
|
+
|
|
842
852
|
/**
|
|
843
853
|
* @since 1.120
|
|
844
854
|
*
|
|
@@ -849,9 +859,9 @@ declare module "sap/base/i18n/Formatting" {
|
|
|
849
859
|
*
|
|
850
860
|
* - {@link module:sap/base/i18n/Formatting.setLanguageTag Formatting.setLanguageTag}:
|
|
851
861
|
* `languageTag`
|
|
852
|
-
* - {@link module:sap/base/i18n/Formatting.
|
|
862
|
+
* - {@link module:sap/base/i18n/Formatting.setCustomIslamicCalendarData Formatting.setCustomIslamicCalendarData}:
|
|
853
863
|
*
|
|
854
|
-
* `
|
|
864
|
+
* `customIslamicCalendarData`
|
|
855
865
|
* - {@link module:sap/base/i18n/Formatting.setCalendarWeekNumbering Formatting.setCalendarWeekNumbering}:
|
|
856
866
|
*
|
|
857
867
|
* `calendarWeekNumbering`
|
|
@@ -1193,8 +1203,7 @@ declare module "sap/base/i18n/Localization" {
|
|
|
1193
1203
|
* - date and number data types that are used in property bindings or composite bindings in existing Elements,
|
|
1194
1204
|
* Controls, UIAreas or Components
|
|
1195
1205
|
* - ResourceModels currently assigned to the Core, a UIArea, Component, Element or Control
|
|
1196
|
-
* - Elements or Controls that implement the `
|
|
1197
|
-
*
|
|
1206
|
+
* - Elements or Controls that implement the `onLocalizationChanged` hook
|
|
1198
1207
|
*
|
|
1199
1208
|
* It furthermore derives the RTL mode from the new language, if no explicit RTL mode has been set. If the
|
|
1200
1209
|
* RTL mode changes, the following additional actions will be taken:
|
|
@@ -3586,6 +3595,122 @@ declare module "sap/ui/core/AnimationMode" {
|
|
|
3586
3595
|
export default AnimationMode;
|
|
3587
3596
|
}
|
|
3588
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
|
+
|
|
3589
3714
|
declare module "sap/ui/core/ComponentSupport" {
|
|
3590
3715
|
/**
|
|
3591
3716
|
* @since 1.58.0
|
|
@@ -4349,6 +4474,122 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4349
4474
|
}
|
|
4350
4475
|
}
|
|
4351
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
|
+
|
|
4352
4593
|
declare module "sap/ui/core/getCompatibilityVersion" {
|
|
4353
4594
|
import Version from "sap/base/util/Version";
|
|
4354
4595
|
|
|
@@ -5287,14 +5528,15 @@ declare module "sap/ui/model/FilterProcessor" {
|
|
|
5287
5528
|
* Groups filters according to their path and combines filters on the same path using "OR" and filters on
|
|
5288
5529
|
* different paths using "AND", all multi-filters contained are ANDed.
|
|
5289
5530
|
*
|
|
5290
|
-
* @returns
|
|
5531
|
+
* @returns A single filter containing all filters of the array combined or `undefined` if no filters are
|
|
5532
|
+
* given
|
|
5291
5533
|
*/
|
|
5292
5534
|
groupFilters(
|
|
5293
5535
|
/**
|
|
5294
|
-
*
|
|
5536
|
+
* The filters to be grouped
|
|
5295
5537
|
*/
|
|
5296
|
-
aFilters
|
|
5297
|
-
): Filter;
|
|
5538
|
+
aFilters?: Filter[]
|
|
5539
|
+
): Filter | undefined;
|
|
5298
5540
|
}
|
|
5299
5541
|
const FilterProcessor: FilterProcessor;
|
|
5300
5542
|
export default FilterProcessor;
|
|
@@ -12670,6 +12912,8 @@ declare module "sap/ui/core/library" {
|
|
|
12670
12912
|
}
|
|
12671
12913
|
|
|
12672
12914
|
/**
|
|
12915
|
+
* @deprecated (since 1.120) - Please use {@link sap.ui.core.message.MessageType} instead.
|
|
12916
|
+
*
|
|
12673
12917
|
* Specifies possible message types.
|
|
12674
12918
|
*/
|
|
12675
12919
|
export enum MessageType {
|
|
@@ -13745,6 +13989,7 @@ declare module "sap/ui/core/Component" {
|
|
|
13745
13989
|
);
|
|
13746
13990
|
/**
|
|
13747
13991
|
* @since 1.67
|
|
13992
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ComponentRegistry} instead.
|
|
13748
13993
|
*
|
|
13749
13994
|
* Registry of all `Component`s that currently exist.
|
|
13750
13995
|
*/
|
|
@@ -13892,6 +14137,8 @@ declare module "sap/ui/core/Component" {
|
|
|
13892
14137
|
): Function;
|
|
13893
14138
|
/**
|
|
13894
14139
|
* @since 1.56.0
|
|
14140
|
+
* @deprecated (since 1.120) - please use the static {@link sap.ui.core.Component.getComponentById getComponentById }
|
|
14141
|
+
* instead.
|
|
13895
14142
|
*
|
|
13896
14143
|
* Returns an existing component instance, identified by its ID.
|
|
13897
14144
|
*
|
|
@@ -13903,6 +14150,19 @@ declare module "sap/ui/core/Component" {
|
|
|
13903
14150
|
*/
|
|
13904
14151
|
sId: string
|
|
13905
14152
|
): Component | undefined;
|
|
14153
|
+
/**
|
|
14154
|
+
* @since 1.120
|
|
14155
|
+
*
|
|
14156
|
+
* Returns an existing component instance, identified by its ID.
|
|
14157
|
+
*
|
|
14158
|
+
* @returns Component instance or `undefined` when no component with the given ID exists.
|
|
14159
|
+
*/
|
|
14160
|
+
static getComponentById(
|
|
14161
|
+
/**
|
|
14162
|
+
* ID of the component.
|
|
14163
|
+
*/
|
|
14164
|
+
sId: string
|
|
14165
|
+
): Component | undefined;
|
|
13906
14166
|
/**
|
|
13907
14167
|
* Returns the metadata for the Component class.
|
|
13908
14168
|
*
|
|
@@ -14413,6 +14673,7 @@ declare module "sap/ui/core/Component" {
|
|
|
14413
14673
|
|
|
14414
14674
|
/**
|
|
14415
14675
|
* @since 1.67
|
|
14676
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ComponentRegistry} instead.
|
|
14416
14677
|
*
|
|
14417
14678
|
* Registry of all `Component`s that currently exist.
|
|
14418
14679
|
*/
|
|
@@ -15566,6 +15827,8 @@ declare module "sap/ui/core/Configuration" {
|
|
|
15566
15827
|
|
|
15567
15828
|
import BaseObject from "sap/ui/base/Object";
|
|
15568
15829
|
|
|
15830
|
+
import { CustomIslamicCalendarData } from "sap/base/i18n/Formatting";
|
|
15831
|
+
|
|
15569
15832
|
/**
|
|
15570
15833
|
* @deprecated (since 1.120)
|
|
15571
15834
|
*
|
|
@@ -16129,8 +16392,7 @@ declare module "sap/ui/core/Configuration" {
|
|
|
16129
16392
|
* - date and number data types that are used in property bindings or composite bindings in existing Elements,
|
|
16130
16393
|
* Controls, UIAreas or Components
|
|
16131
16394
|
* - ResourceModels currently assigned to the Core, a UIArea, Component, Element or Control
|
|
16132
|
-
* - Elements or Controls that implement the `
|
|
16133
|
-
*
|
|
16395
|
+
* - Elements or Controls that implement the `onLocalizationChanged` hook
|
|
16134
16396
|
*
|
|
16135
16397
|
* It furthermore derives the RTL mode from the new language, if no explicit RTL mode has been set. If the
|
|
16136
16398
|
* RTL mode changes, the following additional actions will be taken:
|
|
@@ -16366,12 +16628,14 @@ declare module "sap/ui/core/Configuration" {
|
|
|
16366
16628
|
/**
|
|
16367
16629
|
* @since 1.120
|
|
16368
16630
|
*
|
|
16369
|
-
* Returns the currently set customizing data for Islamic calendar support
|
|
16631
|
+
* Returns the currently set customizing data for Islamic calendar support.
|
|
16632
|
+
*
|
|
16633
|
+
* See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
|
|
16370
16634
|
*
|
|
16371
|
-
* @returns Returns an array contains the customizing data. Each element in the array has properties:
|
|
16372
|
-
* islamicMonthStart, gregDate. For details, please see {@link
|
|
16635
|
+
* @returns Returns an array that contains the customizing data. Each element in the array has properties:
|
|
16636
|
+
* dateFormat, islamicMonthStart, gregDate. For details, please see {@link #.setCustomIslamicCalendarData}
|
|
16373
16637
|
*/
|
|
16374
|
-
getLegacyDateCalendarCustomizing():
|
|
16638
|
+
getLegacyDateCalendarCustomizing(): CustomIslamicCalendarData[] | undefined;
|
|
16375
16639
|
/**
|
|
16376
16640
|
* @since 1.120
|
|
16377
16641
|
*
|
|
@@ -16491,25 +16755,15 @@ declare module "sap/ui/core/Configuration" {
|
|
|
16491
16755
|
* @since 1.120
|
|
16492
16756
|
*
|
|
16493
16757
|
* Allows to specify the customizing data for Islamic calendar support
|
|
16758
|
+
*
|
|
16759
|
+
* See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
|
|
16494
16760
|
*/
|
|
16495
16761
|
setLegacyDateCalendarCustomizing(
|
|
16496
16762
|
/**
|
|
16497
|
-
*
|
|
16763
|
+
* Contains the customizing data for the support of Islamic calendar. One JSON object in the array represents
|
|
16764
|
+
* one row of data from Table TISLCAL
|
|
16498
16765
|
*/
|
|
16499
|
-
|
|
16500
|
-
/**
|
|
16501
|
-
* The date format
|
|
16502
|
-
*/
|
|
16503
|
-
dateFormat: string;
|
|
16504
|
-
/**
|
|
16505
|
-
* The Islamic date
|
|
16506
|
-
*/
|
|
16507
|
-
islamicMonthStart: string;
|
|
16508
|
-
/**
|
|
16509
|
-
* The corresponding Gregorian date
|
|
16510
|
-
*/
|
|
16511
|
-
gregDate: string;
|
|
16512
|
-
}>
|
|
16766
|
+
aCustomCalendarData: CustomIslamicCalendarData[]
|
|
16513
16767
|
): void;
|
|
16514
16768
|
/**
|
|
16515
16769
|
* Allows to specify one of the legacy ABAP date formats.
|
|
@@ -21947,6 +22201,7 @@ declare module "sap/ui/core/Element" {
|
|
|
21947
22201
|
);
|
|
21948
22202
|
/**
|
|
21949
22203
|
* @since 1.67
|
|
22204
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ElementRegistry} instead.
|
|
21950
22205
|
*
|
|
21951
22206
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
21952
22207
|
*/
|
|
@@ -22051,18 +22306,24 @@ declare module "sap/ui/core/Element" {
|
|
|
22051
22306
|
*/
|
|
22052
22307
|
static getActiveElement(): UI5Element | undefined;
|
|
22053
22308
|
/**
|
|
22054
|
-
*
|
|
22309
|
+
* @since 1.119
|
|
22055
22310
|
*
|
|
22056
|
-
*
|
|
22057
|
-
*
|
|
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.
|
|
22058
22319
|
*
|
|
22059
22320
|
* @returns Element with the given ID or `undefined`
|
|
22060
22321
|
*/
|
|
22061
22322
|
static getElementById(
|
|
22062
22323
|
/**
|
|
22063
|
-
* ID of the element to
|
|
22324
|
+
* ID of the element to search for
|
|
22064
22325
|
*/
|
|
22065
|
-
|
|
22326
|
+
sId: ID | null | undefined
|
|
22066
22327
|
): UI5Element | undefined;
|
|
22067
22328
|
/**
|
|
22068
22329
|
* Returns a metadata object for class sap.ui.core.Element.
|
|
@@ -22808,12 +23069,19 @@ declare module "sap/ui/core/Element" {
|
|
|
22808
23069
|
oDelegate: object
|
|
22809
23070
|
): this;
|
|
22810
23071
|
/**
|
|
22811
|
-
* @
|
|
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.
|
|
22812
23077
|
*
|
|
22813
|
-
*
|
|
23078
|
+
* The recommended alternative is to rely on invalidation and standard re-rendering.
|
|
22814
23079
|
*
|
|
22815
23080
|
* As `sap.ui.core.Element` "bubbles up" the rerender, changes to child-`Elements` will also result in immediate
|
|
22816
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.
|
|
22817
23085
|
*/
|
|
22818
23086
|
rerender(): void;
|
|
22819
23087
|
/**
|
|
@@ -22876,6 +23144,7 @@ declare module "sap/ui/core/Element" {
|
|
|
22876
23144
|
|
|
22877
23145
|
/**
|
|
22878
23146
|
* @since 1.67
|
|
23147
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ElementRegistry} instead.
|
|
22879
23148
|
*
|
|
22880
23149
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
22881
23150
|
*/
|
|
@@ -22966,6 +23235,20 @@ declare module "sap/ui/core/Element" {
|
|
|
22966
23235
|
*/
|
|
22967
23236
|
thisArg?: Object
|
|
22968
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;
|
|
22969
23252
|
}
|
|
22970
23253
|
export const registry: registry;
|
|
22971
23254
|
|
|
@@ -29262,35 +29545,33 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
29262
29545
|
/**
|
|
29263
29546
|
* Get month names in width "narrow", "abbreviated" or "wide".
|
|
29264
29547
|
*
|
|
29265
|
-
* @returns array of month names
|
|
29548
|
+
* @returns The array of month names
|
|
29266
29549
|
*/
|
|
29267
29550
|
getMonths(
|
|
29268
29551
|
/**
|
|
29269
|
-
*
|
|
29552
|
+
* The required width for the month names
|
|
29270
29553
|
*/
|
|
29271
|
-
sWidth:
|
|
29554
|
+
sWidth: "narrow" | "abbreviated" | "wide",
|
|
29272
29555
|
/**
|
|
29273
|
-
*
|
|
29274
|
-
* or calculated from locale.
|
|
29556
|
+
* The type of calendar; defaults to the calendar type either set in configuration or calculated from locale
|
|
29275
29557
|
*/
|
|
29276
29558
|
sCalendarType?: CalendarType
|
|
29277
|
-
):
|
|
29559
|
+
): string[];
|
|
29278
29560
|
/**
|
|
29279
29561
|
* Get standalone month names in width "narrow", "abbreviated" or "wide".
|
|
29280
29562
|
*
|
|
29281
|
-
* @returns array of month names
|
|
29563
|
+
* @returns The array of standalone month names
|
|
29282
29564
|
*/
|
|
29283
29565
|
getMonthsStandAlone(
|
|
29284
29566
|
/**
|
|
29285
|
-
*
|
|
29567
|
+
* The required width for the month names
|
|
29286
29568
|
*/
|
|
29287
|
-
sWidth:
|
|
29569
|
+
sWidth: "narrow" | "abbreviated" | "wide",
|
|
29288
29570
|
/**
|
|
29289
|
-
*
|
|
29290
|
-
* or calculated from locale.
|
|
29571
|
+
* The type of calendar; defaults to the calendar type either set in configuration or calculated from locale
|
|
29291
29572
|
*/
|
|
29292
29573
|
sCalendarType?: CalendarType
|
|
29293
|
-
):
|
|
29574
|
+
): string[];
|
|
29294
29575
|
/**
|
|
29295
29576
|
* Get number symbol "decimal", "group", "plusSign", "minusSign", "percentSign".
|
|
29296
29577
|
*
|
|
@@ -29914,6 +30195,8 @@ declare module "sap/ui/core/Message" {
|
|
|
29914
30195
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
29915
30196
|
|
|
29916
30197
|
/**
|
|
30198
|
+
* @deprecated (since 1.120) - Please use {@link sap.ui.core.message.Message} instead.
|
|
30199
|
+
*
|
|
29917
30200
|
* This element is used to provide messages.
|
|
29918
30201
|
*
|
|
29919
30202
|
* Rendering must be done within the control that uses this kind of element. Its default level is none.
|
|
@@ -30259,7 +30542,7 @@ declare module "sap/ui/core/message/ControlMessageProcessor" {
|
|
|
30259
30542
|
declare module "sap/ui/core/message/Message" {
|
|
30260
30543
|
import BaseObject from "sap/ui/base/Object";
|
|
30261
30544
|
|
|
30262
|
-
import
|
|
30545
|
+
import MessageType from "sap/ui/core/message/MessageType";
|
|
30263
30546
|
|
|
30264
30547
|
import MessageProcessor from "sap/ui/core/message/MessageProcessor";
|
|
30265
30548
|
|
|
@@ -30299,7 +30582,7 @@ declare module "sap/ui/core/message/Message" {
|
|
|
30299
30582
|
/**
|
|
30300
30583
|
* The message type
|
|
30301
30584
|
*/
|
|
30302
|
-
type?: MessageType;
|
|
30585
|
+
type?: MessageType | keyof typeof MessageType;
|
|
30303
30586
|
/**
|
|
30304
30587
|
* The message code
|
|
30305
30588
|
*/
|
|
@@ -30476,7 +30759,7 @@ declare module "sap/ui/core/message/Message" {
|
|
|
30476
30759
|
*
|
|
30477
30760
|
* @returns type
|
|
30478
30761
|
*/
|
|
30479
|
-
getType(): MessageType;
|
|
30762
|
+
getType(): MessageType | keyof typeof MessageType;
|
|
30480
30763
|
/**
|
|
30481
30764
|
* Sets the additionaltext for the message or merge different additionaltext strings
|
|
30482
30765
|
*/
|
|
@@ -30598,7 +30881,7 @@ declare module "sap/ui/core/message/Message" {
|
|
|
30598
30881
|
/**
|
|
30599
30882
|
* The Message type
|
|
30600
30883
|
*/
|
|
30601
|
-
sType: MessageType
|
|
30884
|
+
sType: MessageType | keyof typeof MessageType
|
|
30602
30885
|
): void;
|
|
30603
30886
|
}
|
|
30604
30887
|
}
|
|
@@ -32435,6 +32718,8 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
32435
32718
|
sId: string
|
|
32436
32719
|
): UI5Element | undefined;
|
|
32437
32720
|
/**
|
|
32721
|
+
* @deprecated (since 1.120) - please call the corresponding View factory instead, e.g. {@link sap.ui.core.mvc.XMLView.create}
|
|
32722
|
+
*
|
|
32438
32723
|
* Creates a clone of this view.
|
|
32439
32724
|
*
|
|
32440
32725
|
* Overrides the clone method to avoid conflicts between generic cloning of the content aggregation and
|
|
@@ -39496,6 +39781,8 @@ declare module "sap/ui/core/search/OpenSearchProvider" {
|
|
|
39496
39781
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
39497
39782
|
|
|
39498
39783
|
/**
|
|
39784
|
+
* @deprecated (since 1.120)
|
|
39785
|
+
*
|
|
39499
39786
|
* A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
|
|
39500
39787
|
*/
|
|
39501
39788
|
export default class OpenSearchProvider extends SearchProvider {
|
|
@@ -39650,6 +39937,8 @@ declare module "sap/ui/core/search/SearchProvider" {
|
|
|
39650
39937
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
39651
39938
|
|
|
39652
39939
|
/**
|
|
39940
|
+
* @deprecated (since 1.120)
|
|
39941
|
+
*
|
|
39653
39942
|
* Abstract base class for all SearchProviders which can be e.g. attached to a SearchField.
|
|
39654
39943
|
*
|
|
39655
39944
|
* Do not create instances of this class, but use a concrete subclass instead.
|
|
@@ -42137,6 +42426,7 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42137
42426
|
constructor();
|
|
42138
42427
|
/**
|
|
42139
42428
|
* @since 1.107
|
|
42429
|
+
* @deprecated (since 1.120)
|
|
42140
42430
|
*
|
|
42141
42431
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
42142
42432
|
*/
|
|
@@ -42452,16 +42742,21 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42452
42742
|
}
|
|
42453
42743
|
/**
|
|
42454
42744
|
* @since 1.107
|
|
42745
|
+
* @deprecated (since 1.120)
|
|
42455
42746
|
*
|
|
42456
42747
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
42457
42748
|
*/
|
|
42458
42749
|
interface registry {
|
|
42459
42750
|
/**
|
|
42751
|
+
* @deprecated (since 1.120)
|
|
42752
|
+
*
|
|
42460
42753
|
* Number of existing UIAreas.
|
|
42461
42754
|
*/
|
|
42462
42755
|
size: int;
|
|
42463
42756
|
|
|
42464
42757
|
/**
|
|
42758
|
+
* @deprecated (since 1.120)
|
|
42759
|
+
*
|
|
42465
42760
|
* Return an object with all instances of `sap.ui.core.UIArea`, keyed by their ID.
|
|
42466
42761
|
*
|
|
42467
42762
|
* Each call creates a new snapshot object. Depending on the size of the UI, this operation therefore might
|
|
@@ -42475,6 +42770,8 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42475
42770
|
*/
|
|
42476
42771
|
all(): Record<ID, UIArea>;
|
|
42477
42772
|
/**
|
|
42773
|
+
* @deprecated (since 1.120)
|
|
42774
|
+
*
|
|
42478
42775
|
* Returns an array with UIAreas for which the given `callback` returns a value that coerces to `true`.
|
|
42479
42776
|
*
|
|
42480
42777
|
* The expected signature of the callback is
|
|
@@ -42511,6 +42808,8 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42511
42808
|
thisArg?: Object
|
|
42512
42809
|
): UIArea[];
|
|
42513
42810
|
/**
|
|
42811
|
+
* @deprecated (since 1.120)
|
|
42812
|
+
*
|
|
42514
42813
|
* Calls the given `callback` for each UIArea.
|
|
42515
42814
|
*
|
|
42516
42815
|
* The expected signature of the callback is
|
|
@@ -42543,6 +42842,8 @@ declare module "sap/ui/core/UIArea" {
|
|
|
42543
42842
|
thisArg?: Object
|
|
42544
42843
|
): void;
|
|
42545
42844
|
/**
|
|
42845
|
+
* @deprecated (since 1.120)
|
|
42846
|
+
*
|
|
42546
42847
|
* Retrieves an UIArea by its ID.
|
|
42547
42848
|
*
|
|
42548
42849
|
* When the ID is `null` or `undefined` or when there's no UIArea with the given ID, then `undefined` is
|
|
@@ -49990,8 +50291,8 @@ declare module "sap/ui/model/Binding" {
|
|
|
49990
50291
|
oListener?: object
|
|
49991
50292
|
): void;
|
|
49992
50293
|
/**
|
|
49993
|
-
* Removes all control messages for this binding from
|
|
49994
|
-
* tasks.
|
|
50294
|
+
* Removes all control messages for this binding from {@link sap.ui.core.Messaging} in addition to the standard
|
|
50295
|
+
* clean-up tasks.
|
|
49995
50296
|
* See:
|
|
49996
50297
|
* sap.ui.base.EventProvider#destroy
|
|
49997
50298
|
*/
|
|
@@ -51381,7 +51682,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
51381
51682
|
declare module "sap/ui/model/CompositeDataState" {
|
|
51382
51683
|
import DataState from "sap/ui/model/DataState";
|
|
51383
51684
|
|
|
51384
|
-
import Message from "sap/ui/core/Message";
|
|
51685
|
+
import Message from "sap/ui/core/message/Message";
|
|
51385
51686
|
|
|
51386
51687
|
import Metadata from "sap/ui/base/Metadata";
|
|
51387
51688
|
|
|
@@ -51887,7 +52188,7 @@ declare module "sap/ui/model/ContextBinding" {
|
|
|
51887
52188
|
declare module "sap/ui/model/DataState" {
|
|
51888
52189
|
import BaseObject from "sap/ui/base/Object";
|
|
51889
52190
|
|
|
51890
|
-
import Message from "sap/ui/core/Message";
|
|
52191
|
+
import Message from "sap/ui/core/message/Message";
|
|
51891
52192
|
|
|
51892
52193
|
import Metadata from "sap/ui/base/Metadata";
|
|
51893
52194
|
|
|
@@ -64503,9 +64804,11 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
64503
64804
|
*/
|
|
64504
64805
|
inactive?: boolean;
|
|
64505
64806
|
/**
|
|
64506
|
-
*
|
|
64807
|
+
* The initial values of the entry, or an array that specifies a list of property names to be initialized
|
|
64808
|
+
* with `undefined`; **Note:** Passing a list of property names is deprecated since 1.120; pass the initial
|
|
64809
|
+
* values as an object instead
|
|
64507
64810
|
*/
|
|
64508
|
-
properties?:
|
|
64811
|
+
properties?: object | string[];
|
|
64509
64812
|
/**
|
|
64510
64813
|
* Whether to update all bindings after submitting this change operation, see {@link #setRefreshAfterChange};
|
|
64511
64814
|
* if given, this overrules the model-wide `refreshAfterChange` flag for this operation only; since 1.46
|
|
@@ -67168,14 +67471,13 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67168
67471
|
/**
|
|
67169
67472
|
* @experimental (since 1.120.0)
|
|
67170
67473
|
*
|
|
67171
|
-
* Returns the parent node (in case of a recursive hierarchy
|
|
67172
|
-
*
|
|
67173
|
-
* See:
|
|
67174
|
-
* #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}.
|
|
67175
67476
|
*
|
|
67176
|
-
* @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
|
|
67177
67479
|
*/
|
|
67178
|
-
getParent(): Context | null;
|
|
67480
|
+
getParent(): Context | null | undefined;
|
|
67179
67481
|
/**
|
|
67180
67482
|
* @since 1.39.0
|
|
67181
67483
|
*
|
|
@@ -67234,7 +67536,7 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67234
67536
|
/**
|
|
67235
67537
|
* Some node which may be a descendant
|
|
67236
67538
|
*/
|
|
67237
|
-
oNode
|
|
67539
|
+
oNode?: Context
|
|
67238
67540
|
): boolean;
|
|
67239
67541
|
/**
|
|
67240
67542
|
* @since 1.105.0
|
|
@@ -67319,9 +67621,10 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67319
67621
|
* @experimental (since 1.119.0)
|
|
67320
67622
|
*
|
|
67321
67623
|
* Moves this node to the given parent (in case of a recursive hierarchy, see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation},
|
|
67322
|
-
* 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},
|
|
67323
67625
|
* {@link #delete deletion}, or move must be pending, and no other modification (including collapse of some
|
|
67324
|
-
* 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).
|
|
67325
67628
|
*
|
|
67326
67629
|
* This context's {@link #getIndex index} may change and it becomes "created persisted", with {@link #isTransient }
|
|
67327
67630
|
* returning `false` etc.
|
|
@@ -67333,11 +67636,11 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67333
67636
|
/**
|
|
67334
67637
|
* A parameter object
|
|
67335
67638
|
*/
|
|
67336
|
-
oParameters
|
|
67639
|
+
oParameters?: {
|
|
67337
67640
|
/**
|
|
67338
67641
|
* The new parent's context
|
|
67339
67642
|
*/
|
|
67340
|
-
parent
|
|
67643
|
+
parent?: Context;
|
|
67341
67644
|
}
|
|
67342
67645
|
): Promise<void>;
|
|
67343
67646
|
/**
|
|
@@ -67419,8 +67722,9 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
67419
67722
|
/**
|
|
67420
67723
|
* @experimental (since 1.120.0)
|
|
67421
67724
|
*
|
|
67422
|
-
* Requests the parent node (in case of a recursive hierarchy
|
|
67423
|
-
*
|
|
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!
|
|
67424
67728
|
* See:
|
|
67425
67729
|
* #getParent
|
|
67426
67730
|
*
|
|
@@ -68496,12 +68800,12 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
68496
68800
|
* parent's navigation property, which is sent with the payload of the parent entity. Such a nested context
|
|
68497
68801
|
* cannot be inactive.
|
|
68498
68802
|
*
|
|
68499
|
-
* **Note:** After a
|
|
68500
|
-
* longer valid. Do not use the {@link sap.ui.model.odata.v4.Context#created created} promise of such
|
|
68501
|
-
* context! New contexts are created for the nested collection because it is not possible to reliably
|
|
68502
|
-
* the response entities to those of the request, especially if the count differs. For this reason,
|
|
68503
|
-
* `created` promises of all nested contexts are always rejected with an instance of `Error`, even if
|
|
68504
|
-
* 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`.
|
|
68505
68809
|
*
|
|
68506
68810
|
* Since 1.118.0 deep create also supports single-valued navigation properties; no API call is required
|
|
68507
68811
|
* in this case. Simply bind properties of the related entity relative to a transient context. An update
|
|
@@ -68711,9 +69015,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
68711
69015
|
* back to the setter (@experimental as of version 1.111.0). They are retrieved from the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy"
|
|
68712
69016
|
* and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy" annotations at this binding's entity type,
|
|
68713
69017
|
* identified via the `hierarchyQualifier` given to {@link #setAggregation}.
|
|
68714
|
-
* "$
|
|
69018
|
+
* "$DistanceFromRoot" holds the path to the property which provides the raw value for "@$ui5.node.level"
|
|
68715
69019
|
* (minus one) and should be used only to interpret the response retrieved via {@link #getDownloadUrl}.
|
|
68716
|
-
* "$
|
|
69020
|
+
* "$DrillState" holds the path to the property which provides the raw value for "@$ui5.node.isExpanded"
|
|
68717
69021
|
* and should be used only to interpret the response retrieved via {@link #getDownloadUrl}. "$NodeProperty"
|
|
68718
69022
|
* holds the path to the property which provides the hierarchy node value. That property is always $select'ed
|
|
68719
69023
|
* automatically and can be accessed as usual.
|
|
@@ -68823,11 +69127,10 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
68823
69127
|
* @since 1.74.0
|
|
68824
69128
|
*
|
|
68825
69129
|
* Returns a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
68826
|
-
* delivers all entities considering the binding's query options (such as filters or sorters).
|
|
68827
|
-
*
|
|
68828
|
-
*
|
|
68829
|
-
*
|
|
68830
|
-
* 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.
|
|
68831
69134
|
*
|
|
68832
69135
|
* Additionally, you must be aware of server-driven paging and be ready to send a follow-up request if the
|
|
68833
69136
|
* response contains `@odata.nextlink`.
|
|
@@ -68835,9 +69138,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
68835
69138
|
* The URL cannot be determined synchronously in all cases; use {@link #requestDownloadUrl} to allow for
|
|
68836
69139
|
* asynchronous determination then.
|
|
68837
69140
|
*
|
|
68838
|
-
* @returns The download URL
|
|
69141
|
+
* @returns The download URL or `null`
|
|
68839
69142
|
*/
|
|
68840
|
-
getDownloadUrl(): string;
|
|
69143
|
+
getDownloadUrl(): string | null;
|
|
68841
69144
|
/**
|
|
68842
69145
|
* @since 1.81.0
|
|
68843
69146
|
*
|
|
@@ -69069,8 +69372,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69069
69372
|
/**
|
|
69070
69373
|
* @since 1.74.0
|
|
69071
69374
|
*
|
|
69072
|
-
*
|
|
69073
|
-
* 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}.
|
|
69074
69378
|
*
|
|
69075
69379
|
* The returned URL does not specify `$skip` and `$top` and leaves it up to the server how many rows it
|
|
69076
69380
|
* delivers. Many servers tend to choose a small limit without `$skip` and `$top`, so it might be wise to
|
|
@@ -69081,9 +69385,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69081
69385
|
* See:
|
|
69082
69386
|
* #getDownloadUrl
|
|
69083
69387
|
*
|
|
69084
|
-
* @returns A promise that is resolved with the download URL
|
|
69388
|
+
* @returns A promise that is resolved with the download URL or `null`
|
|
69085
69389
|
*/
|
|
69086
|
-
requestDownloadUrl(): Promise<string>;
|
|
69390
|
+
requestDownloadUrl(): Promise<string | null>;
|
|
69087
69391
|
/**
|
|
69088
69392
|
* @since 1.86.0
|
|
69089
69393
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -69095,6 +69399,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69095
69399
|
* The resulting filter does not consider application or control filters specified for this list binding
|
|
69096
69400
|
* in its constructor or in its {@link #filter} method; add filters which you want to keep with the "and"
|
|
69097
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.
|
|
69098
69405
|
* See:
|
|
69099
69406
|
* sap.ui.model.ListBinding#requestFilterForMessages
|
|
69100
69407
|
*
|
|
@@ -69187,8 +69494,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69187
69494
|
* The number (as a positive integer) of different levels initially available without calling {@link sap.ui.model.odata.v4.Context#expand }
|
|
69188
69495
|
* (@experimental as of version 1.105.0; available for read-only hierarchies since 1.117.0), supported only
|
|
69189
69496
|
* if a `hierarchyQualifier` is given. Root nodes are on the first level. By default, only root nodes are
|
|
69190
|
-
* available; they are not yet expanded. Since 1.120.0, `Number.MAX_SAFE_INTEGER` can be used
|
|
69191
|
-
* 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).
|
|
69192
69499
|
*/
|
|
69193
69500
|
expandTo?: number;
|
|
69194
69501
|
/**
|
|
@@ -69415,8 +69722,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
69415
69722
|
context?: Context;
|
|
69416
69723
|
|
|
69417
69724
|
/**
|
|
69418
|
-
* Whether the POST was successfully processed; in case of an error, the error is already reported to
|
|
69419
|
-
* {@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}
|
|
69420
69726
|
*/
|
|
69421
69727
|
success?: boolean;
|
|
69422
69728
|
}
|
|
@@ -84108,6 +84414,8 @@ declare namespace sap {
|
|
|
84108
84414
|
|
|
84109
84415
|
"sap/ui/core/ComponentMetadata": undefined;
|
|
84110
84416
|
|
|
84417
|
+
"sap/ui/core/ComponentRegistry": undefined;
|
|
84418
|
+
|
|
84111
84419
|
"sap/ui/core/ComponentSupport": undefined;
|
|
84112
84420
|
|
|
84113
84421
|
"sap/ui/core/Configuration": undefined;
|
|
@@ -84150,6 +84458,8 @@ declare namespace sap {
|
|
|
84150
84458
|
|
|
84151
84459
|
"sap/ui/core/ElementMetadata": undefined;
|
|
84152
84460
|
|
|
84461
|
+
"sap/ui/core/ElementRegistry": undefined;
|
|
84462
|
+
|
|
84153
84463
|
"sap/ui/core/EnabledPropagator": undefined;
|
|
84154
84464
|
|
|
84155
84465
|
"sap/ui/core/EventBus": undefined;
|
|
@@ -84332,6 +84642,8 @@ declare namespace sap {
|
|
|
84332
84642
|
|
|
84333
84643
|
"sap/ui/core/UIArea": undefined;
|
|
84334
84644
|
|
|
84645
|
+
"sap/ui/core/UIAreaRegistry": undefined;
|
|
84646
|
+
|
|
84335
84647
|
"sap/ui/core/UIComponent": undefined;
|
|
84336
84648
|
|
|
84337
84649
|
"sap/ui/core/util/Export": undefined;
|