@openui5/types 1.117.0 → 1.118.0
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 +416 -2
- package/types/sap.m.d.ts +214 -90
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +5 -2
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +1031 -197
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +51 -4
- package/types/sap.ui.integration.d.ts +68 -3
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +423 -141
- package/types/sap.ui.rta.d.ts +1 -4
- 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 +180 -39
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -20
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +76 -35
- 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 +116 -1
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.118.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/BaseDelegate" {
|
|
4
4
|
import Control from "sap/ui/mdc/Control";
|
|
@@ -1660,12 +1660,10 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
1660
1660
|
|
|
1661
1661
|
import Context from "sap/ui/model/Context";
|
|
1662
1662
|
|
|
1663
|
-
import Control from "sap/ui/core/Control";
|
|
1664
|
-
|
|
1665
|
-
import UI5Element from "sap/ui/core/Element";
|
|
1666
|
-
|
|
1667
1663
|
import { ConditionObject } from "sap/ui/mdc/condition/Condition";
|
|
1668
1664
|
|
|
1665
|
+
import Control from "sap/ui/core/Control";
|
|
1666
|
+
|
|
1669
1667
|
import Content from "sap/ui/mdc/valuehelp/base/Content";
|
|
1670
1668
|
|
|
1671
1669
|
import ValueHelpPropagationReason from "sap/ui/mdc/enums/ValueHelpPropagationReason";
|
|
@@ -1747,6 +1745,34 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
1747
1745
|
*/
|
|
1748
1746
|
iRequestedItems: int
|
|
1749
1747
|
): Promise<ListBinding>;
|
|
1748
|
+
/**
|
|
1749
|
+
* @since 1.118.0
|
|
1750
|
+
*
|
|
1751
|
+
* Find all conditions, which are represented by the given context for 'Select from list' scenarios. By
|
|
1752
|
+
* default, only condition keys are considered. This may be extended with payload dependent filters.
|
|
1753
|
+
*
|
|
1754
|
+
* Note: this method replaces the former `isFilterableListItemSelected`
|
|
1755
|
+
*
|
|
1756
|
+
* @returns Conditions represented by the given context
|
|
1757
|
+
*/
|
|
1758
|
+
findConditionsForContext(
|
|
1759
|
+
/**
|
|
1760
|
+
* The `ValueHelp` control instance
|
|
1761
|
+
*/
|
|
1762
|
+
oValueHelp: ValueHelp,
|
|
1763
|
+
/**
|
|
1764
|
+
* `ValueHelp` content instance
|
|
1765
|
+
*/
|
|
1766
|
+
oContent: FilterableListContent,
|
|
1767
|
+
/**
|
|
1768
|
+
* Entry of a given list
|
|
1769
|
+
*/
|
|
1770
|
+
oContext: Context,
|
|
1771
|
+
/**
|
|
1772
|
+
* current conditions
|
|
1773
|
+
*/
|
|
1774
|
+
aConditions: ConditionObject[]
|
|
1775
|
+
): ConditionObject[];
|
|
1750
1776
|
/**
|
|
1751
1777
|
* @since 1.106.0
|
|
1752
1778
|
*
|
|
@@ -1841,32 +1867,6 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
1841
1867
|
*/
|
|
1842
1868
|
oConditions: object
|
|
1843
1869
|
): object;
|
|
1844
|
-
/**
|
|
1845
|
-
* @since 1.101.0
|
|
1846
|
-
*
|
|
1847
|
-
* Provides the possibility to customize selections in 'Select from list' scenarios. By default, only condition
|
|
1848
|
-
* keys are taken into consideration. This might be extended with payload dependent filters.
|
|
1849
|
-
*
|
|
1850
|
-
* @returns `true` if item is selected
|
|
1851
|
-
*/
|
|
1852
|
-
isFilterableListItemSelected(
|
|
1853
|
-
/**
|
|
1854
|
-
* The `ValueHelp` control instance
|
|
1855
|
-
*/
|
|
1856
|
-
oValueHelp: ValueHelp,
|
|
1857
|
-
/**
|
|
1858
|
-
* `ValueHelp` content instance
|
|
1859
|
-
*/
|
|
1860
|
-
oContent: FilterableListContent,
|
|
1861
|
-
/**
|
|
1862
|
-
* Entry of a given list
|
|
1863
|
-
*/
|
|
1864
|
-
oItem: UI5Element,
|
|
1865
|
-
/**
|
|
1866
|
-
* current conditions
|
|
1867
|
-
*/
|
|
1868
|
-
aConditions: ConditionObject[]
|
|
1869
|
-
): boolean;
|
|
1870
1870
|
/**
|
|
1871
1871
|
* Checks if a `ListBinding` supports `$search`.
|
|
1872
1872
|
*
|
|
@@ -2191,7 +2191,7 @@ declare module "sap/ui/mdc/library" {
|
|
|
2191
2191
|
/**
|
|
2192
2192
|
* Defines if the filter supports multiple values `-1` or single values `1`
|
|
2193
2193
|
*/
|
|
2194
|
-
maxConditions
|
|
2194
|
+
maxConditions?: int;
|
|
2195
2195
|
};
|
|
2196
2196
|
}
|
|
2197
2197
|
|
|
@@ -2722,7 +2722,8 @@ declare module "sap/ui/mdc/actiontoolbar/ActionToolbarAction" {
|
|
|
2722
2722
|
/**
|
|
2723
2723
|
* @since 1.58
|
|
2724
2724
|
*
|
|
2725
|
-
* The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar} control
|
|
2725
|
+
* The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar} control with given layout information
|
|
2726
|
+
* that determines where the wrapped control is displayed on the `ActionToolbar`.
|
|
2726
2727
|
*/
|
|
2727
2728
|
export default class ActionToolbarAction
|
|
2728
2729
|
extends Control
|
|
@@ -2805,13 +2806,13 @@ declare module "sap/ui/mdc/actiontoolbar/ActionToolbarAction" {
|
|
|
2805
2806
|
/**
|
|
2806
2807
|
* Gets content of aggregation {@link #getAction action}.
|
|
2807
2808
|
*
|
|
2808
|
-
*
|
|
2809
|
+
* The control that is displayed on the `ActionToolbar`.
|
|
2809
2810
|
*/
|
|
2810
2811
|
getAction(): Control;
|
|
2811
2812
|
/**
|
|
2812
2813
|
* Gets current value of property {@link #getLayoutInformation layoutInformation}.
|
|
2813
2814
|
*
|
|
2814
|
-
*
|
|
2815
|
+
* Contains the information where the action is displayed on the `ActionToolbar`.
|
|
2815
2816
|
*
|
|
2816
2817
|
* Default value is `...see text or source`.
|
|
2817
2818
|
*
|
|
@@ -2832,7 +2833,7 @@ declare module "sap/ui/mdc/actiontoolbar/ActionToolbarAction" {
|
|
|
2832
2833
|
/**
|
|
2833
2834
|
* Sets a new value for property {@link #getLayoutInformation layoutInformation}.
|
|
2834
2835
|
*
|
|
2835
|
-
*
|
|
2836
|
+
* Contains the information where the action is displayed on the `ActionToolbar`.
|
|
2836
2837
|
*
|
|
2837
2838
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2838
2839
|
*
|
|
@@ -2850,12 +2851,12 @@ declare module "sap/ui/mdc/actiontoolbar/ActionToolbarAction" {
|
|
|
2850
2851
|
|
|
2851
2852
|
export interface $ActionToolbarActionSettings extends $ControlSettings {
|
|
2852
2853
|
/**
|
|
2853
|
-
*
|
|
2854
|
+
* Contains the information where the action is displayed on the `ActionToolbar`.
|
|
2854
2855
|
*/
|
|
2855
2856
|
layoutInformation?: object | PropertyBindingInfo | `{${string}}`;
|
|
2856
2857
|
|
|
2857
2858
|
/**
|
|
2858
|
-
*
|
|
2859
|
+
* The control that is displayed on the `ActionToolbar`.
|
|
2859
2860
|
*/
|
|
2860
2861
|
action?: Control;
|
|
2861
2862
|
}
|
|
@@ -5364,6 +5365,8 @@ declare module "sap/ui/mdc/condition/Operator" {
|
|
|
5364
5365
|
* If set to a name of a data type an instance of this data type will be used.
|
|
5365
5366
|
* If set to an object with structure {@link sap.ui.mdc.condition.ValueType} an instance of the corresponding
|
|
5366
5367
|
* data type will be used. The type given via `name` must be loaded by the application.
|
|
5368
|
+
* If set to `null` the corresponding value is interpreted as description that holds no required data.
|
|
5369
|
+
* To display this value the additional `Type` of the `Field` or `FilterField` using the `Operator` is used.
|
|
5367
5370
|
*/
|
|
5368
5371
|
valueTypes: string[] | object[];
|
|
5369
5372
|
/**
|
|
@@ -5592,11 +5595,12 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5592
5595
|
* @since 1.61
|
|
5593
5596
|
* @experimental (since 1.61)
|
|
5594
5597
|
*
|
|
5595
|
-
* The base class for
|
|
5598
|
+
* The base class for controls in the `sap.ui.mdc` library providing delegate-related functionality (see
|
|
5599
|
+
* {@link sap.ui.mdc.mixin.DelegateMixin}).
|
|
5596
5600
|
*/
|
|
5597
5601
|
export default class Control extends Control1 {
|
|
5598
5602
|
/**
|
|
5599
|
-
* Creates and initializes a new
|
|
5603
|
+
* Creates and initializes a new control with the given `sId` and settings.
|
|
5600
5604
|
*
|
|
5601
5605
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
5602
5606
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
@@ -5609,7 +5613,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5609
5613
|
mSettings?: $ControlSettings
|
|
5610
5614
|
);
|
|
5611
5615
|
/**
|
|
5612
|
-
* Creates and initializes a new
|
|
5616
|
+
* Creates and initializes a new control with the given `sId` and settings.
|
|
5613
5617
|
*
|
|
5614
5618
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
5615
5619
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
@@ -5617,8 +5621,8 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5617
5621
|
*/
|
|
5618
5622
|
constructor(
|
|
5619
5623
|
/**
|
|
5620
|
-
* Optional ID for the new control; generated automatically if no non-empty ID is given Note
|
|
5621
|
-
* omitted, no matter whether `mSettings`
|
|
5624
|
+
* Optional ID for the new control; generated automatically if no non-empty ID is given **Note:** This can
|
|
5625
|
+
* be omitted, no matter whether `mSettings` is given.
|
|
5622
5626
|
*/
|
|
5623
5627
|
sId?: string,
|
|
5624
5628
|
/**
|
|
@@ -5627,23 +5631,6 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5627
5631
|
mSettings?: $ControlSettings
|
|
5628
5632
|
);
|
|
5629
5633
|
|
|
5630
|
-
/**
|
|
5631
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5632
|
-
*
|
|
5633
|
-
* Provides access to the delegate initialization `Promise`. **Note:** `initControlDelegate` must be called
|
|
5634
|
-
* to start the delegate initialization
|
|
5635
|
-
*
|
|
5636
|
-
* @returns Returns a `Promise` reflecting the delegate initialization
|
|
5637
|
-
*/
|
|
5638
|
-
static awaitControlDelegate(): Promise<BaseDelegate>;
|
|
5639
|
-
/**
|
|
5640
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5641
|
-
*
|
|
5642
|
-
* Provides access to the property helper initialization `Promise`.
|
|
5643
|
-
*
|
|
5644
|
-
* @returns Returns a `Promise` that resolves with the property helper
|
|
5645
|
-
*/
|
|
5646
|
-
static awaitPropertyHelper(): Promise</* was: sap.ui.mdc.util.PropertyHelper */ any>;
|
|
5647
5634
|
/**
|
|
5648
5635
|
* Creates a new subclass of class sap.ui.mdc.Control with name `sClassName` and enriches it with the information
|
|
5649
5636
|
* contained in `oClassInfo`.
|
|
@@ -5667,6 +5654,29 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5667
5654
|
*/
|
|
5668
5655
|
FNMetaImpl?: Function
|
|
5669
5656
|
): Function;
|
|
5657
|
+
/**
|
|
5658
|
+
* Returns a metadata object for class sap.ui.mdc.Control.
|
|
5659
|
+
*
|
|
5660
|
+
* @returns Metadata object describing this class
|
|
5661
|
+
*/
|
|
5662
|
+
static getMetadata(): ElementMetadata;
|
|
5663
|
+
/**
|
|
5664
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5665
|
+
*
|
|
5666
|
+
* Provides access to the delegate initialization `Promise`. **Note:** `initControlDelegate` must be called
|
|
5667
|
+
* to start the delegate initialization
|
|
5668
|
+
*
|
|
5669
|
+
* @returns Returns a `Promise` reflecting the delegate initialization
|
|
5670
|
+
*/
|
|
5671
|
+
awaitControlDelegate(): Promise<BaseDelegate>;
|
|
5672
|
+
/**
|
|
5673
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5674
|
+
*
|
|
5675
|
+
* Provides access to the property helper initialization `Promise`.
|
|
5676
|
+
*
|
|
5677
|
+
* @returns Returns a `Promise` that resolves with the property helper
|
|
5678
|
+
*/
|
|
5679
|
+
awaitPropertyHelper(): Promise</* was: sap.ui.mdc.util.PropertyHelper */ any>;
|
|
5670
5680
|
/**
|
|
5671
5681
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5672
5682
|
*
|
|
@@ -5674,7 +5684,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5674
5684
|
*
|
|
5675
5685
|
* @returns Returns a `Promise` that resolves with the property helper
|
|
5676
5686
|
*/
|
|
5677
|
-
|
|
5687
|
+
finalizePropertyHelper(
|
|
5678
5688
|
/**
|
|
5679
5689
|
* optional set of initial properties
|
|
5680
5690
|
*/
|
|
@@ -5689,19 +5699,26 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5689
5699
|
*
|
|
5690
5700
|
* @returns `typeUtil` made available by a delegate module
|
|
5691
5701
|
*/
|
|
5692
|
-
|
|
5702
|
+
getControlDelegate(): BaseDelegate;
|
|
5693
5703
|
/**
|
|
5694
|
-
*
|
|
5704
|
+
* @experimental
|
|
5695
5705
|
*
|
|
5696
|
-
*
|
|
5706
|
+
* Gets current value of property {@link #getDelegate delegate}.
|
|
5707
|
+
*
|
|
5708
|
+
* Path to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
5709
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
5710
|
+
* that).
|
|
5711
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
5712
|
+
*
|
|
5713
|
+
* @returns Value of property `delegate`
|
|
5697
5714
|
*/
|
|
5698
|
-
|
|
5715
|
+
getDelegate(): object;
|
|
5699
5716
|
/**
|
|
5700
5717
|
* Returns the payload object set for the delegate property.
|
|
5701
5718
|
*
|
|
5702
5719
|
* @returns Payload set for delegate property
|
|
5703
5720
|
*/
|
|
5704
|
-
|
|
5721
|
+
getPayload(): object;
|
|
5705
5722
|
/**
|
|
5706
5723
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5707
5724
|
*
|
|
@@ -5709,13 +5726,13 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5709
5726
|
*
|
|
5710
5727
|
* @returns The property helper
|
|
5711
5728
|
*/
|
|
5712
|
-
|
|
5729
|
+
getPropertyHelper(): /* was: sap.ui.mdc.util.PropertyHelper */ any;
|
|
5713
5730
|
/**
|
|
5714
5731
|
* Returns the `TypeMap` made available by a delegate module.
|
|
5715
5732
|
*
|
|
5716
5733
|
* @returns `TypeMap` object
|
|
5717
5734
|
*/
|
|
5718
|
-
|
|
5735
|
+
getTypeMap(): TypeMap;
|
|
5719
5736
|
/**
|
|
5720
5737
|
* @deprecated (since 1.115.0) - please see {@link #getTypeMap}
|
|
5721
5738
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -5724,7 +5741,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5724
5741
|
*
|
|
5725
5742
|
* @returns `TypeUtil` object
|
|
5726
5743
|
*/
|
|
5727
|
-
|
|
5744
|
+
getTypeUtil(): /* was: sap.ui.mdc.util.TypeUtil */ any | TypeMap;
|
|
5728
5745
|
/**
|
|
5729
5746
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5730
5747
|
*
|
|
@@ -5732,7 +5749,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5732
5749
|
*
|
|
5733
5750
|
* @returns Returns a `Promise` that resolves the delegate module, if available
|
|
5734
5751
|
*/
|
|
5735
|
-
|
|
5752
|
+
initControlDelegate(
|
|
5736
5753
|
/**
|
|
5737
5754
|
* Preloaded delegate module
|
|
5738
5755
|
*/
|
|
@@ -5745,7 +5762,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5745
5762
|
*
|
|
5746
5763
|
* @returns Returns a `Promise` that resolves with the property helper
|
|
5747
5764
|
*/
|
|
5748
|
-
|
|
5765
|
+
initPropertyHelper(
|
|
5749
5766
|
/**
|
|
5750
5767
|
* Custom property helper class
|
|
5751
5768
|
*/
|
|
@@ -5766,20 +5783,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5766
5783
|
*
|
|
5767
5784
|
* @returns Returns a `boolean` indicating the propertyHelper's final state
|
|
5768
5785
|
*/
|
|
5769
|
-
|
|
5770
|
-
/**
|
|
5771
|
-
* @experimental
|
|
5772
|
-
*
|
|
5773
|
-
* Gets current value of property {@link #getDelegate delegate}.
|
|
5774
|
-
*
|
|
5775
|
-
* Path to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
5776
|
-
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
5777
|
-
* that).
|
|
5778
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
5779
|
-
*
|
|
5780
|
-
* @returns Value of property `delegate`
|
|
5781
|
-
*/
|
|
5782
|
-
getDelegate(): object;
|
|
5786
|
+
isPropertyHelperFinal(): boolean;
|
|
5783
5787
|
/**
|
|
5784
5788
|
* @experimental
|
|
5785
5789
|
*
|
|
@@ -5833,11 +5837,12 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5833
5837
|
* @since 1.74
|
|
5834
5838
|
* @experimental (since 1.74)
|
|
5835
5839
|
*
|
|
5836
|
-
* The base class for
|
|
5840
|
+
* The base class for composite elements in the `sap.ui.mdc` library providing delegate-related functionality
|
|
5841
|
+
* (see {@link sap.ui.mdc.mixin.DelegateMixin}).
|
|
5837
5842
|
*/
|
|
5838
5843
|
export default class Element1 extends UI5Element {
|
|
5839
5844
|
/**
|
|
5840
|
-
* Creates and initializes a new
|
|
5845
|
+
* Creates and initializes a new element with the given `sId` and settings.
|
|
5841
5846
|
*
|
|
5842
5847
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
5843
5848
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
@@ -5850,7 +5855,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5850
5855
|
mSettings?: $ElementSettings
|
|
5851
5856
|
);
|
|
5852
5857
|
/**
|
|
5853
|
-
* Creates and initializes a new
|
|
5858
|
+
* Creates and initializes a new element with the given `sId` and settings.
|
|
5854
5859
|
*
|
|
5855
5860
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
5856
5861
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
@@ -5858,8 +5863,8 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5858
5863
|
*/
|
|
5859
5864
|
constructor(
|
|
5860
5865
|
/**
|
|
5861
|
-
* Optional ID for the new element; generated automatically if no non-empty ID is given Note
|
|
5862
|
-
* omitted, no matter whether `mSettings`
|
|
5866
|
+
* Optional ID for the new element; generated automatically if no non-empty ID is given **Note:** This can
|
|
5867
|
+
* be omitted, no matter whether `mSettings` is given.
|
|
5863
5868
|
*/
|
|
5864
5869
|
sId?: string,
|
|
5865
5870
|
/**
|
|
@@ -5868,23 +5873,6 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5868
5873
|
mSettings?: $ElementSettings
|
|
5869
5874
|
);
|
|
5870
5875
|
|
|
5871
|
-
/**
|
|
5872
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5873
|
-
*
|
|
5874
|
-
* Provides access to the delegate initialization `Promise`. **Note:** `initControlDelegate` must be called
|
|
5875
|
-
* to start the delegate initialization
|
|
5876
|
-
*
|
|
5877
|
-
* @returns Returns a `Promise` reflecting the delegate initialization
|
|
5878
|
-
*/
|
|
5879
|
-
static awaitControlDelegate(): Promise<BaseDelegate>;
|
|
5880
|
-
/**
|
|
5881
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5882
|
-
*
|
|
5883
|
-
* Provides access to the property helper initialization `Promise`.
|
|
5884
|
-
*
|
|
5885
|
-
* @returns Returns a `Promise` that resolves with the property helper
|
|
5886
|
-
*/
|
|
5887
|
-
static awaitPropertyHelper(): Promise</* was: sap.ui.mdc.util.PropertyHelper */ any>;
|
|
5888
5876
|
/**
|
|
5889
5877
|
* Creates a new subclass of class sap.ui.mdc.Element with name `sClassName` and enriches it with the information
|
|
5890
5878
|
* contained in `oClassInfo`.
|
|
@@ -5908,6 +5896,29 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5908
5896
|
*/
|
|
5909
5897
|
FNMetaImpl?: Function
|
|
5910
5898
|
): Function;
|
|
5899
|
+
/**
|
|
5900
|
+
* Returns a metadata object for class sap.ui.mdc.Element.
|
|
5901
|
+
*
|
|
5902
|
+
* @returns Metadata object describing this class
|
|
5903
|
+
*/
|
|
5904
|
+
static getMetadata(): ElementMetadata;
|
|
5905
|
+
/**
|
|
5906
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5907
|
+
*
|
|
5908
|
+
* Provides access to the delegate initialization `Promise`. **Note:** `initControlDelegate` must be called
|
|
5909
|
+
* to start the delegate initialization
|
|
5910
|
+
*
|
|
5911
|
+
* @returns Returns a `Promise` reflecting the delegate initialization
|
|
5912
|
+
*/
|
|
5913
|
+
awaitControlDelegate(): Promise<BaseDelegate>;
|
|
5914
|
+
/**
|
|
5915
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5916
|
+
*
|
|
5917
|
+
* Provides access to the property helper initialization `Promise`.
|
|
5918
|
+
*
|
|
5919
|
+
* @returns Returns a `Promise` that resolves with the property helper
|
|
5920
|
+
*/
|
|
5921
|
+
awaitPropertyHelper(): Promise</* was: sap.ui.mdc.util.PropertyHelper */ any>;
|
|
5911
5922
|
/**
|
|
5912
5923
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5913
5924
|
*
|
|
@@ -5915,7 +5926,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5915
5926
|
*
|
|
5916
5927
|
* @returns Returns a `Promise` that resolves with the property helper
|
|
5917
5928
|
*/
|
|
5918
|
-
|
|
5929
|
+
finalizePropertyHelper(
|
|
5919
5930
|
/**
|
|
5920
5931
|
* optional set of initial properties
|
|
5921
5932
|
*/
|
|
@@ -5930,19 +5941,26 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5930
5941
|
*
|
|
5931
5942
|
* @returns `typeUtil` made available by a delegate module
|
|
5932
5943
|
*/
|
|
5933
|
-
|
|
5944
|
+
getControlDelegate(): BaseDelegate;
|
|
5934
5945
|
/**
|
|
5935
|
-
*
|
|
5946
|
+
* @experimental
|
|
5936
5947
|
*
|
|
5937
|
-
*
|
|
5948
|
+
* Gets current value of property {@link #getDelegate delegate}.
|
|
5949
|
+
*
|
|
5950
|
+
* Path to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
5951
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
5952
|
+
* that).
|
|
5953
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
5954
|
+
*
|
|
5955
|
+
* @returns Value of property `delegate`
|
|
5938
5956
|
*/
|
|
5939
|
-
|
|
5957
|
+
getDelegate(): object;
|
|
5940
5958
|
/**
|
|
5941
5959
|
* Returns the payload object set for the delegate property.
|
|
5942
5960
|
*
|
|
5943
5961
|
* @returns Payload set for delegate property
|
|
5944
5962
|
*/
|
|
5945
|
-
|
|
5963
|
+
getPayload(): object;
|
|
5946
5964
|
/**
|
|
5947
5965
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5948
5966
|
*
|
|
@@ -5950,13 +5968,13 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5950
5968
|
*
|
|
5951
5969
|
* @returns The property helper
|
|
5952
5970
|
*/
|
|
5953
|
-
|
|
5971
|
+
getPropertyHelper(): /* was: sap.ui.mdc.util.PropertyHelper */ any;
|
|
5954
5972
|
/**
|
|
5955
5973
|
* Returns the `TypeMap` made available by a delegate module.
|
|
5956
5974
|
*
|
|
5957
5975
|
* @returns `TypeMap` object
|
|
5958
5976
|
*/
|
|
5959
|
-
|
|
5977
|
+
getTypeMap(): TypeMap;
|
|
5960
5978
|
/**
|
|
5961
5979
|
* @deprecated (since 1.115.0) - please see {@link #getTypeMap}
|
|
5962
5980
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -5965,7 +5983,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5965
5983
|
*
|
|
5966
5984
|
* @returns `TypeUtil` object
|
|
5967
5985
|
*/
|
|
5968
|
-
|
|
5986
|
+
getTypeUtil(): /* was: sap.ui.mdc.util.TypeUtil */ any | TypeMap;
|
|
5969
5987
|
/**
|
|
5970
5988
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5971
5989
|
*
|
|
@@ -5973,7 +5991,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5973
5991
|
*
|
|
5974
5992
|
* @returns Returns a `Promise` that resolves the delegate module, if available
|
|
5975
5993
|
*/
|
|
5976
|
-
|
|
5994
|
+
initControlDelegate(
|
|
5977
5995
|
/**
|
|
5978
5996
|
* Preloaded delegate module
|
|
5979
5997
|
*/
|
|
@@ -5986,7 +6004,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5986
6004
|
*
|
|
5987
6005
|
* @returns Returns a `Promise` that resolves with the property helper
|
|
5988
6006
|
*/
|
|
5989
|
-
|
|
6007
|
+
initPropertyHelper(
|
|
5990
6008
|
/**
|
|
5991
6009
|
* Custom property helper class
|
|
5992
6010
|
*/
|
|
@@ -6007,20 +6025,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
6007
6025
|
*
|
|
6008
6026
|
* @returns Returns a `boolean` indicating the propertyHelper's final state
|
|
6009
6027
|
*/
|
|
6010
|
-
|
|
6011
|
-
/**
|
|
6012
|
-
* @experimental
|
|
6013
|
-
*
|
|
6014
|
-
* Gets current value of property {@link #getDelegate delegate}.
|
|
6015
|
-
*
|
|
6016
|
-
* Path to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
6017
|
-
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
6018
|
-
* that).
|
|
6019
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
6020
|
-
*
|
|
6021
|
-
* @returns Value of property `delegate`
|
|
6022
|
-
*/
|
|
6023
|
-
getDelegate(): object;
|
|
6028
|
+
isPropertyHelperFinal(): boolean;
|
|
6024
6029
|
/**
|
|
6025
6030
|
* @experimental
|
|
6026
6031
|
*
|
|
@@ -6915,6 +6920,10 @@ declare module "sap/ui/mdc/field/ConditionsType" {
|
|
|
6915
6920
|
* Type of the value of the condition (used for formatting, parsing and validating)
|
|
6916
6921
|
*/
|
|
6917
6922
|
valueType?: Type;
|
|
6923
|
+
/**
|
|
6924
|
+
* Type of the additionalValue (description) of the condition (used for formatting, parsing and validating)
|
|
6925
|
+
*/
|
|
6926
|
+
additionalValueType?: Type;
|
|
6918
6927
|
/**
|
|
6919
6928
|
* Possible operators to be used in the condition
|
|
6920
6929
|
*/
|
|
@@ -6951,9 +6960,13 @@ declare module "sap/ui/mdc/field/ConditionsType" {
|
|
|
6951
6960
|
*/
|
|
6952
6961
|
additionalType?: Type;
|
|
6953
6962
|
/**
|
|
6954
|
-
* additional types used for parts of a `CompositeType`
|
|
6963
|
+
* additional types used for parts of a `CompositeType` (if valueType is a `CompositeType`)
|
|
6955
6964
|
*/
|
|
6956
6965
|
compositeTypes?: Type[];
|
|
6966
|
+
/**
|
|
6967
|
+
* additional types used for parts of a `CompositeType` (if additionalValueType is a `CompositeType`)
|
|
6968
|
+
*/
|
|
6969
|
+
additionalCompositeTypes?: Type[];
|
|
6957
6970
|
/**
|
|
6958
6971
|
* Function to get the existing conditions of the field.
|
|
6959
6972
|
*/
|
|
@@ -7131,6 +7144,10 @@ declare module "sap/ui/mdc/field/ConditionType" {
|
|
|
7131
7144
|
* Type of the value of the condition (used for formatting, parsing and validating)
|
|
7132
7145
|
*/
|
|
7133
7146
|
valueType?: Type;
|
|
7147
|
+
/**
|
|
7148
|
+
* Type of the additionalValue (description) of the condition (used for formatting, parsing and validating)
|
|
7149
|
+
*/
|
|
7150
|
+
additionalValueType?: Type;
|
|
7134
7151
|
/**
|
|
7135
7152
|
* Possible operators to be used in the condition
|
|
7136
7153
|
*/
|
|
@@ -7170,6 +7187,10 @@ declare module "sap/ui/mdc/field/ConditionType" {
|
|
|
7170
7187
|
* additional types used for parts of a `CompositeType`
|
|
7171
7188
|
*/
|
|
7172
7189
|
compositeTypes?: Type[];
|
|
7190
|
+
/**
|
|
7191
|
+
* additional types used for parts of a `CompositeType` (if additionalValueType is a `CompositeType`)
|
|
7192
|
+
*/
|
|
7193
|
+
additionalCompositeTypes?: Type[];
|
|
7173
7194
|
/**
|
|
7174
7195
|
* Function to get the existing conditions of the field.
|
|
7175
7196
|
*/
|
|
@@ -7311,6 +7332,8 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7311
7332
|
|
|
7312
7333
|
import { ConditionObject } from "sap/ui/mdc/condition/Condition";
|
|
7313
7334
|
|
|
7335
|
+
import Control from "sap/ui/core/Control";
|
|
7336
|
+
|
|
7314
7337
|
import Metadata from "sap/ui/base/Metadata";
|
|
7315
7338
|
|
|
7316
7339
|
/**
|
|
@@ -7329,9 +7352,13 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7329
7352
|
*/
|
|
7330
7353
|
oFormatOptions?: {
|
|
7331
7354
|
/**
|
|
7332
|
-
* Type of the value of the condition (used for formatting and
|
|
7355
|
+
* Type of the value of the condition (used for formatting, parsing and validating)
|
|
7333
7356
|
*/
|
|
7334
7357
|
valueType?: Type;
|
|
7358
|
+
/**
|
|
7359
|
+
* Type of the additionalValue (description) of the condition (used for formatting, parsing and validating)
|
|
7360
|
+
*/
|
|
7361
|
+
additionalValueType?: Type;
|
|
7335
7362
|
/**
|
|
7336
7363
|
* Possible operators to be used in the condition
|
|
7337
7364
|
*/
|
|
@@ -7343,7 +7370,7 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7343
7370
|
/**
|
|
7344
7371
|
* ID of the value help to determine the key and description
|
|
7345
7372
|
*/
|
|
7346
|
-
|
|
7373
|
+
valueHelpID?: string;
|
|
7347
7374
|
/**
|
|
7348
7375
|
* If set, only the value of the condition is shown, but no operator. (Use it only if just one operator
|
|
7349
7376
|
* is supported.)
|
|
@@ -7364,11 +7391,19 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7364
7391
|
*/
|
|
7365
7392
|
originalDateType?: Type;
|
|
7366
7393
|
/**
|
|
7367
|
-
*
|
|
7394
|
+
* additional type used on other part of a field. (For example, for unit fields.)
|
|
7395
|
+
*/
|
|
7396
|
+
additionalType?: Type;
|
|
7397
|
+
/**
|
|
7398
|
+
* additional types used for parts of a `CompositeType` (if valueType is a `CompositeType`)
|
|
7368
7399
|
*/
|
|
7369
|
-
|
|
7400
|
+
compositeTypes?: Type[];
|
|
7370
7401
|
/**
|
|
7371
|
-
*
|
|
7402
|
+
* additional types used for parts of a `CompositeType` (if additionalValueType is a `CompositeType`)
|
|
7403
|
+
*/
|
|
7404
|
+
additionalCompositeTypes?: Type[];
|
|
7405
|
+
/**
|
|
7406
|
+
* Function to get the existing conditions of the field.
|
|
7372
7407
|
*/
|
|
7373
7408
|
getConditions?: Function;
|
|
7374
7409
|
/**
|
|
@@ -7397,6 +7432,22 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7397
7432
|
* Name of the default `Operator`
|
|
7398
7433
|
*/
|
|
7399
7434
|
defaultOperatorName?: string;
|
|
7435
|
+
/**
|
|
7436
|
+
* If set, whitespaces will be replaced by special characters to display whitespaces in HTML
|
|
7437
|
+
*/
|
|
7438
|
+
convertWhitespaces?: boolean;
|
|
7439
|
+
/**
|
|
7440
|
+
* Instance of the calling control
|
|
7441
|
+
*/
|
|
7442
|
+
control?: Control;
|
|
7443
|
+
/**
|
|
7444
|
+
* If set, the conditions will not be formatted (MultiInput value-property case)
|
|
7445
|
+
*/
|
|
7446
|
+
noFormatting?: boolean;
|
|
7447
|
+
/**
|
|
7448
|
+
* If noFormatting is set, this value is used as output (To keep typed value during value help selection)
|
|
7449
|
+
*/
|
|
7450
|
+
keepValue?: string;
|
|
7400
7451
|
},
|
|
7401
7452
|
/**
|
|
7402
7453
|
* Value constraints
|
|
@@ -7460,6 +7511,8 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
7460
7511
|
|
|
7461
7512
|
import { ConditionObject } from "sap/ui/mdc/condition/Condition";
|
|
7462
7513
|
|
|
7514
|
+
import Type from "sap/ui/model/Type";
|
|
7515
|
+
|
|
7463
7516
|
import BaseType from "sap/ui/mdc/enums/BaseType";
|
|
7464
7517
|
|
|
7465
7518
|
import FieldDisplay from "sap/ui/mdc/enums/FieldDisplay";
|
|
@@ -7910,6 +7963,20 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
7910
7963
|
*/
|
|
7911
7964
|
mParameters?: FieldBase$SubmitEventParameters
|
|
7912
7965
|
): this;
|
|
7966
|
+
/**
|
|
7967
|
+
* @since 1.118.0
|
|
7968
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7969
|
+
*
|
|
7970
|
+
* Returns the configuration for the additional data type.
|
|
7971
|
+
*
|
|
7972
|
+
* In {@link sap.ui.mdc.Field Field} case it is determined from the binding of the `additionalValue` In
|
|
7973
|
+
* {@link sap.ui.mdc.MultiValueField MultiValueField} case it is determined from the binding of `description`
|
|
7974
|
+
* of an item In {@link sap.ui.mdc.FilterField FilterField} case it is provided via `additionalDataType`
|
|
7975
|
+
* property.
|
|
7976
|
+
*
|
|
7977
|
+
* @returns return a type instance ot a configuration object
|
|
7978
|
+
*/
|
|
7979
|
+
getAdditionalDataTypeConfiguration(): Type | object;
|
|
7913
7980
|
/**
|
|
7914
7981
|
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7915
7982
|
*/
|
|
@@ -10152,6 +10219,10 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
10152
10219
|
* @returns Returns the validation status
|
|
10153
10220
|
*/
|
|
10154
10221
|
checkFilters(): FilterBarValidationStatus;
|
|
10222
|
+
/**
|
|
10223
|
+
* Clears non-model value for any filter field and resets the value state to none.
|
|
10224
|
+
*/
|
|
10225
|
+
cleanUpAllFilterFieldsInErrorState(): void;
|
|
10155
10226
|
/**
|
|
10156
10227
|
* Destroys the basicSearchField in the aggregation {@link #getBasicSearchField basicSearchField}.
|
|
10157
10228
|
*
|
|
@@ -10253,6 +10324,12 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
10253
10324
|
* property.
|
|
10254
10325
|
*/
|
|
10255
10326
|
getBasicSearchField(): FilterField;
|
|
10327
|
+
/**
|
|
10328
|
+
* Returns the external conditions.
|
|
10329
|
+
*
|
|
10330
|
+
* @returns Map containing the external conditions
|
|
10331
|
+
*/
|
|
10332
|
+
getConditions(): Record<string, any>;
|
|
10256
10333
|
/**
|
|
10257
10334
|
* Returns the external conditions of the inner condition model. **Note:** This API returns only attributes
|
|
10258
10335
|
* related to the {@link sap.ui.mdc.FilterBar#setP13nMode p13nMode} property configuration.
|
|
@@ -11461,6 +11538,19 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
11461
11538
|
*/
|
|
11462
11539
|
mParameters?: FilterField$ChangeEventParameters
|
|
11463
11540
|
): this;
|
|
11541
|
+
/**
|
|
11542
|
+
* @since 1.118.0
|
|
11543
|
+
*
|
|
11544
|
+
* Gets current value of property {@link #getAdditionalDataType additionalDataType}.
|
|
11545
|
+
*
|
|
11546
|
+
* The type of data for the description part of a equal-condition This type is used to parse, format, and
|
|
11547
|
+
* validate the value.
|
|
11548
|
+
*
|
|
11549
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions` and `constraints`.
|
|
11550
|
+
*
|
|
11551
|
+
* @returns Value of property `additionalDataType`
|
|
11552
|
+
*/
|
|
11553
|
+
getAdditionalDataType(): object;
|
|
11464
11554
|
/**
|
|
11465
11555
|
* @since 1.88.0
|
|
11466
11556
|
*
|
|
@@ -11526,6 +11616,26 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
11526
11616
|
*/
|
|
11527
11617
|
aOperators: Operator[]
|
|
11528
11618
|
): void;
|
|
11619
|
+
/**
|
|
11620
|
+
* @since 1.118.0
|
|
11621
|
+
*
|
|
11622
|
+
* Sets a new value for property {@link #getAdditionalDataType additionalDataType}.
|
|
11623
|
+
*
|
|
11624
|
+
* The type of data for the description part of a equal-condition This type is used to parse, format, and
|
|
11625
|
+
* validate the value.
|
|
11626
|
+
*
|
|
11627
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions` and `constraints`.
|
|
11628
|
+
*
|
|
11629
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11630
|
+
*
|
|
11631
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
11632
|
+
*/
|
|
11633
|
+
setAdditionalDataType(
|
|
11634
|
+
/**
|
|
11635
|
+
* New value for property `additionalDataType`
|
|
11636
|
+
*/
|
|
11637
|
+
oAdditionalDataType?: object
|
|
11638
|
+
): this;
|
|
11529
11639
|
/**
|
|
11530
11640
|
* @since 1.88.0
|
|
11531
11641
|
*
|
|
@@ -11617,6 +11727,16 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
11617
11727
|
*/
|
|
11618
11728
|
propertyKey?: string | PropertyBindingInfo;
|
|
11619
11729
|
|
|
11730
|
+
/**
|
|
11731
|
+
* @since 1.118.0
|
|
11732
|
+
*
|
|
11733
|
+
* The type of data for the description part of a equal-condition This type is used to parse, format, and
|
|
11734
|
+
* validate the value.
|
|
11735
|
+
*
|
|
11736
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions` and `constraints`.
|
|
11737
|
+
*/
|
|
11738
|
+
additionalDataType?: object | PropertyBindingInfo | `{${string}}`;
|
|
11739
|
+
|
|
11620
11740
|
/**
|
|
11621
11741
|
* This event is fired when the `value` property of the field is changed.
|
|
11622
11742
|
*
|
|
@@ -12831,12 +12951,12 @@ declare module "sap/ui/mdc/Table" {
|
|
|
12831
12951
|
|
|
12832
12952
|
import Column from "sap/ui/mdc/table/Column";
|
|
12833
12953
|
|
|
12954
|
+
import { IContextMenu, ID, TitleLevel, CSSSize } from "sap/ui/core/library";
|
|
12955
|
+
|
|
12834
12956
|
import CopyProvider from "sap/m/plugins/CopyProvider";
|
|
12835
12957
|
|
|
12836
12958
|
import DataStateIndicator from "sap/m/plugins/DataStateIndicator";
|
|
12837
12959
|
|
|
12838
|
-
import { ID, TitleLevel, CSSSize } from "sap/ui/core/library";
|
|
12839
|
-
|
|
12840
12960
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
12841
12961
|
|
|
12842
12962
|
import TableP13nMode from "sap/ui/mdc/enums/TableP13nMode";
|
|
@@ -13007,6 +13127,57 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13007
13127
|
*/
|
|
13008
13128
|
oListener?: object
|
|
13009
13129
|
): this;
|
|
13130
|
+
/**
|
|
13131
|
+
* @since 1.117
|
|
13132
|
+
*
|
|
13133
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
13134
|
+
* event of this `sap.ui.mdc.Table`.
|
|
13135
|
+
*
|
|
13136
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
13137
|
+
* otherwise it will be bound to this `sap.ui.mdc.Table` itself.
|
|
13138
|
+
*
|
|
13139
|
+
* This event is fired when the user requests the context menu for the table.
|
|
13140
|
+
*
|
|
13141
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13142
|
+
*/
|
|
13143
|
+
attachBeforeOpenContextMenu(
|
|
13144
|
+
/**
|
|
13145
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
13146
|
+
* object when firing the event
|
|
13147
|
+
*/
|
|
13148
|
+
oData: object,
|
|
13149
|
+
/**
|
|
13150
|
+
* The function to be called when the event occurs
|
|
13151
|
+
*/
|
|
13152
|
+
fnFunction: (p1: Table$BeforeOpenContextMenuEvent) => void,
|
|
13153
|
+
/**
|
|
13154
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Table` itself
|
|
13155
|
+
*/
|
|
13156
|
+
oListener?: object
|
|
13157
|
+
): this;
|
|
13158
|
+
/**
|
|
13159
|
+
* @since 1.117
|
|
13160
|
+
*
|
|
13161
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
13162
|
+
* event of this `sap.ui.mdc.Table`.
|
|
13163
|
+
*
|
|
13164
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
13165
|
+
* otherwise it will be bound to this `sap.ui.mdc.Table` itself.
|
|
13166
|
+
*
|
|
13167
|
+
* This event is fired when the user requests the context menu for the table.
|
|
13168
|
+
*
|
|
13169
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13170
|
+
*/
|
|
13171
|
+
attachBeforeOpenContextMenu(
|
|
13172
|
+
/**
|
|
13173
|
+
* The function to be called when the event occurs
|
|
13174
|
+
*/
|
|
13175
|
+
fnFunction: (p1: Table$BeforeOpenContextMenuEvent) => void,
|
|
13176
|
+
/**
|
|
13177
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Table` itself
|
|
13178
|
+
*/
|
|
13179
|
+
oListener?: object
|
|
13180
|
+
): this;
|
|
13010
13181
|
/**
|
|
13011
13182
|
* Attaches event handler `fnFunction` to the {@link #event:paste paste} event of this `sap.ui.mdc.Table`.
|
|
13012
13183
|
*
|
|
@@ -13160,6 +13331,14 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13160
13331
|
* @returns Reference to `this` in order to allow method chaining
|
|
13161
13332
|
*/
|
|
13162
13333
|
destroyColumns(): this;
|
|
13334
|
+
/**
|
|
13335
|
+
* @since 1.118
|
|
13336
|
+
*
|
|
13337
|
+
* Destroys the contextMenu in the aggregation {@link #getContextMenu contextMenu}.
|
|
13338
|
+
*
|
|
13339
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13340
|
+
*/
|
|
13341
|
+
destroyContextMenu(): this;
|
|
13163
13342
|
/**
|
|
13164
13343
|
* @since 1.114
|
|
13165
13344
|
*
|
|
@@ -13235,6 +13414,26 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13235
13414
|
*/
|
|
13236
13415
|
oListener?: object
|
|
13237
13416
|
): this;
|
|
13417
|
+
/**
|
|
13418
|
+
* @since 1.117
|
|
13419
|
+
*
|
|
13420
|
+
* Detaches event handler `fnFunction` from the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
13421
|
+
* event of this `sap.ui.mdc.Table`.
|
|
13422
|
+
*
|
|
13423
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
13424
|
+
*
|
|
13425
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13426
|
+
*/
|
|
13427
|
+
detachBeforeOpenContextMenu(
|
|
13428
|
+
/**
|
|
13429
|
+
* The function to be called, when the event occurs
|
|
13430
|
+
*/
|
|
13431
|
+
fnFunction: (p1: Table$BeforeOpenContextMenuEvent) => void,
|
|
13432
|
+
/**
|
|
13433
|
+
* Context object on which the given function had to be called
|
|
13434
|
+
*/
|
|
13435
|
+
oListener?: object
|
|
13436
|
+
): this;
|
|
13238
13437
|
/**
|
|
13239
13438
|
* Detaches event handler `fnFunction` from the {@link #event:paste paste} event of this `sap.ui.mdc.Table`.
|
|
13240
13439
|
*
|
|
@@ -13301,6 +13500,23 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13301
13500
|
*/
|
|
13302
13501
|
mParameters?: Table$BeforeExportEventParameters
|
|
13303
13502
|
): this;
|
|
13503
|
+
/**
|
|
13504
|
+
* @since 1.117
|
|
13505
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13506
|
+
*
|
|
13507
|
+
* Fires event {@link #event:beforeOpenContextMenu beforeOpenContextMenu} to attached listeners.
|
|
13508
|
+
*
|
|
13509
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
13510
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
13511
|
+
*
|
|
13512
|
+
* @returns Whether or not to prevent the default action
|
|
13513
|
+
*/
|
|
13514
|
+
fireBeforeOpenContextMenu(
|
|
13515
|
+
/**
|
|
13516
|
+
* Parameters to pass along with the event
|
|
13517
|
+
*/
|
|
13518
|
+
mParameters?: Table$BeforeOpenContextMenuEventParameters
|
|
13519
|
+
): boolean;
|
|
13304
13520
|
/**
|
|
13305
13521
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13306
13522
|
*
|
|
@@ -13406,6 +13622,14 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13406
13622
|
* Columns of the table.
|
|
13407
13623
|
*/
|
|
13408
13624
|
getColumns(): Column[];
|
|
13625
|
+
/**
|
|
13626
|
+
* @since 1.118
|
|
13627
|
+
*
|
|
13628
|
+
* Gets content of aggregation {@link #getContextMenu contextMenu}.
|
|
13629
|
+
*
|
|
13630
|
+
* Defines the context menu for the table rows.
|
|
13631
|
+
*/
|
|
13632
|
+
getContextMenu(): IContextMenu;
|
|
13409
13633
|
/**
|
|
13410
13634
|
* @since 1.114
|
|
13411
13635
|
*
|
|
@@ -13980,6 +14204,19 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13980
14204
|
*/
|
|
13981
14205
|
iBusyIndicatorDelay?: int
|
|
13982
14206
|
): this;
|
|
14207
|
+
/**
|
|
14208
|
+
* @since 1.118
|
|
14209
|
+
*
|
|
14210
|
+
* Sets the aggregated {@link #getContextMenu contextMenu}.
|
|
14211
|
+
*
|
|
14212
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14213
|
+
*/
|
|
14214
|
+
setContextMenu(
|
|
14215
|
+
/**
|
|
14216
|
+
* The contextMenu to set
|
|
14217
|
+
*/
|
|
14218
|
+
oContextMenu: IContextMenu
|
|
14219
|
+
): this;
|
|
13983
14220
|
/**
|
|
13984
14221
|
* @since 1.114
|
|
13985
14222
|
*
|
|
@@ -14882,6 +15119,13 @@ declare module "sap/ui/mdc/Table" {
|
|
|
14882
15119
|
*/
|
|
14883
15120
|
copyProvider?: CopyProvider;
|
|
14884
15121
|
|
|
15122
|
+
/**
|
|
15123
|
+
* @since 1.118
|
|
15124
|
+
*
|
|
15125
|
+
* Defines the context menu for the table rows.
|
|
15126
|
+
*/
|
|
15127
|
+
contextMenu?: IContextMenu;
|
|
15128
|
+
|
|
14885
15129
|
/**
|
|
14886
15130
|
* Control or object that enables the table to do filtering, such as {@link sap.ui.mdc.FilterBar}. See also
|
|
14887
15131
|
* {@link sap.ui.mdc.IFilter}.
|
|
@@ -14913,6 +15157,13 @@ declare module "sap/ui/mdc/Table" {
|
|
|
14913
15157
|
* This event is fired when the user pastes content from the clipboard to the table.
|
|
14914
15158
|
*/
|
|
14915
15159
|
paste?: (oEvent: Table$PasteEvent) => void;
|
|
15160
|
+
|
|
15161
|
+
/**
|
|
15162
|
+
* @since 1.117
|
|
15163
|
+
*
|
|
15164
|
+
* This event is fired when the user requests the context menu for the table.
|
|
15165
|
+
*/
|
|
15166
|
+
beforeOpenContextMenu?: (oEvent: Table$BeforeOpenContextMenuEvent) => void;
|
|
14916
15167
|
}
|
|
14917
15168
|
|
|
14918
15169
|
export interface Table$BeforeExportEventParameters {
|
|
@@ -14940,6 +15191,24 @@ declare module "sap/ui/mdc/Table" {
|
|
|
14940
15191
|
Table
|
|
14941
15192
|
>;
|
|
14942
15193
|
|
|
15194
|
+
export interface Table$BeforeOpenContextMenuEventParameters {
|
|
15195
|
+
/**
|
|
15196
|
+
* The binding context
|
|
15197
|
+
*/
|
|
15198
|
+
bindingContext?: Context;
|
|
15199
|
+
|
|
15200
|
+
/**
|
|
15201
|
+
* The column used for the context menu **Note:** The column parameter can be empty when opened in a popin
|
|
15202
|
+
* area for responsiveTable type.
|
|
15203
|
+
*/
|
|
15204
|
+
column?: Column;
|
|
15205
|
+
}
|
|
15206
|
+
|
|
15207
|
+
export type Table$BeforeOpenContextMenuEvent = Event<
|
|
15208
|
+
Table$BeforeOpenContextMenuEventParameters,
|
|
15209
|
+
Table
|
|
15210
|
+
>;
|
|
15211
|
+
|
|
14943
15212
|
export interface Table$PasteEventParameters {
|
|
14944
15213
|
/**
|
|
14945
15214
|
* 2D array of strings with data from the clipboard. The first dimension represents the rows, and the second
|
|
@@ -18183,9 +18452,13 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
18183
18452
|
*/
|
|
18184
18453
|
value: any;
|
|
18185
18454
|
/**
|
|
18186
|
-
* Value parsed by type to fit the data type of the key
|
|
18455
|
+
* Value parsed by type of key to fit the data type of the key
|
|
18187
18456
|
*/
|
|
18188
18457
|
parsedValue?: any;
|
|
18458
|
+
/**
|
|
18459
|
+
* Value parsed by type of description to fit the data type of the description
|
|
18460
|
+
*/
|
|
18461
|
+
parsedDescription?: any;
|
|
18189
18462
|
/**
|
|
18190
18463
|
* Contextual information provided by condition `payload` or `inParameters`/`outParameters`. This is only
|
|
18191
18464
|
* filled if the description needs to be determined for an existing condition.
|
|
@@ -22187,6 +22460,8 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22187
22460
|
*/
|
|
22188
22461
|
static getMetadata(): ElementMetadata;
|
|
22189
22462
|
/**
|
|
22463
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
22464
|
+
*
|
|
22190
22465
|
* Attaches event handler `fnFunction` to the {@link #event:contentUpdated contentUpdated} event of this
|
|
22191
22466
|
* `sap.ui.mdc.valuehelp.content.MTable`.
|
|
22192
22467
|
*
|
|
@@ -22214,6 +22489,8 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22214
22489
|
oListener?: object
|
|
22215
22490
|
): this;
|
|
22216
22491
|
/**
|
|
22492
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
22493
|
+
*
|
|
22217
22494
|
* Attaches event handler `fnFunction` to the {@link #event:contentUpdated contentUpdated} event of this
|
|
22218
22495
|
* `sap.ui.mdc.valuehelp.content.MTable`.
|
|
22219
22496
|
*
|
|
@@ -22242,6 +22519,8 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22242
22519
|
*/
|
|
22243
22520
|
destroyTable(): this;
|
|
22244
22521
|
/**
|
|
22522
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
22523
|
+
*
|
|
22245
22524
|
* Detaches event handler `fnFunction` from the {@link #event:contentUpdated contentUpdated} event of this
|
|
22246
22525
|
* `sap.ui.mdc.valuehelp.content.MTable`.
|
|
22247
22526
|
*
|
|
@@ -22260,6 +22539,7 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22260
22539
|
oListener?: object
|
|
22261
22540
|
): this;
|
|
22262
22541
|
/**
|
|
22542
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
22263
22543
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22264
22544
|
*
|
|
22265
22545
|
* Fires event {@link #event:contentUpdated contentUpdated} to attached listeners.
|
|
@@ -22306,6 +22586,8 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22306
22586
|
table?: Table;
|
|
22307
22587
|
|
|
22308
22588
|
/**
|
|
22589
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
22590
|
+
*
|
|
22309
22591
|
* This event is fired when the content of the table is updated.
|
|
22310
22592
|
*/
|
|
22311
22593
|
contentUpdated?: (oEvent: Event) => void;
|