@sapui5/ts-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.chart.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.core.d.ts +6 -1
- package/types/sap.fe.macros.d.ts +1 -1
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.m.d.ts +27 -9
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +44 -2
- package/types/sap.rules.ui.d.ts +59 -1
- package/types/sap.suite.ui.generic.template.d.ts +20 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- 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.comp.d.ts +2 -2
- package/types/sap.ui.core.d.ts +440 -135
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +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.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +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.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +25 -4
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.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:
|
|
@@ -3584,6 +3593,118 @@ declare module "sap/ui/core/AnimationMode" {
|
|
|
3584
3593
|
export default AnimationMode;
|
|
3585
3594
|
}
|
|
3586
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
|
+
|
|
3587
3708
|
declare module "sap/ui/core/ComponentSupport" {
|
|
3588
3709
|
/**
|
|
3589
3710
|
* @since 1.58.0
|
|
@@ -4343,6 +4464,118 @@ declare module "sap/ui/core/date/UI5Date" {
|
|
|
4343
4464
|
}
|
|
4344
4465
|
}
|
|
4345
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
|
+
|
|
4346
4579
|
declare module "sap/ui/core/getCompatibilityVersion" {
|
|
4347
4580
|
import Version from "sap/base/util/Version";
|
|
4348
4581
|
|
|
@@ -5261,14 +5494,15 @@ declare module "sap/ui/model/FilterProcessor" {
|
|
|
5261
5494
|
* Groups filters according to their path and combines filters on the same path using "OR" and filters on
|
|
5262
5495
|
* different paths using "AND", all multi-filters contained are ANDed.
|
|
5263
5496
|
*
|
|
5264
|
-
* @returns
|
|
5497
|
+
* @returns A single filter containing all filters of the array combined or `undefined` if no filters are
|
|
5498
|
+
* given
|
|
5265
5499
|
*/
|
|
5266
5500
|
groupFilters(
|
|
5267
5501
|
/**
|
|
5268
|
-
*
|
|
5502
|
+
* The filters to be grouped
|
|
5269
5503
|
*/
|
|
5270
|
-
aFilters
|
|
5271
|
-
): sap.ui.model.Filter;
|
|
5504
|
+
aFilters?: sap.ui.model.Filter[]
|
|
5505
|
+
): sap.ui.model.Filter | undefined;
|
|
5272
5506
|
}
|
|
5273
5507
|
const FilterProcessor: FilterProcessor;
|
|
5274
5508
|
export default FilterProcessor;
|
|
@@ -18031,7 +18265,7 @@ declare namespace sap {
|
|
|
18031
18265
|
/**
|
|
18032
18266
|
* The message type
|
|
18033
18267
|
*/
|
|
18034
|
-
type?: sap
|
|
18268
|
+
type?: import("sap/ui/core/message/MessageType").default;
|
|
18035
18269
|
/**
|
|
18036
18270
|
* The message code
|
|
18037
18271
|
*/
|
|
@@ -18208,7 +18442,7 @@ declare namespace sap {
|
|
|
18208
18442
|
*
|
|
18209
18443
|
* @returns type
|
|
18210
18444
|
*/
|
|
18211
|
-
getType(): sap
|
|
18445
|
+
getType(): import("sap/ui/core/message/MessageType").default;
|
|
18212
18446
|
/**
|
|
18213
18447
|
* Sets the additionaltext for the message or merge different additionaltext strings
|
|
18214
18448
|
*/
|
|
@@ -18330,7 +18564,7 @@ declare namespace sap {
|
|
|
18330
18564
|
/**
|
|
18331
18565
|
* The Message type
|
|
18332
18566
|
*/
|
|
18333
|
-
sType: sap
|
|
18567
|
+
sType: import("sap/ui/core/message/MessageType").default
|
|
18334
18568
|
): void;
|
|
18335
18569
|
}
|
|
18336
18570
|
/**
|
|
@@ -20305,6 +20539,8 @@ declare namespace sap {
|
|
|
20305
20539
|
sId: string
|
|
20306
20540
|
): sap.ui.core.Element | undefined;
|
|
20307
20541
|
/**
|
|
20542
|
+
* @deprecated (since 1.120) - please call the corresponding View factory instead, e.g. {@link sap.ui.core.mvc.XMLView.create}
|
|
20543
|
+
*
|
|
20308
20544
|
* Creates a clone of this view.
|
|
20309
20545
|
*
|
|
20310
20546
|
* Overrides the clone method to avoid conflicts between generic cloning of the content aggregation and
|
|
@@ -21154,6 +21390,7 @@ declare namespace sap {
|
|
|
21154
21390
|
namespace Component {
|
|
21155
21391
|
/**
|
|
21156
21392
|
* @since 1.67
|
|
21393
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ComponentRegistry} instead.
|
|
21157
21394
|
*
|
|
21158
21395
|
* Registry of all `Component`s that currently exist.
|
|
21159
21396
|
*/
|
|
@@ -21382,12 +21619,18 @@ declare namespace sap {
|
|
|
21382
21619
|
/**
|
|
21383
21620
|
* @since 1.120
|
|
21384
21621
|
*
|
|
21385
|
-
* Returns the currently set customizing data for Islamic calendar support
|
|
21622
|
+
* Returns the currently set customizing data for Islamic calendar support.
|
|
21623
|
+
*
|
|
21624
|
+
* See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
|
|
21386
21625
|
*
|
|
21387
|
-
* @returns Returns an array contains the customizing data. Each element in the array has properties:
|
|
21388
|
-
* islamicMonthStart, gregDate. For details, please see {@link
|
|
21626
|
+
* @returns Returns an array that contains the customizing data. Each element in the array has properties:
|
|
21627
|
+
* dateFormat, islamicMonthStart, gregDate. For details, please see {@link #.setCustomIslamicCalendarData}
|
|
21389
21628
|
*/
|
|
21390
|
-
getLegacyDateCalendarCustomizing():
|
|
21629
|
+
getLegacyDateCalendarCustomizing():
|
|
21630
|
+
| Array<
|
|
21631
|
+
import("sap/base/i18n/Formatting").CustomIslamicCalendarData
|
|
21632
|
+
>
|
|
21633
|
+
| undefined;
|
|
21391
21634
|
/**
|
|
21392
21635
|
* @since 1.120
|
|
21393
21636
|
*
|
|
@@ -21507,25 +21750,17 @@ declare namespace sap {
|
|
|
21507
21750
|
* @since 1.120
|
|
21508
21751
|
*
|
|
21509
21752
|
* Allows to specify the customizing data for Islamic calendar support
|
|
21753
|
+
*
|
|
21754
|
+
* See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
|
|
21510
21755
|
*/
|
|
21511
21756
|
setLegacyDateCalendarCustomizing(
|
|
21512
21757
|
/**
|
|
21513
|
-
*
|
|
21758
|
+
* Contains the customizing data for the support of Islamic calendar. One JSON object in the array represents
|
|
21759
|
+
* one row of data from Table TISLCAL
|
|
21514
21760
|
*/
|
|
21515
|
-
|
|
21516
|
-
|
|
21517
|
-
|
|
21518
|
-
*/
|
|
21519
|
-
dateFormat: string;
|
|
21520
|
-
/**
|
|
21521
|
-
* The Islamic date
|
|
21522
|
-
*/
|
|
21523
|
-
islamicMonthStart: string;
|
|
21524
|
-
/**
|
|
21525
|
-
* The corresponding Gregorian date
|
|
21526
|
-
*/
|
|
21527
|
-
gregDate: string;
|
|
21528
|
-
}>
|
|
21761
|
+
aCustomCalendarData: Array<
|
|
21762
|
+
import("sap/base/i18n/Formatting").CustomIslamicCalendarData
|
|
21763
|
+
>
|
|
21529
21764
|
): void;
|
|
21530
21765
|
/**
|
|
21531
21766
|
* Allows to specify one of the legacy ABAP date formats.
|
|
@@ -21750,6 +21985,7 @@ declare namespace sap {
|
|
|
21750
21985
|
}
|
|
21751
21986
|
/**
|
|
21752
21987
|
* @since 1.67
|
|
21988
|
+
* @deprecated (since 1.120) - Use {@link module:sap/ui/core/ElementRegistry} instead.
|
|
21753
21989
|
*
|
|
21754
21990
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
21755
21991
|
*/
|
|
@@ -21840,6 +22076,20 @@ declare namespace sap {
|
|
|
21840
22076
|
*/
|
|
21841
22077
|
thisArg?: Object
|
|
21842
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;
|
|
21843
22093
|
}
|
|
21844
22094
|
|
|
21845
22095
|
/**
|
|
@@ -25586,6 +25836,8 @@ declare namespace sap {
|
|
|
25586
25836
|
}
|
|
25587
25837
|
|
|
25588
25838
|
/**
|
|
25839
|
+
* @deprecated (since 1.120)
|
|
25840
|
+
*
|
|
25589
25841
|
* A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
|
|
25590
25842
|
*/
|
|
25591
25843
|
class OpenSearchProvider extends sap.ui.core.search.SearchProvider {
|
|
@@ -25721,6 +25973,8 @@ declare namespace sap {
|
|
|
25721
25973
|
): void;
|
|
25722
25974
|
}
|
|
25723
25975
|
/**
|
|
25976
|
+
* @deprecated (since 1.120)
|
|
25977
|
+
*
|
|
25724
25978
|
* Abstract base class for all SearchProviders which can be e.g. attached to a SearchField.
|
|
25725
25979
|
*
|
|
25726
25980
|
* Do not create instances of this class, but use a concrete subclass instead.
|
|
@@ -27342,16 +27596,21 @@ declare namespace sap {
|
|
|
27342
27596
|
namespace UIArea {
|
|
27343
27597
|
/**
|
|
27344
27598
|
* @since 1.107
|
|
27599
|
+
* @deprecated (since 1.120)
|
|
27345
27600
|
*
|
|
27346
27601
|
* Registry of all `sap.ui.core.Element`s that currently exist.
|
|
27347
27602
|
*/
|
|
27348
27603
|
interface registry {
|
|
27349
27604
|
/**
|
|
27605
|
+
* @deprecated (since 1.120)
|
|
27606
|
+
*
|
|
27350
27607
|
* Number of existing UIAreas.
|
|
27351
27608
|
*/
|
|
27352
27609
|
size: int;
|
|
27353
27610
|
|
|
27354
27611
|
/**
|
|
27612
|
+
* @deprecated (since 1.120)
|
|
27613
|
+
*
|
|
27355
27614
|
* Return an object with all instances of `sap.ui.core.UIArea`, keyed by their ID.
|
|
27356
27615
|
*
|
|
27357
27616
|
* Each call creates a new snapshot object. Depending on the size of the UI, this operation therefore might
|
|
@@ -27365,6 +27624,8 @@ declare namespace sap {
|
|
|
27365
27624
|
*/
|
|
27366
27625
|
all(): Record<sap.ui.core.ID, sap.ui.core.UIArea>;
|
|
27367
27626
|
/**
|
|
27627
|
+
* @deprecated (since 1.120)
|
|
27628
|
+
*
|
|
27368
27629
|
* Returns an array with UIAreas for which the given `callback` returns a value that coerces to `true`.
|
|
27369
27630
|
*
|
|
27370
27631
|
* The expected signature of the callback is
|
|
@@ -27401,6 +27662,8 @@ declare namespace sap {
|
|
|
27401
27662
|
thisArg?: Object
|
|
27402
27663
|
): sap.ui.core.UIArea[];
|
|
27403
27664
|
/**
|
|
27665
|
+
* @deprecated (since 1.120)
|
|
27666
|
+
*
|
|
27404
27667
|
* Calls the given `callback` for each UIArea.
|
|
27405
27668
|
*
|
|
27406
27669
|
* The expected signature of the callback is
|
|
@@ -27433,6 +27696,8 @@ declare namespace sap {
|
|
|
27433
27696
|
thisArg?: Object
|
|
27434
27697
|
): void;
|
|
27435
27698
|
/**
|
|
27699
|
+
* @deprecated (since 1.120)
|
|
27700
|
+
*
|
|
27436
27701
|
* Retrieves an UIArea by its ID.
|
|
27437
27702
|
*
|
|
27438
27703
|
* When the ID is `null` or `undefined` or when there's no UIArea with the given ID, then `undefined` is
|
|
@@ -32282,8 +32547,7 @@ declare namespace sap {
|
|
|
32282
32547
|
* - date and number data types that are used in property bindings or composite bindings in existing Elements,
|
|
32283
32548
|
* Controls, UIAreas or Components
|
|
32284
32549
|
* - ResourceModels currently assigned to the Core, a UIArea, Component, Element or Control
|
|
32285
|
-
* - Elements or Controls that implement the `
|
|
32286
|
-
*
|
|
32550
|
+
* - Elements or Controls that implement the `onLocalizationChanged` hook
|
|
32287
32551
|
*
|
|
32288
32552
|
* It furthermore derives the RTL mode from the new language, if no explicit RTL mode has been set. If the
|
|
32289
32553
|
* RTL mode changes, the following additional actions will be taken:
|
|
@@ -35028,6 +35292,8 @@ declare namespace sap {
|
|
|
35028
35292
|
): Function;
|
|
35029
35293
|
/**
|
|
35030
35294
|
* @since 1.56.0
|
|
35295
|
+
* @deprecated (since 1.120) - please use the static {@link sap.ui.core.Component.getComponentById getComponentById }
|
|
35296
|
+
* instead.
|
|
35031
35297
|
*
|
|
35032
35298
|
* Returns an existing component instance, identified by its ID.
|
|
35033
35299
|
*
|
|
@@ -35039,6 +35305,19 @@ declare namespace sap {
|
|
|
35039
35305
|
*/
|
|
35040
35306
|
sId: string
|
|
35041
35307
|
): sap.ui.core.Component | undefined;
|
|
35308
|
+
/**
|
|
35309
|
+
* @since 1.120
|
|
35310
|
+
*
|
|
35311
|
+
* Returns an existing component instance, identified by its ID.
|
|
35312
|
+
*
|
|
35313
|
+
* @returns Component instance or `undefined` when no component with the given ID exists.
|
|
35314
|
+
*/
|
|
35315
|
+
static getComponentById(
|
|
35316
|
+
/**
|
|
35317
|
+
* ID of the component.
|
|
35318
|
+
*/
|
|
35319
|
+
sId: string
|
|
35320
|
+
): sap.ui.core.Component | undefined;
|
|
35042
35321
|
/**
|
|
35043
35322
|
* Returns the metadata for the Component class.
|
|
35044
35323
|
*
|
|
@@ -37631,18 +37910,24 @@ declare namespace sap {
|
|
|
37631
37910
|
*/
|
|
37632
37911
|
static getActiveElement(): sap.ui.core.Element | undefined;
|
|
37633
37912
|
/**
|
|
37634
|
-
*
|
|
37913
|
+
* @since 1.119
|
|
37914
|
+
*
|
|
37915
|
+
* Returns the registered element with the given ID, if any.
|
|
37635
37916
|
*
|
|
37636
|
-
*
|
|
37637
|
-
*
|
|
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.
|
|
37638
37923
|
*
|
|
37639
37924
|
* @returns Element with the given ID or `undefined`
|
|
37640
37925
|
*/
|
|
37641
37926
|
static getElementById(
|
|
37642
37927
|
/**
|
|
37643
|
-
* ID of the element to
|
|
37928
|
+
* ID of the element to search for
|
|
37644
37929
|
*/
|
|
37645
|
-
|
|
37930
|
+
sId: sap.ui.core.ID | null | undefined
|
|
37646
37931
|
): sap.ui.core.Element | undefined;
|
|
37647
37932
|
/**
|
|
37648
37933
|
* Returns a metadata object for class sap.ui.core.Element.
|
|
@@ -38388,12 +38673,19 @@ declare namespace sap {
|
|
|
38388
38673
|
oDelegate: object
|
|
38389
38674
|
): this;
|
|
38390
38675
|
/**
|
|
38391
|
-
* @
|
|
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.
|
|
38392
38681
|
*
|
|
38393
|
-
*
|
|
38682
|
+
* The recommended alternative is to rely on invalidation and standard re-rendering.
|
|
38394
38683
|
*
|
|
38395
38684
|
* As `sap.ui.core.Element` "bubbles up" the rerender, changes to child-`Elements` will also result in immediate
|
|
38396
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.
|
|
38397
38689
|
*/
|
|
38398
38690
|
rerender(): void;
|
|
38399
38691
|
/**
|
|
@@ -41752,35 +42044,33 @@ declare namespace sap {
|
|
|
41752
42044
|
/**
|
|
41753
42045
|
* Get month names in width "narrow", "abbreviated" or "wide".
|
|
41754
42046
|
*
|
|
41755
|
-
* @returns array of month names
|
|
42047
|
+
* @returns The array of month names
|
|
41756
42048
|
*/
|
|
41757
42049
|
getMonths(
|
|
41758
42050
|
/**
|
|
41759
|
-
*
|
|
42051
|
+
* The required width for the month names
|
|
41760
42052
|
*/
|
|
41761
|
-
sWidth:
|
|
42053
|
+
sWidth: "narrow" | "abbreviated" | "wide",
|
|
41762
42054
|
/**
|
|
41763
|
-
*
|
|
41764
|
-
* or calculated from locale.
|
|
42055
|
+
* The type of calendar; defaults to the calendar type either set in configuration or calculated from locale
|
|
41765
42056
|
*/
|
|
41766
42057
|
sCalendarType?: sap.ui.core.CalendarType
|
|
41767
|
-
):
|
|
42058
|
+
): string[];
|
|
41768
42059
|
/**
|
|
41769
42060
|
* Get standalone month names in width "narrow", "abbreviated" or "wide".
|
|
41770
42061
|
*
|
|
41771
|
-
* @returns array of month names
|
|
42062
|
+
* @returns The array of standalone month names
|
|
41772
42063
|
*/
|
|
41773
42064
|
getMonthsStandAlone(
|
|
41774
42065
|
/**
|
|
41775
|
-
*
|
|
42066
|
+
* The required width for the month names
|
|
41776
42067
|
*/
|
|
41777
|
-
sWidth:
|
|
42068
|
+
sWidth: "narrow" | "abbreviated" | "wide",
|
|
41778
42069
|
/**
|
|
41779
|
-
*
|
|
41780
|
-
* or calculated from locale.
|
|
42070
|
+
* The type of calendar; defaults to the calendar type either set in configuration or calculated from locale
|
|
41781
42071
|
*/
|
|
41782
42072
|
sCalendarType?: sap.ui.core.CalendarType
|
|
41783
|
-
):
|
|
42073
|
+
): string[];
|
|
41784
42074
|
/**
|
|
41785
42075
|
* Get number symbol "decimal", "group", "plusSign", "minusSign", "percentSign".
|
|
41786
42076
|
*
|
|
@@ -42386,6 +42676,8 @@ declare namespace sap {
|
|
|
42386
42676
|
): string;
|
|
42387
42677
|
}
|
|
42388
42678
|
/**
|
|
42679
|
+
* @deprecated (since 1.120) - Please use {@link sap.ui.core.message.Message} instead.
|
|
42680
|
+
*
|
|
42389
42681
|
* This element is used to provide messages.
|
|
42390
42682
|
*
|
|
42391
42683
|
* Rendering must be done within the control that uses this kind of element. Its default level is none.
|
|
@@ -47241,6 +47533,8 @@ declare namespace sap {
|
|
|
47241
47533
|
Polite = "Polite",
|
|
47242
47534
|
}
|
|
47243
47535
|
/**
|
|
47536
|
+
* @deprecated (since 1.120) - Please use {@link sap.ui.core.message.MessageType} instead.
|
|
47537
|
+
*
|
|
47244
47538
|
* Specifies possible message types.
|
|
47245
47539
|
*/
|
|
47246
47540
|
enum MessageType {
|
|
@@ -56799,9 +57093,11 @@ declare namespace sap {
|
|
|
56799
57093
|
*/
|
|
56800
57094
|
inactive?: boolean;
|
|
56801
57095
|
/**
|
|
56802
|
-
*
|
|
57096
|
+
* The initial values of the entry, or an array that specifies a list of property names to be initialized
|
|
57097
|
+
* with `undefined`; **Note:** Passing a list of property names is deprecated since 1.120; pass the initial
|
|
57098
|
+
* values as an object instead
|
|
56803
57099
|
*/
|
|
56804
|
-
properties?:
|
|
57100
|
+
properties?: object | string[];
|
|
56805
57101
|
/**
|
|
56806
57102
|
* Whether to update all bindings after submitting this change operation, see {@link #setRefreshAfterChange};
|
|
56807
57103
|
* if given, this overrules the model-wide `refreshAfterChange` flag for this operation only; since 1.46
|
|
@@ -58504,8 +58800,7 @@ declare namespace sap {
|
|
|
58504
58800
|
context?: sap.ui.model.odata.v4.Context;
|
|
58505
58801
|
|
|
58506
58802
|
/**
|
|
58507
|
-
* Whether the POST was successfully processed; in case of an error, the error is already reported to
|
|
58508
|
-
* {@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}
|
|
58509
58804
|
*/
|
|
58510
58805
|
success?: boolean;
|
|
58511
58806
|
}
|
|
@@ -59512,14 +59807,13 @@ declare namespace sap {
|
|
|
59512
59807
|
/**
|
|
59513
59808
|
* @experimental (since 1.120.0)
|
|
59514
59809
|
*
|
|
59515
|
-
* Returns the parent node (in case of a recursive hierarchy
|
|
59516
|
-
*
|
|
59517
|
-
* See:
|
|
59518
|
-
* #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}.
|
|
59519
59812
|
*
|
|
59520
|
-
* @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
|
|
59521
59815
|
*/
|
|
59522
|
-
getParent(): sap.ui.model.odata.v4.Context | null;
|
|
59816
|
+
getParent(): sap.ui.model.odata.v4.Context | null | undefined;
|
|
59523
59817
|
/**
|
|
59524
59818
|
* @since 1.39.0
|
|
59525
59819
|
*
|
|
@@ -59578,7 +59872,7 @@ declare namespace sap {
|
|
|
59578
59872
|
/**
|
|
59579
59873
|
* Some node which may be a descendant
|
|
59580
59874
|
*/
|
|
59581
|
-
oNode
|
|
59875
|
+
oNode?: sap.ui.model.odata.v4.Context
|
|
59582
59876
|
): boolean;
|
|
59583
59877
|
/**
|
|
59584
59878
|
* @since 1.105.0
|
|
@@ -59663,9 +59957,10 @@ declare namespace sap {
|
|
|
59663
59957
|
* @experimental (since 1.119.0)
|
|
59664
59958
|
*
|
|
59665
59959
|
* Moves this node to the given parent (in case of a recursive hierarchy, see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation},
|
|
59666
|
-
* 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},
|
|
59667
59961
|
* {@link #delete deletion}, or move must be pending, and no other modification (including collapse of some
|
|
59668
|
-
* 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).
|
|
59669
59964
|
*
|
|
59670
59965
|
* This context's {@link #getIndex index} may change and it becomes "created persisted", with {@link #isTransient }
|
|
59671
59966
|
* returning `false` etc.
|
|
@@ -59677,11 +59972,11 @@ declare namespace sap {
|
|
|
59677
59972
|
/**
|
|
59678
59973
|
* A parameter object
|
|
59679
59974
|
*/
|
|
59680
|
-
oParameters
|
|
59975
|
+
oParameters?: {
|
|
59681
59976
|
/**
|
|
59682
59977
|
* The new parent's context
|
|
59683
59978
|
*/
|
|
59684
|
-
parent
|
|
59979
|
+
parent?: sap.ui.model.odata.v4.Context;
|
|
59685
59980
|
}
|
|
59686
59981
|
): Promise<void>;
|
|
59687
59982
|
/**
|
|
@@ -59763,8 +60058,9 @@ declare namespace sap {
|
|
|
59763
60058
|
/**
|
|
59764
60059
|
* @experimental (since 1.120.0)
|
|
59765
60060
|
*
|
|
59766
|
-
* Requests the parent node (in case of a recursive hierarchy
|
|
59767
|
-
*
|
|
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!
|
|
59768
60064
|
* See:
|
|
59769
60065
|
* #getParent
|
|
59770
60066
|
*
|
|
@@ -60751,12 +61047,12 @@ declare namespace sap {
|
|
|
60751
61047
|
* parent's navigation property, which is sent with the payload of the parent entity. Such a nested context
|
|
60752
61048
|
* cannot be inactive.
|
|
60753
61049
|
*
|
|
60754
|
-
* **Note:** After a
|
|
60755
|
-
* longer valid. Do not use the {@link sap.ui.model.odata.v4.Context#created created} promise of such
|
|
60756
|
-
* context! New contexts are created for the nested collection because it is not possible to reliably
|
|
60757
|
-
* the response entities to those of the request, especially if the count differs. For this reason,
|
|
60758
|
-
* `created` promises of all nested contexts are always rejected with an instance of `Error`, even if
|
|
60759
|
-
* 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`.
|
|
60760
61056
|
*
|
|
60761
61057
|
* Since 1.118.0 deep create also supports single-valued navigation properties; no API call is required
|
|
60762
61058
|
* in this case. Simply bind properties of the related entity relative to a transient context. An update
|
|
@@ -60966,9 +61262,9 @@ declare namespace sap {
|
|
|
60966
61262
|
* back to the setter (@experimental as of version 1.111.0). They are retrieved from the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy"
|
|
60967
61263
|
* and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy" annotations at this binding's entity type,
|
|
60968
61264
|
* identified via the `hierarchyQualifier` given to {@link #setAggregation}.
|
|
60969
|
-
* "$
|
|
61265
|
+
* "$DistanceFromRoot" holds the path to the property which provides the raw value for "@$ui5.node.level"
|
|
60970
61266
|
* (minus one) and should be used only to interpret the response retrieved via {@link #getDownloadUrl}.
|
|
60971
|
-
* "$
|
|
61267
|
+
* "$DrillState" holds the path to the property which provides the raw value for "@$ui5.node.isExpanded"
|
|
60972
61268
|
* and should be used only to interpret the response retrieved via {@link #getDownloadUrl}. "$NodeProperty"
|
|
60973
61269
|
* holds the path to the property which provides the hierarchy node value. That property is always $select'ed
|
|
60974
61270
|
* automatically and can be accessed as usual.
|
|
@@ -61078,11 +61374,10 @@ declare namespace sap {
|
|
|
61078
61374
|
* @since 1.74.0
|
|
61079
61375
|
*
|
|
61080
61376
|
* Returns a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
61081
|
-
* delivers all entities considering the binding's query options (such as filters or sorters).
|
|
61082
|
-
*
|
|
61083
|
-
*
|
|
61084
|
-
*
|
|
61085
|
-
* 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.
|
|
61086
61381
|
*
|
|
61087
61382
|
* Additionally, you must be aware of server-driven paging and be ready to send a follow-up request if the
|
|
61088
61383
|
* response contains `@odata.nextlink`.
|
|
@@ -61090,9 +61385,9 @@ declare namespace sap {
|
|
|
61090
61385
|
* The URL cannot be determined synchronously in all cases; use {@link #requestDownloadUrl} to allow for
|
|
61091
61386
|
* asynchronous determination then.
|
|
61092
61387
|
*
|
|
61093
|
-
* @returns The download URL
|
|
61388
|
+
* @returns The download URL or `null`
|
|
61094
61389
|
*/
|
|
61095
|
-
getDownloadUrl(): string;
|
|
61390
|
+
getDownloadUrl(): string | null;
|
|
61096
61391
|
/**
|
|
61097
61392
|
* @since 1.81.0
|
|
61098
61393
|
*
|
|
@@ -61324,8 +61619,9 @@ declare namespace sap {
|
|
|
61324
61619
|
/**
|
|
61325
61620
|
* @since 1.74.0
|
|
61326
61621
|
*
|
|
61327
|
-
*
|
|
61328
|
-
* 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}.
|
|
61329
61625
|
*
|
|
61330
61626
|
* The returned URL does not specify `$skip` and `$top` and leaves it up to the server how many rows it
|
|
61331
61627
|
* delivers. Many servers tend to choose a small limit without `$skip` and `$top`, so it might be wise to
|
|
@@ -61336,9 +61632,9 @@ declare namespace sap {
|
|
|
61336
61632
|
* See:
|
|
61337
61633
|
* #getDownloadUrl
|
|
61338
61634
|
*
|
|
61339
|
-
* @returns A promise that is resolved with the download URL
|
|
61635
|
+
* @returns A promise that is resolved with the download URL or `null`
|
|
61340
61636
|
*/
|
|
61341
|
-
requestDownloadUrl(): Promise<string>;
|
|
61637
|
+
requestDownloadUrl(): Promise<string | null>;
|
|
61342
61638
|
/**
|
|
61343
61639
|
* @since 1.86.0
|
|
61344
61640
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -61350,6 +61646,9 @@ declare namespace sap {
|
|
|
61350
61646
|
* The resulting filter does not consider application or control filters specified for this list binding
|
|
61351
61647
|
* in its constructor or in its {@link #filter} method; add filters which you want to keep with the "and"
|
|
61352
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.
|
|
61353
61652
|
* See:
|
|
61354
61653
|
* sap.ui.model.ListBinding#requestFilterForMessages
|
|
61355
61654
|
*
|
|
@@ -61442,8 +61741,8 @@ declare namespace sap {
|
|
|
61442
61741
|
* The number (as a positive integer) of different levels initially available without calling {@link sap.ui.model.odata.v4.Context#expand }
|
|
61443
61742
|
* (@experimental as of version 1.105.0; available for read-only hierarchies since 1.117.0), supported only
|
|
61444
61743
|
* if a `hierarchyQualifier` is given. Root nodes are on the first level. By default, only root nodes are
|
|
61445
|
-
* available; they are not yet expanded. Since 1.120.0, `Number.MAX_SAFE_INTEGER` can be used
|
|
61446
|
-
* 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).
|
|
61447
61746
|
*/
|
|
61448
61747
|
expandTo?: number;
|
|
61449
61748
|
/**
|
|
@@ -70228,8 +70527,8 @@ declare namespace sap {
|
|
|
70228
70527
|
oListener?: object
|
|
70229
70528
|
): void;
|
|
70230
70529
|
/**
|
|
70231
|
-
* Removes all control messages for this binding from
|
|
70232
|
-
* tasks.
|
|
70530
|
+
* Removes all control messages for this binding from {@link sap.ui.core.Messaging} in addition to the standard
|
|
70531
|
+
* clean-up tasks.
|
|
70233
70532
|
* See:
|
|
70234
70533
|
* sap.ui.base.EventProvider#destroy
|
|
70235
70534
|
*/
|
|
@@ -71463,7 +71762,7 @@ declare namespace sap {
|
|
|
71463
71762
|
*
|
|
71464
71763
|
* @returns The array of all messages
|
|
71465
71764
|
*/
|
|
71466
|
-
getAllMessages(): sap.ui.core.Message[];
|
|
71765
|
+
getAllMessages(): sap.ui.core.message.Message[];
|
|
71467
71766
|
/**
|
|
71468
71767
|
* Returns the changes of the data state in a map that the control can use in the `refreshDataState` method.
|
|
71469
71768
|
* The changed property's name is the key in the map. Each element in the map contains an object of below
|
|
@@ -71492,7 +71791,7 @@ declare namespace sap {
|
|
|
71492
71791
|
*
|
|
71493
71792
|
* @returns The array of control messages
|
|
71494
71793
|
*/
|
|
71495
|
-
getControlMessages(): sap.ui.core.Message[];
|
|
71794
|
+
getControlMessages(): sap.ui.core.message.Message[];
|
|
71496
71795
|
/**
|
|
71497
71796
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
71498
71797
|
*
|
|
@@ -71519,13 +71818,13 @@ declare namespace sap {
|
|
|
71519
71818
|
*
|
|
71520
71819
|
* @returns The array of all messages
|
|
71521
71820
|
*/
|
|
71522
|
-
getMessages(): sap.ui.core.Message[];
|
|
71821
|
+
getMessages(): sap.ui.core.message.Message[];
|
|
71523
71822
|
/**
|
|
71524
71823
|
* Returns the array of current state messages of the model.
|
|
71525
71824
|
*
|
|
71526
71825
|
* @returns The array of messages of the model
|
|
71527
71826
|
*/
|
|
71528
|
-
getModelMessages(): sap.ui.core.Message[];
|
|
71827
|
+
getModelMessages(): sap.ui.core.message.Message[];
|
|
71529
71828
|
/**
|
|
71530
71829
|
* Returns whether the data state is dirty in the UI control. A data state is dirty in the UI control if
|
|
71531
71830
|
* the entered value did not yet pass the type validation.
|
|
@@ -71963,7 +72262,7 @@ declare namespace sap {
|
|
|
71963
72262
|
*
|
|
71964
72263
|
* @returns The array of all messages
|
|
71965
72264
|
*/
|
|
71966
|
-
getAllMessages(): sap.ui.core.Message[];
|
|
72265
|
+
getAllMessages(): sap.ui.core.message.Message[];
|
|
71967
72266
|
/**
|
|
71968
72267
|
* Returns the changes of the data state in a map that the control can use in the `refreshDataState` method.
|
|
71969
72268
|
* The changed property's name is the key in the map. Each element in the map contains an object with the
|
|
@@ -71978,7 +72277,7 @@ declare namespace sap {
|
|
|
71978
72277
|
*
|
|
71979
72278
|
* @returns The array of control messages
|
|
71980
72279
|
*/
|
|
71981
|
-
getControlMessages(): sap.ui.core.Message[];
|
|
72280
|
+
getControlMessages(): sap.ui.core.message.Message[];
|
|
71982
72281
|
/**
|
|
71983
72282
|
* Returns the dirty value of a binding that was rejected by a type validation so that it could not be applied
|
|
71984
72283
|
* to the model. If the value was not rejected it returns `undefined`. In this case the current model value
|
|
@@ -71993,13 +72292,13 @@ declare namespace sap {
|
|
|
71993
72292
|
*
|
|
71994
72293
|
* @returns The sorted array of all messages
|
|
71995
72294
|
*/
|
|
71996
|
-
getMessages(): sap.ui.core.Message[];
|
|
72295
|
+
getMessages(): sap.ui.core.message.Message[];
|
|
71997
72296
|
/**
|
|
71998
72297
|
* Returns the array of this data state's current model messages.
|
|
71999
72298
|
*
|
|
72000
72299
|
* @returns The array of messages of the model
|
|
72001
72300
|
*/
|
|
72002
|
-
getModelMessages(): sap.ui.core.Message[];
|
|
72301
|
+
getModelMessages(): sap.ui.core.message.Message[];
|
|
72003
72302
|
/**
|
|
72004
72303
|
* Returns the formatted original value of the data. The original value is the last confirmed value.
|
|
72005
72304
|
*
|
|
@@ -72044,7 +72343,7 @@ declare namespace sap {
|
|
|
72044
72343
|
/**
|
|
72045
72344
|
* The control messages
|
|
72046
72345
|
*/
|
|
72047
|
-
aMessages: sap.ui.core.Message[]
|
|
72346
|
+
aMessages: sap.ui.core.message.Message[]
|
|
72048
72347
|
): this;
|
|
72049
72348
|
/**
|
|
72050
72349
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -72081,7 +72380,7 @@ declare namespace sap {
|
|
|
72081
72380
|
/**
|
|
72082
72381
|
* The model messages for this data state.
|
|
72083
72382
|
*/
|
|
72084
|
-
aMessages?: sap.ui.core.Message[]
|
|
72383
|
+
aMessages?: sap.ui.core.message.Message[]
|
|
72085
72384
|
): this;
|
|
72086
72385
|
/**
|
|
72087
72386
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -81945,6 +82244,8 @@ declare namespace sap {
|
|
|
81945
82244
|
|
|
81946
82245
|
"sap/ui/core/ComponentMetadata": undefined;
|
|
81947
82246
|
|
|
82247
|
+
"sap/ui/core/ComponentRegistry": undefined;
|
|
82248
|
+
|
|
81948
82249
|
"sap/ui/core/ComponentSupport": undefined;
|
|
81949
82250
|
|
|
81950
82251
|
"sap/ui/core/Configuration": undefined;
|
|
@@ -81987,6 +82288,8 @@ declare namespace sap {
|
|
|
81987
82288
|
|
|
81988
82289
|
"sap/ui/core/ElementMetadata": undefined;
|
|
81989
82290
|
|
|
82291
|
+
"sap/ui/core/ElementRegistry": undefined;
|
|
82292
|
+
|
|
81990
82293
|
"sap/ui/core/EnabledPropagator": undefined;
|
|
81991
82294
|
|
|
81992
82295
|
"sap/ui/core/EventBus": undefined;
|
|
@@ -82169,6 +82472,8 @@ declare namespace sap {
|
|
|
82169
82472
|
|
|
82170
82473
|
"sap/ui/core/UIArea": undefined;
|
|
82171
82474
|
|
|
82475
|
+
"sap/ui/core/UIAreaRegistry": undefined;
|
|
82476
|
+
|
|
82172
82477
|
"sap/ui/core/UIComponent": undefined;
|
|
82173
82478
|
|
|
82174
82479
|
"sap/ui/core/util/Export": undefined;
|