@openui5/types 1.124.2 → 1.126.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 +1 -1
- package/types/sap.m.d.ts +640 -785
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +438 -329
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +10 -39
- package/types/sap.ui.integration.d.ts +31 -117
- package/types/sap.ui.layout.d.ts +43 -32
- package/types/sap.ui.mdc.d.ts +769 -2918
- 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 +35 -16
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -153
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +3 -1
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.126.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -1740,21 +1740,6 @@ declare module "sap/ui/mdc/odata/TypeMap" {
|
|
|
1740
1740
|
export default TypeMap;
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
1743
|
-
declare module "sap/ui/mdc/odata/v4/ChartDelegate" {
|
|
1744
|
-
import ChartDelegate1 from "sap/ui/mdc/ChartDelegate";
|
|
1745
|
-
|
|
1746
|
-
/**
|
|
1747
|
-
* Delegate class for {@link sap.ui.mdc.Chart Chart} and ODataV4.
|
|
1748
|
-
* This class provides method calls, which are called by the `Chart` at specific operations and allows
|
|
1749
|
-
* to overwrite an internal behaviour.
|
|
1750
|
-
*
|
|
1751
|
-
* @since 1.88
|
|
1752
|
-
*/
|
|
1753
|
-
interface ChartDelegate extends ChartDelegate1 {}
|
|
1754
|
-
const ChartDelegate: ChartDelegate;
|
|
1755
|
-
export default ChartDelegate;
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
1743
|
declare module "sap/ui/mdc/odata/v4/TableDelegate" {
|
|
1759
1744
|
import TableDelegate1 from "sap/ui/mdc/TableDelegate";
|
|
1760
1745
|
|
|
@@ -4721,6 +4706,8 @@ declare module "sap/ui/mdc/chart/ChartSelectionDetails" {
|
|
|
4721
4706
|
|
|
4722
4707
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4723
4708
|
|
|
4709
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
4710
|
+
|
|
4724
4711
|
/**
|
|
4725
4712
|
* The `ChartSelectionDetails` control creates a `sap.m.SelectionDetails` popover based on metadata and
|
|
4726
4713
|
* the configuration specified.
|
|
@@ -4735,9 +4722,6 @@ declare module "sap/ui/mdc/chart/ChartSelectionDetails" {
|
|
|
4735
4722
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4736
4723
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4737
4724
|
* of the syntax of the settings object.
|
|
4738
|
-
*
|
|
4739
|
-
* This class does not have its own settings, but all settings applicable to the base type {@link sap.m.SelectionDetails#constructor sap.m.SelectionDetails }
|
|
4740
|
-
* can be used.
|
|
4741
4725
|
*/
|
|
4742
4726
|
constructor(
|
|
4743
4727
|
/**
|
|
@@ -4751,9 +4735,6 @@ declare module "sap/ui/mdc/chart/ChartSelectionDetails" {
|
|
|
4751
4735
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4752
4736
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4753
4737
|
* of the syntax of the settings object.
|
|
4754
|
-
*
|
|
4755
|
-
* This class does not have its own settings, but all settings applicable to the base type {@link sap.m.SelectionDetails#constructor sap.m.SelectionDetails }
|
|
4756
|
-
* can be used.
|
|
4757
4738
|
*/
|
|
4758
4739
|
constructor(
|
|
4759
4740
|
/**
|
|
@@ -4797,6 +4778,82 @@ declare module "sap/ui/mdc/chart/ChartSelectionDetails" {
|
|
|
4797
4778
|
* @returns Metadata object describing this class
|
|
4798
4779
|
*/
|
|
4799
4780
|
static getMetadata(): ElementMetadata;
|
|
4781
|
+
/**
|
|
4782
|
+
* Gets current value of property {@link #getEnableNavCallback enableNavCallback}.
|
|
4783
|
+
*
|
|
4784
|
+
* Callback function that is called for each `SelectionDetailsItem` to determine if the navigation is enabled.
|
|
4785
|
+
* The callback is called with the following parameters:
|
|
4786
|
+
* - `oSelectionDetails` {@link sap.ui.mdc.chart.ChartSelectionDetails}: Instance of this `ChartSelectionDetails`
|
|
4787
|
+
*
|
|
4788
|
+
* - `oContext` {@link sap.ui.model.Context}: Binding context of the `SelectionDetailsItem` The
|
|
4789
|
+
* return value of the callback has to be of type `boolean`.
|
|
4790
|
+
*
|
|
4791
|
+
* @since 1.126
|
|
4792
|
+
*
|
|
4793
|
+
* @returns Value of property `enableNavCallback`
|
|
4794
|
+
*/
|
|
4795
|
+
getEnableNavCallback(): Function;
|
|
4796
|
+
/**
|
|
4797
|
+
* Gets current value of property {@link #getFetchFieldInfosCallback fetchFieldInfosCallback}.
|
|
4798
|
+
*
|
|
4799
|
+
* Callback function that is called to determine navigation targets when clicking on a `SelectionDetailsItem`.
|
|
4800
|
+
* The callback is called with the following parameters:
|
|
4801
|
+
* - `oSelectionDetails` {@link sap.ui.mdc.chart.ChartSelectionDetails}: Instance of this `ChartSelectionDetails`
|
|
4802
|
+
*
|
|
4803
|
+
* - `oContext` {@link sap.ui.model.Context}: Binding context of the `SelectionDetailsItem` The
|
|
4804
|
+
* return value of the callback has to be of type `Promise` resolving in a `Map` containing a `string` as
|
|
4805
|
+
* key and a {@link sap.ui.mdc.field.FieldInfoBase} as value.
|
|
4806
|
+
*
|
|
4807
|
+
* @since 1.126
|
|
4808
|
+
*
|
|
4809
|
+
* @returns Value of property `fetchFieldInfosCallback`
|
|
4810
|
+
*/
|
|
4811
|
+
getFetchFieldInfosCallback(): Function;
|
|
4812
|
+
/**
|
|
4813
|
+
* Sets a new value for property {@link #getEnableNavCallback enableNavCallback}.
|
|
4814
|
+
*
|
|
4815
|
+
* Callback function that is called for each `SelectionDetailsItem` to determine if the navigation is enabled.
|
|
4816
|
+
* The callback is called with the following parameters:
|
|
4817
|
+
* - `oSelectionDetails` {@link sap.ui.mdc.chart.ChartSelectionDetails}: Instance of this `ChartSelectionDetails`
|
|
4818
|
+
*
|
|
4819
|
+
* - `oContext` {@link sap.ui.model.Context}: Binding context of the `SelectionDetailsItem` The
|
|
4820
|
+
* return value of the callback has to be of type `boolean`.
|
|
4821
|
+
*
|
|
4822
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4823
|
+
*
|
|
4824
|
+
* @since 1.126
|
|
4825
|
+
*
|
|
4826
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4827
|
+
*/
|
|
4828
|
+
setEnableNavCallback(
|
|
4829
|
+
/**
|
|
4830
|
+
* New value for property `enableNavCallback`
|
|
4831
|
+
*/
|
|
4832
|
+
fnEnableNavCallback: Function
|
|
4833
|
+
): this;
|
|
4834
|
+
/**
|
|
4835
|
+
* Sets a new value for property {@link #getFetchFieldInfosCallback fetchFieldInfosCallback}.
|
|
4836
|
+
*
|
|
4837
|
+
* Callback function that is called to determine navigation targets when clicking on a `SelectionDetailsItem`.
|
|
4838
|
+
* The callback is called with the following parameters:
|
|
4839
|
+
* - `oSelectionDetails` {@link sap.ui.mdc.chart.ChartSelectionDetails}: Instance of this `ChartSelectionDetails`
|
|
4840
|
+
*
|
|
4841
|
+
* - `oContext` {@link sap.ui.model.Context}: Binding context of the `SelectionDetailsItem` The
|
|
4842
|
+
* return value of the callback has to be of type `Promise` resolving in a `Map` containing a `string` as
|
|
4843
|
+
* key and a {@link sap.ui.mdc.field.FieldInfoBase} as value.
|
|
4844
|
+
*
|
|
4845
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4846
|
+
*
|
|
4847
|
+
* @since 1.126
|
|
4848
|
+
*
|
|
4849
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4850
|
+
*/
|
|
4851
|
+
setFetchFieldInfosCallback(
|
|
4852
|
+
/**
|
|
4853
|
+
* New value for property `fetchFieldInfosCallback`
|
|
4854
|
+
*/
|
|
4855
|
+
fnFetchFieldInfosCallback: Function
|
|
4856
|
+
): this;
|
|
4800
4857
|
}
|
|
4801
4858
|
/**
|
|
4802
4859
|
* Describes the settings that can be provided to the ChartSelectionDetails constructor.
|
|
@@ -4804,7 +4861,32 @@ declare module "sap/ui/mdc/chart/ChartSelectionDetails" {
|
|
|
4804
4861
|
* @experimental (since 1.88)
|
|
4805
4862
|
*/
|
|
4806
4863
|
export interface $ChartSelectionDetailsSettings
|
|
4807
|
-
extends $SelectionDetailsSettings {
|
|
4864
|
+
extends $SelectionDetailsSettings {
|
|
4865
|
+
/**
|
|
4866
|
+
* Callback function that is called for each `SelectionDetailsItem` to determine if the navigation is enabled.
|
|
4867
|
+
* The callback is called with the following parameters:
|
|
4868
|
+
* - `oSelectionDetails` {@link sap.ui.mdc.chart.ChartSelectionDetails}: Instance of this `ChartSelectionDetails`
|
|
4869
|
+
*
|
|
4870
|
+
* - `oContext` {@link sap.ui.model.Context}: Binding context of the `SelectionDetailsItem` The
|
|
4871
|
+
* return value of the callback has to be of type `boolean`.
|
|
4872
|
+
*
|
|
4873
|
+
* @since 1.126
|
|
4874
|
+
*/
|
|
4875
|
+
enableNavCallback?: Function | PropertyBindingInfo | `{${string}}`;
|
|
4876
|
+
|
|
4877
|
+
/**
|
|
4878
|
+
* Callback function that is called to determine navigation targets when clicking on a `SelectionDetailsItem`.
|
|
4879
|
+
* The callback is called with the following parameters:
|
|
4880
|
+
* - `oSelectionDetails` {@link sap.ui.mdc.chart.ChartSelectionDetails}: Instance of this `ChartSelectionDetails`
|
|
4881
|
+
*
|
|
4882
|
+
* - `oContext` {@link sap.ui.model.Context}: Binding context of the `SelectionDetailsItem` The
|
|
4883
|
+
* return value of the callback has to be of type `Promise` resolving in a `Map` containing a `string` as
|
|
4884
|
+
* key and a {@link sap.ui.mdc.field.FieldInfoBase} as value.
|
|
4885
|
+
*
|
|
4886
|
+
* @since 1.126
|
|
4887
|
+
*/
|
|
4888
|
+
fetchFieldInfosCallback?: Function | PropertyBindingInfo | `{${string}}`;
|
|
4889
|
+
}
|
|
4808
4890
|
}
|
|
4809
4891
|
|
|
4810
4892
|
declare module "sap/ui/mdc/chart/Item" {
|
|
@@ -6033,6 +6115,8 @@ declare module "sap/ui/mdc/condition/RangeOperator" {
|
|
|
6033
6115
|
* Creates a `sap.ui.mdc.condition.RangeOperator` object. This is used in the {@link sap.ui.mdc.FilterField FilterField }
|
|
6034
6116
|
* control to define which filter operators are supported.
|
|
6035
6117
|
*
|
|
6118
|
+
* **Note:** Use this class only for filter field of type date or time related data types.
|
|
6119
|
+
*
|
|
6036
6120
|
* If a function or property is initial, the default implementation is used.
|
|
6037
6121
|
*
|
|
6038
6122
|
* @since 1.74.0
|
|
@@ -6049,9 +6133,10 @@ declare module "sap/ui/mdc/condition/RangeOperator" {
|
|
|
6049
6133
|
*/
|
|
6050
6134
|
label?: string;
|
|
6051
6135
|
/**
|
|
6052
|
-
* function to calculate the date range of the operation.
|
|
6136
|
+
* function to calculate the date range of the operation. The function returns an array of UniversalDates.
|
|
6137
|
+
* In case of a single `filterOperator` the array can return a single value.
|
|
6053
6138
|
*/
|
|
6054
|
-
calcRange
|
|
6139
|
+
calcRange: Function;
|
|
6055
6140
|
/**
|
|
6056
6141
|
* function to format the date range.
|
|
6057
6142
|
*/
|
|
@@ -8468,6 +8553,14 @@ declare module "sap/ui/mdc/field/ConditionType" {
|
|
|
8468
8553
|
* set later
|
|
8469
8554
|
*/
|
|
8470
8555
|
preventGetDescription?: boolean;
|
|
8556
|
+
/**
|
|
8557
|
+
* Provides control access to condition enhancements done by the ConditionType during formatting (e.g. description
|
|
8558
|
+
* retrieval for item condition)
|
|
8559
|
+
*/
|
|
8560
|
+
awaitFormatCondition?: (
|
|
8561
|
+
p1: ConditionObject,
|
|
8562
|
+
p2: Promise<ConditionObject>
|
|
8563
|
+
) => void;
|
|
8471
8564
|
/**
|
|
8472
8565
|
* Name of the default `Operator`
|
|
8473
8566
|
*/
|
|
@@ -9529,6 +9622,15 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
9529
9622
|
* @returns formatOptions of the field (see {@link sap.ui.mdc.field.ConditionsType ConditionsType})
|
|
9530
9623
|
*/
|
|
9531
9624
|
getFormatOptions(): object;
|
|
9625
|
+
/**
|
|
9626
|
+
* Allows fields to wait for async formatting result processing
|
|
9627
|
+
*
|
|
9628
|
+
* @since 1.126.0
|
|
9629
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
9630
|
+
*
|
|
9631
|
+
* @returns returns a promise waiting for ongoing formatting
|
|
9632
|
+
*/
|
|
9633
|
+
getFormattingPromise(): undefined | Promise<any>;
|
|
9532
9634
|
/**
|
|
9533
9635
|
* Gets current value of property {@link #getLabel label}.
|
|
9534
9636
|
*
|
|
@@ -12393,7 +12495,7 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
12393
12495
|
* - In edit mode, usually an {@link sap.m.Input Input} control is rendered.
|
|
12394
12496
|
* - If multiple values are allowed, a {@link sap.m.MultiInput MultiInput} control is rendered.
|
|
12395
12497
|
* - If `multipleLines` is set, a {@link sap.m.TextArea TextArea} control is rendered.
|
|
12396
|
-
* - If a date type or a date/time type is used, a {@link sap.m.
|
|
12498
|
+
* - If a date type or a date/time type is used and only one condition is supported, a {@link sap.m.DynamicDateRange DynamicDateRange }
|
|
12397
12499
|
* control is rendered.
|
|
12398
12500
|
* - If a date type is used and only single values are allowed, a {@link sap.m.DatePicker DatePicker }
|
|
12399
12501
|
* control is rendered.
|
|
@@ -13313,6 +13415,7 @@ declare module "sap/ui/mdc/link/LinkItem" {
|
|
|
13313
13415
|
* Destination link for a navigation operation in internal format provided by the SAP Fiori launchpad (used
|
|
13314
13416
|
* when navigation happens programmatically). Only for internal use
|
|
13315
13417
|
*
|
|
13418
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13316
13419
|
*
|
|
13317
13420
|
* @returns Value of property `internalHref`
|
|
13318
13421
|
*/
|
|
@@ -13328,16 +13431,6 @@ declare module "sap/ui/mdc/link/LinkItem" {
|
|
|
13328
13431
|
* @returns Value of property `key`
|
|
13329
13432
|
*/
|
|
13330
13433
|
getKey(): string;
|
|
13331
|
-
/**
|
|
13332
|
-
* Gets current value of property {@link #getPress press}.
|
|
13333
|
-
*
|
|
13334
|
-
* Callback for `press` event.
|
|
13335
|
-
*
|
|
13336
|
-
* @since 1.122.0
|
|
13337
|
-
*
|
|
13338
|
-
* @returns Value of property `press`
|
|
13339
|
-
*/
|
|
13340
|
-
getPress(): object;
|
|
13341
13434
|
/**
|
|
13342
13435
|
* Gets current value of property {@link #getTarget target}.
|
|
13343
13436
|
*
|
|
@@ -13438,6 +13531,7 @@ declare module "sap/ui/mdc/link/LinkItem" {
|
|
|
13438
13531
|
*
|
|
13439
13532
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
13440
13533
|
*
|
|
13534
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13441
13535
|
*
|
|
13442
13536
|
* @returns Reference to `this` in order to allow method chaining
|
|
13443
13537
|
*/
|
|
@@ -13465,23 +13559,6 @@ declare module "sap/ui/mdc/link/LinkItem" {
|
|
|
13465
13559
|
*/
|
|
13466
13560
|
sKey?: string
|
|
13467
13561
|
): this;
|
|
13468
|
-
/**
|
|
13469
|
-
* Sets a new value for property {@link #getPress press}.
|
|
13470
|
-
*
|
|
13471
|
-
* Callback for `press` event.
|
|
13472
|
-
*
|
|
13473
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
13474
|
-
*
|
|
13475
|
-
* @since 1.122.0
|
|
13476
|
-
*
|
|
13477
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
13478
|
-
*/
|
|
13479
|
-
setPress(
|
|
13480
|
-
/**
|
|
13481
|
-
* New value for property `press`
|
|
13482
|
-
*/
|
|
13483
|
-
oPress?: object
|
|
13484
|
-
): this;
|
|
13485
13562
|
/**
|
|
13486
13563
|
* Sets a new value for property {@link #getTarget target}.
|
|
13487
13564
|
*
|
|
@@ -13547,6 +13624,8 @@ declare module "sap/ui/mdc/link/LinkItem" {
|
|
|
13547
13624
|
/**
|
|
13548
13625
|
* Destination link for a navigation operation in internal format provided by the SAP Fiori launchpad (used
|
|
13549
13626
|
* when navigation happens programmatically). Only for internal use
|
|
13627
|
+
*
|
|
13628
|
+
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
13550
13629
|
*/
|
|
13551
13630
|
internalHref?: string | PropertyBindingInfo;
|
|
13552
13631
|
|
|
@@ -13567,13 +13646,6 @@ declare module "sap/ui/mdc/link/LinkItem" {
|
|
|
13567
13646
|
* without any personalization.
|
|
13568
13647
|
*/
|
|
13569
13648
|
initiallyVisible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
13570
|
-
|
|
13571
|
-
/**
|
|
13572
|
-
* Callback for `press` event.
|
|
13573
|
-
*
|
|
13574
|
-
* @since 1.122.0
|
|
13575
|
-
*/
|
|
13576
|
-
press?: object | PropertyBindingInfo | `{${string}}`;
|
|
13577
13649
|
}
|
|
13578
13650
|
}
|
|
13579
13651
|
|
|
@@ -14644,15 +14716,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
14644
14716
|
* @returns Reference to `this` in order to allow method chaining
|
|
14645
14717
|
*/
|
|
14646
14718
|
destroyCopyProvider(): this;
|
|
14647
|
-
/**
|
|
14648
|
-
* Destroys the creationRow in the aggregation {@link #getCreationRow creationRow}.
|
|
14649
|
-
*
|
|
14650
|
-
* @deprecated (since 1.124) - the concept has been discarded.
|
|
14651
|
-
* @experimental - Do not use
|
|
14652
|
-
*
|
|
14653
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
14654
|
-
*/
|
|
14655
|
-
destroyCreationRow(): this;
|
|
14656
14719
|
/**
|
|
14657
14720
|
* Destroys the dataStateIndicator in the aggregation {@link #getDataStateIndicator dataStateIndicator}.
|
|
14658
14721
|
*
|
|
@@ -14963,18 +15026,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
14963
15026
|
* @since 1.114
|
|
14964
15027
|
*/
|
|
14965
15028
|
getCopyProvider(): CopyProvider;
|
|
14966
|
-
/**
|
|
14967
|
-
* Gets content of aggregation {@link #getCreationRow creationRow}.
|
|
14968
|
-
*
|
|
14969
|
-
* This row can be used for user input to create new data if {@link sap.ui.mdc.enums.TableType TableType }
|
|
14970
|
-
* is "`Table`".
|
|
14971
|
-
*
|
|
14972
|
-
* **Note:** Once the binding supports creating transient records, this aggregation will be removed.
|
|
14973
|
-
*
|
|
14974
|
-
* @deprecated (since 1.124) - the concept has been discarded.
|
|
14975
|
-
* @experimental - Do not use
|
|
14976
|
-
*/
|
|
14977
|
-
getCreationRow(): /* was: sap.ui.mdc.table.CreationRow */ any;
|
|
14978
15029
|
/**
|
|
14979
15030
|
* Gets content of aggregation {@link #getDataStateIndicator dataStateIndicator}.
|
|
14980
15031
|
*
|
|
@@ -15099,17 +15150,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
15099
15150
|
* @returns Value of property `headerLevel`
|
|
15100
15151
|
*/
|
|
15101
15152
|
getHeaderLevel(): TitleLevel | keyof typeof TitleLevel;
|
|
15102
|
-
/**
|
|
15103
|
-
* Gets current value of property {@link #getHeaderStyle headerStyle}.
|
|
15104
|
-
*
|
|
15105
|
-
* Defines style of the header. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
15106
|
-
*
|
|
15107
|
-
* @since 1.116
|
|
15108
|
-
* @experimental
|
|
15109
|
-
*
|
|
15110
|
-
* @returns Value of property `headerStyle`
|
|
15111
|
-
*/
|
|
15112
|
-
getHeaderStyle(): TitleLevel | keyof typeof TitleLevel;
|
|
15113
15153
|
/**
|
|
15114
15154
|
* Gets current value of property {@link #getHeaderVisible headerVisible}.
|
|
15115
15155
|
*
|
|
@@ -15472,20 +15512,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
15472
15512
|
*/
|
|
15473
15513
|
oCopyProvider: CopyProvider
|
|
15474
15514
|
): this;
|
|
15475
|
-
/**
|
|
15476
|
-
* Sets the aggregated {@link #getCreationRow creationRow}.
|
|
15477
|
-
*
|
|
15478
|
-
* @deprecated (since 1.124) - the concept has been discarded.
|
|
15479
|
-
* @experimental - Do not use
|
|
15480
|
-
*
|
|
15481
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
15482
|
-
*/
|
|
15483
|
-
setCreationRow(
|
|
15484
|
-
/**
|
|
15485
|
-
* The creationRow to set
|
|
15486
|
-
*/
|
|
15487
|
-
oCreationRow: /* was: sap.ui.mdc.table.CreationRow */ any
|
|
15488
|
-
): this;
|
|
15489
15515
|
/**
|
|
15490
15516
|
* Sets the aggregated {@link #getDataStateIndicator dataStateIndicator}.
|
|
15491
15517
|
*
|
|
@@ -15673,24 +15699,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
15673
15699
|
*/
|
|
15674
15700
|
sHeaderLevel?: TitleLevel | keyof typeof TitleLevel
|
|
15675
15701
|
): this;
|
|
15676
|
-
/**
|
|
15677
|
-
* Sets a new value for property {@link #getHeaderStyle headerStyle}.
|
|
15678
|
-
*
|
|
15679
|
-
* Defines style of the header. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
15680
|
-
*
|
|
15681
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15682
|
-
*
|
|
15683
|
-
* @since 1.116
|
|
15684
|
-
* @experimental
|
|
15685
|
-
*
|
|
15686
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
15687
|
-
*/
|
|
15688
|
-
setHeaderStyle(
|
|
15689
|
-
/**
|
|
15690
|
-
* New value for property `headerStyle`
|
|
15691
|
-
*/
|
|
15692
|
-
sHeaderStyle: TitleLevel | keyof typeof TitleLevel
|
|
15693
|
-
): this;
|
|
15694
15702
|
/**
|
|
15695
15703
|
* Sets a new value for property {@link #getHeaderVisible headerVisible}.
|
|
15696
15704
|
*
|
|
@@ -16178,17 +16186,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16178
16186
|
| PropertyBindingInfo
|
|
16179
16187
|
| `{${string}}`;
|
|
16180
16188
|
|
|
16181
|
-
/**
|
|
16182
|
-
* Defines style of the header. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
16183
|
-
*
|
|
16184
|
-
* @since 1.116
|
|
16185
|
-
* @experimental
|
|
16186
|
-
*/
|
|
16187
|
-
headerStyle?:
|
|
16188
|
-
| (TitleLevel | keyof typeof TitleLevel)
|
|
16189
|
-
| PropertyBindingInfo
|
|
16190
|
-
| `{${string}}`;
|
|
16191
|
-
|
|
16192
16189
|
/**
|
|
16193
16190
|
* Determines whether to bind the table automatically after the initial creation or re-creation of the table.
|
|
16194
16191
|
*/
|
|
@@ -16435,17 +16432,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16435
16432
|
*/
|
|
16436
16433
|
columns?: Column[] | Column | AggregationBindingInfo | `{${string}}`;
|
|
16437
16434
|
|
|
16438
|
-
/**
|
|
16439
|
-
* This row can be used for user input to create new data if {@link sap.ui.mdc.enums.TableType TableType }
|
|
16440
|
-
* is "`Table`".
|
|
16441
|
-
*
|
|
16442
|
-
* **Note:** Once the binding supports creating transient records, this aggregation will be removed.
|
|
16443
|
-
*
|
|
16444
|
-
* @deprecated (since 1.124) - the concept has been discarded.
|
|
16445
|
-
* @experimental - Do not use
|
|
16446
|
-
*/
|
|
16447
|
-
creationRow?: /* was: sap.ui.mdc.table.CreationRow */ any;
|
|
16448
|
-
|
|
16449
16435
|
/**
|
|
16450
16436
|
* Additional actions that will be available in the toolbar.
|
|
16451
16437
|
*
|
|
@@ -16858,15 +16844,6 @@ declare module "sap/ui/mdc/table/Column" {
|
|
|
16858
16844
|
* @returns Metadata object describing this class
|
|
16859
16845
|
*/
|
|
16860
16846
|
static getMetadata(): ElementMetadata;
|
|
16861
|
-
/**
|
|
16862
|
-
* Destroys the creationTemplate in the aggregation {@link #getCreationTemplate creationTemplate}.
|
|
16863
|
-
*
|
|
16864
|
-
* @deprecated (since 1.124) - the concept has been discarded.
|
|
16865
|
-
* @experimental - Internal use only
|
|
16866
|
-
*
|
|
16867
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
16868
|
-
*/
|
|
16869
|
-
destroyCreationTemplate(): this;
|
|
16870
16847
|
/**
|
|
16871
16848
|
* Destroys the extendedSettings in the aggregation {@link #getExtendedSettings extendedSettings}.
|
|
16872
16849
|
*
|
|
@@ -16882,17 +16859,6 @@ declare module "sap/ui/mdc/table/Column" {
|
|
|
16882
16859
|
* @returns Reference to `this` in order to allow method chaining
|
|
16883
16860
|
*/
|
|
16884
16861
|
destroyTemplate(): this;
|
|
16885
|
-
/**
|
|
16886
|
-
* Gets content of aggregation {@link #getCreationTemplate creationTemplate}.
|
|
16887
|
-
*
|
|
16888
|
-
* `CreationRow` template.
|
|
16889
|
-
*
|
|
16890
|
-
* **Note:** Once the binding supports creating transient records, this aggregation will be removed.
|
|
16891
|
-
*
|
|
16892
|
-
* @deprecated (since 1.124) - the concept has been discarded.
|
|
16893
|
-
* @experimental - Internal use only
|
|
16894
|
-
*/
|
|
16895
|
-
getCreationTemplate(): Control;
|
|
16896
16862
|
/**
|
|
16897
16863
|
* Gets current value of property {@link #getDataProperty dataProperty}.
|
|
16898
16864
|
*
|
|
@@ -17027,20 +16993,6 @@ declare module "sap/ui/mdc/table/Column" {
|
|
|
17027
16993
|
* @returns Value of property `width`
|
|
17028
16994
|
*/
|
|
17029
16995
|
getWidth(): CSSSize;
|
|
17030
|
-
/**
|
|
17031
|
-
* Sets the aggregated {@link #getCreationTemplate creationTemplate}.
|
|
17032
|
-
*
|
|
17033
|
-
* @deprecated (since 1.124) - the concept has been discarded.
|
|
17034
|
-
* @experimental - Internal use only
|
|
17035
|
-
*
|
|
17036
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
17037
|
-
*/
|
|
17038
|
-
setCreationTemplate(
|
|
17039
|
-
/**
|
|
17040
|
-
* The creationTemplate to set
|
|
17041
|
-
*/
|
|
17042
|
-
oCreationTemplate: Control
|
|
17043
|
-
): this;
|
|
17044
16996
|
/**
|
|
17045
16997
|
* Sets a new value for property {@link #getDataProperty dataProperty}.
|
|
17046
16998
|
*
|
|
@@ -17357,16 +17309,6 @@ declare module "sap/ui/mdc/table/Column" {
|
|
|
17357
17309
|
*/
|
|
17358
17310
|
template?: Control;
|
|
17359
17311
|
|
|
17360
|
-
/**
|
|
17361
|
-
* `CreationRow` template.
|
|
17362
|
-
*
|
|
17363
|
-
* **Note:** Once the binding supports creating transient records, this aggregation will be removed.
|
|
17364
|
-
*
|
|
17365
|
-
* @deprecated (since 1.124) - the concept has been discarded.
|
|
17366
|
-
* @experimental - Internal use only
|
|
17367
|
-
*/
|
|
17368
|
-
creationTemplate?: Control;
|
|
17369
|
-
|
|
17370
17312
|
/**
|
|
17371
17313
|
* Defines type-specific column settings based on the used {@link sap.ui.mdc.table.TableTypeBase}.
|
|
17372
17314
|
*
|
|
@@ -17916,16 +17858,19 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
|
|
|
17916
17858
|
/**
|
|
17917
17859
|
* Fires event {@link #event:dragOver dragOver} to attached listeners.
|
|
17918
17860
|
*
|
|
17861
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
17862
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
17863
|
+
*
|
|
17919
17864
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
17920
17865
|
*
|
|
17921
|
-
* @returns
|
|
17866
|
+
* @returns Whether or not to prevent the default action
|
|
17922
17867
|
*/
|
|
17923
17868
|
fireDragOver(
|
|
17924
17869
|
/**
|
|
17925
17870
|
* Parameters to pass along with the event
|
|
17926
17871
|
*/
|
|
17927
17872
|
mParameters?: DragDropConfig$DragOverEventParameters
|
|
17928
|
-
):
|
|
17873
|
+
): boolean;
|
|
17929
17874
|
/**
|
|
17930
17875
|
* Fires event {@link #event:dragStart dragStart} to attached listeners.
|
|
17931
17876
|
*
|
|
@@ -18155,6 +18100,11 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
|
|
|
18155
18100
|
* The binding context of the dragged row
|
|
18156
18101
|
*/
|
|
18157
18102
|
bindingContext?: Context;
|
|
18103
|
+
|
|
18104
|
+
/**
|
|
18105
|
+
* The underlying browser event
|
|
18106
|
+
*/
|
|
18107
|
+
browserEvent?: DragEvent;
|
|
18158
18108
|
}
|
|
18159
18109
|
|
|
18160
18110
|
/**
|
|
@@ -18178,6 +18128,18 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
|
|
|
18178
18128
|
* The binding context of the dragged row or the dragged control itself
|
|
18179
18129
|
*/
|
|
18180
18130
|
dragSource?: DragSource;
|
|
18131
|
+
|
|
18132
|
+
/**
|
|
18133
|
+
* The calculated position of the drop action relative to the row being dropped
|
|
18134
|
+
*/
|
|
18135
|
+
dropPosition?:
|
|
18136
|
+
| dnd.RelativeDropPosition
|
|
18137
|
+
| keyof typeof dnd.RelativeDropPosition;
|
|
18138
|
+
|
|
18139
|
+
/**
|
|
18140
|
+
* The underlying browser event
|
|
18141
|
+
*/
|
|
18142
|
+
browserEvent?: DragEvent;
|
|
18181
18143
|
}
|
|
18182
18144
|
|
|
18183
18145
|
/**
|
|
@@ -18208,6 +18170,11 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
|
|
|
18208
18170
|
dropPosition?:
|
|
18209
18171
|
| dnd.RelativeDropPosition
|
|
18210
18172
|
| keyof typeof dnd.RelativeDropPosition;
|
|
18173
|
+
|
|
18174
|
+
/**
|
|
18175
|
+
* The underlying browser event
|
|
18176
|
+
*/
|
|
18177
|
+
browserEvent?: DragEvent;
|
|
18211
18178
|
}
|
|
18212
18179
|
|
|
18213
18180
|
/**
|
|
@@ -18226,6 +18193,11 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
|
|
|
18226
18193
|
* The binding context of the dragged row
|
|
18227
18194
|
*/
|
|
18228
18195
|
bindingContext?: Context;
|
|
18196
|
+
|
|
18197
|
+
/**
|
|
18198
|
+
* The underlying browser event
|
|
18199
|
+
*/
|
|
18200
|
+
browserEvent?: DragEvent;
|
|
18229
18201
|
}
|
|
18230
18202
|
|
|
18231
18203
|
/**
|
|
@@ -18256,6 +18228,11 @@ declare module "sap/ui/mdc/table/DragDropConfig" {
|
|
|
18256
18228
|
dropPosition?:
|
|
18257
18229
|
| dnd.RelativeDropPosition
|
|
18258
18230
|
| keyof typeof dnd.RelativeDropPosition;
|
|
18231
|
+
|
|
18232
|
+
/**
|
|
18233
|
+
* The underlying browser event
|
|
18234
|
+
*/
|
|
18235
|
+
browserEvent?: DragEvent;
|
|
18259
18236
|
}
|
|
18260
18237
|
|
|
18261
18238
|
/**
|
|
@@ -19092,135 +19069,45 @@ declare module "sap/ui/mdc/table/RowActionItem" {
|
|
|
19092
19069
|
*/
|
|
19093
19070
|
static getMetadata(): ElementMetadata;
|
|
19094
19071
|
/**
|
|
19095
|
-
*
|
|
19096
|
-
*
|
|
19097
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
19098
|
-
* otherwise it will be bound to this `sap.ui.mdc.table.RowActionItem` itself.
|
|
19099
|
-
*
|
|
19100
|
-
* Fired when the row action item is pressed.
|
|
19072
|
+
* Gets current value of property {@link #getIcon icon}.
|
|
19101
19073
|
*
|
|
19102
|
-
*
|
|
19103
|
-
* a row action item is pressed.
|
|
19074
|
+
* Icon for the row action item.
|
|
19104
19075
|
*
|
|
19105
|
-
*
|
|
19106
|
-
* and the table's `rowPress` event are fired when a row with a row action item is pressed.
|
|
19076
|
+
* **Note:** A custom icon cannot be set when the table type is {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable}.
|
|
19107
19077
|
*
|
|
19108
19078
|
*
|
|
19109
|
-
* @returns
|
|
19079
|
+
* @returns Value of property `icon`
|
|
19110
19080
|
*/
|
|
19111
|
-
|
|
19112
|
-
/**
|
|
19113
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
19114
|
-
* object when firing the event
|
|
19115
|
-
*/
|
|
19116
|
-
oData: object,
|
|
19117
|
-
/**
|
|
19118
|
-
* The function to be called when the event occurs
|
|
19119
|
-
*/
|
|
19120
|
-
fnFunction: (p1: RowActionItem$PressEvent) => void,
|
|
19121
|
-
/**
|
|
19122
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.RowActionItem` itself
|
|
19123
|
-
*/
|
|
19124
|
-
oListener?: object
|
|
19125
|
-
): this;
|
|
19081
|
+
getIcon(): URI;
|
|
19126
19082
|
/**
|
|
19127
|
-
*
|
|
19083
|
+
* Gets current value of property {@link #getText text}.
|
|
19128
19084
|
*
|
|
19129
|
-
*
|
|
19130
|
-
*
|
|
19085
|
+
* Text for the row action item.
|
|
19086
|
+
*
|
|
19087
|
+
* **Note:** A custom text cannot be set when the table type is {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable}.
|
|
19131
19088
|
*
|
|
19132
|
-
* Fired when the row action item is pressed.
|
|
19133
19089
|
*
|
|
19134
|
-
*
|
|
19135
|
-
|
|
19090
|
+
* @returns Value of property `text`
|
|
19091
|
+
*/
|
|
19092
|
+
getText(): string;
|
|
19093
|
+
/**
|
|
19094
|
+
* Gets current value of property {@link #getType type}.
|
|
19136
19095
|
*
|
|
19137
|
-
*
|
|
19138
|
-
* and the table's `rowPress` event are fired when a row with a row action item is pressed.
|
|
19096
|
+
* Type of the row action item.
|
|
19139
19097
|
*
|
|
19098
|
+
* Setting the type ensures default values for the properties `icon` and `text`. If an icon or text is set
|
|
19099
|
+
* explicitly, this setting is used.
|
|
19140
19100
|
*
|
|
19141
|
-
*
|
|
19101
|
+
*
|
|
19102
|
+
* @returns Value of property `type`
|
|
19142
19103
|
*/
|
|
19143
|
-
|
|
19144
|
-
/**
|
|
19145
|
-
* The function to be called when the event occurs
|
|
19146
|
-
*/
|
|
19147
|
-
fnFunction: (p1: RowActionItem$PressEvent) => void,
|
|
19148
|
-
/**
|
|
19149
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.RowActionItem` itself
|
|
19150
|
-
*/
|
|
19151
|
-
oListener?: object
|
|
19152
|
-
): this;
|
|
19104
|
+
getType(): TableRowActionType | keyof typeof TableRowActionType;
|
|
19153
19105
|
/**
|
|
19154
|
-
*
|
|
19106
|
+
* Gets current value of property {@link #getVisible visible}.
|
|
19155
19107
|
*
|
|
19156
|
-
*
|
|
19108
|
+
* Whether the item should be visible on the screen.
|
|
19157
19109
|
*
|
|
19158
|
-
*
|
|
19159
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
19160
|
-
*/
|
|
19161
|
-
detachPress(
|
|
19162
|
-
/**
|
|
19163
|
-
* The function to be called, when the event occurs
|
|
19164
|
-
*/
|
|
19165
|
-
fnFunction: (p1: RowActionItem$PressEvent) => void,
|
|
19166
|
-
/**
|
|
19167
|
-
* Context object on which the given function had to be called
|
|
19168
|
-
*/
|
|
19169
|
-
oListener?: object
|
|
19170
|
-
): this;
|
|
19171
|
-
/**
|
|
19172
|
-
* Fires event {@link #event:press press} to attached listeners.
|
|
19173
|
-
*
|
|
19174
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
19175
|
-
*
|
|
19176
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
19177
|
-
*/
|
|
19178
|
-
firePress(
|
|
19179
|
-
/**
|
|
19180
|
-
* Parameters to pass along with the event
|
|
19181
|
-
*/
|
|
19182
|
-
mParameters?: RowActionItem$PressEventParameters
|
|
19183
|
-
): this;
|
|
19184
|
-
/**
|
|
19185
|
-
* Gets current value of property {@link #getIcon icon}.
|
|
19186
|
-
*
|
|
19187
|
-
* Icon for the row action item.
|
|
19188
|
-
*
|
|
19189
|
-
* **Note:** A custom icon cannot be set when the table type is {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable}.
|
|
19190
|
-
*
|
|
19191
|
-
*
|
|
19192
|
-
* @returns Value of property `icon`
|
|
19193
|
-
*/
|
|
19194
|
-
getIcon(): URI;
|
|
19195
|
-
/**
|
|
19196
|
-
* Gets current value of property {@link #getText text}.
|
|
19197
|
-
*
|
|
19198
|
-
* Text for the row action item.
|
|
19199
|
-
*
|
|
19200
|
-
* **Note:** A custom text cannot be set when the table type is {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable}.
|
|
19201
|
-
*
|
|
19202
|
-
*
|
|
19203
|
-
* @returns Value of property `text`
|
|
19204
|
-
*/
|
|
19205
|
-
getText(): string;
|
|
19206
|
-
/**
|
|
19207
|
-
* Gets current value of property {@link #getType type}.
|
|
19208
|
-
*
|
|
19209
|
-
* Type of the row action item.
|
|
19210
|
-
*
|
|
19211
|
-
* Setting the type ensures default values for the properties `icon` and `text`. If an icon or text is set
|
|
19212
|
-
* explicitly, this setting is used.
|
|
19213
|
-
*
|
|
19214
|
-
*
|
|
19215
|
-
* @returns Value of property `type`
|
|
19216
|
-
*/
|
|
19217
|
-
getType(): TableRowActionType | keyof typeof TableRowActionType;
|
|
19218
|
-
/**
|
|
19219
|
-
* Gets current value of property {@link #getVisible visible}.
|
|
19220
|
-
*
|
|
19221
|
-
* Whether the item should be visible on the screen.
|
|
19222
|
-
*
|
|
19223
|
-
* Default value is `true`.
|
|
19110
|
+
* Default value is `true`.
|
|
19224
19111
|
*
|
|
19225
19112
|
*
|
|
19226
19113
|
* @returns Value of property `visible`
|
|
@@ -19333,17 +19220,6 @@ declare module "sap/ui/mdc/table/RowActionItem" {
|
|
|
19333
19220
|
* Whether the item should be visible on the screen.
|
|
19334
19221
|
*/
|
|
19335
19222
|
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
19336
|
-
|
|
19337
|
-
/**
|
|
19338
|
-
* Fired when the row action item is pressed.
|
|
19339
|
-
*
|
|
19340
|
-
* If the table type is {@link sap.ui.mdc.table.GridTableType GridTable}, the `press` event is fired when
|
|
19341
|
-
* a row action item is pressed.
|
|
19342
|
-
*
|
|
19343
|
-
* If the table type is {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable}, the `press` event
|
|
19344
|
-
* and the table's `rowPress` event are fired when a row with a row action item is pressed.
|
|
19345
|
-
*/
|
|
19346
|
-
press?: (oEvent: RowActionItem$PressEvent) => void;
|
|
19347
19223
|
}
|
|
19348
19224
|
|
|
19349
19225
|
/**
|
|
@@ -20053,106 +19929,6 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20053
19929
|
*/
|
|
20054
19930
|
oListener?: object
|
|
20055
19931
|
): this;
|
|
20056
|
-
/**
|
|
20057
|
-
* Attaches event handler `fnFunction` to the {@link #event:disconnect disconnect} event of this `sap.ui.mdc.ValueHelp`.
|
|
20058
|
-
*
|
|
20059
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20060
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20061
|
-
*
|
|
20062
|
-
* This event is fired when the `ValueHelp` element is disconnected from a control.
|
|
20063
|
-
*
|
|
20064
|
-
* **Note:** This event must only be handled by the control the `ValueHelp` element belongs to, not by the
|
|
20065
|
-
* application.
|
|
20066
|
-
*
|
|
20067
|
-
*
|
|
20068
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20069
|
-
*/
|
|
20070
|
-
attachDisconnect(
|
|
20071
|
-
/**
|
|
20072
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
20073
|
-
* object when firing the event
|
|
20074
|
-
*/
|
|
20075
|
-
oData: object,
|
|
20076
|
-
/**
|
|
20077
|
-
* The function to be called when the event occurs
|
|
20078
|
-
*/
|
|
20079
|
-
fnFunction: (p1: Event) => void,
|
|
20080
|
-
/**
|
|
20081
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.ValueHelp` itself
|
|
20082
|
-
*/
|
|
20083
|
-
oListener?: object
|
|
20084
|
-
): this;
|
|
20085
|
-
/**
|
|
20086
|
-
* Attaches event handler `fnFunction` to the {@link #event:disconnect disconnect} event of this `sap.ui.mdc.ValueHelp`.
|
|
20087
|
-
*
|
|
20088
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20089
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20090
|
-
*
|
|
20091
|
-
* This event is fired when the `ValueHelp` element is disconnected from a control.
|
|
20092
|
-
*
|
|
20093
|
-
* **Note:** This event must only be handled by the control the `ValueHelp` element belongs to, not by the
|
|
20094
|
-
* application.
|
|
20095
|
-
*
|
|
20096
|
-
*
|
|
20097
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20098
|
-
*/
|
|
20099
|
-
attachDisconnect(
|
|
20100
|
-
/**
|
|
20101
|
-
* The function to be called when the event occurs
|
|
20102
|
-
*/
|
|
20103
|
-
fnFunction: (p1: Event) => void,
|
|
20104
|
-
/**
|
|
20105
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.ValueHelp` itself
|
|
20106
|
-
*/
|
|
20107
|
-
oListener?: object
|
|
20108
|
-
): this;
|
|
20109
|
-
/**
|
|
20110
|
-
* Attaches event handler `fnFunction` to the {@link #event:navigated navigated} event of this `sap.ui.mdc.ValueHelp`.
|
|
20111
|
-
*
|
|
20112
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20113
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20114
|
-
*
|
|
20115
|
-
* This event is fired after the user navigated, using the arrow keys, in the value help.
|
|
20116
|
-
*
|
|
20117
|
-
*
|
|
20118
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20119
|
-
*/
|
|
20120
|
-
attachNavigated(
|
|
20121
|
-
/**
|
|
20122
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
20123
|
-
* object when firing the event
|
|
20124
|
-
*/
|
|
20125
|
-
oData: object,
|
|
20126
|
-
/**
|
|
20127
|
-
* The function to be called when the event occurs
|
|
20128
|
-
*/
|
|
20129
|
-
fnFunction: (p1: ValueHelp$NavigatedEvent) => void,
|
|
20130
|
-
/**
|
|
20131
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.ValueHelp` itself
|
|
20132
|
-
*/
|
|
20133
|
-
oListener?: object
|
|
20134
|
-
): this;
|
|
20135
|
-
/**
|
|
20136
|
-
* Attaches event handler `fnFunction` to the {@link #event:navigated navigated} event of this `sap.ui.mdc.ValueHelp`.
|
|
20137
|
-
*
|
|
20138
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20139
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20140
|
-
*
|
|
20141
|
-
* This event is fired after the user navigated, using the arrow keys, in the value help.
|
|
20142
|
-
*
|
|
20143
|
-
*
|
|
20144
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20145
|
-
*/
|
|
20146
|
-
attachNavigated(
|
|
20147
|
-
/**
|
|
20148
|
-
* The function to be called when the event occurs
|
|
20149
|
-
*/
|
|
20150
|
-
fnFunction: (p1: ValueHelp$NavigatedEvent) => void,
|
|
20151
|
-
/**
|
|
20152
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.ValueHelp` itself
|
|
20153
|
-
*/
|
|
20154
|
-
oListener?: object
|
|
20155
|
-
): this;
|
|
20156
19932
|
/**
|
|
20157
19933
|
* Attaches event handler `fnFunction` to the {@link #event:open open} event of this `sap.ui.mdc.ValueHelp`.
|
|
20158
19934
|
*
|
|
@@ -20248,659 +20024,267 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20248
20024
|
oListener?: object
|
|
20249
20025
|
): this;
|
|
20250
20026
|
/**
|
|
20251
|
-
*
|
|
20252
|
-
*
|
|
20253
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20254
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20255
|
-
*
|
|
20256
|
-
* This event is fired when a value is selected in the value help.
|
|
20257
|
-
*
|
|
20258
|
-
* **Note:** This event must only be handled by the control the `ValueHelp` element belongs to, not by the
|
|
20259
|
-
* application.
|
|
20027
|
+
* Destroys the dialog in the aggregation {@link #getDialog dialog}.
|
|
20260
20028
|
*
|
|
20261
20029
|
*
|
|
20262
20030
|
* @returns Reference to `this` in order to allow method chaining
|
|
20263
20031
|
*/
|
|
20264
|
-
|
|
20265
|
-
/**
|
|
20266
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
20267
|
-
* object when firing the event
|
|
20268
|
-
*/
|
|
20269
|
-
oData: object,
|
|
20270
|
-
/**
|
|
20271
|
-
* The function to be called when the event occurs
|
|
20272
|
-
*/
|
|
20273
|
-
fnFunction: (p1: ValueHelp$SelectEvent) => void,
|
|
20274
|
-
/**
|
|
20275
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.ValueHelp` itself
|
|
20276
|
-
*/
|
|
20277
|
-
oListener?: object
|
|
20278
|
-
): this;
|
|
20032
|
+
destroyDialog(): this;
|
|
20279
20033
|
/**
|
|
20280
|
-
*
|
|
20034
|
+
* Destroys the typeahead in the aggregation {@link #getTypeahead typeahead}.
|
|
20281
20035
|
*
|
|
20282
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20283
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20284
20036
|
*
|
|
20285
|
-
*
|
|
20037
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
20038
|
+
*/
|
|
20039
|
+
destroyTypeahead(): this;
|
|
20040
|
+
/**
|
|
20041
|
+
* Detaches event handler `fnFunction` from the {@link #event:closed closed} event of this `sap.ui.mdc.ValueHelp`.
|
|
20286
20042
|
*
|
|
20287
|
-
*
|
|
20288
|
-
* application.
|
|
20043
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
20289
20044
|
*
|
|
20290
20045
|
*
|
|
20291
20046
|
* @returns Reference to `this` in order to allow method chaining
|
|
20292
20047
|
*/
|
|
20293
|
-
|
|
20048
|
+
detachClosed(
|
|
20294
20049
|
/**
|
|
20295
|
-
* The function to be called when the event occurs
|
|
20050
|
+
* The function to be called, when the event occurs
|
|
20296
20051
|
*/
|
|
20297
|
-
fnFunction: (p1:
|
|
20052
|
+
fnFunction: (p1: Event) => void,
|
|
20298
20053
|
/**
|
|
20299
|
-
* Context object
|
|
20054
|
+
* Context object on which the given function had to be called
|
|
20300
20055
|
*/
|
|
20301
20056
|
oListener?: object
|
|
20302
20057
|
): this;
|
|
20303
20058
|
/**
|
|
20304
|
-
*
|
|
20305
|
-
* this `sap.ui.mdc.ValueHelp`.
|
|
20306
|
-
*
|
|
20307
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20308
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20059
|
+
* Detaches event handler `fnFunction` from the {@link #event:open open} event of this `sap.ui.mdc.ValueHelp`.
|
|
20309
20060
|
*
|
|
20310
|
-
*
|
|
20061
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
20311
20062
|
*
|
|
20312
20063
|
*
|
|
20313
20064
|
* @returns Reference to `this` in order to allow method chaining
|
|
20314
20065
|
*/
|
|
20315
|
-
|
|
20316
|
-
/**
|
|
20317
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
20318
|
-
* object when firing the event
|
|
20319
|
-
*/
|
|
20320
|
-
oData: object,
|
|
20066
|
+
detachOpen(
|
|
20321
20067
|
/**
|
|
20322
|
-
* The function to be called when the event occurs
|
|
20068
|
+
* The function to be called, when the event occurs
|
|
20323
20069
|
*/
|
|
20324
|
-
fnFunction: (p1:
|
|
20070
|
+
fnFunction: (p1: ValueHelp$OpenEvent) => void,
|
|
20325
20071
|
/**
|
|
20326
|
-
* Context object
|
|
20072
|
+
* Context object on which the given function had to be called
|
|
20327
20073
|
*/
|
|
20328
20074
|
oListener?: object
|
|
20329
20075
|
): this;
|
|
20330
20076
|
/**
|
|
20331
|
-
*
|
|
20332
|
-
* this `sap.ui.mdc.ValueHelp`.
|
|
20333
|
-
*
|
|
20334
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20335
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20077
|
+
* Detaches event handler `fnFunction` from the {@link #event:opened opened} event of this `sap.ui.mdc.ValueHelp`.
|
|
20336
20078
|
*
|
|
20337
|
-
*
|
|
20079
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
20338
20080
|
*
|
|
20339
20081
|
*
|
|
20340
20082
|
* @returns Reference to `this` in order to allow method chaining
|
|
20341
20083
|
*/
|
|
20342
|
-
|
|
20084
|
+
detachOpened(
|
|
20343
20085
|
/**
|
|
20344
|
-
* The function to be called when the event occurs
|
|
20086
|
+
* The function to be called, when the event occurs
|
|
20345
20087
|
*/
|
|
20346
|
-
fnFunction: (p1:
|
|
20088
|
+
fnFunction: (p1: ValueHelp$OpenedEvent) => void,
|
|
20347
20089
|
/**
|
|
20348
|
-
* Context object
|
|
20090
|
+
* Context object on which the given function had to be called
|
|
20349
20091
|
*/
|
|
20350
20092
|
oListener?: object
|
|
20351
20093
|
): this;
|
|
20352
20094
|
/**
|
|
20353
|
-
*
|
|
20354
|
-
* of this `sap.ui.mdc.ValueHelp`.
|
|
20355
|
-
*
|
|
20356
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20357
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20358
|
-
*
|
|
20359
|
-
* This event is fired after a suggested item has been found for a type-ahead.
|
|
20095
|
+
* Fires event {@link #event:closed closed} to attached listeners.
|
|
20360
20096
|
*
|
|
20361
|
-
* @
|
|
20097
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20362
20098
|
*
|
|
20363
20099
|
* @returns Reference to `this` in order to allow method chaining
|
|
20364
20100
|
*/
|
|
20365
|
-
|
|
20366
|
-
/**
|
|
20367
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
20368
|
-
* object when firing the event
|
|
20369
|
-
*/
|
|
20370
|
-
oData: object,
|
|
20371
|
-
/**
|
|
20372
|
-
* The function to be called when the event occurs
|
|
20373
|
-
*/
|
|
20374
|
-
fnFunction: (p1: ValueHelp$TypeaheadSuggestedEvent) => void,
|
|
20101
|
+
fireClosed(
|
|
20375
20102
|
/**
|
|
20376
|
-
*
|
|
20103
|
+
* Parameters to pass along with the event
|
|
20377
20104
|
*/
|
|
20378
|
-
|
|
20105
|
+
mParameters?: object
|
|
20379
20106
|
): this;
|
|
20380
20107
|
/**
|
|
20381
|
-
*
|
|
20382
|
-
* of this `sap.ui.mdc.ValueHelp`.
|
|
20383
|
-
*
|
|
20384
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20385
|
-
* otherwise it will be bound to this `sap.ui.mdc.ValueHelp` itself.
|
|
20386
|
-
*
|
|
20387
|
-
* This event is fired after a suggested item has been found for a type-ahead.
|
|
20108
|
+
* Fires event {@link #event:open open} to attached listeners.
|
|
20388
20109
|
*
|
|
20389
|
-
* @
|
|
20110
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20390
20111
|
*
|
|
20391
20112
|
* @returns Reference to `this` in order to allow method chaining
|
|
20392
20113
|
*/
|
|
20393
|
-
|
|
20394
|
-
/**
|
|
20395
|
-
* The function to be called when the event occurs
|
|
20396
|
-
*/
|
|
20397
|
-
fnFunction: (p1: ValueHelp$TypeaheadSuggestedEvent) => void,
|
|
20114
|
+
fireOpen(
|
|
20398
20115
|
/**
|
|
20399
|
-
*
|
|
20116
|
+
* Parameters to pass along with the event
|
|
20400
20117
|
*/
|
|
20401
|
-
|
|
20118
|
+
mParameters?: ValueHelp$OpenEventParameters
|
|
20402
20119
|
): this;
|
|
20403
20120
|
/**
|
|
20404
|
-
*
|
|
20121
|
+
* Fires event {@link #event:opened opened} to attached listeners.
|
|
20405
20122
|
*
|
|
20123
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20406
20124
|
*
|
|
20407
20125
|
* @returns Reference to `this` in order to allow method chaining
|
|
20408
20126
|
*/
|
|
20409
|
-
|
|
20410
|
-
/**
|
|
20411
|
-
* Destroys the typeahead in the aggregation {@link #getTypeahead typeahead}.
|
|
20412
|
-
*
|
|
20413
|
-
*
|
|
20414
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20415
|
-
*/
|
|
20416
|
-
destroyTypeahead(): this;
|
|
20417
|
-
/**
|
|
20418
|
-
* Detaches event handler `fnFunction` from the {@link #event:closed closed} event of this `sap.ui.mdc.ValueHelp`.
|
|
20419
|
-
*
|
|
20420
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
20421
|
-
*
|
|
20422
|
-
*
|
|
20423
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20424
|
-
*/
|
|
20425
|
-
detachClosed(
|
|
20426
|
-
/**
|
|
20427
|
-
* The function to be called, when the event occurs
|
|
20428
|
-
*/
|
|
20429
|
-
fnFunction: (p1: Event) => void,
|
|
20127
|
+
fireOpened(
|
|
20430
20128
|
/**
|
|
20431
|
-
*
|
|
20129
|
+
* Parameters to pass along with the event
|
|
20432
20130
|
*/
|
|
20433
|
-
|
|
20131
|
+
mParameters?: ValueHelp$OpenedEventParameters
|
|
20434
20132
|
): this;
|
|
20435
20133
|
/**
|
|
20436
|
-
*
|
|
20437
|
-
*
|
|
20438
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
20134
|
+
* Gets current value of property {@link #getDelegate delegate}.
|
|
20439
20135
|
*
|
|
20136
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
20137
|
+
* The object has the following properties:
|
|
20138
|
+
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/ValueHelpDelegate ValueHelpDelegate }
|
|
20440
20139
|
*
|
|
20441
|
-
*
|
|
20442
|
-
|
|
20443
|
-
|
|
20444
|
-
|
|
20445
|
-
|
|
20446
|
-
|
|
20447
|
-
|
|
20448
|
-
|
|
20449
|
-
|
|
20450
|
-
|
|
20451
|
-
oListener?: object
|
|
20452
|
-
): this;
|
|
20453
|
-
/**
|
|
20454
|
-
* Detaches event handler `fnFunction` from the {@link #event:navigated navigated} event of this `sap.ui.mdc.ValueHelp`.
|
|
20140
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
20141
|
+
* Sample delegate object:
|
|
20142
|
+
* ```javascript
|
|
20143
|
+
* {
|
|
20144
|
+
* name: "sap/ui/mdc/ValueHelpDelegate",
|
|
20145
|
+
* payload: {}
|
|
20146
|
+
* }```
|
|
20147
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
20148
|
+
* that).
|
|
20149
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
20455
20150
|
*
|
|
20456
|
-
*
|
|
20151
|
+
* Default value is `...see text or source`.
|
|
20457
20152
|
*
|
|
20458
20153
|
*
|
|
20459
|
-
* @returns
|
|
20154
|
+
* @returns Value of property `delegate`
|
|
20460
20155
|
*/
|
|
20461
|
-
|
|
20462
|
-
/**
|
|
20463
|
-
* The function to be called, when the event occurs
|
|
20464
|
-
*/
|
|
20465
|
-
fnFunction: (p1: ValueHelp$NavigatedEvent) => void,
|
|
20466
|
-
/**
|
|
20467
|
-
* Context object on which the given function had to be called
|
|
20468
|
-
*/
|
|
20469
|
-
oListener?: object
|
|
20470
|
-
): this;
|
|
20156
|
+
getDelegate(): object;
|
|
20471
20157
|
/**
|
|
20472
|
-
*
|
|
20473
|
-
*
|
|
20474
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
20475
|
-
*
|
|
20158
|
+
* Gets content of aggregation {@link #getDialog dialog}.
|
|
20476
20159
|
*
|
|
20477
|
-
*
|
|
20160
|
+
* Container that is used and opened if the value help icon of the input field is pressed.
|
|
20478
20161
|
*/
|
|
20479
|
-
|
|
20480
|
-
/**
|
|
20481
|
-
* The function to be called, when the event occurs
|
|
20482
|
-
*/
|
|
20483
|
-
fnFunction: (p1: ValueHelp$OpenEvent) => void,
|
|
20484
|
-
/**
|
|
20485
|
-
* Context object on which the given function had to be called
|
|
20486
|
-
*/
|
|
20487
|
-
oListener?: object
|
|
20488
|
-
): this;
|
|
20162
|
+
getDialog(): /* was: sap.ui.mdc.valuehelp.IDialogContainer */ any;
|
|
20489
20163
|
/**
|
|
20490
|
-
*
|
|
20491
|
-
*
|
|
20492
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
20493
|
-
*
|
|
20164
|
+
* Gets content of aggregation {@link #getTypeahead typeahead}.
|
|
20494
20165
|
*
|
|
20495
|
-
*
|
|
20166
|
+
* Container that is used and opened in typeahead
|
|
20496
20167
|
*/
|
|
20497
|
-
|
|
20498
|
-
/**
|
|
20499
|
-
* The function to be called, when the event occurs
|
|
20500
|
-
*/
|
|
20501
|
-
fnFunction: (p1: ValueHelp$OpenedEvent) => void,
|
|
20502
|
-
/**
|
|
20503
|
-
* Context object on which the given function had to be called
|
|
20504
|
-
*/
|
|
20505
|
-
oListener?: object
|
|
20506
|
-
): this;
|
|
20168
|
+
getTypeahead(): /* was: sap.ui.mdc.valuehelp.ITypeaheadContainer */ any;
|
|
20507
20169
|
/**
|
|
20508
|
-
*
|
|
20170
|
+
* Gets current value of property {@link #getValidateInput validateInput}.
|
|
20509
20171
|
*
|
|
20510
|
-
*
|
|
20172
|
+
* If this property is set, the user input of the corresponding field is validated against the value help.
|
|
20173
|
+
* If no entry is found for the user input, an error is shown on the field.
|
|
20174
|
+
*
|
|
20175
|
+
* If this property is not set, the user input is still checked against the value help. But if no entry
|
|
20176
|
+
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
20177
|
+
* is shown if the user input adheres to the requirements of the used data type.)
|
|
20178
|
+
*
|
|
20179
|
+
* Default value is `true`.
|
|
20511
20180
|
*
|
|
20512
20181
|
*
|
|
20513
|
-
* @returns
|
|
20182
|
+
* @returns Value of property `validateInput`
|
|
20514
20183
|
*/
|
|
20515
|
-
|
|
20516
|
-
/**
|
|
20517
|
-
* The function to be called, when the event occurs
|
|
20518
|
-
*/
|
|
20519
|
-
fnFunction: (p1: ValueHelp$SelectEvent) => void,
|
|
20520
|
-
/**
|
|
20521
|
-
* Context object on which the given function had to be called
|
|
20522
|
-
*/
|
|
20523
|
-
oListener?: object
|
|
20524
|
-
): this;
|
|
20184
|
+
getValidateInput(): boolean;
|
|
20525
20185
|
/**
|
|
20526
|
-
*
|
|
20527
|
-
* of this `sap.ui.mdc.ValueHelp`.
|
|
20186
|
+
* Sets a new value for property {@link #getDelegate delegate}.
|
|
20528
20187
|
*
|
|
20529
|
-
*
|
|
20188
|
+
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
20189
|
+
* The object has the following properties:
|
|
20190
|
+
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/ValueHelpDelegate ValueHelpDelegate }
|
|
20530
20191
|
*
|
|
20192
|
+
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
20193
|
+
* Sample delegate object:
|
|
20194
|
+
* ```javascript
|
|
20195
|
+
* {
|
|
20196
|
+
* name: "sap/ui/mdc/ValueHelpDelegate",
|
|
20197
|
+
* payload: {}
|
|
20198
|
+
* }```
|
|
20199
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
20200
|
+
* that).
|
|
20201
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
20531
20202
|
*
|
|
20532
|
-
*
|
|
20533
|
-
*/
|
|
20534
|
-
detachSwitchToValueHelp(
|
|
20535
|
-
/**
|
|
20536
|
-
* The function to be called, when the event occurs
|
|
20537
|
-
*/
|
|
20538
|
-
fnFunction: (p1: Event) => void,
|
|
20539
|
-
/**
|
|
20540
|
-
* Context object on which the given function had to be called
|
|
20541
|
-
*/
|
|
20542
|
-
oListener?: object
|
|
20543
|
-
): this;
|
|
20544
|
-
/**
|
|
20545
|
-
* Detaches event handler `fnFunction` from the {@link #event:typeaheadSuggested typeaheadSuggested} event
|
|
20546
|
-
* of this `sap.ui.mdc.ValueHelp`.
|
|
20203
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
20547
20204
|
*
|
|
20548
|
-
*
|
|
20205
|
+
* Default value is `...see text or source`.
|
|
20549
20206
|
*
|
|
20550
|
-
* @since 1.120.0
|
|
20551
20207
|
*
|
|
20552
20208
|
* @returns Reference to `this` in order to allow method chaining
|
|
20553
20209
|
*/
|
|
20554
|
-
|
|
20555
|
-
/**
|
|
20556
|
-
* The function to be called, when the event occurs
|
|
20557
|
-
*/
|
|
20558
|
-
fnFunction: (p1: ValueHelp$TypeaheadSuggestedEvent) => void,
|
|
20210
|
+
setDelegate(
|
|
20559
20211
|
/**
|
|
20560
|
-
*
|
|
20212
|
+
* New value for property `delegate`
|
|
20561
20213
|
*/
|
|
20562
|
-
|
|
20214
|
+
oDelegate?: object
|
|
20563
20215
|
): this;
|
|
20564
20216
|
/**
|
|
20565
|
-
*
|
|
20217
|
+
* Sets the aggregated {@link #getDialog dialog}.
|
|
20566
20218
|
*
|
|
20567
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20568
20219
|
*
|
|
20569
20220
|
* @returns Reference to `this` in order to allow method chaining
|
|
20570
20221
|
*/
|
|
20571
|
-
|
|
20222
|
+
setDialog(
|
|
20572
20223
|
/**
|
|
20573
|
-
*
|
|
20224
|
+
* The dialog to set
|
|
20574
20225
|
*/
|
|
20575
|
-
|
|
20226
|
+
oDialog: /* was: sap.ui.mdc.valuehelp.IDialogContainer */ any
|
|
20576
20227
|
): this;
|
|
20577
20228
|
/**
|
|
20578
|
-
*
|
|
20229
|
+
* Sets the aggregated {@link #getTypeahead typeahead}.
|
|
20579
20230
|
*
|
|
20580
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20581
20231
|
*
|
|
20582
20232
|
* @returns Reference to `this` in order to allow method chaining
|
|
20583
20233
|
*/
|
|
20584
|
-
|
|
20234
|
+
setTypeahead(
|
|
20585
20235
|
/**
|
|
20586
|
-
*
|
|
20236
|
+
* The typeahead to set
|
|
20587
20237
|
*/
|
|
20588
|
-
|
|
20238
|
+
oTypeahead: /* was: sap.ui.mdc.valuehelp.ITypeaheadContainer */ any
|
|
20589
20239
|
): this;
|
|
20590
20240
|
/**
|
|
20591
|
-
*
|
|
20241
|
+
* Sets a new value for property {@link #getValidateInput validateInput}.
|
|
20592
20242
|
*
|
|
20593
|
-
*
|
|
20243
|
+
* If this property is set, the user input of the corresponding field is validated against the value help.
|
|
20244
|
+
* If no entry is found for the user input, an error is shown on the field.
|
|
20594
20245
|
*
|
|
20595
|
-
*
|
|
20596
|
-
|
|
20597
|
-
|
|
20598
|
-
/**
|
|
20599
|
-
* Parameters to pass along with the event
|
|
20600
|
-
*/
|
|
20601
|
-
mParameters?: ValueHelp$NavigatedEventParameters
|
|
20602
|
-
): this;
|
|
20603
|
-
/**
|
|
20604
|
-
* Fires event {@link #event:open open} to attached listeners.
|
|
20246
|
+
* If this property is not set, the user input is still checked against the value help. But if no entry
|
|
20247
|
+
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
20248
|
+
* is shown if the user input adheres to the requirements of the used data type.)
|
|
20605
20249
|
*
|
|
20606
|
-
*
|
|
20250
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
20607
20251
|
*
|
|
20608
|
-
*
|
|
20609
|
-
*/
|
|
20610
|
-
fireOpen(
|
|
20611
|
-
/**
|
|
20612
|
-
* Parameters to pass along with the event
|
|
20613
|
-
*/
|
|
20614
|
-
mParameters?: ValueHelp$OpenEventParameters
|
|
20615
|
-
): this;
|
|
20616
|
-
/**
|
|
20617
|
-
* Fires event {@link #event:opened opened} to attached listeners.
|
|
20252
|
+
* Default value is `true`.
|
|
20618
20253
|
*
|
|
20619
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20620
20254
|
*
|
|
20621
20255
|
* @returns Reference to `this` in order to allow method chaining
|
|
20622
20256
|
*/
|
|
20623
|
-
|
|
20257
|
+
setValidateInput(
|
|
20624
20258
|
/**
|
|
20625
|
-
*
|
|
20259
|
+
* New value for property `validateInput`
|
|
20626
20260
|
*/
|
|
20627
|
-
|
|
20261
|
+
bValidateInput?: boolean
|
|
20628
20262
|
): this;
|
|
20263
|
+
}
|
|
20264
|
+
/**
|
|
20265
|
+
* Configuration object type to determine a `ValueHelpItem` for a given value.
|
|
20266
|
+
*/
|
|
20267
|
+
export type ItemForValueConfiguration = {
|
|
20629
20268
|
/**
|
|
20630
|
-
*
|
|
20631
|
-
*
|
|
20632
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20633
|
-
*
|
|
20634
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20269
|
+
* Value as entered by user
|
|
20635
20270
|
*/
|
|
20636
|
-
|
|
20637
|
-
/**
|
|
20638
|
-
* Parameters to pass along with the event
|
|
20639
|
-
*/
|
|
20640
|
-
mParameters?: ValueHelp$SelectEventParameters
|
|
20641
|
-
): this;
|
|
20271
|
+
value: any;
|
|
20642
20272
|
/**
|
|
20643
|
-
*
|
|
20644
|
-
*
|
|
20645
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20646
|
-
*
|
|
20647
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20273
|
+
* Value parsed by type of key to match the data type of the key
|
|
20648
20274
|
*/
|
|
20649
|
-
|
|
20650
|
-
/**
|
|
20651
|
-
* Parameters to pass along with the event
|
|
20652
|
-
*/
|
|
20653
|
-
mParameters?: object
|
|
20654
|
-
): this;
|
|
20275
|
+
parsedValue?: any;
|
|
20655
20276
|
/**
|
|
20656
|
-
*
|
|
20657
|
-
|
|
20658
|
-
|
|
20659
|
-
|
|
20660
|
-
*
|
|
20661
|
-
*
|
|
20277
|
+
* Value parsed by type of description to match the data type of the description
|
|
20278
|
+
*/
|
|
20279
|
+
parsedDescription?: any;
|
|
20280
|
+
/**
|
|
20281
|
+
* Contextual information provided by condition `payload` or `inParameters`/`outParameters`. This is only
|
|
20282
|
+
* filled if the description needs to be determined for an existing condition.
|
|
20662
20283
|
*/
|
|
20663
|
-
|
|
20284
|
+
context?: {
|
|
20664
20285
|
/**
|
|
20665
|
-
*
|
|
20666
|
-
|
|
20667
|
-
mParameters?: ValueHelp$TypeaheadSuggestedEventParameters
|
|
20668
|
-
): this;
|
|
20669
|
-
/**
|
|
20670
|
-
* Gets current value of property {@link #getConditions conditions}.
|
|
20671
|
-
*
|
|
20672
|
-
* The conditions of the selected items.
|
|
20673
|
-
*
|
|
20674
|
-
* **Note:** This property must only be set by the control the `ValueHelp` element belongs to, not by the
|
|
20675
|
-
* application.
|
|
20676
|
-
*
|
|
20677
|
-
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
20678
|
-
*
|
|
20679
|
-
* Default value is `[]`.
|
|
20680
|
-
*
|
|
20681
|
-
*
|
|
20682
|
-
* @returns Value of property `conditions`
|
|
20683
|
-
*/
|
|
20684
|
-
getConditions(): object[];
|
|
20685
|
-
/**
|
|
20686
|
-
* Gets current value of property {@link #getDelegate delegate}.
|
|
20687
|
-
*
|
|
20688
|
-
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
20689
|
-
* The object has the following properties:
|
|
20690
|
-
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/ValueHelpDelegate ValueHelpDelegate }
|
|
20691
|
-
*
|
|
20692
|
-
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
20693
|
-
* Sample delegate object:
|
|
20694
|
-
* ```javascript
|
|
20695
|
-
* {
|
|
20696
|
-
* name: "sap/ui/mdc/ValueHelpDelegate",
|
|
20697
|
-
* payload: {}
|
|
20698
|
-
* }```
|
|
20699
|
-
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
20700
|
-
* that).
|
|
20701
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
20702
|
-
*
|
|
20703
|
-
* Default value is `...see text or source`.
|
|
20704
|
-
*
|
|
20705
|
-
*
|
|
20706
|
-
* @returns Value of property `delegate`
|
|
20707
|
-
*/
|
|
20708
|
-
getDelegate(): object;
|
|
20709
|
-
/**
|
|
20710
|
-
* Gets content of aggregation {@link #getDialog dialog}.
|
|
20711
|
-
*
|
|
20712
|
-
* Container that is used and opened if the value help icon of the input field is pressed.
|
|
20713
|
-
*/
|
|
20714
|
-
getDialog(): /* was: sap.ui.mdc.valuehelp.IDialogContainer */ any;
|
|
20715
|
-
/**
|
|
20716
|
-
* Gets current value of property {@link #getFilterValue filterValue}.
|
|
20717
|
-
*
|
|
20718
|
-
* The value by which the help is filtered. Here the field provides the typed value to allow the value help
|
|
20719
|
-
* to filter for it.
|
|
20720
|
-
*
|
|
20721
|
-
* **Note:** This only takes effect if the `ValueHelp` elements content supports filtering.
|
|
20722
|
-
*
|
|
20723
|
-
* **Note:** This property must only be set by the control the `ValueHelp` element belongs to, not by the
|
|
20724
|
-
* application.
|
|
20725
|
-
*
|
|
20726
|
-
* Default value is `empty string`.
|
|
20727
|
-
*
|
|
20728
|
-
*
|
|
20729
|
-
* @returns Value of property `filterValue`
|
|
20730
|
-
*/
|
|
20731
|
-
getFilterValue(): string;
|
|
20732
|
-
/**
|
|
20733
|
-
* Gets content of aggregation {@link #getTypeahead typeahead}.
|
|
20734
|
-
*
|
|
20735
|
-
* Container that is used and opened in typeahead
|
|
20736
|
-
*/
|
|
20737
|
-
getTypeahead(): /* was: sap.ui.mdc.valuehelp.ITypeaheadContainer */ any;
|
|
20738
|
-
/**
|
|
20739
|
-
* Gets current value of property {@link #getValidateInput validateInput}.
|
|
20740
|
-
*
|
|
20741
|
-
* If this property is set, the user input of the corresponding field is validated against the value help.
|
|
20742
|
-
* If no entry is found for the user input, an error is shown on the field.
|
|
20743
|
-
*
|
|
20744
|
-
* If this property is not set, the user input is still checked against the value help. But if no entry
|
|
20745
|
-
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
20746
|
-
* is shown if the user input adheres to the requirements of the used data type.)
|
|
20747
|
-
*
|
|
20748
|
-
* Default value is `true`.
|
|
20749
|
-
*
|
|
20750
|
-
*
|
|
20751
|
-
* @returns Value of property `validateInput`
|
|
20752
|
-
*/
|
|
20753
|
-
getValidateInput(): boolean;
|
|
20754
|
-
/**
|
|
20755
|
-
* Sets a new value for property {@link #getConditions conditions}.
|
|
20756
|
-
*
|
|
20757
|
-
* The conditions of the selected items.
|
|
20758
|
-
*
|
|
20759
|
-
* **Note:** This property must only be set by the control the `ValueHelp` element belongs to, not by the
|
|
20760
|
-
* application.
|
|
20761
|
-
*
|
|
20762
|
-
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
20763
|
-
*
|
|
20764
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
20765
|
-
*
|
|
20766
|
-
* Default value is `[]`.
|
|
20767
|
-
*
|
|
20768
|
-
*
|
|
20769
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20770
|
-
*/
|
|
20771
|
-
setConditions(
|
|
20772
|
-
/**
|
|
20773
|
-
* New value for property `conditions`
|
|
20774
|
-
*/
|
|
20775
|
-
sConditions?: object[]
|
|
20776
|
-
): this;
|
|
20777
|
-
/**
|
|
20778
|
-
* Sets a new value for property {@link #getDelegate delegate}.
|
|
20779
|
-
*
|
|
20780
|
-
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
20781
|
-
* The object has the following properties:
|
|
20782
|
-
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/ValueHelpDelegate ValueHelpDelegate }
|
|
20783
|
-
*
|
|
20784
|
-
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
20785
|
-
* Sample delegate object:
|
|
20786
|
-
* ```javascript
|
|
20787
|
-
* {
|
|
20788
|
-
* name: "sap/ui/mdc/ValueHelpDelegate",
|
|
20789
|
-
* payload: {}
|
|
20790
|
-
* }```
|
|
20791
|
-
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
20792
|
-
* that).
|
|
20793
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
20794
|
-
*
|
|
20795
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
20796
|
-
*
|
|
20797
|
-
* Default value is `...see text or source`.
|
|
20798
|
-
*
|
|
20799
|
-
*
|
|
20800
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20801
|
-
*/
|
|
20802
|
-
setDelegate(
|
|
20803
|
-
/**
|
|
20804
|
-
* New value for property `delegate`
|
|
20805
|
-
*/
|
|
20806
|
-
oDelegate?: object
|
|
20807
|
-
): this;
|
|
20808
|
-
/**
|
|
20809
|
-
* Sets the aggregated {@link #getDialog dialog}.
|
|
20810
|
-
*
|
|
20811
|
-
*
|
|
20812
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20813
|
-
*/
|
|
20814
|
-
setDialog(
|
|
20815
|
-
/**
|
|
20816
|
-
* The dialog to set
|
|
20817
|
-
*/
|
|
20818
|
-
oDialog: /* was: sap.ui.mdc.valuehelp.IDialogContainer */ any
|
|
20819
|
-
): this;
|
|
20820
|
-
/**
|
|
20821
|
-
* Sets a new value for property {@link #getFilterValue filterValue}.
|
|
20822
|
-
*
|
|
20823
|
-
* The value by which the help is filtered. Here the field provides the typed value to allow the value help
|
|
20824
|
-
* to filter for it.
|
|
20825
|
-
*
|
|
20826
|
-
* **Note:** This only takes effect if the `ValueHelp` elements content supports filtering.
|
|
20827
|
-
*
|
|
20828
|
-
* **Note:** This property must only be set by the control the `ValueHelp` element belongs to, not by the
|
|
20829
|
-
* application.
|
|
20830
|
-
*
|
|
20831
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
20832
|
-
*
|
|
20833
|
-
* Default value is `empty string`.
|
|
20834
|
-
*
|
|
20835
|
-
*
|
|
20836
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20837
|
-
*/
|
|
20838
|
-
setFilterValue(
|
|
20839
|
-
/**
|
|
20840
|
-
* New value for property `filterValue`
|
|
20841
|
-
*/
|
|
20842
|
-
sFilterValue?: string
|
|
20843
|
-
): this;
|
|
20844
|
-
/**
|
|
20845
|
-
* Sets the aggregated {@link #getTypeahead typeahead}.
|
|
20846
|
-
*
|
|
20847
|
-
*
|
|
20848
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20849
|
-
*/
|
|
20850
|
-
setTypeahead(
|
|
20851
|
-
/**
|
|
20852
|
-
* The typeahead to set
|
|
20853
|
-
*/
|
|
20854
|
-
oTypeahead: /* was: sap.ui.mdc.valuehelp.ITypeaheadContainer */ any
|
|
20855
|
-
): this;
|
|
20856
|
-
/**
|
|
20857
|
-
* Sets a new value for property {@link #getValidateInput validateInput}.
|
|
20858
|
-
*
|
|
20859
|
-
* If this property is set, the user input of the corresponding field is validated against the value help.
|
|
20860
|
-
* If no entry is found for the user input, an error is shown on the field.
|
|
20861
|
-
*
|
|
20862
|
-
* If this property is not set, the user input is still checked against the value help. But if no entry
|
|
20863
|
-
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
20864
|
-
* is shown if the user input adheres to the requirements of the used data type.)
|
|
20865
|
-
*
|
|
20866
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
20867
|
-
*
|
|
20868
|
-
* Default value is `true`.
|
|
20869
|
-
*
|
|
20870
|
-
*
|
|
20871
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
20872
|
-
*/
|
|
20873
|
-
setValidateInput(
|
|
20874
|
-
/**
|
|
20875
|
-
* New value for property `validateInput`
|
|
20876
|
-
*/
|
|
20877
|
-
bValidateInput?: boolean
|
|
20878
|
-
): this;
|
|
20879
|
-
}
|
|
20880
|
-
/**
|
|
20881
|
-
* Configuration object type to determine a `ValueHelpItem` for a given value.
|
|
20882
|
-
*/
|
|
20883
|
-
export type ItemForValueConfiguration = {
|
|
20884
|
-
/**
|
|
20885
|
-
* Value as entered by user
|
|
20886
|
-
*/
|
|
20887
|
-
value: any;
|
|
20888
|
-
/**
|
|
20889
|
-
* Value parsed by type of key to match the data type of the key
|
|
20890
|
-
*/
|
|
20891
|
-
parsedValue?: any;
|
|
20892
|
-
/**
|
|
20893
|
-
* Value parsed by type of description to match the data type of the description
|
|
20894
|
-
*/
|
|
20895
|
-
parsedDescription?: any;
|
|
20896
|
-
/**
|
|
20897
|
-
* Contextual information provided by condition `payload` or `inParameters`/`outParameters`. This is only
|
|
20898
|
-
* filled if the description needs to be determined for an existing condition.
|
|
20899
|
-
*/
|
|
20900
|
-
context?: {
|
|
20901
|
-
/**
|
|
20902
|
-
* In parameters of the current condition (`inParameters` are not used any longer, but it might be filled
|
|
20903
|
-
* in older conditions stored in variants.)
|
|
20286
|
+
* In parameters of the current condition (`inParameters` are not used any longer, but it might be filled
|
|
20287
|
+
* in older conditions stored in variants.)
|
|
20904
20288
|
*/
|
|
20905
20289
|
inParameter?: object;
|
|
20906
20290
|
/**
|
|
@@ -20946,16 +20330,6 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20946
20330
|
* Describes the settings that can be provided to the ValueHelp constructor.
|
|
20947
20331
|
*/
|
|
20948
20332
|
export interface $ValueHelpSettings extends $ElementSettings {
|
|
20949
|
-
/**
|
|
20950
|
-
* The conditions of the selected items.
|
|
20951
|
-
*
|
|
20952
|
-
* **Note:** This property must only be set by the control the `ValueHelp` element belongs to, not by the
|
|
20953
|
-
* application.
|
|
20954
|
-
*
|
|
20955
|
-
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
20956
|
-
*/
|
|
20957
|
-
conditions?: object[] | PropertyBindingInfo | `{${string}}`;
|
|
20958
|
-
|
|
20959
20333
|
/**
|
|
20960
20334
|
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
20961
20335
|
* The object has the following properties:
|
|
@@ -20974,17 +20348,6 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20974
20348
|
*/
|
|
20975
20349
|
delegate?: object | PropertyBindingInfo | `{${string}}`;
|
|
20976
20350
|
|
|
20977
|
-
/**
|
|
20978
|
-
* The value by which the help is filtered. Here the field provides the typed value to allow the value help
|
|
20979
|
-
* to filter for it.
|
|
20980
|
-
*
|
|
20981
|
-
* **Note:** This only takes effect if the `ValueHelp` elements content supports filtering.
|
|
20982
|
-
*
|
|
20983
|
-
* **Note:** This property must only be set by the control the `ValueHelp` element belongs to, not by the
|
|
20984
|
-
* application.
|
|
20985
|
-
*/
|
|
20986
|
-
filterValue?: string | PropertyBindingInfo;
|
|
20987
|
-
|
|
20988
20351
|
/**
|
|
20989
20352
|
* If this property is set, the user input of the corresponding field is validated against the value help.
|
|
20990
20353
|
* If no entry is found for the user input, an error is shown on the field.
|
|
@@ -21005,22 +20368,6 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
21005
20368
|
*/
|
|
21006
20369
|
typeahead?: /* was: sap.ui.mdc.valuehelp.ITypeaheadContainer */ any;
|
|
21007
20370
|
|
|
21008
|
-
/**
|
|
21009
|
-
* This event is fired when a value is selected in the value help.
|
|
21010
|
-
*
|
|
21011
|
-
* **Note:** This event must only be handled by the control the `ValueHelp` element belongs to, not by the
|
|
21012
|
-
* application.
|
|
21013
|
-
*/
|
|
21014
|
-
select?: (oEvent: ValueHelp$SelectEvent) => void;
|
|
21015
|
-
|
|
21016
|
-
/**
|
|
21017
|
-
* This event is fired when the `ValueHelp` element is disconnected from a control.
|
|
21018
|
-
*
|
|
21019
|
-
* **Note:** This event must only be handled by the control the `ValueHelp` element belongs to, not by the
|
|
21020
|
-
* application.
|
|
21021
|
-
*/
|
|
21022
|
-
disconnect?: (oEvent: Event) => void;
|
|
21023
|
-
|
|
21024
20371
|
/**
|
|
21025
20372
|
* This event is fired after the value help has been closed.
|
|
21026
20373
|
*/
|
|
@@ -21035,23 +20382,6 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
21035
20382
|
* This event is fired as the value help is fully open.
|
|
21036
20383
|
*/
|
|
21037
20384
|
opened?: (oEvent: ValueHelp$OpenedEvent) => void;
|
|
21038
|
-
|
|
21039
|
-
/**
|
|
21040
|
-
* This event is fired after the user navigated, using the arrow keys, in the value help.
|
|
21041
|
-
*/
|
|
21042
|
-
navigated?: (oEvent: ValueHelp$NavigatedEvent) => void;
|
|
21043
|
-
|
|
21044
|
-
/**
|
|
21045
|
-
* This event is fired if the user wants to switch from typeahead to value help.
|
|
21046
|
-
*/
|
|
21047
|
-
switchToValueHelp?: (oEvent: Event) => void;
|
|
21048
|
-
|
|
21049
|
-
/**
|
|
21050
|
-
* This event is fired after a suggested item has been found for a type-ahead.
|
|
21051
|
-
*
|
|
21052
|
-
* @since 1.120.0
|
|
21053
|
-
*/
|
|
21054
|
-
typeaheadSuggested?: (oEvent: ValueHelp$TypeaheadSuggestedEvent) => void;
|
|
21055
20385
|
}
|
|
21056
20386
|
|
|
21057
20387
|
/**
|
|
@@ -21236,14 +20566,14 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
|
21236
20566
|
|
|
21237
20567
|
import Content from "sap/ui/mdc/valuehelp/base/Content";
|
|
21238
20568
|
|
|
21239
|
-
import Event from "sap/ui/base/Event";
|
|
21240
|
-
|
|
21241
20569
|
import Control from "sap/ui/core/Control";
|
|
21242
20570
|
|
|
21243
20571
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
21244
20572
|
|
|
21245
20573
|
import UIArea from "sap/ui/core/UIArea";
|
|
21246
20574
|
|
|
20575
|
+
import Event from "sap/ui/base/Event";
|
|
20576
|
+
|
|
21247
20577
|
import {
|
|
21248
20578
|
PropertyBindingInfo,
|
|
21249
20579
|
AggregationBindingInfo,
|
|
@@ -21334,1985 +20664,659 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
|
21334
20664
|
oContent: Content
|
|
21335
20665
|
): this;
|
|
21336
20666
|
/**
|
|
21337
|
-
*
|
|
21338
|
-
*
|
|
21339
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21340
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21341
|
-
*
|
|
21342
|
-
* This event is fired if the change is cancelled.
|
|
21343
|
-
*
|
|
20667
|
+
* Binds the content to the container.
|
|
21344
20668
|
*
|
|
21345
|
-
* @
|
|
20669
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21346
20670
|
*/
|
|
21347
|
-
|
|
20671
|
+
bindContentToContainer(
|
|
21348
20672
|
/**
|
|
21349
|
-
*
|
|
21350
|
-
* object when firing the event
|
|
20673
|
+
* content
|
|
21351
20674
|
*/
|
|
21352
|
-
|
|
21353
|
-
|
|
21354
|
-
* The function to be called when the event occurs
|
|
21355
|
-
*/
|
|
21356
|
-
fnFunction: (p1: Event) => void,
|
|
21357
|
-
/**
|
|
21358
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Container`
|
|
21359
|
-
* itself
|
|
21360
|
-
*/
|
|
21361
|
-
oListener?: object
|
|
21362
|
-
): this;
|
|
20675
|
+
oContent: Content
|
|
20676
|
+
): void;
|
|
21363
20677
|
/**
|
|
21364
|
-
*
|
|
21365
|
-
*
|
|
21366
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21367
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
20678
|
+
* Closes the container control or element.
|
|
21368
20679
|
*
|
|
21369
|
-
*
|
|
20680
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20681
|
+
*/
|
|
20682
|
+
closeContainer(): void;
|
|
20683
|
+
/**
|
|
20684
|
+
* Destroys all the content in the aggregation {@link #getContent content}.
|
|
21370
20685
|
*
|
|
21371
20686
|
*
|
|
21372
20687
|
* @returns Reference to `this` in order to allow method chaining
|
|
21373
20688
|
*/
|
|
21374
|
-
|
|
21375
|
-
|
|
21376
|
-
|
|
21377
|
-
|
|
21378
|
-
|
|
20689
|
+
destroyContent(): this;
|
|
20690
|
+
/**
|
|
20691
|
+
* Gets the configuration for a specific content.
|
|
20692
|
+
*
|
|
20693
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20694
|
+
*
|
|
20695
|
+
* @returns configuration
|
|
20696
|
+
*/
|
|
20697
|
+
getContainerConfig(
|
|
21379
20698
|
/**
|
|
21380
|
-
*
|
|
21381
|
-
* itself
|
|
20699
|
+
* content
|
|
21382
20700
|
*/
|
|
21383
|
-
|
|
21384
|
-
):
|
|
20701
|
+
oContent: Content
|
|
20702
|
+
): object;
|
|
21385
20703
|
/**
|
|
21386
|
-
*
|
|
20704
|
+
* Returns the container control or element that is opened (for example, a popover or dialog).
|
|
21387
20705
|
*
|
|
21388
|
-
*
|
|
21389
|
-
|
|
20706
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20707
|
+
*/
|
|
20708
|
+
getContainerControl(): void;
|
|
20709
|
+
/**
|
|
20710
|
+
* Gets content of aggregation {@link #getContent content}.
|
|
21390
20711
|
*
|
|
21391
|
-
* This
|
|
20712
|
+
* Content of the container. This aggregation holds the actual controls enabling the user to select items
|
|
20713
|
+
* or create conditions (for example, tables or condition panels).
|
|
20714
|
+
*/
|
|
20715
|
+
getContent(): Content[];
|
|
20716
|
+
/**
|
|
20717
|
+
* Returns control connected to value help.
|
|
21392
20718
|
*
|
|
20719
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21393
20720
|
*
|
|
21394
|
-
* @returns
|
|
20721
|
+
* @returns connected control
|
|
21395
20722
|
*/
|
|
21396
|
-
|
|
21397
|
-
/**
|
|
21398
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21399
|
-
* object when firing the event
|
|
21400
|
-
*/
|
|
21401
|
-
oData: object,
|
|
21402
|
-
/**
|
|
21403
|
-
* The function to be called when the event occurs
|
|
21404
|
-
*/
|
|
21405
|
-
fnFunction: (p1: Event) => void,
|
|
21406
|
-
/**
|
|
21407
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Container`
|
|
21408
|
-
* itself
|
|
21409
|
-
*/
|
|
21410
|
-
oListener?: object
|
|
21411
|
-
): this;
|
|
20723
|
+
getControl(): Control;
|
|
21412
20724
|
/**
|
|
21413
|
-
*
|
|
20725
|
+
* Returns the maximum allowed number of conditions, -1 if no limit is set.
|
|
21414
20726
|
*
|
|
21415
|
-
*
|
|
21416
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
20727
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21417
20728
|
*
|
|
21418
|
-
*
|
|
20729
|
+
* @returns maximum allowed number of conditions
|
|
20730
|
+
*/
|
|
20731
|
+
getMaxConditions(): int;
|
|
20732
|
+
/**
|
|
20733
|
+
* Returns the `Promise` for content creation.
|
|
21419
20734
|
*
|
|
20735
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21420
20736
|
*
|
|
21421
|
-
* @returns
|
|
20737
|
+
* @returns `Promise` for delegate content
|
|
21422
20738
|
*/
|
|
21423
|
-
|
|
21424
|
-
/**
|
|
21425
|
-
* The function to be called when the event occurs
|
|
21426
|
-
*/
|
|
21427
|
-
fnFunction: (p1: Event) => void,
|
|
21428
|
-
/**
|
|
21429
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Container`
|
|
21430
|
-
* itself
|
|
21431
|
-
*/
|
|
21432
|
-
oListener?: object
|
|
21433
|
-
): this;
|
|
20739
|
+
getRetrieveDelegateContentPromise(): Promise<any>;
|
|
21434
20740
|
/**
|
|
21435
|
-
*
|
|
20741
|
+
* Returns the currently used content.
|
|
21436
20742
|
*
|
|
21437
|
-
*
|
|
21438
|
-
*
|
|
20743
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20744
|
+
*
|
|
20745
|
+
* @returns currently used content
|
|
20746
|
+
*/
|
|
20747
|
+
getSelectedContent(): Content;
|
|
20748
|
+
/**
|
|
20749
|
+
* Gets current value of property {@link #getTitle title}.
|
|
21439
20750
|
*
|
|
21440
|
-
*
|
|
20751
|
+
* Title text that appears in the dialog or tab header.
|
|
21441
20752
|
*
|
|
20753
|
+
* Default value is `empty string`.
|
|
21442
20754
|
*
|
|
21443
|
-
*
|
|
20755
|
+
*
|
|
20756
|
+
* @returns Value of property `title`
|
|
21444
20757
|
*/
|
|
21445
|
-
|
|
21446
|
-
/**
|
|
21447
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21448
|
-
* object when firing the event
|
|
21449
|
-
*/
|
|
21450
|
-
oData: object,
|
|
21451
|
-
/**
|
|
21452
|
-
* The function to be called when the event occurs
|
|
21453
|
-
*/
|
|
21454
|
-
fnFunction: (p1: Container$ConfirmEvent) => void,
|
|
21455
|
-
/**
|
|
21456
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Container`
|
|
21457
|
-
* itself
|
|
21458
|
-
*/
|
|
21459
|
-
oListener?: object
|
|
21460
|
-
): this;
|
|
20758
|
+
getTitle(): string;
|
|
21461
20759
|
/**
|
|
21462
|
-
*
|
|
20760
|
+
* Returns the `UIArea` of the content.
|
|
21463
20761
|
*
|
|
21464
|
-
*
|
|
21465
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
20762
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21466
20763
|
*
|
|
21467
|
-
*
|
|
20764
|
+
* @returns The UI area of the content or `null`
|
|
20765
|
+
*/
|
|
20766
|
+
getUIAreaForContent(): UIArea | null;
|
|
20767
|
+
/**
|
|
20768
|
+
* Handles the `cancelled` event of the content.
|
|
21468
20769
|
*
|
|
20770
|
+
* Here the {@link #event:cancel cancel} event needs to be fired.
|
|
21469
20771
|
*
|
|
21470
|
-
* @
|
|
20772
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21471
20773
|
*/
|
|
21472
|
-
|
|
20774
|
+
handleCanceled(
|
|
21473
20775
|
/**
|
|
21474
|
-
*
|
|
20776
|
+
* event
|
|
21475
20777
|
*/
|
|
21476
|
-
|
|
20778
|
+
oEvent: Event
|
|
20779
|
+
): void;
|
|
20780
|
+
/**
|
|
20781
|
+
* Handles the `closed` event of the container control or element.
|
|
20782
|
+
*
|
|
20783
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20784
|
+
*/
|
|
20785
|
+
handleClosed(
|
|
21477
20786
|
/**
|
|
21478
|
-
*
|
|
21479
|
-
* itself
|
|
20787
|
+
* event
|
|
21480
20788
|
*/
|
|
21481
|
-
|
|
21482
|
-
):
|
|
20789
|
+
oEvent: Event
|
|
20790
|
+
): void;
|
|
21483
20791
|
/**
|
|
21484
|
-
*
|
|
21485
|
-
*
|
|
21486
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21487
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21488
|
-
*
|
|
21489
|
-
* This event is fired if a navigation has been executed in the content of the container.
|
|
20792
|
+
* Handles the `confirmed` event of the content.
|
|
21490
20793
|
*
|
|
20794
|
+
* Here the {@link #event:confirm confirm} event needs to be fired.
|
|
21491
20795
|
*
|
|
21492
|
-
* @
|
|
20796
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21493
20797
|
*/
|
|
21494
|
-
|
|
21495
|
-
/**
|
|
21496
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21497
|
-
* object when firing the event
|
|
21498
|
-
*/
|
|
21499
|
-
oData: object,
|
|
20798
|
+
handleConfirmed(
|
|
21500
20799
|
/**
|
|
21501
|
-
*
|
|
20800
|
+
* event
|
|
21502
20801
|
*/
|
|
21503
|
-
|
|
20802
|
+
oEvent: Event
|
|
20803
|
+
): void;
|
|
20804
|
+
/**
|
|
20805
|
+
* Handles the `navigated` event of the content.
|
|
20806
|
+
*
|
|
20807
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20808
|
+
*/
|
|
20809
|
+
handleNavigated(
|
|
21504
20810
|
/**
|
|
21505
|
-
*
|
|
21506
|
-
* itself
|
|
20811
|
+
* event
|
|
21507
20812
|
*/
|
|
21508
|
-
|
|
21509
|
-
):
|
|
20813
|
+
oEvent: Event
|
|
20814
|
+
): void;
|
|
21510
20815
|
/**
|
|
21511
|
-
*
|
|
21512
|
-
*
|
|
21513
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21514
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21515
|
-
*
|
|
21516
|
-
* This event is fired if a navigation has been executed in the content of the container.
|
|
21517
|
-
*
|
|
20816
|
+
* Handles the `opened` event of the container control or element.
|
|
21518
20817
|
*
|
|
21519
|
-
* @
|
|
20818
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21520
20819
|
*/
|
|
21521
|
-
|
|
20820
|
+
handleOpened(
|
|
21522
20821
|
/**
|
|
21523
|
-
*
|
|
20822
|
+
* event
|
|
21524
20823
|
*/
|
|
21525
|
-
|
|
20824
|
+
oEvent: Event
|
|
20825
|
+
): void;
|
|
20826
|
+
/**
|
|
20827
|
+
* Handles the `requestSwitchToDialog` event of the content.
|
|
20828
|
+
*
|
|
20829
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20830
|
+
*/
|
|
20831
|
+
handleRequestSwitchToDialog(
|
|
21526
20832
|
/**
|
|
21527
|
-
*
|
|
21528
|
-
* itself
|
|
20833
|
+
* event
|
|
21529
20834
|
*/
|
|
21530
|
-
|
|
21531
|
-
):
|
|
20835
|
+
oEvent: Event
|
|
20836
|
+
): void;
|
|
21532
20837
|
/**
|
|
21533
|
-
*
|
|
21534
|
-
*
|
|
21535
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21536
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21537
|
-
*
|
|
21538
|
-
* This event is fired if the value help is opened.
|
|
20838
|
+
* Handles the `select` event of the content.
|
|
21539
20839
|
*
|
|
20840
|
+
* Here the {@link #event:select select} event needs to be fired.
|
|
21540
20841
|
*
|
|
21541
|
-
* @
|
|
20842
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21542
20843
|
*/
|
|
21543
|
-
|
|
21544
|
-
/**
|
|
21545
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21546
|
-
* object when firing the event
|
|
21547
|
-
*/
|
|
21548
|
-
oData: object,
|
|
20844
|
+
handleSelect(
|
|
21549
20845
|
/**
|
|
21550
|
-
*
|
|
20846
|
+
* event
|
|
21551
20847
|
*/
|
|
21552
|
-
|
|
20848
|
+
oEvent: Event
|
|
20849
|
+
): void;
|
|
20850
|
+
/**
|
|
20851
|
+
* Handles the `typeaheadSuggested` event of the content.
|
|
20852
|
+
*
|
|
20853
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20854
|
+
*/
|
|
20855
|
+
handleTypeaheadSuggested(
|
|
21553
20856
|
/**
|
|
21554
|
-
*
|
|
21555
|
-
* itself
|
|
20857
|
+
* event
|
|
21556
20858
|
*/
|
|
21557
|
-
|
|
21558
|
-
):
|
|
20859
|
+
oEvent: Event
|
|
20860
|
+
): void;
|
|
21559
20861
|
/**
|
|
21560
|
-
*
|
|
20862
|
+
* Checks for the provided `sap.ui.mdc.valuehelp.base.Content` in the aggregation {@link #getContent content}.
|
|
20863
|
+
* and returns its index if found or -1 otherwise.
|
|
21561
20864
|
*
|
|
21562
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21563
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21564
20865
|
*
|
|
21565
|
-
*
|
|
20866
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
20867
|
+
*/
|
|
20868
|
+
indexOfContent(
|
|
20869
|
+
/**
|
|
20870
|
+
* The content whose index is looked for
|
|
20871
|
+
*/
|
|
20872
|
+
oContent: Content
|
|
20873
|
+
): int;
|
|
20874
|
+
/**
|
|
20875
|
+
* Inserts a content into the aggregation {@link #getContent content}.
|
|
21566
20876
|
*
|
|
21567
20877
|
*
|
|
21568
20878
|
* @returns Reference to `this` in order to allow method chaining
|
|
21569
20879
|
*/
|
|
21570
|
-
|
|
20880
|
+
insertContent(
|
|
21571
20881
|
/**
|
|
21572
|
-
* The
|
|
20882
|
+
* The content to insert; if empty, nothing is inserted
|
|
21573
20883
|
*/
|
|
21574
|
-
|
|
20884
|
+
oContent: Content,
|
|
21575
20885
|
/**
|
|
21576
|
-
*
|
|
21577
|
-
*
|
|
20886
|
+
* The `0`-based index the content should be inserted at; for a negative value of `iIndex`, the content
|
|
20887
|
+
* is inserted at position 0; for a value greater than the current size of the aggregation, the content
|
|
20888
|
+
* is inserted at the last position
|
|
21578
20889
|
*/
|
|
21579
|
-
|
|
20890
|
+
iIndex: int
|
|
21580
20891
|
): this;
|
|
21581
20892
|
/**
|
|
21582
|
-
*
|
|
21583
|
-
* event of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21584
|
-
*
|
|
21585
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21586
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21587
|
-
*
|
|
21588
|
-
* This event is fired if the container requests the delegate content.
|
|
20893
|
+
* Returns if the value help is used for single selection.
|
|
21589
20894
|
*
|
|
20895
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21590
20896
|
*
|
|
21591
|
-
* @returns
|
|
20897
|
+
* @returns `true` id single selection
|
|
21592
20898
|
*/
|
|
21593
|
-
|
|
21594
|
-
/**
|
|
21595
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21596
|
-
* object when firing the event
|
|
21597
|
-
*/
|
|
21598
|
-
oData: object,
|
|
21599
|
-
/**
|
|
21600
|
-
* The function to be called when the event occurs
|
|
21601
|
-
*/
|
|
21602
|
-
fnFunction: (p1: Container$RequestDelegateContentEvent) => void,
|
|
21603
|
-
/**
|
|
21604
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Container`
|
|
21605
|
-
* itself
|
|
21606
|
-
*/
|
|
21607
|
-
oListener?: object
|
|
21608
|
-
): this;
|
|
20899
|
+
isSingleSelect(): boolean;
|
|
21609
20900
|
/**
|
|
21610
|
-
*
|
|
21611
|
-
* event of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21612
|
-
*
|
|
21613
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21614
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21615
|
-
*
|
|
21616
|
-
* This event is fired if the container requests the delegate content.
|
|
21617
|
-
*
|
|
20901
|
+
* Triggers navigation in the content of the container.
|
|
21618
20902
|
*
|
|
21619
|
-
* @
|
|
20903
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21620
20904
|
*/
|
|
21621
|
-
|
|
21622
|
-
/**
|
|
21623
|
-
* The function to be called when the event occurs
|
|
21624
|
-
*/
|
|
21625
|
-
fnFunction: (p1: Container$RequestDelegateContentEvent) => void,
|
|
20905
|
+
navigateInContent(
|
|
21626
20906
|
/**
|
|
21627
|
-
*
|
|
21628
|
-
* itself
|
|
20907
|
+
* Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
|
|
21629
20908
|
*/
|
|
21630
|
-
|
|
21631
|
-
):
|
|
20909
|
+
iStep: int
|
|
20910
|
+
): void;
|
|
21632
20911
|
/**
|
|
21633
|
-
*
|
|
21634
|
-
* event of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21635
|
-
*
|
|
21636
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21637
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21638
|
-
*
|
|
21639
|
-
* This event is fired if the value help should switch to dialog mode.
|
|
21640
|
-
*
|
|
20912
|
+
* Observes property and aggregation changes.
|
|
21641
20913
|
*
|
|
21642
|
-
* @
|
|
20914
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21643
20915
|
*/
|
|
21644
|
-
|
|
21645
|
-
/**
|
|
21646
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21647
|
-
* object when firing the event
|
|
21648
|
-
*/
|
|
21649
|
-
oData: object,
|
|
21650
|
-
/**
|
|
21651
|
-
* The function to be called when the event occurs
|
|
21652
|
-
*/
|
|
21653
|
-
fnFunction: (p1: Event) => void,
|
|
20916
|
+
observeChanges(
|
|
21654
20917
|
/**
|
|
21655
|
-
*
|
|
21656
|
-
* itself
|
|
20918
|
+
* Change
|
|
21657
20919
|
*/
|
|
21658
|
-
|
|
21659
|
-
):
|
|
20920
|
+
oChanges: object
|
|
20921
|
+
): void;
|
|
21660
20922
|
/**
|
|
21661
|
-
*
|
|
21662
|
-
* event of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21663
|
-
*
|
|
21664
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21665
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21666
|
-
*
|
|
21667
|
-
* This event is fired if the value help should switch to dialog mode.
|
|
21668
|
-
*
|
|
20923
|
+
* Opens the container control or element.
|
|
21669
20924
|
*
|
|
21670
|
-
* @
|
|
20925
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21671
20926
|
*/
|
|
21672
|
-
|
|
20927
|
+
openContainer(
|
|
21673
20928
|
/**
|
|
21674
|
-
*
|
|
20929
|
+
* container
|
|
21675
20930
|
*/
|
|
21676
|
-
|
|
20931
|
+
oContainer: UI5Element,
|
|
21677
20932
|
/**
|
|
21678
|
-
*
|
|
21679
|
-
* itself
|
|
20933
|
+
* if set, container is opened for typeahead
|
|
21680
20934
|
*/
|
|
21681
|
-
|
|
21682
|
-
):
|
|
20935
|
+
bTypeahead: boolean
|
|
20936
|
+
): void;
|
|
21683
20937
|
/**
|
|
21684
|
-
*
|
|
21685
|
-
*
|
|
21686
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21687
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21688
|
-
*
|
|
21689
|
-
* This event is fired if the selected condition has changed.
|
|
20938
|
+
* Places the content into the container control or element.
|
|
21690
20939
|
*
|
|
20940
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21691
20941
|
*
|
|
21692
|
-
* @returns
|
|
20942
|
+
* @returns container
|
|
21693
20943
|
*/
|
|
21694
|
-
|
|
21695
|
-
/**
|
|
21696
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21697
|
-
* object when firing the event
|
|
21698
|
-
*/
|
|
21699
|
-
oData: object,
|
|
21700
|
-
/**
|
|
21701
|
-
* The function to be called when the event occurs
|
|
21702
|
-
*/
|
|
21703
|
-
fnFunction: (p1: Container$SelectEvent) => void,
|
|
20944
|
+
placeContent(
|
|
21704
20945
|
/**
|
|
21705
|
-
*
|
|
21706
|
-
* itself
|
|
20946
|
+
* container
|
|
21707
20947
|
*/
|
|
21708
|
-
|
|
21709
|
-
):
|
|
20948
|
+
oContainer: UI5Element
|
|
20949
|
+
): UI5Element;
|
|
21710
20950
|
/**
|
|
21711
|
-
*
|
|
21712
|
-
*
|
|
21713
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21714
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
20951
|
+
* Removes all the controls from the aggregation {@link #getContent content}.
|
|
21715
20952
|
*
|
|
21716
|
-
*
|
|
20953
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
21717
20954
|
*
|
|
21718
20955
|
*
|
|
21719
|
-
* @returns
|
|
20956
|
+
* @returns An array of the removed elements (might be empty)
|
|
21720
20957
|
*/
|
|
21721
|
-
|
|
21722
|
-
/**
|
|
21723
|
-
* The function to be called when the event occurs
|
|
21724
|
-
*/
|
|
21725
|
-
fnFunction: (p1: Container$SelectEvent) => void,
|
|
21726
|
-
/**
|
|
21727
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Container`
|
|
21728
|
-
* itself
|
|
21729
|
-
*/
|
|
21730
|
-
oListener?: object
|
|
21731
|
-
): this;
|
|
20958
|
+
removeAllContent(): Content[];
|
|
21732
20959
|
/**
|
|
21733
|
-
*
|
|
21734
|
-
* of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21735
|
-
*
|
|
21736
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21737
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
21738
|
-
*
|
|
21739
|
-
* This event is fired after a suggested item has been found for a type-ahead.
|
|
20960
|
+
* Removes a content from the aggregation {@link #getContent content}.
|
|
21740
20961
|
*
|
|
21741
|
-
* @since 1.120.0
|
|
21742
20962
|
*
|
|
21743
|
-
* @returns
|
|
20963
|
+
* @returns The removed content or `null`
|
|
21744
20964
|
*/
|
|
21745
|
-
|
|
21746
|
-
/**
|
|
21747
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21748
|
-
* object when firing the event
|
|
21749
|
-
*/
|
|
21750
|
-
oData: object,
|
|
21751
|
-
/**
|
|
21752
|
-
* The function to be called when the event occurs
|
|
21753
|
-
*/
|
|
21754
|
-
fnFunction: (p1: Container$TypeaheadSuggestedEvent) => void,
|
|
20965
|
+
removeContent(
|
|
21755
20966
|
/**
|
|
21756
|
-
*
|
|
21757
|
-
* itself
|
|
20967
|
+
* The content to remove or its index or id
|
|
21758
20968
|
*/
|
|
21759
|
-
|
|
21760
|
-
):
|
|
20969
|
+
vContent: int | string | Content
|
|
20970
|
+
): Content | null;
|
|
21761
20971
|
/**
|
|
21762
|
-
*
|
|
21763
|
-
* of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
20972
|
+
* Sets a new value for property {@link #getTitle title}.
|
|
21764
20973
|
*
|
|
21765
|
-
*
|
|
21766
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Container` itself.
|
|
20974
|
+
* Title text that appears in the dialog or tab header.
|
|
21767
20975
|
*
|
|
21768
|
-
*
|
|
20976
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
20977
|
+
*
|
|
20978
|
+
* Default value is `empty string`.
|
|
21769
20979
|
*
|
|
21770
|
-
* @since 1.120.0
|
|
21771
20980
|
*
|
|
21772
20981
|
* @returns Reference to `this` in order to allow method chaining
|
|
21773
20982
|
*/
|
|
21774
|
-
|
|
21775
|
-
/**
|
|
21776
|
-
* The function to be called when the event occurs
|
|
21777
|
-
*/
|
|
21778
|
-
fnFunction: (p1: Container$TypeaheadSuggestedEvent) => void,
|
|
20983
|
+
setTitle(
|
|
21779
20984
|
/**
|
|
21780
|
-
*
|
|
21781
|
-
* itself
|
|
20985
|
+
* New value for property `title`
|
|
21782
20986
|
*/
|
|
21783
|
-
|
|
20987
|
+
sTitle?: string
|
|
21784
20988
|
): this;
|
|
21785
20989
|
/**
|
|
21786
|
-
*
|
|
20990
|
+
* Unbinds the content from the container.
|
|
21787
20991
|
*
|
|
21788
20992
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21789
20993
|
*/
|
|
21790
|
-
|
|
20994
|
+
unbindContentFromContainer(
|
|
21791
20995
|
/**
|
|
21792
20996
|
* content
|
|
21793
20997
|
*/
|
|
21794
20998
|
oContent: Content
|
|
21795
20999
|
): void;
|
|
21000
|
+
}
|
|
21001
|
+
/**
|
|
21002
|
+
* Describes the settings that can be provided to the Container constructor.
|
|
21003
|
+
*/
|
|
21004
|
+
export interface $ContainerSettings extends $ElementSettings {
|
|
21796
21005
|
/**
|
|
21797
|
-
*
|
|
21798
|
-
*
|
|
21799
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21006
|
+
* Title text that appears in the dialog or tab header.
|
|
21800
21007
|
*/
|
|
21801
|
-
|
|
21008
|
+
title?: string | PropertyBindingInfo;
|
|
21009
|
+
|
|
21802
21010
|
/**
|
|
21803
|
-
*
|
|
21804
|
-
*
|
|
21805
|
-
*
|
|
21806
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21011
|
+
* Content of the container. This aggregation holds the actual controls enabling the user to select items
|
|
21012
|
+
* or create conditions (for example, tables or condition panels).
|
|
21807
21013
|
*/
|
|
21808
|
-
|
|
21014
|
+
content?: Content[] | Content | AggregationBindingInfo | `{${string}}`;
|
|
21015
|
+
}
|
|
21016
|
+
|
|
21017
|
+
/**
|
|
21018
|
+
* Parameters of the Container#cancel event.
|
|
21019
|
+
*/
|
|
21020
|
+
export interface Container$CancelEventParameters {}
|
|
21021
|
+
|
|
21022
|
+
/**
|
|
21023
|
+
* Event object of the Container#cancel event.
|
|
21024
|
+
*/
|
|
21025
|
+
export type Container$CancelEvent = Event<
|
|
21026
|
+
Container$CancelEventParameters,
|
|
21027
|
+
Container
|
|
21028
|
+
>;
|
|
21029
|
+
|
|
21030
|
+
/**
|
|
21031
|
+
* Parameters of the Container#closed event.
|
|
21032
|
+
*/
|
|
21033
|
+
export interface Container$ClosedEventParameters {}
|
|
21034
|
+
|
|
21035
|
+
/**
|
|
21036
|
+
* Event object of the Container#closed event.
|
|
21037
|
+
*/
|
|
21038
|
+
export type Container$ClosedEvent = Event<
|
|
21039
|
+
Container$ClosedEventParameters,
|
|
21040
|
+
Container
|
|
21041
|
+
>;
|
|
21042
|
+
|
|
21043
|
+
/**
|
|
21044
|
+
* Parameters of the Container#confirm event.
|
|
21045
|
+
*/
|
|
21046
|
+
export interface Container$ConfirmEventParameters {
|
|
21809
21047
|
/**
|
|
21810
|
-
*
|
|
21811
|
-
*
|
|
21812
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21813
|
-
*
|
|
21814
|
-
*
|
|
21815
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21048
|
+
* `true` if the value help needs to be closed
|
|
21816
21049
|
*/
|
|
21817
|
-
|
|
21818
|
-
|
|
21819
|
-
|
|
21820
|
-
|
|
21821
|
-
|
|
21822
|
-
|
|
21823
|
-
|
|
21824
|
-
|
|
21825
|
-
|
|
21826
|
-
|
|
21050
|
+
close?: boolean;
|
|
21051
|
+
}
|
|
21052
|
+
|
|
21053
|
+
/**
|
|
21054
|
+
* Event object of the Container#confirm event.
|
|
21055
|
+
*/
|
|
21056
|
+
export type Container$ConfirmEvent = Event<
|
|
21057
|
+
Container$ConfirmEventParameters,
|
|
21058
|
+
Container
|
|
21059
|
+
>;
|
|
21060
|
+
|
|
21061
|
+
/**
|
|
21062
|
+
* Parameters of the Container#navigated event.
|
|
21063
|
+
*/
|
|
21064
|
+
export interface Container$NavigatedEventParameters {
|
|
21827
21065
|
/**
|
|
21828
|
-
*
|
|
21829
|
-
*
|
|
21830
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21831
|
-
*
|
|
21832
|
-
*
|
|
21833
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21066
|
+
* `true` if the focus should be set back to the field.
|
|
21834
21067
|
*/
|
|
21835
|
-
|
|
21836
|
-
|
|
21837
|
-
* The function to be called, when the event occurs
|
|
21838
|
-
*/
|
|
21839
|
-
fnFunction: (p1: Event) => void,
|
|
21840
|
-
/**
|
|
21841
|
-
* Context object on which the given function had to be called
|
|
21842
|
-
*/
|
|
21843
|
-
oListener?: object
|
|
21844
|
-
): this;
|
|
21068
|
+
leaveFocus?: boolean;
|
|
21069
|
+
|
|
21845
21070
|
/**
|
|
21846
|
-
*
|
|
21847
|
-
*
|
|
21848
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21849
|
-
*
|
|
21850
|
-
*
|
|
21851
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21852
|
-
*/
|
|
21853
|
-
detachConfirm(
|
|
21854
|
-
/**
|
|
21855
|
-
* The function to be called, when the event occurs
|
|
21856
|
-
*/
|
|
21857
|
-
fnFunction: (p1: Container$ConfirmEvent) => void,
|
|
21858
|
-
/**
|
|
21859
|
-
* Context object on which the given function had to be called
|
|
21860
|
-
*/
|
|
21861
|
-
oListener?: object
|
|
21862
|
-
): this;
|
|
21863
|
-
/**
|
|
21864
|
-
* Detaches event handler `fnFunction` from the {@link #event:navigated navigated} event of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21865
|
-
*
|
|
21866
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21867
|
-
*
|
|
21868
|
-
*
|
|
21869
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21870
|
-
*/
|
|
21871
|
-
detachNavigated(
|
|
21872
|
-
/**
|
|
21873
|
-
* The function to be called, when the event occurs
|
|
21874
|
-
*/
|
|
21875
|
-
fnFunction: (p1: Container$NavigatedEvent) => void,
|
|
21876
|
-
/**
|
|
21877
|
-
* Context object on which the given function had to be called
|
|
21878
|
-
*/
|
|
21879
|
-
oListener?: object
|
|
21880
|
-
): this;
|
|
21881
|
-
/**
|
|
21882
|
-
* Detaches event handler `fnFunction` from the {@link #event:opened opened} event of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21883
|
-
*
|
|
21884
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21885
|
-
*
|
|
21886
|
-
*
|
|
21887
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21888
|
-
*/
|
|
21889
|
-
detachOpened(
|
|
21890
|
-
/**
|
|
21891
|
-
* The function to be called, when the event occurs
|
|
21892
|
-
*/
|
|
21893
|
-
fnFunction: (p1: Container$OpenedEvent) => void,
|
|
21894
|
-
/**
|
|
21895
|
-
* Context object on which the given function had to be called
|
|
21896
|
-
*/
|
|
21897
|
-
oListener?: object
|
|
21898
|
-
): this;
|
|
21899
|
-
/**
|
|
21900
|
-
* Detaches event handler `fnFunction` from the {@link #event:requestDelegateContent requestDelegateContent }
|
|
21901
|
-
* event of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21902
|
-
*
|
|
21903
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21904
|
-
*
|
|
21905
|
-
*
|
|
21906
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21907
|
-
*/
|
|
21908
|
-
detachRequestDelegateContent(
|
|
21909
|
-
/**
|
|
21910
|
-
* The function to be called, when the event occurs
|
|
21911
|
-
*/
|
|
21912
|
-
fnFunction: (p1: Container$RequestDelegateContentEvent) => void,
|
|
21913
|
-
/**
|
|
21914
|
-
* Context object on which the given function had to be called
|
|
21915
|
-
*/
|
|
21916
|
-
oListener?: object
|
|
21917
|
-
): this;
|
|
21918
|
-
/**
|
|
21919
|
-
* Detaches event handler `fnFunction` from the {@link #event:requestSwitchToDialog requestSwitchToDialog }
|
|
21920
|
-
* event of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21921
|
-
*
|
|
21922
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21923
|
-
*
|
|
21924
|
-
*
|
|
21925
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21926
|
-
*/
|
|
21927
|
-
detachRequestSwitchToDialog(
|
|
21928
|
-
/**
|
|
21929
|
-
* The function to be called, when the event occurs
|
|
21930
|
-
*/
|
|
21931
|
-
fnFunction: (p1: Event) => void,
|
|
21932
|
-
/**
|
|
21933
|
-
* Context object on which the given function had to be called
|
|
21934
|
-
*/
|
|
21935
|
-
oListener?: object
|
|
21936
|
-
): this;
|
|
21937
|
-
/**
|
|
21938
|
-
* Detaches event handler `fnFunction` from the {@link #event:select select} event of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21939
|
-
*
|
|
21940
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21941
|
-
*
|
|
21942
|
-
*
|
|
21943
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21944
|
-
*/
|
|
21945
|
-
detachSelect(
|
|
21946
|
-
/**
|
|
21947
|
-
* The function to be called, when the event occurs
|
|
21948
|
-
*/
|
|
21949
|
-
fnFunction: (p1: Container$SelectEvent) => void,
|
|
21950
|
-
/**
|
|
21951
|
-
* Context object on which the given function had to be called
|
|
21952
|
-
*/
|
|
21953
|
-
oListener?: object
|
|
21954
|
-
): this;
|
|
21955
|
-
/**
|
|
21956
|
-
* Detaches event handler `fnFunction` from the {@link #event:typeaheadSuggested typeaheadSuggested} event
|
|
21957
|
-
* of this `sap.ui.mdc.valuehelp.base.Container`.
|
|
21958
|
-
*
|
|
21959
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21960
|
-
*
|
|
21961
|
-
* @since 1.120.0
|
|
21962
|
-
*
|
|
21963
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21964
|
-
*/
|
|
21965
|
-
detachTypeaheadSuggested(
|
|
21966
|
-
/**
|
|
21967
|
-
* The function to be called, when the event occurs
|
|
21968
|
-
*/
|
|
21969
|
-
fnFunction: (p1: Container$TypeaheadSuggestedEvent) => void,
|
|
21970
|
-
/**
|
|
21971
|
-
* Context object on which the given function had to be called
|
|
21972
|
-
*/
|
|
21973
|
-
oListener?: object
|
|
21974
|
-
): this;
|
|
21975
|
-
/**
|
|
21976
|
-
* Fires event {@link #event:cancel cancel} to attached listeners.
|
|
21977
|
-
*
|
|
21978
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21979
|
-
*
|
|
21980
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21981
|
-
*/
|
|
21982
|
-
fireCancel(
|
|
21983
|
-
/**
|
|
21984
|
-
* Parameters to pass along with the event
|
|
21985
|
-
*/
|
|
21986
|
-
mParameters?: object
|
|
21987
|
-
): this;
|
|
21988
|
-
/**
|
|
21989
|
-
* Fires event {@link #event:closed closed} to attached listeners.
|
|
21990
|
-
*
|
|
21991
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21992
|
-
*
|
|
21993
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21994
|
-
*/
|
|
21995
|
-
fireClosed(
|
|
21996
|
-
/**
|
|
21997
|
-
* Parameters to pass along with the event
|
|
21998
|
-
*/
|
|
21999
|
-
mParameters?: object
|
|
22000
|
-
): this;
|
|
22001
|
-
/**
|
|
22002
|
-
* Fires event {@link #event:confirm confirm} to attached listeners.
|
|
22003
|
-
*
|
|
22004
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22005
|
-
*
|
|
22006
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22007
|
-
*/
|
|
22008
|
-
fireConfirm(
|
|
22009
|
-
/**
|
|
22010
|
-
* Parameters to pass along with the event
|
|
22011
|
-
*/
|
|
22012
|
-
mParameters?: Container$ConfirmEventParameters
|
|
22013
|
-
): this;
|
|
22014
|
-
/**
|
|
22015
|
-
* Fires event {@link #event:navigated navigated} to attached listeners.
|
|
22016
|
-
*
|
|
22017
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22018
|
-
*
|
|
22019
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22020
|
-
*/
|
|
22021
|
-
fireNavigated(
|
|
22022
|
-
/**
|
|
22023
|
-
* Parameters to pass along with the event
|
|
22024
|
-
*/
|
|
22025
|
-
mParameters?: Container$NavigatedEventParameters
|
|
22026
|
-
): this;
|
|
22027
|
-
/**
|
|
22028
|
-
* Fires event {@link #event:opened opened} to attached listeners.
|
|
22029
|
-
*
|
|
22030
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22031
|
-
*
|
|
22032
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22033
|
-
*/
|
|
22034
|
-
fireOpened(
|
|
22035
|
-
/**
|
|
22036
|
-
* Parameters to pass along with the event
|
|
22037
|
-
*/
|
|
22038
|
-
mParameters?: Container$OpenedEventParameters
|
|
22039
|
-
): this;
|
|
22040
|
-
/**
|
|
22041
|
-
* Fires event {@link #event:requestDelegateContent requestDelegateContent} to attached listeners.
|
|
22042
|
-
*
|
|
22043
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22044
|
-
*
|
|
22045
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22046
|
-
*/
|
|
22047
|
-
fireRequestDelegateContent(
|
|
22048
|
-
/**
|
|
22049
|
-
* Parameters to pass along with the event
|
|
22050
|
-
*/
|
|
22051
|
-
mParameters?: Container$RequestDelegateContentEventParameters
|
|
22052
|
-
): this;
|
|
22053
|
-
/**
|
|
22054
|
-
* Fires event {@link #event:requestSwitchToDialog requestSwitchToDialog} to attached listeners.
|
|
22055
|
-
*
|
|
22056
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22057
|
-
*
|
|
22058
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22059
|
-
*/
|
|
22060
|
-
fireRequestSwitchToDialog(
|
|
22061
|
-
/**
|
|
22062
|
-
* Parameters to pass along with the event
|
|
22063
|
-
*/
|
|
22064
|
-
mParameters?: object
|
|
22065
|
-
): this;
|
|
22066
|
-
/**
|
|
22067
|
-
* Fires event {@link #event:select select} to attached listeners.
|
|
22068
|
-
*
|
|
22069
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22070
|
-
*
|
|
22071
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22072
|
-
*/
|
|
22073
|
-
fireSelect(
|
|
22074
|
-
/**
|
|
22075
|
-
* Parameters to pass along with the event
|
|
22076
|
-
*/
|
|
22077
|
-
mParameters?: Container$SelectEventParameters
|
|
22078
|
-
): this;
|
|
22079
|
-
/**
|
|
22080
|
-
* Fires event {@link #event:typeaheadSuggested typeaheadSuggested} to attached listeners.
|
|
22081
|
-
*
|
|
22082
|
-
* @since 1.120.0
|
|
22083
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22084
|
-
*
|
|
22085
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22086
|
-
*/
|
|
22087
|
-
fireTypeaheadSuggested(
|
|
22088
|
-
/**
|
|
22089
|
-
* Parameters to pass along with the event
|
|
22090
|
-
*/
|
|
22091
|
-
mParameters?: Container$TypeaheadSuggestedEventParameters
|
|
22092
|
-
): this;
|
|
22093
|
-
/**
|
|
22094
|
-
* Gets the configuration for a specific content.
|
|
22095
|
-
*
|
|
22096
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22097
|
-
*
|
|
22098
|
-
* @returns configuration
|
|
22099
|
-
*/
|
|
22100
|
-
getContainerConfig(
|
|
22101
|
-
/**
|
|
22102
|
-
* content
|
|
22103
|
-
*/
|
|
22104
|
-
oContent: Content
|
|
22105
|
-
): object;
|
|
22106
|
-
/**
|
|
22107
|
-
* Returns the container control or element that is opened (for example, a popover or dialog).
|
|
22108
|
-
*
|
|
22109
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22110
|
-
*/
|
|
22111
|
-
getContainerControl(): void;
|
|
22112
|
-
/**
|
|
22113
|
-
* Gets content of aggregation {@link #getContent content}.
|
|
22114
|
-
*
|
|
22115
|
-
* Content of the container. This aggregation holds the actual controls enabling the user to select items
|
|
22116
|
-
* or create conditions (for example, tables or condition panels).
|
|
22117
|
-
*/
|
|
22118
|
-
getContent(): Content[];
|
|
22119
|
-
/**
|
|
22120
|
-
* Returns control connected to value help.
|
|
22121
|
-
*
|
|
22122
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22123
|
-
*
|
|
22124
|
-
* @returns connected control
|
|
22125
|
-
*/
|
|
22126
|
-
getControl(): Control;
|
|
22127
|
-
/**
|
|
22128
|
-
* Gets current value of property {@link #getLocalFilterValue localFilterValue}.
|
|
22129
|
-
*
|
|
22130
|
-
* This property may be used by `FilterableListContents` to share basic search states in collective search
|
|
22131
|
-
* scenarios.
|
|
22132
|
-
*
|
|
22133
|
-
*
|
|
22134
|
-
* @returns Value of property `localFilterValue`
|
|
22135
|
-
*/
|
|
22136
|
-
getLocalFilterValue(): string;
|
|
22137
|
-
/**
|
|
22138
|
-
* Returns the maximum allowed number of conditions, -1 if no limit is set.
|
|
22139
|
-
*
|
|
22140
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22141
|
-
*
|
|
22142
|
-
* @returns maximum allowed number of conditions
|
|
22143
|
-
*/
|
|
22144
|
-
getMaxConditions(): int;
|
|
22145
|
-
/**
|
|
22146
|
-
* Returns the `Promise` for content creation.
|
|
22147
|
-
*
|
|
22148
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22149
|
-
*
|
|
22150
|
-
* @returns `Promise` for delegate content
|
|
22151
|
-
*/
|
|
22152
|
-
getRetrieveDelegateContentPromise(): Promise<any>;
|
|
22153
|
-
/**
|
|
22154
|
-
* Returns the currently used content.
|
|
22155
|
-
*
|
|
22156
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22157
|
-
*
|
|
22158
|
-
* @returns currently used content
|
|
22159
|
-
*/
|
|
22160
|
-
getSelectedContent(): Content;
|
|
22161
|
-
/**
|
|
22162
|
-
* Gets current value of property {@link #getTitle title}.
|
|
22163
|
-
*
|
|
22164
|
-
* Title text that appears in the dialog or tab header.
|
|
22165
|
-
*
|
|
22166
|
-
* Default value is `empty string`.
|
|
22167
|
-
*
|
|
22168
|
-
*
|
|
22169
|
-
* @returns Value of property `title`
|
|
22170
|
-
*/
|
|
22171
|
-
getTitle(): string;
|
|
22172
|
-
/**
|
|
22173
|
-
* Returns the `UIArea` of the content.
|
|
22174
|
-
*
|
|
22175
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22176
|
-
*
|
|
22177
|
-
* @returns The UI area of the content or `null`
|
|
22178
|
-
*/
|
|
22179
|
-
getUIAreaForContent(): UIArea | null;
|
|
22180
|
-
/**
|
|
22181
|
-
* Handles the `cancelled` event of the content.
|
|
22182
|
-
*
|
|
22183
|
-
* Here the {@link #event:cancel cancel} event needs to be fired.
|
|
22184
|
-
*
|
|
22185
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22186
|
-
*/
|
|
22187
|
-
handleCanceled(
|
|
22188
|
-
/**
|
|
22189
|
-
* event
|
|
22190
|
-
*/
|
|
22191
|
-
oEvent: Event
|
|
22192
|
-
): void;
|
|
22193
|
-
/**
|
|
22194
|
-
* Handles the `closed` event of the container control or element.
|
|
22195
|
-
*
|
|
22196
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22197
|
-
*/
|
|
22198
|
-
handleClosed(
|
|
22199
|
-
/**
|
|
22200
|
-
* event
|
|
22201
|
-
*/
|
|
22202
|
-
oEvent: Event
|
|
22203
|
-
): void;
|
|
22204
|
-
/**
|
|
22205
|
-
* Handles the `confirmed` event of the content.
|
|
22206
|
-
*
|
|
22207
|
-
* Here the {@link #event:confirm confirm} event needs to be fired.
|
|
22208
|
-
*
|
|
22209
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22210
|
-
*/
|
|
22211
|
-
handleConfirmed(
|
|
22212
|
-
/**
|
|
22213
|
-
* event
|
|
22214
|
-
*/
|
|
22215
|
-
oEvent: Event
|
|
22216
|
-
): void;
|
|
22217
|
-
/**
|
|
22218
|
-
* Handles the `navigated` event of the content.
|
|
22219
|
-
*
|
|
22220
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22221
|
-
*/
|
|
22222
|
-
handleNavigated(
|
|
22223
|
-
/**
|
|
22224
|
-
* event
|
|
22225
|
-
*/
|
|
22226
|
-
oEvent: Event
|
|
22227
|
-
): void;
|
|
22228
|
-
/**
|
|
22229
|
-
* Handles the `opened` event of the container control or element.
|
|
22230
|
-
*
|
|
22231
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22232
|
-
*/
|
|
22233
|
-
handleOpened(
|
|
22234
|
-
/**
|
|
22235
|
-
* event
|
|
22236
|
-
*/
|
|
22237
|
-
oEvent: Event
|
|
22238
|
-
): void;
|
|
22239
|
-
/**
|
|
22240
|
-
* Handles the `requestSwitchToDialog` event of the content.
|
|
22241
|
-
*
|
|
22242
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22243
|
-
*/
|
|
22244
|
-
handleRequestSwitchToDialog(
|
|
22245
|
-
/**
|
|
22246
|
-
* event
|
|
22247
|
-
*/
|
|
22248
|
-
oEvent: Event
|
|
22249
|
-
): void;
|
|
22250
|
-
/**
|
|
22251
|
-
* Handles the `select` event of the content.
|
|
22252
|
-
*
|
|
22253
|
-
* Here the {@link #event:select select} event needs to be fired.
|
|
22254
|
-
*
|
|
22255
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22256
|
-
*/
|
|
22257
|
-
handleSelect(
|
|
22258
|
-
/**
|
|
22259
|
-
* event
|
|
22260
|
-
*/
|
|
22261
|
-
oEvent: Event
|
|
22262
|
-
): void;
|
|
22263
|
-
/**
|
|
22264
|
-
* Handles the `typeaheadSuggested` event of the content.
|
|
22265
|
-
*
|
|
22266
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22267
|
-
*/
|
|
22268
|
-
handleTypeaheadSuggested(
|
|
22269
|
-
/**
|
|
22270
|
-
* event
|
|
22271
|
-
*/
|
|
22272
|
-
oEvent: Event
|
|
22273
|
-
): void;
|
|
22274
|
-
/**
|
|
22275
|
-
* Checks for the provided `sap.ui.mdc.valuehelp.base.Content` in the aggregation {@link #getContent content}.
|
|
22276
|
-
* and returns its index if found or -1 otherwise.
|
|
22277
|
-
*
|
|
22278
|
-
*
|
|
22279
|
-
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
22280
|
-
*/
|
|
22281
|
-
indexOfContent(
|
|
22282
|
-
/**
|
|
22283
|
-
* The content whose index is looked for
|
|
22284
|
-
*/
|
|
22285
|
-
oContent: Content
|
|
22286
|
-
): int;
|
|
22287
|
-
/**
|
|
22288
|
-
* Inserts a content into the aggregation {@link #getContent content}.
|
|
22289
|
-
*
|
|
22290
|
-
*
|
|
22291
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22292
|
-
*/
|
|
22293
|
-
insertContent(
|
|
22294
|
-
/**
|
|
22295
|
-
* The content to insert; if empty, nothing is inserted
|
|
22296
|
-
*/
|
|
22297
|
-
oContent: Content,
|
|
22298
|
-
/**
|
|
22299
|
-
* The `0`-based index the content should be inserted at; for a negative value of `iIndex`, the content
|
|
22300
|
-
* is inserted at position 0; for a value greater than the current size of the aggregation, the content
|
|
22301
|
-
* is inserted at the last position
|
|
22302
|
-
*/
|
|
22303
|
-
iIndex: int
|
|
22304
|
-
): this;
|
|
22305
|
-
/**
|
|
22306
|
-
* Returns if the value help is used for single selection.
|
|
22307
|
-
*
|
|
22308
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22309
|
-
*
|
|
22310
|
-
* @returns `true` id single selection
|
|
22311
|
-
*/
|
|
22312
|
-
isSingleSelect(): boolean;
|
|
22313
|
-
/**
|
|
22314
|
-
* Triggers navigation in the content of the container.
|
|
22315
|
-
*
|
|
22316
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22317
|
-
*/
|
|
22318
|
-
navigateInContent(
|
|
22319
|
-
/**
|
|
22320
|
-
* Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
|
|
22321
|
-
*/
|
|
22322
|
-
iStep: int
|
|
22323
|
-
): void;
|
|
22324
|
-
/**
|
|
22325
|
-
* Observes property and aggregation changes.
|
|
22326
|
-
*
|
|
22327
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22328
|
-
*/
|
|
22329
|
-
observeChanges(
|
|
22330
|
-
/**
|
|
22331
|
-
* Change
|
|
22332
|
-
*/
|
|
22333
|
-
oChanges: object
|
|
22334
|
-
): void;
|
|
22335
|
-
/**
|
|
22336
|
-
* Opens the container control or element.
|
|
22337
|
-
*
|
|
22338
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22339
|
-
*/
|
|
22340
|
-
openContainer(
|
|
22341
|
-
/**
|
|
22342
|
-
* container
|
|
22343
|
-
*/
|
|
22344
|
-
oContainer: UI5Element,
|
|
22345
|
-
/**
|
|
22346
|
-
* if set, container is opened for typeahead
|
|
22347
|
-
*/
|
|
22348
|
-
bTypeahead: boolean
|
|
22349
|
-
): void;
|
|
22350
|
-
/**
|
|
22351
|
-
* Places the content into the container control or element.
|
|
22352
|
-
*
|
|
22353
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22354
|
-
*
|
|
22355
|
-
* @returns container
|
|
22356
|
-
*/
|
|
22357
|
-
placeContent(
|
|
22358
|
-
/**
|
|
22359
|
-
* container
|
|
22360
|
-
*/
|
|
22361
|
-
oContainer: UI5Element
|
|
22362
|
-
): UI5Element;
|
|
22363
|
-
/**
|
|
22364
|
-
* Removes all the controls from the aggregation {@link #getContent content}.
|
|
22365
|
-
*
|
|
22366
|
-
* Additionally, it unregisters them from the hosting UIArea.
|
|
22367
|
-
*
|
|
22368
|
-
*
|
|
22369
|
-
* @returns An array of the removed elements (might be empty)
|
|
22370
|
-
*/
|
|
22371
|
-
removeAllContent(): Content[];
|
|
22372
|
-
/**
|
|
22373
|
-
* Removes a content from the aggregation {@link #getContent content}.
|
|
22374
|
-
*
|
|
22375
|
-
*
|
|
22376
|
-
* @returns The removed content or `null`
|
|
22377
|
-
*/
|
|
22378
|
-
removeContent(
|
|
22379
|
-
/**
|
|
22380
|
-
* The content to remove or its index or id
|
|
22381
|
-
*/
|
|
22382
|
-
vContent: int | string | Content
|
|
22383
|
-
): Content | null;
|
|
22384
|
-
/**
|
|
22385
|
-
* Sets a new value for property {@link #getLocalFilterValue localFilterValue}.
|
|
22386
|
-
*
|
|
22387
|
-
* This property may be used by `FilterableListContents` to share basic search states in collective search
|
|
22388
|
-
* scenarios.
|
|
22389
|
-
*
|
|
22390
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22391
|
-
*
|
|
22392
|
-
*
|
|
22393
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22394
|
-
*/
|
|
22395
|
-
setLocalFilterValue(
|
|
22396
|
-
/**
|
|
22397
|
-
* New value for property `localFilterValue`
|
|
22398
|
-
*/
|
|
22399
|
-
sLocalFilterValue: string
|
|
22400
|
-
): this;
|
|
22401
|
-
/**
|
|
22402
|
-
* Sets a new value for property {@link #getTitle title}.
|
|
22403
|
-
*
|
|
22404
|
-
* Title text that appears in the dialog or tab header.
|
|
22405
|
-
*
|
|
22406
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22407
|
-
*
|
|
22408
|
-
* Default value is `empty string`.
|
|
22409
|
-
*
|
|
22410
|
-
*
|
|
22411
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22412
|
-
*/
|
|
22413
|
-
setTitle(
|
|
22414
|
-
/**
|
|
22415
|
-
* New value for property `title`
|
|
22416
|
-
*/
|
|
22417
|
-
sTitle?: string
|
|
22418
|
-
): this;
|
|
22419
|
-
/**
|
|
22420
|
-
* Unbinds the content from the container.
|
|
22421
|
-
*
|
|
22422
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22423
|
-
*/
|
|
22424
|
-
unbindContentFromContainer(
|
|
22425
|
-
/**
|
|
22426
|
-
* content
|
|
22427
|
-
*/
|
|
22428
|
-
oContent: Content
|
|
22429
|
-
): void;
|
|
22430
|
-
}
|
|
22431
|
-
/**
|
|
22432
|
-
* Describes the settings that can be provided to the Container constructor.
|
|
22433
|
-
*/
|
|
22434
|
-
export interface $ContainerSettings extends $ElementSettings {
|
|
22435
|
-
/**
|
|
22436
|
-
* Title text that appears in the dialog or tab header.
|
|
22437
|
-
*/
|
|
22438
|
-
title?: string | PropertyBindingInfo;
|
|
22439
|
-
|
|
22440
|
-
/**
|
|
22441
|
-
* This property may be used by `FilterableListContents` to share basic search states in collective search
|
|
22442
|
-
* scenarios.
|
|
22443
|
-
*/
|
|
22444
|
-
localFilterValue?: string | PropertyBindingInfo;
|
|
22445
|
-
|
|
22446
|
-
/**
|
|
22447
|
-
* Content of the container. This aggregation holds the actual controls enabling the user to select items
|
|
22448
|
-
* or create conditions (for example, tables or condition panels).
|
|
22449
|
-
*/
|
|
22450
|
-
content?: Content[] | Content | AggregationBindingInfo | `{${string}}`;
|
|
22451
|
-
|
|
22452
|
-
/**
|
|
22453
|
-
* This event is fired if the selected condition has changed.
|
|
22454
|
-
*/
|
|
22455
|
-
select?: (oEvent: Container$SelectEvent) => void;
|
|
22456
|
-
|
|
22457
|
-
/**
|
|
22458
|
-
* This event is fired if a change of the value help is confirmed.
|
|
22459
|
-
*/
|
|
22460
|
-
confirm?: (oEvent: Container$ConfirmEvent) => void;
|
|
22461
|
-
|
|
22462
|
-
/**
|
|
22463
|
-
* This event is fired if the value help is opened.
|
|
22464
|
-
*/
|
|
22465
|
-
opened?: (oEvent: Container$OpenedEvent) => void;
|
|
22466
|
-
|
|
22467
|
-
/**
|
|
22468
|
-
* This event is fired if the value help is closed.
|
|
22469
|
-
*/
|
|
22470
|
-
closed?: (oEvent: Event) => void;
|
|
22471
|
-
|
|
22472
|
-
/**
|
|
22473
|
-
* This event is fired if the change is cancelled.
|
|
22474
|
-
*/
|
|
22475
|
-
cancel?: (oEvent: Event) => void;
|
|
22476
|
-
|
|
22477
|
-
/**
|
|
22478
|
-
* This event is fired if the container requests the delegate content.
|
|
22479
|
-
*/
|
|
22480
|
-
requestDelegateContent?: (
|
|
22481
|
-
oEvent: Container$RequestDelegateContentEvent
|
|
22482
|
-
) => void;
|
|
22483
|
-
|
|
22484
|
-
/**
|
|
22485
|
-
* This event is fired if the value help should switch to dialog mode.
|
|
22486
|
-
*/
|
|
22487
|
-
requestSwitchToDialog?: (oEvent: Event) => void;
|
|
22488
|
-
|
|
22489
|
-
/**
|
|
22490
|
-
* This event is fired if a navigation has been executed in the content of the container.
|
|
22491
|
-
*/
|
|
22492
|
-
navigated?: (oEvent: Container$NavigatedEvent) => void;
|
|
22493
|
-
|
|
22494
|
-
/**
|
|
22495
|
-
* This event is fired after a suggested item has been found for a type-ahead.
|
|
22496
|
-
*
|
|
22497
|
-
* @since 1.120.0
|
|
22498
|
-
*/
|
|
22499
|
-
typeaheadSuggested?: (oEvent: Container$TypeaheadSuggestedEvent) => void;
|
|
22500
|
-
}
|
|
22501
|
-
|
|
22502
|
-
/**
|
|
22503
|
-
* Parameters of the Container#cancel event.
|
|
22504
|
-
*/
|
|
22505
|
-
export interface Container$CancelEventParameters {}
|
|
22506
|
-
|
|
22507
|
-
/**
|
|
22508
|
-
* Event object of the Container#cancel event.
|
|
22509
|
-
*/
|
|
22510
|
-
export type Container$CancelEvent = Event<
|
|
22511
|
-
Container$CancelEventParameters,
|
|
22512
|
-
Container
|
|
22513
|
-
>;
|
|
22514
|
-
|
|
22515
|
-
/**
|
|
22516
|
-
* Parameters of the Container#closed event.
|
|
22517
|
-
*/
|
|
22518
|
-
export interface Container$ClosedEventParameters {}
|
|
22519
|
-
|
|
22520
|
-
/**
|
|
22521
|
-
* Event object of the Container#closed event.
|
|
22522
|
-
*/
|
|
22523
|
-
export type Container$ClosedEvent = Event<
|
|
22524
|
-
Container$ClosedEventParameters,
|
|
22525
|
-
Container
|
|
22526
|
-
>;
|
|
22527
|
-
|
|
22528
|
-
/**
|
|
22529
|
-
* Parameters of the Container#confirm event.
|
|
22530
|
-
*/
|
|
22531
|
-
export interface Container$ConfirmEventParameters {
|
|
22532
|
-
/**
|
|
22533
|
-
* `true` if the value help needs to be closed
|
|
22534
|
-
*/
|
|
22535
|
-
close?: boolean;
|
|
22536
|
-
}
|
|
22537
|
-
|
|
22538
|
-
/**
|
|
22539
|
-
* Event object of the Container#confirm event.
|
|
22540
|
-
*/
|
|
22541
|
-
export type Container$ConfirmEvent = Event<
|
|
22542
|
-
Container$ConfirmEventParameters,
|
|
22543
|
-
Container
|
|
22544
|
-
>;
|
|
22545
|
-
|
|
22546
|
-
/**
|
|
22547
|
-
* Parameters of the Container#navigated event.
|
|
22548
|
-
*/
|
|
22549
|
-
export interface Container$NavigatedEventParameters {
|
|
22550
|
-
/**
|
|
22551
|
-
* `true` if the focus should be set back to the field.
|
|
22552
|
-
*/
|
|
22553
|
-
leaveFocus?: boolean;
|
|
22554
|
-
|
|
22555
|
-
/**
|
|
22556
|
-
* Navigated condition.
|
|
22557
|
-
*
|
|
22558
|
-
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
22559
|
-
*/
|
|
22560
|
-
condition?: object;
|
|
22561
|
-
|
|
22562
|
-
/**
|
|
22563
|
-
* ID of the navigated item. (This is needed to set the corresponding aria-attribute)
|
|
22564
|
-
*/
|
|
22565
|
-
itemId?: string;
|
|
22566
|
-
}
|
|
22567
|
-
|
|
22568
|
-
/**
|
|
22569
|
-
* Event object of the Container#navigated event.
|
|
22570
|
-
*/
|
|
22571
|
-
export type Container$NavigatedEvent = Event<
|
|
22572
|
-
Container$NavigatedEventParameters,
|
|
22573
|
-
Container
|
|
22574
|
-
>;
|
|
22575
|
-
|
|
22576
|
-
/**
|
|
22577
|
-
* Parameters of the Container#opened event.
|
|
22578
|
-
*/
|
|
22579
|
-
export interface Container$OpenedEventParameters {
|
|
22580
|
-
/**
|
|
22581
|
-
* ID of the initially selected item
|
|
22582
|
-
*/
|
|
22583
|
-
itemId?: string;
|
|
22584
|
-
}
|
|
22585
|
-
|
|
22586
|
-
/**
|
|
22587
|
-
* Event object of the Container#opened event.
|
|
22588
|
-
*/
|
|
22589
|
-
export type Container$OpenedEvent = Event<
|
|
22590
|
-
Container$OpenedEventParameters,
|
|
22591
|
-
Container
|
|
22592
|
-
>;
|
|
22593
|
-
|
|
22594
|
-
/**
|
|
22595
|
-
* Parameters of the Container#requestDelegateContent event.
|
|
22596
|
-
*/
|
|
22597
|
-
export interface Container$RequestDelegateContentEventParameters {
|
|
22598
|
-
/**
|
|
22599
|
-
* Content wrapper ID for which contents are requested
|
|
22600
|
-
*/
|
|
22601
|
-
contentId?: string;
|
|
22602
|
-
}
|
|
22603
|
-
|
|
22604
|
-
/**
|
|
22605
|
-
* Event object of the Container#requestDelegateContent event.
|
|
22606
|
-
*/
|
|
22607
|
-
export type Container$RequestDelegateContentEvent = Event<
|
|
22608
|
-
Container$RequestDelegateContentEventParameters,
|
|
22609
|
-
Container
|
|
22610
|
-
>;
|
|
22611
|
-
|
|
22612
|
-
/**
|
|
22613
|
-
* Parameters of the Container#requestSwitchToDialog event.
|
|
22614
|
-
*/
|
|
22615
|
-
export interface Container$RequestSwitchToDialogEventParameters {}
|
|
22616
|
-
|
|
22617
|
-
/**
|
|
22618
|
-
* Event object of the Container#requestSwitchToDialog event.
|
|
22619
|
-
*/
|
|
22620
|
-
export type Container$RequestSwitchToDialogEvent = Event<
|
|
22621
|
-
Container$RequestSwitchToDialogEventParameters,
|
|
22622
|
-
Container
|
|
22623
|
-
>;
|
|
22624
|
-
|
|
22625
|
-
/**
|
|
22626
|
-
* Parameters of the Container#select event.
|
|
22627
|
-
*/
|
|
22628
|
-
export interface Container$SelectEventParameters {
|
|
22629
|
-
/**
|
|
22630
|
-
* Type of the selection change (add, remove)
|
|
22631
|
-
*/
|
|
22632
|
-
type?: /* was: sap.ui.mdc.enums.ValueHelpSelectionType */ any;
|
|
22633
|
-
|
|
22634
|
-
/**
|
|
22635
|
-
* Changed conditions
|
|
22636
|
-
*
|
|
22637
|
-
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
22638
|
-
*/
|
|
22639
|
-
conditions?: object[];
|
|
22640
|
-
}
|
|
22641
|
-
|
|
22642
|
-
/**
|
|
22643
|
-
* Event object of the Container#select event.
|
|
22644
|
-
*/
|
|
22645
|
-
export type Container$SelectEvent = Event<
|
|
22646
|
-
Container$SelectEventParameters,
|
|
22647
|
-
Container
|
|
22648
|
-
>;
|
|
22649
|
-
|
|
22650
|
-
/**
|
|
22651
|
-
* Parameters of the Container#typeaheadSuggested event.
|
|
22652
|
-
*/
|
|
22653
|
-
export interface Container$TypeaheadSuggestedEventParameters {
|
|
22654
|
-
/**
|
|
22655
|
-
* Suggested condition
|
|
22656
|
-
*
|
|
22657
|
-
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
22658
|
-
*/
|
|
22659
|
-
condition?: object;
|
|
22660
|
-
|
|
22661
|
-
/**
|
|
22662
|
-
* Used filter value (as the event might fire asynchronously, and the current user input might have changed.)
|
|
22663
|
-
*/
|
|
22664
|
-
filterValue?: string;
|
|
22665
|
-
|
|
22666
|
-
/**
|
|
22667
|
-
* ID of the suggested item (This is needed to set the corresponding ARIA attribute)
|
|
22668
|
-
*/
|
|
22669
|
-
itemId?: string;
|
|
22670
|
-
|
|
22671
|
-
/**
|
|
22672
|
-
* If `true` the filtering was executed case sensitive
|
|
22673
|
-
*/
|
|
22674
|
-
caseSensitive?: boolean;
|
|
22675
|
-
}
|
|
22676
|
-
|
|
22677
|
-
/**
|
|
22678
|
-
* Event object of the Container#typeaheadSuggested event.
|
|
22679
|
-
*/
|
|
22680
|
-
export type Container$TypeaheadSuggestedEvent = Event<
|
|
22681
|
-
Container$TypeaheadSuggestedEventParameters,
|
|
22682
|
-
Container
|
|
22683
|
-
>;
|
|
22684
|
-
}
|
|
22685
|
-
|
|
22686
|
-
declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
22687
|
-
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
22688
|
-
|
|
22689
|
-
import Event from "sap/ui/base/Event";
|
|
22690
|
-
|
|
22691
|
-
import { ConditionObject } from "sap/ui/mdc/condition/Condition";
|
|
22692
|
-
|
|
22693
|
-
import Control from "sap/ui/core/Control";
|
|
22694
|
-
|
|
22695
|
-
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
22696
|
-
|
|
22697
|
-
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
22698
|
-
|
|
22699
|
-
import ValueHelp from "sap/ui/mdc/ValueHelp";
|
|
22700
|
-
|
|
22701
|
-
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
22702
|
-
|
|
22703
|
-
/**
|
|
22704
|
-
* Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
22705
|
-
*
|
|
22706
|
-
* @since 1.95.0
|
|
22707
|
-
*/
|
|
22708
|
-
export default abstract class Content extends UI5Element {
|
|
22709
|
-
/**
|
|
22710
|
-
* Constructor for a new `Content`.
|
|
22711
|
-
*
|
|
22712
|
-
* This is the basis for various types of value help content. It cannot be used directly.
|
|
22713
|
-
*
|
|
22714
|
-
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
22715
|
-
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
22716
|
-
* of the syntax of the settings object.
|
|
22717
|
-
*/
|
|
22718
|
-
constructor(
|
|
22719
|
-
/**
|
|
22720
|
-
* Initial settings for the new element
|
|
22721
|
-
*/
|
|
22722
|
-
mSettings?: $ContentSettings
|
|
22723
|
-
);
|
|
22724
|
-
/**
|
|
22725
|
-
* Constructor for a new `Content`.
|
|
22726
|
-
*
|
|
22727
|
-
* This is the basis for various types of value help content. It cannot be used directly.
|
|
22728
|
-
*
|
|
22729
|
-
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
22730
|
-
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
22731
|
-
* of the syntax of the settings object.
|
|
22732
|
-
*/
|
|
22733
|
-
constructor(
|
|
22734
|
-
/**
|
|
22735
|
-
* ID for the new element, generated automatically if no ID is given
|
|
22736
|
-
*/
|
|
22737
|
-
sId?: string,
|
|
22738
|
-
/**
|
|
22739
|
-
* Initial settings for the new element
|
|
22740
|
-
*/
|
|
22741
|
-
mSettings?: $ContentSettings
|
|
22742
|
-
);
|
|
22743
|
-
|
|
22744
|
-
/**
|
|
22745
|
-
* Creates a new subclass of class sap.ui.mdc.valuehelp.base.Content with name `sClassName` and enriches
|
|
22746
|
-
* it with the information contained in `oClassInfo`.
|
|
22747
|
-
*
|
|
22748
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
22749
|
-
*
|
|
22750
|
-
*
|
|
22751
|
-
* @returns Created class / constructor function
|
|
22752
|
-
*/
|
|
22753
|
-
static extend<T extends Record<string, unknown>>(
|
|
22754
|
-
/**
|
|
22755
|
-
* Name of the class being created
|
|
22756
|
-
*/
|
|
22757
|
-
sClassName: string,
|
|
22758
|
-
/**
|
|
22759
|
-
* Object literal with information about the class
|
|
22760
|
-
*/
|
|
22761
|
-
oClassInfo?: sap.ClassInfo<T, Content>,
|
|
22762
|
-
/**
|
|
22763
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
22764
|
-
* used by this class
|
|
22765
|
-
*/
|
|
22766
|
-
FNMetaImpl?: Function
|
|
22767
|
-
): Function;
|
|
22768
|
-
/**
|
|
22769
|
-
* Returns a metadata object for class sap.ui.mdc.valuehelp.base.Content.
|
|
22770
|
-
*
|
|
22771
|
-
*
|
|
22772
|
-
* @returns Metadata object describing this class
|
|
22773
|
-
*/
|
|
22774
|
-
static getMetadata(): ElementMetadata;
|
|
22775
|
-
/**
|
|
22776
|
-
* Attaches event handler `fnFunction` to the {@link #event:cancel cancel} event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
22777
|
-
*
|
|
22778
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22779
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22780
|
-
*
|
|
22781
|
-
* This event is fired if the change is cancelled.
|
|
22782
|
-
*
|
|
22783
|
-
*
|
|
22784
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22785
|
-
*/
|
|
22786
|
-
attachCancel(
|
|
22787
|
-
/**
|
|
22788
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
22789
|
-
* object when firing the event
|
|
22790
|
-
*/
|
|
22791
|
-
oData: object,
|
|
22792
|
-
/**
|
|
22793
|
-
* The function to be called when the event occurs
|
|
22794
|
-
*/
|
|
22795
|
-
fnFunction: (p1: Event) => void,
|
|
22796
|
-
/**
|
|
22797
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Content` itself
|
|
22798
|
-
*/
|
|
22799
|
-
oListener?: object
|
|
22800
|
-
): this;
|
|
22801
|
-
/**
|
|
22802
|
-
* Attaches event handler `fnFunction` to the {@link #event:cancel cancel} event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
22803
|
-
*
|
|
22804
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22805
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22806
|
-
*
|
|
22807
|
-
* This event is fired if the change is cancelled.
|
|
22808
|
-
*
|
|
22809
|
-
*
|
|
22810
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22811
|
-
*/
|
|
22812
|
-
attachCancel(
|
|
22813
|
-
/**
|
|
22814
|
-
* The function to be called when the event occurs
|
|
22815
|
-
*/
|
|
22816
|
-
fnFunction: (p1: Event) => void,
|
|
22817
|
-
/**
|
|
22818
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Content` itself
|
|
22819
|
-
*/
|
|
22820
|
-
oListener?: object
|
|
22821
|
-
): this;
|
|
22822
|
-
/**
|
|
22823
|
-
* Attaches event handler `fnFunction` to the {@link #event:confirm confirm} event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
22824
|
-
*
|
|
22825
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22826
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22827
|
-
*
|
|
22828
|
-
* This event is fired if a change of the content is confirmed.
|
|
22829
|
-
*
|
|
22830
|
-
*
|
|
22831
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22832
|
-
*/
|
|
22833
|
-
attachConfirm(
|
|
22834
|
-
/**
|
|
22835
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
22836
|
-
* object when firing the event
|
|
22837
|
-
*/
|
|
22838
|
-
oData: object,
|
|
22839
|
-
/**
|
|
22840
|
-
* The function to be called when the event occurs
|
|
22841
|
-
*/
|
|
22842
|
-
fnFunction: (p1: Content$ConfirmEvent) => void,
|
|
22843
|
-
/**
|
|
22844
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Content` itself
|
|
22845
|
-
*/
|
|
22846
|
-
oListener?: object
|
|
22847
|
-
): this;
|
|
22848
|
-
/**
|
|
22849
|
-
* Attaches event handler `fnFunction` to the {@link #event:confirm confirm} event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
22850
|
-
*
|
|
22851
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22852
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22853
|
-
*
|
|
22854
|
-
* This event is fired if a change of the content is confirmed.
|
|
22855
|
-
*
|
|
22856
|
-
*
|
|
22857
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22858
|
-
*/
|
|
22859
|
-
attachConfirm(
|
|
22860
|
-
/**
|
|
22861
|
-
* The function to be called when the event occurs
|
|
22862
|
-
*/
|
|
22863
|
-
fnFunction: (p1: Content$ConfirmEvent) => void,
|
|
22864
|
-
/**
|
|
22865
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Content` itself
|
|
22866
|
-
*/
|
|
22867
|
-
oListener?: object
|
|
22868
|
-
): this;
|
|
22869
|
-
/**
|
|
22870
|
-
* Attaches event handler `fnFunction` to the {@link #event:navigated navigated} event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
22871
|
-
*
|
|
22872
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22873
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22874
|
-
*
|
|
22875
|
-
* This event is fired if a navigation has been executed in the content.
|
|
22876
|
-
*
|
|
22877
|
-
*
|
|
22878
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22879
|
-
*/
|
|
22880
|
-
attachNavigated(
|
|
22881
|
-
/**
|
|
22882
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
22883
|
-
* object when firing the event
|
|
22884
|
-
*/
|
|
22885
|
-
oData: object,
|
|
22886
|
-
/**
|
|
22887
|
-
* The function to be called when the event occurs
|
|
22888
|
-
*/
|
|
22889
|
-
fnFunction: (p1: Content$NavigatedEvent) => void,
|
|
22890
|
-
/**
|
|
22891
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Content` itself
|
|
22892
|
-
*/
|
|
22893
|
-
oListener?: object
|
|
22894
|
-
): this;
|
|
22895
|
-
/**
|
|
22896
|
-
* Attaches event handler `fnFunction` to the {@link #event:navigated navigated} event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
22897
|
-
*
|
|
22898
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22899
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22900
|
-
*
|
|
22901
|
-
* This event is fired if a navigation has been executed in the content.
|
|
22902
|
-
*
|
|
22903
|
-
*
|
|
22904
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22905
|
-
*/
|
|
22906
|
-
attachNavigated(
|
|
22907
|
-
/**
|
|
22908
|
-
* The function to be called when the event occurs
|
|
22909
|
-
*/
|
|
22910
|
-
fnFunction: (p1: Content$NavigatedEvent) => void,
|
|
22911
|
-
/**
|
|
22912
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Content` itself
|
|
22913
|
-
*/
|
|
22914
|
-
oListener?: object
|
|
22915
|
-
): this;
|
|
22916
|
-
/**
|
|
22917
|
-
* Attaches event handler `fnFunction` to the {@link #event:requestSwitchToDialog requestSwitchToDialog }
|
|
22918
|
-
* event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
22919
|
-
*
|
|
22920
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22921
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22922
|
-
*
|
|
22923
|
-
* This event is fired if the value help should switch to dialog mode.
|
|
22924
|
-
*
|
|
22925
|
-
*
|
|
22926
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22927
|
-
*/
|
|
22928
|
-
attachRequestSwitchToDialog(
|
|
22929
|
-
/**
|
|
22930
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
22931
|
-
* object when firing the event
|
|
22932
|
-
*/
|
|
22933
|
-
oData: object,
|
|
22934
|
-
/**
|
|
22935
|
-
* The function to be called when the event occurs
|
|
22936
|
-
*/
|
|
22937
|
-
fnFunction: (p1: Event) => void,
|
|
22938
|
-
/**
|
|
22939
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Content` itself
|
|
22940
|
-
*/
|
|
22941
|
-
oListener?: object
|
|
22942
|
-
): this;
|
|
22943
|
-
/**
|
|
22944
|
-
* Attaches event handler `fnFunction` to the {@link #event:requestSwitchToDialog requestSwitchToDialog }
|
|
22945
|
-
* event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
22946
|
-
*
|
|
22947
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22948
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22949
|
-
*
|
|
22950
|
-
* This event is fired if the value help should switch to dialog mode.
|
|
22951
|
-
*
|
|
22952
|
-
*
|
|
22953
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
22954
|
-
*/
|
|
22955
|
-
attachRequestSwitchToDialog(
|
|
22956
|
-
/**
|
|
22957
|
-
* The function to be called when the event occurs
|
|
22958
|
-
*/
|
|
22959
|
-
fnFunction: (p1: Event) => void,
|
|
22960
|
-
/**
|
|
22961
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Content` itself
|
|
22962
|
-
*/
|
|
22963
|
-
oListener?: object
|
|
22964
|
-
): this;
|
|
22965
|
-
/**
|
|
22966
|
-
* Attaches event handler `fnFunction` to the {@link #event:select select} event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
22967
|
-
*
|
|
22968
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22969
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22970
|
-
*
|
|
22971
|
-
* This event is fired if the selected condition has changed.
|
|
22972
|
-
*
|
|
21071
|
+
* Navigated condition.
|
|
22973
21072
|
*
|
|
22974
|
-
*
|
|
21073
|
+
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
22975
21074
|
*/
|
|
22976
|
-
|
|
22977
|
-
|
|
22978
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
22979
|
-
* object when firing the event
|
|
22980
|
-
*/
|
|
22981
|
-
oData: object,
|
|
22982
|
-
/**
|
|
22983
|
-
* The function to be called when the event occurs
|
|
22984
|
-
*/
|
|
22985
|
-
fnFunction: (p1: Content$SelectEvent) => void,
|
|
22986
|
-
/**
|
|
22987
|
-
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.valuehelp.base.Content` itself
|
|
22988
|
-
*/
|
|
22989
|
-
oListener?: object
|
|
22990
|
-
): this;
|
|
21075
|
+
condition?: object;
|
|
21076
|
+
|
|
22991
21077
|
/**
|
|
22992
|
-
*
|
|
22993
|
-
*
|
|
22994
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
22995
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
22996
|
-
*
|
|
22997
|
-
* This event is fired if the selected condition has changed.
|
|
22998
|
-
*
|
|
22999
|
-
*
|
|
23000
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21078
|
+
* ID of the navigated item. (This is needed to set the corresponding aria-attribute)
|
|
23001
21079
|
*/
|
|
23002
|
-
|
|
23003
|
-
|
|
23004
|
-
|
|
23005
|
-
|
|
23006
|
-
|
|
23007
|
-
|
|
23008
|
-
|
|
23009
|
-
|
|
23010
|
-
|
|
23011
|
-
|
|
21080
|
+
itemId?: string;
|
|
21081
|
+
}
|
|
21082
|
+
|
|
21083
|
+
/**
|
|
21084
|
+
* Event object of the Container#navigated event.
|
|
21085
|
+
*/
|
|
21086
|
+
export type Container$NavigatedEvent = Event<
|
|
21087
|
+
Container$NavigatedEventParameters,
|
|
21088
|
+
Container
|
|
21089
|
+
>;
|
|
21090
|
+
|
|
21091
|
+
/**
|
|
21092
|
+
* Parameters of the Container#opened event.
|
|
21093
|
+
*/
|
|
21094
|
+
export interface Container$OpenedEventParameters {
|
|
23012
21095
|
/**
|
|
23013
|
-
*
|
|
23014
|
-
* of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
23015
|
-
*
|
|
23016
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
23017
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
23018
|
-
*
|
|
23019
|
-
* This event is fired after a suggested item has been found for a type-ahead.
|
|
23020
|
-
*
|
|
23021
|
-
* @since 1.120.0
|
|
23022
|
-
*
|
|
23023
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21096
|
+
* ID of the initially selected item
|
|
23024
21097
|
*/
|
|
23025
|
-
|
|
23026
|
-
|
|
23027
|
-
|
|
23028
|
-
|
|
23029
|
-
|
|
23030
|
-
|
|
23031
|
-
|
|
23032
|
-
|
|
23033
|
-
|
|
23034
|
-
|
|
23035
|
-
|
|
23036
|
-
|
|
23037
|
-
|
|
23038
|
-
|
|
23039
|
-
|
|
21098
|
+
itemId?: string;
|
|
21099
|
+
}
|
|
21100
|
+
|
|
21101
|
+
/**
|
|
21102
|
+
* Event object of the Container#opened event.
|
|
21103
|
+
*/
|
|
21104
|
+
export type Container$OpenedEvent = Event<
|
|
21105
|
+
Container$OpenedEventParameters,
|
|
21106
|
+
Container
|
|
21107
|
+
>;
|
|
21108
|
+
|
|
21109
|
+
/**
|
|
21110
|
+
* Parameters of the Container#requestDelegateContent event.
|
|
21111
|
+
*/
|
|
21112
|
+
export interface Container$RequestDelegateContentEventParameters {
|
|
23040
21113
|
/**
|
|
23041
|
-
*
|
|
23042
|
-
* of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
23043
|
-
*
|
|
23044
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
23045
|
-
* otherwise it will be bound to this `sap.ui.mdc.valuehelp.base.Content` itself.
|
|
23046
|
-
*
|
|
23047
|
-
* This event is fired after a suggested item has been found for a type-ahead.
|
|
23048
|
-
*
|
|
23049
|
-
* @since 1.120.0
|
|
23050
|
-
*
|
|
23051
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21114
|
+
* Content wrapper ID for which contents are requested
|
|
23052
21115
|
*/
|
|
23053
|
-
|
|
23054
|
-
|
|
23055
|
-
|
|
23056
|
-
|
|
23057
|
-
|
|
23058
|
-
|
|
23059
|
-
|
|
23060
|
-
|
|
23061
|
-
|
|
23062
|
-
|
|
21116
|
+
contentId?: string;
|
|
21117
|
+
}
|
|
21118
|
+
|
|
21119
|
+
/**
|
|
21120
|
+
* Event object of the Container#requestDelegateContent event.
|
|
21121
|
+
*/
|
|
21122
|
+
export type Container$RequestDelegateContentEvent = Event<
|
|
21123
|
+
Container$RequestDelegateContentEventParameters,
|
|
21124
|
+
Container
|
|
21125
|
+
>;
|
|
21126
|
+
|
|
21127
|
+
/**
|
|
21128
|
+
* Parameters of the Container#requestSwitchToDialog event.
|
|
21129
|
+
*/
|
|
21130
|
+
export interface Container$RequestSwitchToDialogEventParameters {}
|
|
21131
|
+
|
|
21132
|
+
/**
|
|
21133
|
+
* Event object of the Container#requestSwitchToDialog event.
|
|
21134
|
+
*/
|
|
21135
|
+
export type Container$RequestSwitchToDialogEvent = Event<
|
|
21136
|
+
Container$RequestSwitchToDialogEventParameters,
|
|
21137
|
+
Container
|
|
21138
|
+
>;
|
|
21139
|
+
|
|
21140
|
+
/**
|
|
21141
|
+
* Parameters of the Container#select event.
|
|
21142
|
+
*/
|
|
21143
|
+
export interface Container$SelectEventParameters {
|
|
23063
21144
|
/**
|
|
23064
|
-
*
|
|
23065
|
-
*
|
|
23066
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23067
|
-
*
|
|
23068
|
-
* @returns `Promise` reflecting the delegate initialization
|
|
21145
|
+
* Type of the selection change (add, remove)
|
|
23069
21146
|
*/
|
|
23070
|
-
|
|
21147
|
+
type?: /* was: sap.ui.mdc.enums.ValueHelpSelectionType */ any;
|
|
21148
|
+
|
|
23071
21149
|
/**
|
|
23072
|
-
*
|
|
23073
|
-
*
|
|
23074
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21150
|
+
* Changed conditions
|
|
23075
21151
|
*
|
|
23076
|
-
*
|
|
23077
|
-
* `aValues`
|
|
21152
|
+
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
23078
21153
|
*/
|
|
23079
|
-
|
|
23080
|
-
|
|
23081
|
-
|
|
23082
|
-
|
|
23083
|
-
|
|
23084
|
-
|
|
23085
|
-
|
|
23086
|
-
|
|
23087
|
-
|
|
23088
|
-
|
|
23089
|
-
|
|
23090
|
-
|
|
23091
|
-
|
|
23092
|
-
|
|
21154
|
+
conditions?: object[];
|
|
21155
|
+
}
|
|
21156
|
+
|
|
21157
|
+
/**
|
|
21158
|
+
* Event object of the Container#select event.
|
|
21159
|
+
*/
|
|
21160
|
+
export type Container$SelectEvent = Event<
|
|
21161
|
+
Container$SelectEventParameters,
|
|
21162
|
+
Container
|
|
21163
|
+
>;
|
|
21164
|
+
|
|
21165
|
+
/**
|
|
21166
|
+
* Parameters of the Container#typeaheadSuggested event.
|
|
21167
|
+
*/
|
|
21168
|
+
export interface Container$TypeaheadSuggestedEventParameters {
|
|
23093
21169
|
/**
|
|
23094
|
-
*
|
|
23095
|
-
*
|
|
21170
|
+
* Suggested condition
|
|
23096
21171
|
*
|
|
23097
|
-
*
|
|
21172
|
+
* **Note:** A condition must have the structure of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
23098
21173
|
*/
|
|
23099
|
-
|
|
21174
|
+
condition?: object;
|
|
21175
|
+
|
|
23100
21176
|
/**
|
|
23101
|
-
*
|
|
23102
|
-
*
|
|
23103
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
23104
|
-
*
|
|
23105
|
-
*
|
|
23106
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21177
|
+
* Used filter value (as the event might fire asynchronously, and the current user input might have changed.)
|
|
23107
21178
|
*/
|
|
23108
|
-
|
|
23109
|
-
|
|
23110
|
-
* The function to be called, when the event occurs
|
|
23111
|
-
*/
|
|
23112
|
-
fnFunction: (p1: Event) => void,
|
|
23113
|
-
/**
|
|
23114
|
-
* Context object on which the given function had to be called
|
|
23115
|
-
*/
|
|
23116
|
-
oListener?: object
|
|
23117
|
-
): this;
|
|
21179
|
+
filterValue?: string;
|
|
21180
|
+
|
|
23118
21181
|
/**
|
|
23119
|
-
*
|
|
23120
|
-
*
|
|
23121
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
23122
|
-
*
|
|
23123
|
-
*
|
|
23124
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21182
|
+
* ID of the suggested item (This is needed to set the corresponding ARIA attribute)
|
|
23125
21183
|
*/
|
|
23126
|
-
|
|
23127
|
-
|
|
23128
|
-
* The function to be called, when the event occurs
|
|
23129
|
-
*/
|
|
23130
|
-
fnFunction: (p1: Content$ConfirmEvent) => void,
|
|
23131
|
-
/**
|
|
23132
|
-
* Context object on which the given function had to be called
|
|
23133
|
-
*/
|
|
23134
|
-
oListener?: object
|
|
23135
|
-
): this;
|
|
21184
|
+
itemId?: string;
|
|
21185
|
+
|
|
23136
21186
|
/**
|
|
23137
|
-
*
|
|
23138
|
-
*
|
|
23139
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
23140
|
-
*
|
|
23141
|
-
*
|
|
23142
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
21187
|
+
* If `true` the filtering was executed case sensitive
|
|
23143
21188
|
*/
|
|
23144
|
-
|
|
23145
|
-
|
|
23146
|
-
|
|
23147
|
-
|
|
23148
|
-
|
|
23149
|
-
|
|
23150
|
-
|
|
23151
|
-
|
|
23152
|
-
|
|
23153
|
-
|
|
21189
|
+
caseSensitive?: boolean;
|
|
21190
|
+
}
|
|
21191
|
+
|
|
21192
|
+
/**
|
|
21193
|
+
* Event object of the Container#typeaheadSuggested event.
|
|
21194
|
+
*/
|
|
21195
|
+
export type Container$TypeaheadSuggestedEvent = Event<
|
|
21196
|
+
Container$TypeaheadSuggestedEventParameters,
|
|
21197
|
+
Container
|
|
21198
|
+
>;
|
|
21199
|
+
}
|
|
21200
|
+
|
|
21201
|
+
declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
21202
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
21203
|
+
|
|
21204
|
+
import { ConditionObject } from "sap/ui/mdc/condition/Condition";
|
|
21205
|
+
|
|
21206
|
+
import Control from "sap/ui/core/Control";
|
|
21207
|
+
|
|
21208
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
21209
|
+
|
|
21210
|
+
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
21211
|
+
|
|
21212
|
+
import ValueHelp from "sap/ui/mdc/ValueHelp";
|
|
21213
|
+
|
|
21214
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
21215
|
+
|
|
21216
|
+
import Event from "sap/ui/base/Event";
|
|
21217
|
+
|
|
21218
|
+
/**
|
|
21219
|
+
* Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
21220
|
+
*
|
|
21221
|
+
* @since 1.95.0
|
|
21222
|
+
*/
|
|
21223
|
+
export default abstract class Content extends UI5Element {
|
|
23154
21224
|
/**
|
|
23155
|
-
*
|
|
23156
|
-
* event of this `sap.ui.mdc.valuehelp.base.Content`.
|
|
23157
|
-
*
|
|
23158
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21225
|
+
* Constructor for a new `Content`.
|
|
23159
21226
|
*
|
|
21227
|
+
* This is the basis for various types of value help content. It cannot be used directly.
|
|
23160
21228
|
*
|
|
23161
|
-
*
|
|
21229
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
21230
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
21231
|
+
* of the syntax of the settings object.
|
|
23162
21232
|
*/
|
|
23163
|
-
|
|
23164
|
-
/**
|
|
23165
|
-
* The function to be called, when the event occurs
|
|
23166
|
-
*/
|
|
23167
|
-
fnFunction: (p1: Event) => void,
|
|
21233
|
+
constructor(
|
|
23168
21234
|
/**
|
|
23169
|
-
*
|
|
21235
|
+
* Initial settings for the new element
|
|
23170
21236
|
*/
|
|
23171
|
-
|
|
23172
|
-
)
|
|
21237
|
+
mSettings?: $ContentSettings
|
|
21238
|
+
);
|
|
23173
21239
|
/**
|
|
23174
|
-
*
|
|
23175
|
-
*
|
|
23176
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
21240
|
+
* Constructor for a new `Content`.
|
|
23177
21241
|
*
|
|
21242
|
+
* This is the basis for various types of value help content. It cannot be used directly.
|
|
23178
21243
|
*
|
|
23179
|
-
*
|
|
21244
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
21245
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
21246
|
+
* of the syntax of the settings object.
|
|
23180
21247
|
*/
|
|
23181
|
-
|
|
21248
|
+
constructor(
|
|
23182
21249
|
/**
|
|
23183
|
-
*
|
|
21250
|
+
* ID for the new element, generated automatically if no ID is given
|
|
23184
21251
|
*/
|
|
23185
|
-
|
|
21252
|
+
sId?: string,
|
|
23186
21253
|
/**
|
|
23187
|
-
*
|
|
21254
|
+
* Initial settings for the new element
|
|
23188
21255
|
*/
|
|
23189
|
-
|
|
23190
|
-
)
|
|
21256
|
+
mSettings?: $ContentSettings
|
|
21257
|
+
);
|
|
21258
|
+
|
|
23191
21259
|
/**
|
|
23192
|
-
*
|
|
23193
|
-
*
|
|
21260
|
+
* Creates a new subclass of class sap.ui.mdc.valuehelp.base.Content with name `sClassName` and enriches
|
|
21261
|
+
* it with the information contained in `oClassInfo`.
|
|
23194
21262
|
*
|
|
23195
|
-
*
|
|
21263
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
23196
21264
|
*
|
|
23197
|
-
* @since 1.120.0
|
|
23198
21265
|
*
|
|
23199
|
-
* @returns
|
|
21266
|
+
* @returns Created class / constructor function
|
|
23200
21267
|
*/
|
|
23201
|
-
|
|
21268
|
+
static extend<T extends Record<string, unknown>>(
|
|
23202
21269
|
/**
|
|
23203
|
-
*
|
|
21270
|
+
* Name of the class being created
|
|
23204
21271
|
*/
|
|
23205
|
-
|
|
21272
|
+
sClassName: string,
|
|
23206
21273
|
/**
|
|
23207
|
-
*
|
|
21274
|
+
* Object literal with information about the class
|
|
23208
21275
|
*/
|
|
23209
|
-
|
|
23210
|
-
): this;
|
|
23211
|
-
/**
|
|
23212
|
-
* Fires event {@link #event:cancel cancel} to attached listeners.
|
|
23213
|
-
*
|
|
23214
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23215
|
-
*
|
|
23216
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
23217
|
-
*/
|
|
23218
|
-
fireCancel(
|
|
21276
|
+
oClassInfo?: sap.ClassInfo<T, Content>,
|
|
23219
21277
|
/**
|
|
23220
|
-
*
|
|
21278
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
21279
|
+
* used by this class
|
|
23221
21280
|
*/
|
|
23222
|
-
|
|
23223
|
-
):
|
|
21281
|
+
FNMetaImpl?: Function
|
|
21282
|
+
): Function;
|
|
23224
21283
|
/**
|
|
23225
|
-
*
|
|
21284
|
+
* Returns a metadata object for class sap.ui.mdc.valuehelp.base.Content.
|
|
23226
21285
|
*
|
|
23227
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23228
21286
|
*
|
|
23229
|
-
* @returns
|
|
21287
|
+
* @returns Metadata object describing this class
|
|
23230
21288
|
*/
|
|
23231
|
-
|
|
23232
|
-
/**
|
|
23233
|
-
* Parameters to pass along with the event
|
|
23234
|
-
*/
|
|
23235
|
-
mParameters?: Content$ConfirmEventParameters
|
|
23236
|
-
): this;
|
|
21289
|
+
static getMetadata(): ElementMetadata;
|
|
23237
21290
|
/**
|
|
23238
|
-
*
|
|
21291
|
+
* Provides access to the delegate initialization `Promise` of the value help.
|
|
23239
21292
|
*
|
|
23240
21293
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23241
21294
|
*
|
|
23242
|
-
* @returns
|
|
21295
|
+
* @returns `Promise` reflecting the delegate initialization
|
|
23243
21296
|
*/
|
|
23244
|
-
|
|
23245
|
-
/**
|
|
23246
|
-
* Parameters to pass along with the event
|
|
23247
|
-
*/
|
|
23248
|
-
mParameters?: Content$NavigatedEventParameters
|
|
23249
|
-
): this;
|
|
21297
|
+
awaitValueHelpDelegate(): Promise<any>;
|
|
23250
21298
|
/**
|
|
23251
|
-
*
|
|
21299
|
+
* Creates a condition based on the used operator.
|
|
23252
21300
|
*
|
|
23253
21301
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23254
21302
|
*
|
|
23255
|
-
* @returns
|
|
21303
|
+
* @returns The new condition object with the maintained operator along with `sKey` and `sDescription` as
|
|
21304
|
+
* `aValues`
|
|
23256
21305
|
*/
|
|
23257
|
-
|
|
21306
|
+
createCondition(
|
|
23258
21307
|
/**
|
|
23259
|
-
*
|
|
21308
|
+
* Value of the condition. For item conditions, this must be the key.
|
|
23260
21309
|
*/
|
|
23261
|
-
|
|
23262
|
-
): this;
|
|
23263
|
-
/**
|
|
23264
|
-
* Fires event {@link #event:select select} to attached listeners.
|
|
23265
|
-
*
|
|
23266
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23267
|
-
*
|
|
23268
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
23269
|
-
*/
|
|
23270
|
-
fireSelect(
|
|
21310
|
+
vValue: any,
|
|
23271
21311
|
/**
|
|
23272
|
-
*
|
|
21312
|
+
* Description of the operator
|
|
23273
21313
|
*/
|
|
23274
|
-
|
|
23275
|
-
): this;
|
|
23276
|
-
/**
|
|
23277
|
-
* Fires event {@link #event:typeaheadSuggested typeaheadSuggested} to attached listeners.
|
|
23278
|
-
*
|
|
23279
|
-
* @since 1.120.0
|
|
23280
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
23281
|
-
*
|
|
23282
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
23283
|
-
*/
|
|
23284
|
-
fireTypeaheadSuggested(
|
|
21314
|
+
sDescription?: string,
|
|
23285
21315
|
/**
|
|
23286
|
-
*
|
|
21316
|
+
* Payload
|
|
23287
21317
|
*/
|
|
23288
|
-
|
|
23289
|
-
):
|
|
23290
|
-
/**
|
|
23291
|
-
* Gets current value of property {@link #getConditions conditions}.
|
|
23292
|
-
*
|
|
23293
|
-
* Conditions of the value help.
|
|
23294
|
-
*
|
|
23295
|
-
* **Note:** This property must not be set from outside, it must only be used by the corresponding container.
|
|
23296
|
-
*
|
|
23297
|
-
* Default value is `[]`.
|
|
23298
|
-
*
|
|
23299
|
-
*
|
|
23300
|
-
* @returns Value of property `conditions`
|
|
23301
|
-
*/
|
|
23302
|
-
getConditions(): object[];
|
|
23303
|
-
/**
|
|
23304
|
-
* Gets current value of property {@link #getConfig config}.
|
|
23305
|
-
*
|
|
23306
|
-
* Internal configuration.
|
|
23307
|
-
*
|
|
23308
|
-
* **Note:** This property must not be set from outside, it must only be used by the corresponding container.
|
|
23309
|
-
*
|
|
23310
|
-
* Default value is `{}`.
|
|
23311
|
-
*
|
|
23312
|
-
*
|
|
23313
|
-
* @returns Value of property `config`
|
|
23314
|
-
*/
|
|
23315
|
-
getConfig(): object;
|
|
21318
|
+
oPayload?: object
|
|
21319
|
+
): ConditionObject;
|
|
23316
21320
|
/**
|
|
23317
21321
|
* Returns control connected to value help.
|
|
23318
21322
|
*
|
|
@@ -23321,27 +21325,6 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
|
23321
21325
|
* @returns Connected control
|
|
23322
21326
|
*/
|
|
23323
21327
|
getControl(): Control;
|
|
23324
|
-
/**
|
|
23325
|
-
* Gets content of aggregation {@link #getDisplayContent displayContent}.
|
|
23326
|
-
*
|
|
23327
|
-
* Content control that is put inside the parent container
|
|
23328
|
-
*
|
|
23329
|
-
* **Note:** This aggregation must not be set from outside, it must only be used by the corresponding container.
|
|
23330
|
-
*/
|
|
23331
|
-
getDisplayContent(): Control;
|
|
23332
|
-
/**
|
|
23333
|
-
* Gets current value of property {@link #getFilterValue filterValue}.
|
|
23334
|
-
*
|
|
23335
|
-
* Value for filtering ($search).
|
|
23336
|
-
*
|
|
23337
|
-
* **Note:** This property must not be set from outside, it must only be used by the corresponding container.
|
|
23338
|
-
*
|
|
23339
|
-
* Default value is `empty string`.
|
|
23340
|
-
*
|
|
23341
|
-
*
|
|
23342
|
-
* @returns Value of property `filterValue`
|
|
23343
|
-
*/
|
|
23344
|
-
getFilterValue(): string;
|
|
23345
21328
|
/**
|
|
23346
21329
|
* Returns the maximum allowed number of conditions, -1 if no limit is set.
|
|
23347
21330
|
*
|
|
@@ -23513,78 +21496,6 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
|
23513
21496
|
* @returns `true` if a scrolling mechanism is needed
|
|
23514
21497
|
*/
|
|
23515
21498
|
provideScrolling(): boolean;
|
|
23516
|
-
/**
|
|
23517
|
-
* Sets a new value for property {@link #getConditions conditions}.
|
|
23518
|
-
*
|
|
23519
|
-
* Conditions of the value help.
|
|
23520
|
-
*
|
|
23521
|
-
* **Note:** This property must not be set from outside, it must only be used by the corresponding container.
|
|
23522
|
-
*
|
|
23523
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23524
|
-
*
|
|
23525
|
-
* Default value is `[]`.
|
|
23526
|
-
*
|
|
23527
|
-
*
|
|
23528
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
23529
|
-
*/
|
|
23530
|
-
setConditions(
|
|
23531
|
-
/**
|
|
23532
|
-
* New value for property `conditions`
|
|
23533
|
-
*/
|
|
23534
|
-
sConditions?: object[]
|
|
23535
|
-
): this;
|
|
23536
|
-
/**
|
|
23537
|
-
* Sets a new value for property {@link #getConfig config}.
|
|
23538
|
-
*
|
|
23539
|
-
* Internal configuration.
|
|
23540
|
-
*
|
|
23541
|
-
* **Note:** This property must not be set from outside, it must only be used by the corresponding container.
|
|
23542
|
-
*
|
|
23543
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23544
|
-
*
|
|
23545
|
-
* Default value is `{}`.
|
|
23546
|
-
*
|
|
23547
|
-
*
|
|
23548
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
23549
|
-
*/
|
|
23550
|
-
setConfig(
|
|
23551
|
-
/**
|
|
23552
|
-
* New value for property `config`
|
|
23553
|
-
*/
|
|
23554
|
-
oConfig?: object
|
|
23555
|
-
): this;
|
|
23556
|
-
/**
|
|
23557
|
-
* Sets the aggregated {@link #getDisplayContent displayContent}.
|
|
23558
|
-
*
|
|
23559
|
-
*
|
|
23560
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
23561
|
-
*/
|
|
23562
|
-
setDisplayContent(
|
|
23563
|
-
/**
|
|
23564
|
-
* The displayContent to set
|
|
23565
|
-
*/
|
|
23566
|
-
oDisplayContent: Control
|
|
23567
|
-
): this;
|
|
23568
|
-
/**
|
|
23569
|
-
* Sets a new value for property {@link #getFilterValue filterValue}.
|
|
23570
|
-
*
|
|
23571
|
-
* Value for filtering ($search).
|
|
23572
|
-
*
|
|
23573
|
-
* **Note:** This property must not be set from outside, it must only be used by the corresponding container.
|
|
23574
|
-
*
|
|
23575
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23576
|
-
*
|
|
23577
|
-
* Default value is `empty string`.
|
|
23578
|
-
*
|
|
23579
|
-
*
|
|
23580
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
23581
|
-
*/
|
|
23582
|
-
setFilterValue(
|
|
23583
|
-
/**
|
|
23584
|
-
* New value for property `filterValue`
|
|
23585
|
-
*/
|
|
23586
|
-
sFilterValue?: string
|
|
23587
|
-
): this;
|
|
23588
21499
|
/**
|
|
23589
21500
|
* Sets a new value for property {@link #getShortTitle shortTitle}.
|
|
23590
21501
|
*
|
|
@@ -23677,70 +21588,10 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
|
23677
21588
|
*/
|
|
23678
21589
|
tokenizerTitle?: string | PropertyBindingInfo;
|
|
23679
21590
|
|
|
23680
|
-
/**
|
|
23681
|
-
* Conditions of the value help.
|
|
23682
|
-
*
|
|
23683
|
-
* **Note:** This property must not be set from outside, it must only be used by the corresponding container.
|
|
23684
|
-
*/
|
|
23685
|
-
conditions?: object[] | PropertyBindingInfo | `{${string}}`;
|
|
23686
|
-
|
|
23687
|
-
/**
|
|
23688
|
-
* Value for filtering ($search).
|
|
23689
|
-
*
|
|
23690
|
-
* **Note:** This property must not be set from outside, it must only be used by the corresponding container.
|
|
23691
|
-
*/
|
|
23692
|
-
filterValue?: string | PropertyBindingInfo;
|
|
23693
|
-
|
|
23694
|
-
/**
|
|
23695
|
-
* Internal configuration.
|
|
23696
|
-
*
|
|
23697
|
-
* **Note:** This property must not be set from outside, it must only be used by the corresponding container.
|
|
23698
|
-
*/
|
|
23699
|
-
config?: object | PropertyBindingInfo | `{${string}}`;
|
|
23700
|
-
|
|
23701
21591
|
/**
|
|
23702
21592
|
* Hide content temporary.
|
|
23703
21593
|
*/
|
|
23704
21594
|
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
23705
|
-
|
|
23706
|
-
/**
|
|
23707
|
-
* Content control that is put inside the parent container
|
|
23708
|
-
*
|
|
23709
|
-
* **Note:** This aggregation must not be set from outside, it must only be used by the corresponding container.
|
|
23710
|
-
*/
|
|
23711
|
-
displayContent?: Control;
|
|
23712
|
-
|
|
23713
|
-
/**
|
|
23714
|
-
* This event is fired if the selected condition has changed.
|
|
23715
|
-
*/
|
|
23716
|
-
select?: (oEvent: Content$SelectEvent) => void;
|
|
23717
|
-
|
|
23718
|
-
/**
|
|
23719
|
-
* This event is fired if a change of the content is confirmed.
|
|
23720
|
-
*/
|
|
23721
|
-
confirm?: (oEvent: Content$ConfirmEvent) => void;
|
|
23722
|
-
|
|
23723
|
-
/**
|
|
23724
|
-
* This event is fired if the change is cancelled.
|
|
23725
|
-
*/
|
|
23726
|
-
cancel?: (oEvent: Event) => void;
|
|
23727
|
-
|
|
23728
|
-
/**
|
|
23729
|
-
* This event is fired if the value help should switch to dialog mode.
|
|
23730
|
-
*/
|
|
23731
|
-
requestSwitchToDialog?: (oEvent: Event) => void;
|
|
23732
|
-
|
|
23733
|
-
/**
|
|
23734
|
-
* This event is fired if a navigation has been executed in the content.
|
|
23735
|
-
*/
|
|
23736
|
-
navigated?: (oEvent: Content$NavigatedEvent) => void;
|
|
23737
|
-
|
|
23738
|
-
/**
|
|
23739
|
-
* This event is fired after a suggested item has been found for a type-ahead.
|
|
23740
|
-
*
|
|
23741
|
-
* @since 1.120.0
|
|
23742
|
-
*/
|
|
23743
|
-
typeaheadSuggested?: (oEvent: Content$TypeaheadSuggestedEvent) => void;
|
|
23744
21595
|
}
|
|
23745
21596
|
|
|
23746
21597
|
/**
|