@sapui5/types 1.142.3 → 1.143.1
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/index.d.ts +1 -0
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +651 -13
- package/types/sap.f.d.ts +8 -1
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -6
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +40 -85
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +7 -2
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +1 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +159 -40
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +216 -11
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +24 -2
- 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.comp.d.ts +7 -4
- package/types/sap.ui.core.d.ts +62 -47
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +3 -6
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +27255 -0
- package/types/sap.ui.integration.d.ts +45 -9
- package/types/sap.ui.layout.d.ts +64 -46
- package/types/sap.ui.mdc.d.ts +529 -138
- package/types/sap.ui.richtexteditor.d.ts +39 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +55 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +53 -8
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.143.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -3788,6 +3788,20 @@ declare module "sap/ui/mdc/library" {
|
|
|
3788
3788
|
>;
|
|
3789
3789
|
};
|
|
3790
3790
|
|
|
3791
|
+
/**
|
|
3792
|
+
* Interface for subclasses of {@link sap.m.OverflowToolbarLayoutData} that position actions within the
|
|
3793
|
+
* toolbar and configure the overflow menu. Classes implementing this interface must provide a `position`
|
|
3794
|
+
* property, which uses an enumeration to define the relative order of the actions. The sequence of the
|
|
3795
|
+
* enumeration values determines the placement of the actions. Enumeration values can be organized into
|
|
3796
|
+
* groups by using the same prefix ending with the `Actions` keyword, such as `ClipboardActionsCopy` and
|
|
3797
|
+
* `ClipboardActionsPaste`.
|
|
3798
|
+
*
|
|
3799
|
+
* @since 1.143
|
|
3800
|
+
*/
|
|
3801
|
+
export interface IActionLayoutData {
|
|
3802
|
+
__implements__sap_ui_mdc_IActionLayoutData: boolean;
|
|
3803
|
+
}
|
|
3804
|
+
|
|
3791
3805
|
/**
|
|
3792
3806
|
* Interface for controls or entities which can serve as filters in the `sap.ui.mdc.Table` & `sap.ui.mdc.Chart`.
|
|
3793
3807
|
*
|
|
@@ -8907,6 +8921,60 @@ declare module "sap/ui/mdc/enums/RequestShowContainerReason" {
|
|
|
8907
8921
|
export default RequestShowContainerReason;
|
|
8908
8922
|
}
|
|
8909
8923
|
|
|
8924
|
+
declare module "sap/ui/mdc/enums/TableActionPosition" {
|
|
8925
|
+
/**
|
|
8926
|
+
* Defines the supported positions for table-relevant actions within the table toolbar, in accordance with
|
|
8927
|
+
* the {@link https://www.sap.com/design-system/fiori-design-web/ui-elements/table-bar/ SAP Design System}.
|
|
8928
|
+
*
|
|
8929
|
+
* @since 1.143
|
|
8930
|
+
*/
|
|
8931
|
+
enum TableActionPosition {
|
|
8932
|
+
/**
|
|
8933
|
+
* Extension point for actions displayed after all table-relevant actions. These actions allow applications
|
|
8934
|
+
* to add additional functionality, such as Pagination, Refresh.
|
|
8935
|
+
*/
|
|
8936
|
+
EndActions = "EndActions",
|
|
8937
|
+
/**
|
|
8938
|
+
* Extension point for the export actions at the start of the group. These actions convert the content of
|
|
8939
|
+
* the table into an external format, such as Excel, PDF, Print.
|
|
8940
|
+
*/
|
|
8941
|
+
ExportActions = "ExportActions",
|
|
8942
|
+
/**
|
|
8943
|
+
* Extension point for the modification actions at the start of the group. These actions modify the structure
|
|
8944
|
+
* or content of the table, such as cut, copy, paste, reorder.
|
|
8945
|
+
*/
|
|
8946
|
+
ModificationActions = "ModificationActions",
|
|
8947
|
+
/**
|
|
8948
|
+
* Extension point for the modification actions at the end of the group. These actions modify the structure
|
|
8949
|
+
* or content of the table, such as cut, copy, paste, reorder.
|
|
8950
|
+
*/
|
|
8951
|
+
ModificationActionsEnd = "ModificationActionsEnd",
|
|
8952
|
+
/**
|
|
8953
|
+
* Extension point for the personalization actions at the start of the group. These actions change the arrangement
|
|
8954
|
+
* or personalization of the table at the item level, such as Expand/Collapse All Rows, Show/Hide Details,
|
|
8955
|
+
* Table Settings.
|
|
8956
|
+
*/
|
|
8957
|
+
PersonalizationActions = "PersonalizationActions",
|
|
8958
|
+
/**
|
|
8959
|
+
* Extension point for the personalization actions inserted after the first and before the second group
|
|
8960
|
+
* of predefined actions. These actions change the arrangement or personalization of the table on an item
|
|
8961
|
+
* level, such as Expand/Collapse Node, Show/Hide Details, Table Settings.
|
|
8962
|
+
*/
|
|
8963
|
+
PersonalizationActionsMiddle = "PersonalizationActionsMiddle",
|
|
8964
|
+
/**
|
|
8965
|
+
* Extension point for the share actions at the start of the group. These actions allow users to share table
|
|
8966
|
+
* content with another application or with the homepage as a tile, such as Send as Email, Save as Tile.
|
|
8967
|
+
*/
|
|
8968
|
+
ShareActions = "ShareActions",
|
|
8969
|
+
/**
|
|
8970
|
+
* Extension point for the view actions at the start of the group. These actions change the representation
|
|
8971
|
+
* of the entire table, such as View Switch, Fullscreen.
|
|
8972
|
+
*/
|
|
8973
|
+
ViewActions = "ViewActions",
|
|
8974
|
+
}
|
|
8975
|
+
export default TableActionPosition;
|
|
8976
|
+
}
|
|
8977
|
+
|
|
8910
8978
|
declare module "sap/ui/mdc/enums/TableGrowingMode" {
|
|
8911
8979
|
/**
|
|
8912
8980
|
* Growing mode of the table.
|
|
@@ -8962,6 +9030,26 @@ declare module "sap/ui/mdc/enums/TableP13nMode" {
|
|
|
8962
9030
|
export default TableP13nMode;
|
|
8963
9031
|
}
|
|
8964
9032
|
|
|
9033
|
+
declare module "sap/ui/mdc/enums/TablePopinDisplay" {
|
|
9034
|
+
/**
|
|
9035
|
+
* Pop-in display mode of the table.
|
|
9036
|
+
*
|
|
9037
|
+
* @since 1.143
|
|
9038
|
+
*/
|
|
9039
|
+
enum TablePopinDisplay {
|
|
9040
|
+
/**
|
|
9041
|
+
* The header is displayed in the first line, and the cell content is displayed in the next line.
|
|
9042
|
+
*/
|
|
9043
|
+
Block = "Block",
|
|
9044
|
+
/**
|
|
9045
|
+
* The cell content is displayed next to the header in the same line. **Note:** If there is not enough space
|
|
9046
|
+
* for the cell content, then it is displayed in the next line.
|
|
9047
|
+
*/
|
|
9048
|
+
Inline = "Inline",
|
|
9049
|
+
}
|
|
9050
|
+
export default TablePopinDisplay;
|
|
9051
|
+
}
|
|
9052
|
+
|
|
8965
9053
|
declare module "sap/ui/mdc/enums/TableRowActionType" {
|
|
8966
9054
|
/**
|
|
8967
9055
|
* Type of a table row action.
|
|
@@ -9120,12 +9208,15 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9120
9208
|
*
|
|
9121
9209
|
*
|
|
9122
9210
|
* - In display mode, usually a {@link sap.m.Text Text} control is rendered.
|
|
9123
|
-
* - If
|
|
9124
|
-
*
|
|
9125
|
-
*
|
|
9211
|
+
* - If {@link sap.ui.mdc.field.FieldBase#getMultipleLines multipleLines} is set, an {@link sap.m.ExpandableText ExpandableText }
|
|
9212
|
+
* control is rendered.
|
|
9213
|
+
* - If {@link sap.ui.mdc.field.FieldBase#getFieldInfo fieldInfo} is set and it is configured to be triggerable,
|
|
9214
|
+
* a {@link sap.m.Link Link} control is rendered. The {@link sap.ui.mdc.field.FieldBase#getMultipleLines multipleLines }
|
|
9215
|
+
* property is forwarded to the {@link sap.m.Link#setWrapping wrapping} property of the {@link sap.m.Link Link }
|
|
9126
9216
|
* control.
|
|
9127
9217
|
* - In edit mode, usually an {@link sap.m.Input Input} control is rendered.
|
|
9128
|
-
* - If
|
|
9218
|
+
* - If {@link sap.ui.mdc.field.FieldBase#getMultipleLines multipleLines} is set, a {@link sap.m.TextArea TextArea }
|
|
9219
|
+
* control is rendered.
|
|
9129
9220
|
* - If a date type is used, a {@link sap.m.DatePicker DatePicker} control is rendered.
|
|
9130
9221
|
* - If a date/time type is used, a {@link sap.m.DateTimePicker DateTimePicker} control is rendered.
|
|
9131
9222
|
* - If a time type is used, a {@link sap.m.TimePicker TimePicker} control is rendered.
|
|
@@ -9215,7 +9306,7 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9215
9306
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
9216
9307
|
* otherwise it will be bound to this `sap.ui.mdc.Field` itself.
|
|
9217
9308
|
*
|
|
9218
|
-
* This event is fired when the
|
|
9309
|
+
* This event is fired when the {@link #getValue value} property of the field is changed by user interaction.
|
|
9219
9310
|
*
|
|
9220
9311
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
9221
9312
|
*
|
|
@@ -9243,7 +9334,7 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9243
9334
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
9244
9335
|
* otherwise it will be bound to this `sap.ui.mdc.Field` itself.
|
|
9245
9336
|
*
|
|
9246
|
-
* This event is fired when the
|
|
9337
|
+
* This event is fired when the {@link #getValue value} property of the field is changed by user interaction.
|
|
9247
9338
|
*
|
|
9248
9339
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
9249
9340
|
*
|
|
@@ -9603,7 +9694,7 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9603
9694
|
additionalValue?: any | PropertyBindingInfo | `{${string}}`;
|
|
9604
9695
|
|
|
9605
9696
|
/**
|
|
9606
|
-
* This event is fired when the
|
|
9697
|
+
* This event is fired when the {@link #getValue value} property of the field is changed by user interaction.
|
|
9607
9698
|
*
|
|
9608
9699
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
9609
9700
|
*/
|
|
@@ -9617,7 +9708,8 @@ declare module "sap/ui/mdc/Field" {
|
|
|
9617
9708
|
/**
|
|
9618
9709
|
* The new value of the `Field`.
|
|
9619
9710
|
*
|
|
9620
|
-
* If a
|
|
9711
|
+
* If a {@link sap.ui.mdc.field.FieldBase#getValueHelp ValueHelp} is assigned to the `Field`, the `value`
|
|
9712
|
+
* is used as key for the {@link sap.ui.mdc.field.FieldBase#getValueHelp ValueHelp} items.
|
|
9621
9713
|
*/
|
|
9622
9714
|
value?: string;
|
|
9623
9715
|
|
|
@@ -10334,7 +10426,10 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10334
10426
|
CSSSize,
|
|
10335
10427
|
} from "sap/ui/core/library";
|
|
10336
10428
|
|
|
10337
|
-
import {
|
|
10429
|
+
import {
|
|
10430
|
+
IOverflowToolbarContent,
|
|
10431
|
+
IToolbarInteractiveControl,
|
|
10432
|
+
} from "sap/m/library";
|
|
10338
10433
|
|
|
10339
10434
|
import Control1 from "sap/ui/core/Control";
|
|
10340
10435
|
|
|
@@ -10372,12 +10467,14 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10372
10467
|
IFormContent,
|
|
10373
10468
|
ISemanticFormContent,
|
|
10374
10469
|
IOverflowToolbarContent,
|
|
10375
|
-
ILabelable
|
|
10470
|
+
ILabelable,
|
|
10471
|
+
IToolbarInteractiveControl
|
|
10376
10472
|
{
|
|
10377
10473
|
__implements__sap_ui_core_IFormContent: boolean;
|
|
10378
10474
|
__implements__sap_ui_core_ISemanticFormContent: boolean;
|
|
10379
10475
|
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
10380
10476
|
__implements__sap_ui_core_ILabelable: boolean;
|
|
10477
|
+
__implements__sap_m_IToolbarInteractiveControl: boolean;
|
|
10381
10478
|
/**
|
|
10382
10479
|
* Constructor for a new `FieldBase`.
|
|
10383
10480
|
*
|
|
@@ -10460,7 +10557,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10460
10557
|
*
|
|
10461
10558
|
* This event is fired when the value of the field is changed, for example, each time a key is pressed.
|
|
10462
10559
|
*
|
|
10463
|
-
* **Note
|
|
10560
|
+
* **Note:** This event is only triggered if the used content control has a `liveChange` event.
|
|
10464
10561
|
*
|
|
10465
10562
|
*
|
|
10466
10563
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -10488,7 +10585,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10488
10585
|
*
|
|
10489
10586
|
* This event is fired when the value of the field is changed, for example, each time a key is pressed.
|
|
10490
10587
|
*
|
|
10491
|
-
* **Note
|
|
10588
|
+
* **Note:** This event is only triggered if the used content control has a `liveChange` event.
|
|
10492
10589
|
*
|
|
10493
10590
|
*
|
|
10494
10591
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -10559,7 +10656,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10559
10656
|
* This event is fired when the user presses Enter. It allows the application to implement some
|
|
10560
10657
|
* submit logic.
|
|
10561
10658
|
*
|
|
10562
|
-
* **Note
|
|
10659
|
+
* **Note:** This event is only triggered if the field is editable.
|
|
10563
10660
|
*
|
|
10564
10661
|
* @since 1.82.0
|
|
10565
10662
|
*
|
|
@@ -10589,7 +10686,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10589
10686
|
* This event is fired when the user presses Enter. It allows the application to implement some
|
|
10590
10687
|
* submit logic.
|
|
10591
10688
|
*
|
|
10592
|
-
* **Note
|
|
10689
|
+
* **Note:** This event is only triggered if the field is editable.
|
|
10593
10690
|
*
|
|
10594
10691
|
* @since 1.82.0
|
|
10595
10692
|
*
|
|
@@ -10642,12 +10739,13 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10642
10739
|
vValue: any
|
|
10643
10740
|
): boolean;
|
|
10644
10741
|
/**
|
|
10645
|
-
* Assigns a
|
|
10742
|
+
* Assigns a {@link sap.m.Label Label} control to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.MultiValueField MultiValueField},
|
|
10646
10743
|
* or {@link sap.ui.mdc.FilterField FilterField} controls.
|
|
10647
10744
|
*
|
|
10648
10745
|
* The text of the label is taken from the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.MultiValueField MultiValueField},
|
|
10649
|
-
* or {@link sap.ui.mdc.FilterField FilterField} controls. The
|
|
10650
|
-
* {@link sap.ui.mdc.
|
|
10746
|
+
* or {@link sap.ui.mdc.FilterField FilterField} controls. The {@link sap.m.Label#setLabelFor labelFor }
|
|
10747
|
+
* association is set to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.MultiValueField MultiValueField},
|
|
10748
|
+
* or {@link sap.ui.mdc.FilterField FilterField} control.
|
|
10651
10749
|
*
|
|
10652
10750
|
* @since 1.62.0
|
|
10653
10751
|
*
|
|
@@ -10841,10 +10939,11 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10841
10939
|
/**
|
|
10842
10940
|
* Returns the configuration for the additional data type.
|
|
10843
10941
|
*
|
|
10844
|
-
* For a {@link sap.ui.mdc.Field Field}, the data type is determined from the binding of the
|
|
10942
|
+
* For a {@link sap.ui.mdc.Field Field}, the data type is determined from the binding of the {@link sap.ui.mdc.Field#getAdditionalValue additionalValue}.
|
|
10845
10943
|
* For a {@link sap.ui.mdc.MultiValueField MultiValueField}, the data type is determined from the binding
|
|
10846
|
-
* of the
|
|
10847
|
-
* via the
|
|
10944
|
+
* of the {@link sap.ui.mdc.field.MultiValueFieldItem#getDescription description} of an item. For a {@link sap.ui.mdc.FilterField FilterField},
|
|
10945
|
+
* the data type is provided via the {@link sap.ui.mdc.FilterField#getAdditionalDataType additionalDataType }
|
|
10946
|
+
* property.
|
|
10848
10947
|
*
|
|
10849
10948
|
* @since 1.118.0
|
|
10850
10949
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -10865,7 +10964,8 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10865
10964
|
*/
|
|
10866
10965
|
getBaseType(): BaseType;
|
|
10867
10966
|
/**
|
|
10868
|
-
* Creates parameter for a
|
|
10967
|
+
* Creates parameter for a {@link sap.ui.base.ManagedObject#event:ParseError ParseError}, {@link sap.ui.base.ManagedObject#event:ValidationError ValidationError }
|
|
10968
|
+
* or {@link sap.ui.base.ManagedObject#event:ValidationSuccess ValidationSuccess} event based on the corresponding
|
|
10869
10969
|
* event fired on the inner control.
|
|
10870
10970
|
*
|
|
10871
10971
|
* The basic implementation just adds the element and error information. The `property` and `type` information
|
|
@@ -10891,9 +10991,9 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10891
10991
|
* These should be bound to a {@link sap.ui.mdc.FilterBar FilterBar} using the corresponding `propertyPath`.
|
|
10892
10992
|
*
|
|
10893
10993
|
* **Note:** For {@link sap.ui.mdc.FilterField FilterField} controls, the `conditions` property is used
|
|
10894
|
-
* to bind {@link sap.ui.mdc.FilterField FilterField} to its parent {@link
|
|
10895
|
-
* If this property is not explicitly configured, the {@link
|
|
10896
|
-
*
|
|
10994
|
+
* to bind {@link sap.ui.mdc.FilterField FilterField} to its parent {@link sap.ui.mdc.FilterBar FilterBar}.
|
|
10995
|
+
* If this property is not explicitly configured, the {@link sap.ui.mdc.FilterBar FilterBar} sets a default
|
|
10996
|
+
* binding. For example, for a {@link sap.ui.mdc.FilterField FilterField} control inside a {@link sap.ui.mdc.FilterBar FilterBar }
|
|
10897
10997
|
* control, the binding looks like this:
|
|
10898
10998
|
* `conditions="{$filters>/conditions/propertyPath}"` with the following data:
|
|
10899
10999
|
* - `$filters` as the name of the condition model
|
|
@@ -10913,9 +11013,10 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10913
11013
|
*
|
|
10914
11014
|
* Optional content that can be rendered.
|
|
10915
11015
|
*
|
|
10916
|
-
* Per default, depending on
|
|
10917
|
-
*
|
|
10918
|
-
* control in
|
|
11016
|
+
* Per default, depending on {@link #getEditMode editMode}, {@link #getMultipleLines multipleLines} and
|
|
11017
|
+
* the used data type, a content control is rendered. For simple string types, a {@link sap.m.Text Text }
|
|
11018
|
+
* control is rendered in display mode and a {@link sap.m.Input Input} control in edit mode. If a control
|
|
11019
|
+
* is assigned in the `content` aggregation, this will be rendered instead.
|
|
10919
11020
|
*
|
|
10920
11021
|
* **Note:** Bind the value-holding property of the control to `'$field>/conditions'` using {@link sap.ui.mdc.field.ConditionsType ConditionsType }
|
|
10921
11022
|
* as type.
|
|
@@ -10932,11 +11033,11 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10932
11033
|
/**
|
|
10933
11034
|
* Gets content of aggregation {@link #getContentDisplay contentDisplay}.
|
|
10934
11035
|
*
|
|
10935
|
-
* Optional content to be rendered if the
|
|
11036
|
+
* Optional content to be rendered if the {@link #getEditMode editMode} property is set to `Display`.
|
|
10936
11037
|
*
|
|
10937
|
-
* Per default, depending on
|
|
10938
|
-
* mode. For simple string types, a {@link sap.m.Text Text} control is rendered in
|
|
10939
|
-
* is assigned in the `contentDisplay` aggregation, this will be rendered instead.
|
|
11038
|
+
* Per default, depending on {@link #getMultipleLines multipleLines} and the used data type, a content control
|
|
11039
|
+
* is rendered in display mode. For simple string types, a {@link sap.m.Text Text} control is rendered in
|
|
11040
|
+
* display mode. If a control is assigned in the `contentDisplay` aggregation, this will be rendered instead.
|
|
10940
11041
|
*
|
|
10941
11042
|
* **Note:** If a control is assigned to the `content` aggregation, this one is ignored.
|
|
10942
11043
|
*
|
|
@@ -10957,11 +11058,11 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10957
11058
|
/**
|
|
10958
11059
|
* Gets content of aggregation {@link #getContentEdit contentEdit}.
|
|
10959
11060
|
*
|
|
10960
|
-
* Optional content to be rendered if the
|
|
11061
|
+
* Optional content to be rendered if the {@link #getEditMode editMode} property is not set to `Display`.
|
|
10961
11062
|
*
|
|
10962
|
-
* Per default, depending on
|
|
10963
|
-
* mode. For simple string types, an {@link sap.m.Input Input} control is rendered in
|
|
10964
|
-
* is assigned in the `contentEdit` aggregation, this will be rendered instead.
|
|
11063
|
+
* Per default, depending on {@link #getMultipleLines multipleLines} and the used data type, a content control
|
|
11064
|
+
* is rendered in edit mode. For simple string types, an {@link sap.m.Input Input} control is rendered in
|
|
11065
|
+
* edit mode. If a control is assigned in the `contentEdit` aggregation, this will be rendered instead.
|
|
10965
11066
|
*
|
|
10966
11067
|
* **Note:** If a control is assigned to the `content` aggregation, this one is ignored.
|
|
10967
11068
|
*
|
|
@@ -11004,7 +11105,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11004
11105
|
/**
|
|
11005
11106
|
* Gets current value of property {@link #getDataTypeConstraints dataTypeConstraints}.
|
|
11006
11107
|
*
|
|
11007
|
-
* The constraints of the type specified in
|
|
11108
|
+
* The constraints of the type specified in {@link #setDataType dataType}.
|
|
11008
11109
|
*
|
|
11009
11110
|
*
|
|
11010
11111
|
* @returns Value of property `dataTypeConstraints`
|
|
@@ -11013,7 +11114,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11013
11114
|
/**
|
|
11014
11115
|
* Gets current value of property {@link #getDataTypeFormatOptions dataTypeFormatOptions}.
|
|
11015
11116
|
*
|
|
11016
|
-
* The format options of the type specified in
|
|
11117
|
+
* The format options of the type specified in {@link #setDataType dataType}.
|
|
11017
11118
|
*
|
|
11018
11119
|
*
|
|
11019
11120
|
* @returns Value of property `dataTypeFormatOptions`
|
|
@@ -11096,7 +11197,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11096
11197
|
* @since 1.126.0
|
|
11097
11198
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11098
11199
|
*
|
|
11099
|
-
* @returns returns a
|
|
11200
|
+
* @returns returns a `Promise` waiting for ongoing formatting
|
|
11100
11201
|
*/
|
|
11101
11202
|
getFormattingPromise(): undefined | Promise<any>;
|
|
11102
11203
|
/**
|
|
@@ -11121,7 +11222,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11121
11222
|
*
|
|
11122
11223
|
* The default value of -1 indicates that an unlimited number of conditions can be defined.
|
|
11123
11224
|
*
|
|
11124
|
-
* **Note
|
|
11225
|
+
* **Note:** If the data type used doesn't support multiple conditions, an error is thrown.
|
|
11125
11226
|
*
|
|
11126
11227
|
* Default value is `-1`.
|
|
11127
11228
|
*
|
|
@@ -11138,7 +11239,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11138
11239
|
*
|
|
11139
11240
|
* This property is only used for single-value fields.
|
|
11140
11241
|
*
|
|
11141
|
-
* **Note
|
|
11242
|
+
* **Note:** If the data type used doesn't support multiple lines, an error is thrown.
|
|
11142
11243
|
*
|
|
11143
11244
|
* Default value is `false`.
|
|
11144
11245
|
*
|
|
@@ -11152,7 +11253,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11152
11253
|
*
|
|
11153
11254
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11154
11255
|
*
|
|
11155
|
-
* @returns Configuration information for the
|
|
11256
|
+
* @returns Configuration information for the {@link sap.m.IOverflowToolbarContent} interface.
|
|
11156
11257
|
*/
|
|
11157
11258
|
getOverflowToolbarConfig(): object;
|
|
11158
11259
|
/**
|
|
@@ -11198,10 +11299,10 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11198
11299
|
*
|
|
11199
11300
|
* If set, an empty `Field` renders an empty indicator in display mode.
|
|
11200
11301
|
*
|
|
11201
|
-
* This property only takes effect if
|
|
11302
|
+
* This property only takes effect if {@link #setEditMode editMode} is set to `Display`.
|
|
11202
11303
|
*
|
|
11203
|
-
* **Note
|
|
11204
|
-
* show nothing, depending on the
|
|
11304
|
+
* **Note:** Empty means the `Field` holds no value. If an empty string is a valid value, the `Field` might
|
|
11305
|
+
* show nothing, depending on the {@link #setDisplay display} settings and assigned description or {@link #setValueHelp ValueHelp}.
|
|
11205
11306
|
*
|
|
11206
11307
|
* Default value is `false`.
|
|
11207
11308
|
*
|
|
@@ -11267,8 +11368,8 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11267
11368
|
* Visualizes the validation state of the control, for example, `Error`, `Warning` or `Success`.
|
|
11268
11369
|
*
|
|
11269
11370
|
* **Note:** The visualization of the `ValueState` property is handled by the inner rendered control. If
|
|
11270
|
-
* a control is set (using
|
|
11271
|
-
* the `valueState` behavior, otherwise `valueState` is not visualized.
|
|
11371
|
+
* a control is set (using {@link #setContent content}, {@link #setContentEdit contentEdit}, or {@link #setContentDisplay contentDisplay}),
|
|
11372
|
+
* this control needs to support the `valueState` behavior, otherwise `valueState` is not visualized.
|
|
11272
11373
|
*
|
|
11273
11374
|
* Default value is `None`.
|
|
11274
11375
|
*
|
|
@@ -11277,7 +11378,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11277
11378
|
*/
|
|
11278
11379
|
getValueState(): ValueState;
|
|
11279
11380
|
/**
|
|
11280
|
-
* Gets the ValueState for content controls
|
|
11381
|
+
* Gets the `ValueState` for content controls
|
|
11281
11382
|
*
|
|
11282
11383
|
* @since 1.138.0
|
|
11283
11384
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -11310,7 +11411,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11310
11411
|
*/
|
|
11311
11412
|
getWidth(): CSSSize;
|
|
11312
11413
|
/**
|
|
11313
|
-
* Handler of the
|
|
11414
|
+
* Handler of the {@link sap.ui.base.ManagedObject#event:modelContextChange modelContextChange} event.
|
|
11314
11415
|
*
|
|
11315
11416
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11316
11417
|
*/
|
|
@@ -11332,12 +11433,12 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11332
11433
|
* Returns the user interaction state of the control.
|
|
11333
11434
|
*
|
|
11334
11435
|
* If the user starts typing or navigates via arrow keys in a value help, the shown value might be updated.
|
|
11335
|
-
* But as long as the user has not left the field or pressed the Enter key, the current user
|
|
11336
|
-
* not be validated or updated or an event fired.
|
|
11436
|
+
* But as long as the user has not left the field or pressed the Enter key, the current user
|
|
11437
|
+
* input will not be validated or updated or an event fired.
|
|
11337
11438
|
*
|
|
11338
11439
|
* As long as the user is interacting with the field, this function returns `true`. If the user interaction
|
|
11339
|
-
* has been completed because the user has left the field, pressed the Enter key, or chosen a
|
|
11340
|
-
* the value help, the function returns `false`.
|
|
11440
|
+
* has been completed because the user has left the field, pressed the Enter key, or chosen a
|
|
11441
|
+
* value from the value help, the function returns `false`.
|
|
11341
11442
|
*
|
|
11342
11443
|
* @since 1.117.0
|
|
11343
11444
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -11373,8 +11474,8 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11373
11474
|
isFieldDestroyed(): boolean;
|
|
11374
11475
|
/**
|
|
11375
11476
|
* Returns whether the given property value is initial and has not been explicitly set or no binding exist.
|
|
11376
|
-
* Even after setting the default value or setting null
|
|
11377
|
-
* be set), the property is no longer initial. A property can be reset to initial state by calling `resetProperty(sPropertyName)`.
|
|
11477
|
+
* Even after setting the default value or setting `null`/`undefined` (which also causes the default value
|
|
11478
|
+
* to be set), the property is no longer initial. A property can be reset to initial state by calling `{@link sap.ui.base.ManagedObject#resetProperty resetProperty}(sPropertyName)`.
|
|
11378
11479
|
*
|
|
11379
11480
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11380
11481
|
*
|
|
@@ -11448,12 +11549,13 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11448
11549
|
*/
|
|
11449
11550
|
resetInvalidInput(
|
|
11450
11551
|
/**
|
|
11451
|
-
* If set to `true` the
|
|
11552
|
+
* If set to `true` the {@link #getValueState ValueState} and {@link #getValueStateText ValueStateText }
|
|
11553
|
+
* is removed
|
|
11452
11554
|
*/
|
|
11453
11555
|
bRemoveUIMessage: boolean
|
|
11454
11556
|
): void;
|
|
11455
11557
|
/**
|
|
11456
|
-
* Resets the ValueState for content controls
|
|
11558
|
+
* Resets the `ValueState` for content controls
|
|
11457
11559
|
*
|
|
11458
11560
|
* @since 1.138.0
|
|
11459
11561
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -11467,9 +11569,9 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11467
11569
|
* These should be bound to a {@link sap.ui.mdc.FilterBar FilterBar} using the corresponding `propertyPath`.
|
|
11468
11570
|
*
|
|
11469
11571
|
* **Note:** For {@link sap.ui.mdc.FilterField FilterField} controls, the `conditions` property is used
|
|
11470
|
-
* to bind {@link sap.ui.mdc.FilterField FilterField} to its parent {@link
|
|
11471
|
-
* If this property is not explicitly configured, the {@link
|
|
11472
|
-
*
|
|
11572
|
+
* to bind {@link sap.ui.mdc.FilterField FilterField} to its parent {@link sap.ui.mdc.FilterBar FilterBar}.
|
|
11573
|
+
* If this property is not explicitly configured, the {@link sap.ui.mdc.FilterBar FilterBar} sets a default
|
|
11574
|
+
* binding. For example, for a {@link sap.ui.mdc.FilterField FilterField} control inside a {@link sap.ui.mdc.FilterBar FilterBar }
|
|
11473
11575
|
* control, the binding looks like this:
|
|
11474
11576
|
* `conditions="{$filters>/conditions/propertyPath}"` with the following data:
|
|
11475
11577
|
* - `$filters` as the name of the condition model
|
|
@@ -11553,7 +11655,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11553
11655
|
/**
|
|
11554
11656
|
* Sets a new value for property {@link #getDataTypeConstraints dataTypeConstraints}.
|
|
11555
11657
|
*
|
|
11556
|
-
* The constraints of the type specified in
|
|
11658
|
+
* The constraints of the type specified in {@link #setDataType dataType}.
|
|
11557
11659
|
*
|
|
11558
11660
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11559
11661
|
*
|
|
@@ -11569,7 +11671,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11569
11671
|
/**
|
|
11570
11672
|
* Sets a new value for property {@link #getDataTypeFormatOptions dataTypeFormatOptions}.
|
|
11571
11673
|
*
|
|
11572
|
-
* The format options of the type specified in
|
|
11674
|
+
* The format options of the type specified in {@link #setDataType dataType}.
|
|
11573
11675
|
*
|
|
11574
11676
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11575
11677
|
*
|
|
@@ -11704,7 +11806,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11704
11806
|
*
|
|
11705
11807
|
* The default value of -1 indicates that an unlimited number of conditions can be defined.
|
|
11706
11808
|
*
|
|
11707
|
-
* **Note
|
|
11809
|
+
* **Note:** If the data type used doesn't support multiple conditions, an error is thrown.
|
|
11708
11810
|
*
|
|
11709
11811
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11710
11812
|
*
|
|
@@ -11728,7 +11830,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11728
11830
|
*
|
|
11729
11831
|
* This property is only used for single-value fields.
|
|
11730
11832
|
*
|
|
11731
|
-
* **Note
|
|
11833
|
+
* **Note:** If the data type used doesn't support multiple lines, an error is thrown.
|
|
11732
11834
|
*
|
|
11733
11835
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11734
11836
|
*
|
|
@@ -11787,10 +11889,10 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11787
11889
|
*
|
|
11788
11890
|
* If set, an empty `Field` renders an empty indicator in display mode.
|
|
11789
11891
|
*
|
|
11790
|
-
* This property only takes effect if
|
|
11892
|
+
* This property only takes effect if {@link #setEditMode editMode} is set to `Display`.
|
|
11791
11893
|
*
|
|
11792
|
-
* **Note
|
|
11793
|
-
* show nothing, depending on the
|
|
11894
|
+
* **Note:** Empty means the `Field` holds no value. If an empty string is a valid value, the `Field` might
|
|
11895
|
+
* show nothing, depending on the {@link #setDisplay display} settings and assigned description or {@link #setValueHelp ValueHelp}.
|
|
11794
11896
|
*
|
|
11795
11897
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11796
11898
|
*
|
|
@@ -11865,8 +11967,8 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11865
11967
|
* Visualizes the validation state of the control, for example, `Error`, `Warning` or `Success`.
|
|
11866
11968
|
*
|
|
11867
11969
|
* **Note:** The visualization of the `ValueState` property is handled by the inner rendered control. If
|
|
11868
|
-
* a control is set (using
|
|
11869
|
-
* the `valueState` behavior, otherwise `valueState` is not visualized.
|
|
11970
|
+
* a control is set (using {@link #setContent content}, {@link #setContentEdit contentEdit}, or {@link #setContentDisplay contentDisplay}),
|
|
11971
|
+
* this control needs to support the `valueState` behavior, otherwise `valueState` is not visualized.
|
|
11870
11972
|
*
|
|
11871
11973
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11872
11974
|
*
|
|
@@ -11882,7 +11984,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11882
11984
|
sValueState?: ValueState | keyof typeof ValueState
|
|
11883
11985
|
): this;
|
|
11884
11986
|
/**
|
|
11885
|
-
* Sets the ValueState for content controls
|
|
11987
|
+
* Sets the `ValueState` for content controls
|
|
11886
11988
|
*
|
|
11887
11989
|
* @since 1.138.0
|
|
11888
11990
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -11935,7 +12037,8 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11935
12037
|
sWidth?: CSSSize
|
|
11936
12038
|
): this;
|
|
11937
12039
|
/**
|
|
11938
|
-
* Checks if a condition update needs to fire a
|
|
12040
|
+
* Checks if a condition update needs to fire a {@link sap.ui.base.ManagedObject#event:ValidationSuccess ValidationSuccess }
|
|
12041
|
+
* event.
|
|
11939
12042
|
*
|
|
11940
12043
|
* This is required in {@link sap.ui.mdc.field.Field Field} if the condition update doesn't lead to an update
|
|
11941
12044
|
* of the {@link sap.ui.mdc.field.Field#setValue value} property. (If only description or payload is changed.)
|
|
@@ -11943,7 +12046,8 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11943
12046
|
* @since 1.142.0
|
|
11944
12047
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11945
12048
|
*
|
|
11946
|
-
* @returns `true` if the
|
|
12049
|
+
* @returns `true` if the {@link sap.ui.base.ManagedObject#event:ValidationSuccess ValidationSuccess} event
|
|
12050
|
+
* is fired
|
|
11947
12051
|
*/
|
|
11948
12052
|
shouldFireValidationSuccessOnConditionUpdate(
|
|
11949
12053
|
/**
|
|
@@ -11990,12 +12094,12 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11990
12094
|
dataType?: string | PropertyBindingInfo;
|
|
11991
12095
|
|
|
11992
12096
|
/**
|
|
11993
|
-
* The constraints of the type specified in
|
|
12097
|
+
* The constraints of the type specified in {@link #setDataType dataType}.
|
|
11994
12098
|
*/
|
|
11995
12099
|
dataTypeConstraints?: object | PropertyBindingInfo | `{${string}}`;
|
|
11996
12100
|
|
|
11997
12101
|
/**
|
|
11998
|
-
* The format options of the type specified in
|
|
12102
|
+
* The format options of the type specified in {@link #setDataType dataType}.
|
|
11999
12103
|
*/
|
|
12000
12104
|
dataTypeFormatOptions?: object | PropertyBindingInfo | `{${string}}`;
|
|
12001
12105
|
|
|
@@ -12052,8 +12156,8 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12052
12156
|
* Visualizes the validation state of the control, for example, `Error`, `Warning` or `Success`.
|
|
12053
12157
|
*
|
|
12054
12158
|
* **Note:** The visualization of the `ValueState` property is handled by the inner rendered control. If
|
|
12055
|
-
* a control is set (using
|
|
12056
|
-
* the `valueState` behavior, otherwise `valueState` is not visualized.
|
|
12159
|
+
* a control is set (using {@link #setContent content}, {@link #setContentEdit contentEdit}, or {@link #setContentDisplay contentDisplay}),
|
|
12160
|
+
* this control needs to support the `valueState` behavior, otherwise `valueState` is not visualized.
|
|
12057
12161
|
*/
|
|
12058
12162
|
valueState?:
|
|
12059
12163
|
| (ValueState | keyof typeof ValueState)
|
|
@@ -12078,7 +12182,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12078
12182
|
*
|
|
12079
12183
|
* This property is only used for single-value fields.
|
|
12080
12184
|
*
|
|
12081
|
-
* **Note
|
|
12185
|
+
* **Note:** If the data type used doesn't support multiple lines, an error is thrown.
|
|
12082
12186
|
*/
|
|
12083
12187
|
multipleLines?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
12084
12188
|
|
|
@@ -12087,7 +12191,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12087
12191
|
*
|
|
12088
12192
|
* The default value of -1 indicates that an unlimited number of conditions can be defined.
|
|
12089
12193
|
*
|
|
12090
|
-
* **Note
|
|
12194
|
+
* **Note:** If the data type used doesn't support multiple conditions, an error is thrown.
|
|
12091
12195
|
*/
|
|
12092
12196
|
maxConditions?: int | PropertyBindingInfo | `{${string}}`;
|
|
12093
12197
|
|
|
@@ -12097,9 +12201,9 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12097
12201
|
* These should be bound to a {@link sap.ui.mdc.FilterBar FilterBar} using the corresponding `propertyPath`.
|
|
12098
12202
|
*
|
|
12099
12203
|
* **Note:** For {@link sap.ui.mdc.FilterField FilterField} controls, the `conditions` property is used
|
|
12100
|
-
* to bind {@link sap.ui.mdc.FilterField FilterField} to its parent {@link
|
|
12101
|
-
* If this property is not explicitly configured, the {@link
|
|
12102
|
-
*
|
|
12204
|
+
* to bind {@link sap.ui.mdc.FilterField FilterField} to its parent {@link sap.ui.mdc.FilterBar FilterBar}.
|
|
12205
|
+
* If this property is not explicitly configured, the {@link sap.ui.mdc.FilterBar FilterBar} sets a default
|
|
12206
|
+
* binding. For example, for a {@link sap.ui.mdc.FilterField FilterField} control inside a {@link sap.ui.mdc.FilterBar FilterBar }
|
|
12103
12207
|
* control, the binding looks like this:
|
|
12104
12208
|
* `conditions="{$filters>/conditions/propertyPath}"` with the following data:
|
|
12105
12209
|
* - `$filters` as the name of the condition model
|
|
@@ -12141,10 +12245,10 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12141
12245
|
/**
|
|
12142
12246
|
* If set, an empty `Field` renders an empty indicator in display mode.
|
|
12143
12247
|
*
|
|
12144
|
-
* This property only takes effect if
|
|
12248
|
+
* This property only takes effect if {@link #setEditMode editMode} is set to `Display`.
|
|
12145
12249
|
*
|
|
12146
|
-
* **Note
|
|
12147
|
-
* show nothing, depending on the
|
|
12250
|
+
* **Note:** Empty means the `Field` holds no value. If an empty string is a valid value, the `Field` might
|
|
12251
|
+
* show nothing, depending on the {@link #setDisplay display} settings and assigned description or {@link #setValueHelp ValueHelp}.
|
|
12148
12252
|
*
|
|
12149
12253
|
* @since 1.85.0
|
|
12150
12254
|
*/
|
|
@@ -12153,9 +12257,10 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12153
12257
|
/**
|
|
12154
12258
|
* Optional content that can be rendered.
|
|
12155
12259
|
*
|
|
12156
|
-
* Per default, depending on
|
|
12157
|
-
*
|
|
12158
|
-
* control in
|
|
12260
|
+
* Per default, depending on {@link #getEditMode editMode}, {@link #getMultipleLines multipleLines} and
|
|
12261
|
+
* the used data type, a content control is rendered. For simple string types, a {@link sap.m.Text Text }
|
|
12262
|
+
* control is rendered in display mode and a {@link sap.m.Input Input} control in edit mode. If a control
|
|
12263
|
+
* is assigned in the `content` aggregation, this will be rendered instead.
|
|
12159
12264
|
*
|
|
12160
12265
|
* **Note:** Bind the value-holding property of the control to `'$field>/conditions'` using {@link sap.ui.mdc.field.ConditionsType ConditionsType }
|
|
12161
12266
|
* as type.
|
|
@@ -12171,11 +12276,11 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12171
12276
|
content?: Control1;
|
|
12172
12277
|
|
|
12173
12278
|
/**
|
|
12174
|
-
* Optional content to be rendered if the
|
|
12279
|
+
* Optional content to be rendered if the {@link #getEditMode editMode} property is not set to `Display`.
|
|
12175
12280
|
*
|
|
12176
|
-
* Per default, depending on
|
|
12177
|
-
* mode. For simple string types, an {@link sap.m.Input Input} control is rendered in
|
|
12178
|
-
* is assigned in the `contentEdit` aggregation, this will be rendered instead.
|
|
12281
|
+
* Per default, depending on {@link #getMultipleLines multipleLines} and the used data type, a content control
|
|
12282
|
+
* is rendered in edit mode. For simple string types, an {@link sap.m.Input Input} control is rendered in
|
|
12283
|
+
* edit mode. If a control is assigned in the `contentEdit` aggregation, this will be rendered instead.
|
|
12179
12284
|
*
|
|
12180
12285
|
* **Note:** If a control is assigned to the `content` aggregation, this one is ignored.
|
|
12181
12286
|
*
|
|
@@ -12195,11 +12300,11 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12195
12300
|
contentEdit?: Control1;
|
|
12196
12301
|
|
|
12197
12302
|
/**
|
|
12198
|
-
* Optional content to be rendered if the
|
|
12303
|
+
* Optional content to be rendered if the {@link #getEditMode editMode} property is set to `Display`.
|
|
12199
12304
|
*
|
|
12200
|
-
* Per default, depending on
|
|
12201
|
-
* mode. For simple string types, a {@link sap.m.Text Text} control is rendered in
|
|
12202
|
-
* is assigned in the `contentDisplay` aggregation, this will be rendered instead.
|
|
12305
|
+
* Per default, depending on {@link #getMultipleLines multipleLines} and the used data type, a content control
|
|
12306
|
+
* is rendered in display mode. For simple string types, a {@link sap.m.Text Text} control is rendered in
|
|
12307
|
+
* display mode. If a control is assigned in the `contentDisplay` aggregation, this will be rendered instead.
|
|
12203
12308
|
*
|
|
12204
12309
|
* **Note:** If a control is assigned to the `content` aggregation, this one is ignored.
|
|
12205
12310
|
*
|
|
@@ -12233,7 +12338,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12233
12338
|
*
|
|
12234
12339
|
* **Note:** If the field is inside of a table, do not set the `ValueHelp` instance as `dependent` to the
|
|
12235
12340
|
* field. If you do, every field instance in every table row gets a clone of it. Put the `ValueHelp` instance
|
|
12236
|
-
* e.g. as dependent on the table or page. The `
|
|
12341
|
+
* e.g. as dependent on the table or page. The `ValueHelp` instance must be somewhere in the control tree,
|
|
12237
12342
|
* otherwise there might be rendering or update issues.
|
|
12238
12343
|
*
|
|
12239
12344
|
* **Note:** For `Boolean` fields, no `ValueHelp` should be added, but a default `ValueHelp` used instead.
|
|
@@ -12245,12 +12350,14 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12245
12350
|
/**
|
|
12246
12351
|
* Optional `ValueHelp`.
|
|
12247
12352
|
*
|
|
12248
|
-
* This is an association that allows the usage of one
|
|
12353
|
+
* This is an association that allows the usage of one {@link sap.ui.mdc.ValueHelp ValueHelp} instance for
|
|
12354
|
+
* multiple fields.
|
|
12249
12355
|
*
|
|
12250
|
-
* **Note:** If the field is inside of a table, do not set the
|
|
12251
|
-
* field. If you do, every field instance in
|
|
12252
|
-
*
|
|
12253
|
-
*
|
|
12356
|
+
* **Note:** If the field is inside of a table, do not set the {@link sap.ui.mdc.ValueHelp ValueHelp} instance
|
|
12357
|
+
* as {@link sap.ui.core.Element#addDependent dependent} to the field. If you do, every field instance in
|
|
12358
|
+
* every table row gets a clone of it. Put the {@link sap.ui.mdc.ValueHelp ValueHelp} instance e.g. as {@link sap.ui.core.Element#addDependent dependent }
|
|
12359
|
+
* on the table or page. The {@link sap.ui.mdc.ValueHelp ValueHelp} instance must be somewhere in the control
|
|
12360
|
+
* tree, otherwise there might be rendering or update issues.
|
|
12254
12361
|
*
|
|
12255
12362
|
* **Note:** For `Boolean` fields, no `ValueHelp` should be added, but a default `ValueHelp` used instead.
|
|
12256
12363
|
*/
|
|
@@ -12264,7 +12371,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12264
12371
|
/**
|
|
12265
12372
|
* This event is fired when the value of the field is changed, for example, each time a key is pressed.
|
|
12266
12373
|
*
|
|
12267
|
-
* **Note
|
|
12374
|
+
* **Note:** This event is only triggered if the used content control has a `liveChange` event.
|
|
12268
12375
|
*/
|
|
12269
12376
|
liveChange?: (oEvent: FieldBase$LiveChangeEvent) => void;
|
|
12270
12377
|
|
|
@@ -12277,7 +12384,7 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
12277
12384
|
* This event is fired when the user presses Enter. It allows the application to implement some
|
|
12278
12385
|
* submit logic.
|
|
12279
12386
|
*
|
|
12280
|
-
* **Note
|
|
12387
|
+
* **Note:** This event is only triggered if the field is editable.
|
|
12281
12388
|
*
|
|
12282
12389
|
* @since 1.82.0
|
|
12283
12390
|
*/
|
|
@@ -13377,19 +13484,6 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
13377
13484
|
*/
|
|
13378
13485
|
mParameters?: FilterBarBase$SearchEventParameters
|
|
13379
13486
|
): this;
|
|
13380
|
-
/**
|
|
13381
|
-
* Updates the Adapt Filters button text based on the number of assigned filters.
|
|
13382
|
-
*
|
|
13383
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13384
|
-
*
|
|
13385
|
-
* @returns text for the Adapt Filters button
|
|
13386
|
-
*/
|
|
13387
|
-
getAdaptFiltersButtonText(
|
|
13388
|
-
/**
|
|
13389
|
-
* number of assigned filters
|
|
13390
|
-
*/
|
|
13391
|
-
iFilterCount: int
|
|
13392
|
-
): string;
|
|
13393
13487
|
/**
|
|
13394
13488
|
* Gets the labels of all filters with a value assignment.
|
|
13395
13489
|
*
|
|
@@ -14137,19 +14231,21 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14137
14231
|
|
|
14138
14232
|
/**
|
|
14139
14233
|
* The `FilterField` control is used to filter data based on the conditions. The conditions are managed
|
|
14140
|
-
* in the corresponding {@link sap.ui.mdc.FilterBar FilterBar}. That is why the
|
|
14141
|
-
* be bound to the related conditions in the {@link sap.ui.mdc.FilterBar FilterBar}. The type
|
|
14142
|
-
* must be defined in the
|
|
14234
|
+
* in the corresponding {@link sap.ui.mdc.FilterBar FilterBar}. That is why the {@link sap.ui.mdc.field.FieldBase#bindConditions conditions }
|
|
14235
|
+
* property must be bound to the related conditions in the {@link sap.ui.mdc.FilterBar FilterBar}. The type
|
|
14236
|
+
* of this data must be defined in the {@link sap.ui.mdc.field.FieldBase#setDataType dataType} property.
|
|
14143
14237
|
*
|
|
14144
14238
|
* Based on the data type settings, a default control is rendered by the `FilterField` as follows:
|
|
14145
14239
|
*
|
|
14146
14240
|
*
|
|
14147
14241
|
* - In display mode, usually a {@link sap.m.Text Text} control is rendered.
|
|
14148
|
-
* - If
|
|
14242
|
+
* - If {@link sap.ui.mdc.field.FieldBase#getMultipleLines multipleLines} is set, an {@link sap.m.ExpandableText ExpandableText }
|
|
14243
|
+
* control is rendered.
|
|
14149
14244
|
* - If multiple values are allowed, a {@link sap.m.Tokenizer Tokenizer} control is rendered.
|
|
14150
14245
|
* - In edit mode, usually an {@link sap.m.Input Input} control is rendered.
|
|
14151
14246
|
* - If multiple values are allowed, a {@link sap.m.MultiInput MultiInput} control is rendered.
|
|
14152
|
-
* - If
|
|
14247
|
+
* - If {@link sap.ui.mdc.field.FieldBase#getMultipleLines multipleLines} is set, a {@link sap.m.TextArea TextArea }
|
|
14248
|
+
* control is rendered.
|
|
14153
14249
|
* - If a date type or a date/time type is used and only one condition is supported, a {@link sap.m.DynamicDateRange DynamicDateRange }
|
|
14154
14250
|
* control is rendered.
|
|
14155
14251
|
* - If a date type is used and only single values are allowed, a {@link sap.m.DatePicker DatePicker }
|
|
@@ -14242,8 +14338,8 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14242
14338
|
/**
|
|
14243
14339
|
* Adds an operator to the list of known operators.
|
|
14244
14340
|
*
|
|
14245
|
-
* **Note
|
|
14246
|
-
* operators. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14341
|
+
* **Note:** If no operator is set, the used {@link sap.ui.mdc.field.FieldBase#getDataType dataType} of
|
|
14342
|
+
* the `FilterField` defines the set of default operators. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14247
14343
|
*
|
|
14248
14344
|
*
|
|
14249
14345
|
* @returns Reference to `this` to allow method chaining
|
|
@@ -14257,7 +14353,7 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14257
14353
|
/**
|
|
14258
14354
|
* Adds an array of operators to the list of known operators.
|
|
14259
14355
|
*
|
|
14260
|
-
* **Note
|
|
14356
|
+
* **Note:** `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
14261
14357
|
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14262
14358
|
*
|
|
14263
14359
|
*
|
|
@@ -14275,7 +14371,8 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14275
14371
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
14276
14372
|
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
14277
14373
|
*
|
|
14278
|
-
* This event is fired when the
|
|
14374
|
+
* This event is fired when the {@link sap.ui.mdc.field.FieldBase#getConditions conditions} property of
|
|
14375
|
+
* the `FilterField` is changed by a user interaction.
|
|
14279
14376
|
*
|
|
14280
14377
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
14281
14378
|
*
|
|
@@ -14303,7 +14400,8 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14303
14400
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
14304
14401
|
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
14305
14402
|
*
|
|
14306
|
-
* This event is fired when the
|
|
14403
|
+
* This event is fired when the {@link sap.ui.mdc.field.FieldBase#getConditions conditions} property of
|
|
14404
|
+
* the `FilterField` is changed by a user interaction.
|
|
14307
14405
|
*
|
|
14308
14406
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
14309
14407
|
*
|
|
@@ -14370,7 +14468,7 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14370
14468
|
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14371
14469
|
* used is taken.
|
|
14372
14470
|
*
|
|
14373
|
-
* **Note
|
|
14471
|
+
* **Note:** `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
14374
14472
|
* instance itself.
|
|
14375
14473
|
*
|
|
14376
14474
|
* @since 1.88.0
|
|
@@ -14427,7 +14525,7 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14427
14525
|
/**
|
|
14428
14526
|
* Removes all given operators from the list of known operators.
|
|
14429
14527
|
*
|
|
14430
|
-
* **Note
|
|
14528
|
+
* **Note:** `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
14431
14529
|
* itself, or multiple operators inside an array. The standard operators are mentioned in {@link sap.ui.mdc.enums.OperatorName OperatorName}.
|
|
14432
14530
|
*/
|
|
14433
14531
|
removeOperators(
|
|
@@ -14462,7 +14560,7 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14462
14560
|
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14463
14561
|
* used is taken.
|
|
14464
14562
|
*
|
|
14465
|
-
* **Note
|
|
14563
|
+
* **Note:** `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
14466
14564
|
* instance itself.
|
|
14467
14565
|
*
|
|
14468
14566
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
@@ -14549,7 +14647,7 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14549
14647
|
* Default operator name for conditions. If empty, the relevant default operator depending on the data type
|
|
14550
14648
|
* used is taken.
|
|
14551
14649
|
*
|
|
14552
|
-
* **Note
|
|
14650
|
+
* **Note:** `defaultOperator` can be the name of an {@link sap.ui.mdc.condition.Operator Operator} or the
|
|
14553
14651
|
* instance itself.
|
|
14554
14652
|
*
|
|
14555
14653
|
* @since 1.88.0
|
|
@@ -14574,7 +14672,8 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
14574
14672
|
additionalDataType?: object | PropertyBindingInfo | `{${string}}`;
|
|
14575
14673
|
|
|
14576
14674
|
/**
|
|
14577
|
-
* This event is fired when the
|
|
14675
|
+
* This event is fired when the {@link sap.ui.mdc.field.FieldBase#getConditions conditions} property of
|
|
14676
|
+
* the `FilterField` is changed by a user interaction.
|
|
14578
14677
|
*
|
|
14579
14678
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
14580
14679
|
*/
|
|
@@ -16228,9 +16327,11 @@ declare module "sap/ui/mdc/MultiValueField" {
|
|
|
16228
16327
|
*
|
|
16229
16328
|
*
|
|
16230
16329
|
* - In display mode, usually a {@link sap.m.Tokenizer Tokenizer} control is rendered.
|
|
16231
|
-
* - If
|
|
16330
|
+
* - If {@link sap.ui.mdc.field.FieldBase#getMultipleLines multipleLines} is set, an {@link sap.m.ExpandableText ExpandableText }
|
|
16331
|
+
* control is rendered.
|
|
16232
16332
|
* - In edit mode, usually a {@link sap.m.MultiInput MultiInput} control is rendered.
|
|
16233
|
-
* - If
|
|
16333
|
+
* - If {@link sap.ui.mdc.field.FieldBase#getMultipleLines multipleLines} is set, a {@link sap.m.TextArea TextArea }
|
|
16334
|
+
* control is rendered.
|
|
16234
16335
|
*
|
|
16235
16336
|
* @since 1.93.0
|
|
16236
16337
|
*/
|
|
@@ -16321,7 +16422,7 @@ declare module "sap/ui/mdc/MultiValueField" {
|
|
|
16321
16422
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16322
16423
|
* otherwise it will be bound to this `sap.ui.mdc.MultiValueField` itself.
|
|
16323
16424
|
*
|
|
16324
|
-
* This event is fired when the
|
|
16425
|
+
* This event is fired when the {@link #getItems items} aggregation of the field is changed by user interaction.
|
|
16325
16426
|
*
|
|
16326
16427
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
16327
16428
|
*
|
|
@@ -16349,7 +16450,7 @@ declare module "sap/ui/mdc/MultiValueField" {
|
|
|
16349
16450
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16350
16451
|
* otherwise it will be bound to this `sap.ui.mdc.MultiValueField` itself.
|
|
16351
16452
|
*
|
|
16352
|
-
* This event is fired when the
|
|
16453
|
+
* This event is fired when the {@link #getItems items} aggregation of the field is changed by user interaction.
|
|
16353
16454
|
*
|
|
16354
16455
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
16355
16456
|
*
|
|
@@ -16773,7 +16874,7 @@ declare module "sap/ui/mdc/MultiValueField" {
|
|
|
16773
16874
|
| `{${string}}`;
|
|
16774
16875
|
|
|
16775
16876
|
/**
|
|
16776
|
-
* This event is fired when the
|
|
16877
|
+
* This event is fired when the {@link #getItems items} aggregation of the field is changed by user interaction.
|
|
16777
16878
|
*
|
|
16778
16879
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
16779
16880
|
*/
|
|
@@ -16787,8 +16888,9 @@ declare module "sap/ui/mdc/MultiValueField" {
|
|
|
16787
16888
|
/**
|
|
16788
16889
|
* The new items of the `MultiValueField` control.
|
|
16789
16890
|
*
|
|
16790
|
-
* If a
|
|
16791
|
-
*
|
|
16891
|
+
* If a {@link sap.ui.mdc.field.FieldBase#getValueHelp ValueHelp} element is assigned to the `MultiValueField`
|
|
16892
|
+
* control, the {@link sap.ui.mdc.field.MultiValueFieldItem#getKey key} of the items is used as key for
|
|
16893
|
+
* the {@link sap.ui.mdc.field.FieldBase#getValueHelp ValueHelp} items.
|
|
16792
16894
|
*/
|
|
16793
16895
|
items?: MultiValueFieldItem[];
|
|
16794
16896
|
|
|
@@ -17053,6 +17155,19 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17053
17155
|
* @returns Metadata object describing this class
|
|
17054
17156
|
*/
|
|
17055
17157
|
static getMetadata(): ElementMetadata;
|
|
17158
|
+
/**
|
|
17159
|
+
* Adds some tableAction to the aggregation {@link #getTableActions tableActions}.
|
|
17160
|
+
*
|
|
17161
|
+
* @since 1.143
|
|
17162
|
+
*
|
|
17163
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
17164
|
+
*/
|
|
17165
|
+
addTableAction(
|
|
17166
|
+
/**
|
|
17167
|
+
* The tableAction to add; if empty, nothing is inserted
|
|
17168
|
+
*/
|
|
17169
|
+
oTableAction: Control1
|
|
17170
|
+
): this;
|
|
17056
17171
|
/**
|
|
17057
17172
|
* Attaches event handler `fnFunction` to the {@link #event:beforeExport beforeExport} event of this `sap.ui.mdc.Table`.
|
|
17058
17173
|
*
|
|
@@ -17358,6 +17473,14 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17358
17473
|
* @returns Reference to `this` in order to allow method chaining
|
|
17359
17474
|
*/
|
|
17360
17475
|
destroyRowSettings(): this;
|
|
17476
|
+
/**
|
|
17477
|
+
* Destroys all the tableActions in the aggregation {@link #getTableActions tableActions}.
|
|
17478
|
+
*
|
|
17479
|
+
* @since 1.143
|
|
17480
|
+
*
|
|
17481
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
17482
|
+
*/
|
|
17483
|
+
destroyTableActions(): this;
|
|
17361
17484
|
/**
|
|
17362
17485
|
* Destroys the type in the aggregation {@link #getType type}.
|
|
17363
17486
|
*
|
|
@@ -17924,6 +18047,20 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17924
18047
|
* @returns Value of property `showRowCount`
|
|
17925
18048
|
*/
|
|
17926
18049
|
getShowRowCount(): boolean;
|
|
18050
|
+
/**
|
|
18051
|
+
* Gets content of aggregation {@link #getTableActions tableActions}.
|
|
18052
|
+
*
|
|
18053
|
+
* Additional table-related actions that are positioned together with other table-generated actions, based
|
|
18054
|
+
* on the {@link sap.ui.mdc.table.ActionLayoutData ActionLayoutData} provided.
|
|
18055
|
+
*
|
|
18056
|
+
* **Note:** All actions should use layout data of the {@link sap.ui.mdc.table.ActionLayoutData ActionLayoutData }
|
|
18057
|
+
* type to ensure correct ordering. Actions that do not use this layout data will be placed after the table-generated
|
|
18058
|
+
* actions.
|
|
18059
|
+
* **Note:** Like other table-generated actions, these actions are excluded from the UI adaptation.
|
|
18060
|
+
*
|
|
18061
|
+
* @since 1.143
|
|
18062
|
+
*/
|
|
18063
|
+
getTableActions(): Control1[];
|
|
17927
18064
|
/**
|
|
17928
18065
|
* Gets current value of property {@link #getThreshold threshold}.
|
|
17929
18066
|
*
|
|
@@ -18007,6 +18144,20 @@ declare module "sap/ui/mdc/Table" {
|
|
|
18007
18144
|
*/
|
|
18008
18145
|
oColumn: Column
|
|
18009
18146
|
): int;
|
|
18147
|
+
/**
|
|
18148
|
+
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getTableActions tableActions}.
|
|
18149
|
+
* and returns its index if found or -1 otherwise.
|
|
18150
|
+
*
|
|
18151
|
+
* @since 1.143
|
|
18152
|
+
*
|
|
18153
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
18154
|
+
*/
|
|
18155
|
+
indexOfTableAction(
|
|
18156
|
+
/**
|
|
18157
|
+
* The tableAction whose index is looked for
|
|
18158
|
+
*/
|
|
18159
|
+
oTableAction: Control1
|
|
18160
|
+
): int;
|
|
18010
18161
|
/**
|
|
18011
18162
|
* Returns a `Promise` that resolves after the table has been initialized, and after it has been created
|
|
18012
18163
|
* or its type has been changed.
|
|
@@ -18015,6 +18166,25 @@ declare module "sap/ui/mdc/Table" {
|
|
|
18015
18166
|
* @returns A `Promise` that resolves after the table has been initialized
|
|
18016
18167
|
*/
|
|
18017
18168
|
initialized(): Promise<any>;
|
|
18169
|
+
/**
|
|
18170
|
+
* Inserts a tableAction into the aggregation {@link #getTableActions tableActions}.
|
|
18171
|
+
*
|
|
18172
|
+
* @since 1.143
|
|
18173
|
+
*
|
|
18174
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
18175
|
+
*/
|
|
18176
|
+
insertTableAction(
|
|
18177
|
+
/**
|
|
18178
|
+
* The tableAction to insert; if empty, nothing is inserted
|
|
18179
|
+
*/
|
|
18180
|
+
oTableAction: Control1,
|
|
18181
|
+
/**
|
|
18182
|
+
* The `0`-based index the tableAction should be inserted at; for a negative value of `iIndex`, the tableAction
|
|
18183
|
+
* is inserted at position 0; for a value greater than the current size of the aggregation, the tableAction
|
|
18184
|
+
* is inserted at the last position
|
|
18185
|
+
*/
|
|
18186
|
+
iIndex: int
|
|
18187
|
+
): this;
|
|
18018
18188
|
/**
|
|
18019
18189
|
* Checks whether the table is bound.
|
|
18020
18190
|
*
|
|
@@ -18031,6 +18201,29 @@ declare module "sap/ui/mdc/Table" {
|
|
|
18031
18201
|
* for example because there are invalid filters.
|
|
18032
18202
|
*/
|
|
18033
18203
|
rebind(): Promise<any>;
|
|
18204
|
+
/**
|
|
18205
|
+
* Removes all the controls from the aggregation {@link #getTableActions tableActions}.
|
|
18206
|
+
*
|
|
18207
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
18208
|
+
*
|
|
18209
|
+
* @since 1.143
|
|
18210
|
+
*
|
|
18211
|
+
* @returns An array of the removed elements (might be empty)
|
|
18212
|
+
*/
|
|
18213
|
+
removeAllTableActions(): Control1[];
|
|
18214
|
+
/**
|
|
18215
|
+
* Removes a tableAction from the aggregation {@link #getTableActions tableActions}.
|
|
18216
|
+
*
|
|
18217
|
+
* @since 1.143
|
|
18218
|
+
*
|
|
18219
|
+
* @returns The removed tableAction or `null`
|
|
18220
|
+
*/
|
|
18221
|
+
removeTableAction(
|
|
18222
|
+
/**
|
|
18223
|
+
* The tableAction to remove or its index or id
|
|
18224
|
+
*/
|
|
18225
|
+
vTableAction: int | string | Control1
|
|
18226
|
+
): Control1 | null;
|
|
18034
18227
|
/**
|
|
18035
18228
|
* Scrolls the table to the row with the given index. Depending on the table type, this might cause additional
|
|
18036
18229
|
* requests. If the given index is -1, it will scroll to the end of the table based on the length of the
|
|
@@ -19101,6 +19294,23 @@ declare module "sap/ui/mdc/Table" {
|
|
|
19101
19294
|
*/
|
|
19102
19295
|
actions?: Control1[] | Control1 | AggregationBindingInfo | `{${string}}`;
|
|
19103
19296
|
|
|
19297
|
+
/**
|
|
19298
|
+
* Additional table-related actions that are positioned together with other table-generated actions, based
|
|
19299
|
+
* on the {@link sap.ui.mdc.table.ActionLayoutData ActionLayoutData} provided.
|
|
19300
|
+
*
|
|
19301
|
+
* **Note:** All actions should use layout data of the {@link sap.ui.mdc.table.ActionLayoutData ActionLayoutData }
|
|
19302
|
+
* type to ensure correct ordering. Actions that do not use this layout data will be placed after the table-generated
|
|
19303
|
+
* actions.
|
|
19304
|
+
* **Note:** Like other table-generated actions, these actions are excluded from the UI adaptation.
|
|
19305
|
+
*
|
|
19306
|
+
* @since 1.143
|
|
19307
|
+
*/
|
|
19308
|
+
tableActions?:
|
|
19309
|
+
| Control1[]
|
|
19310
|
+
| Control1
|
|
19311
|
+
| AggregationBindingInfo
|
|
19312
|
+
| `{${string}}`;
|
|
19313
|
+
|
|
19104
19314
|
/**
|
|
19105
19315
|
* VariantManagement control for the table.
|
|
19106
19316
|
*/
|
|
@@ -19316,6 +19526,138 @@ declare module "sap/ui/mdc/Table" {
|
|
|
19316
19526
|
>;
|
|
19317
19527
|
}
|
|
19318
19528
|
|
|
19529
|
+
declare module "sap/ui/mdc/table/ActionLayoutData" {
|
|
19530
|
+
import {
|
|
19531
|
+
default as OverflowToolbarLayoutData,
|
|
19532
|
+
$OverflowToolbarLayoutDataSettings,
|
|
19533
|
+
} from "sap/m/OverflowToolbarLayoutData";
|
|
19534
|
+
|
|
19535
|
+
import { IActionLayoutData } from "sap/ui/mdc/library";
|
|
19536
|
+
|
|
19537
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
19538
|
+
|
|
19539
|
+
import TableActionPosition from "sap/ui/mdc/enums/TableActionPosition";
|
|
19540
|
+
|
|
19541
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
19542
|
+
|
|
19543
|
+
/**
|
|
19544
|
+
* Defines the layout data for the {@link sap.ui.mdc.Table#getActions actions} and {@link sap.ui.mdc.Table#getTableActions tableActions }
|
|
19545
|
+
* of the {@link sap.ui.mdc.Table Table}.
|
|
19546
|
+
*
|
|
19547
|
+
* @since 1.143
|
|
19548
|
+
*/
|
|
19549
|
+
export default class ActionLayoutData
|
|
19550
|
+
extends OverflowToolbarLayoutData
|
|
19551
|
+
implements IActionLayoutData
|
|
19552
|
+
{
|
|
19553
|
+
__implements__sap_ui_mdc_IActionLayoutData: boolean;
|
|
19554
|
+
/**
|
|
19555
|
+
* Constructor for a new `ActionLayoutData`.
|
|
19556
|
+
*
|
|
19557
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
19558
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
19559
|
+
* of the syntax of the settings object.
|
|
19560
|
+
*/
|
|
19561
|
+
constructor(
|
|
19562
|
+
/**
|
|
19563
|
+
* Initial settings for the new layout data
|
|
19564
|
+
*/
|
|
19565
|
+
mSettings?: $ActionLayoutDataSettings
|
|
19566
|
+
);
|
|
19567
|
+
/**
|
|
19568
|
+
* Constructor for a new `ActionLayoutData`.
|
|
19569
|
+
*
|
|
19570
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
19571
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
19572
|
+
* of the syntax of the settings object.
|
|
19573
|
+
*/
|
|
19574
|
+
constructor(
|
|
19575
|
+
/**
|
|
19576
|
+
* ID for the new layout data, generated automatically if no ID is given
|
|
19577
|
+
*/
|
|
19578
|
+
sId?: string,
|
|
19579
|
+
/**
|
|
19580
|
+
* Initial settings for the new layout data
|
|
19581
|
+
*/
|
|
19582
|
+
mSettings?: $ActionLayoutDataSettings
|
|
19583
|
+
);
|
|
19584
|
+
|
|
19585
|
+
/**
|
|
19586
|
+
* Creates a new subclass of class sap.ui.mdc.table.ActionLayoutData with name `sClassName` and enriches
|
|
19587
|
+
* it with the information contained in `oClassInfo`.
|
|
19588
|
+
*
|
|
19589
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.m.OverflowToolbarLayoutData.extend}.
|
|
19590
|
+
*
|
|
19591
|
+
*
|
|
19592
|
+
* @returns Created class / constructor function
|
|
19593
|
+
*/
|
|
19594
|
+
static extend<T extends Record<string, unknown>>(
|
|
19595
|
+
/**
|
|
19596
|
+
* Name of the class being created
|
|
19597
|
+
*/
|
|
19598
|
+
sClassName: string,
|
|
19599
|
+
/**
|
|
19600
|
+
* Object literal with information about the class
|
|
19601
|
+
*/
|
|
19602
|
+
oClassInfo?: sap.ClassInfo<T, ActionLayoutData>,
|
|
19603
|
+
/**
|
|
19604
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
19605
|
+
* used by this class
|
|
19606
|
+
*/
|
|
19607
|
+
FNMetaImpl?: Function
|
|
19608
|
+
): Function;
|
|
19609
|
+
/**
|
|
19610
|
+
* Returns a metadata object for class sap.ui.mdc.table.ActionLayoutData.
|
|
19611
|
+
*
|
|
19612
|
+
*
|
|
19613
|
+
* @returns Metadata object describing this class
|
|
19614
|
+
*/
|
|
19615
|
+
static getMetadata(): ElementMetadata;
|
|
19616
|
+
/**
|
|
19617
|
+
* Gets current value of property {@link #getPosition position}.
|
|
19618
|
+
*
|
|
19619
|
+
* Defines the position of the action within the group of table actions.
|
|
19620
|
+
*
|
|
19621
|
+
* Default value is `EndActions`.
|
|
19622
|
+
*
|
|
19623
|
+
*
|
|
19624
|
+
* @returns Value of property `position`
|
|
19625
|
+
*/
|
|
19626
|
+
getPosition(): TableActionPosition;
|
|
19627
|
+
/**
|
|
19628
|
+
* Sets a new value for property {@link #getPosition position}.
|
|
19629
|
+
*
|
|
19630
|
+
* Defines the position of the action within the group of table actions.
|
|
19631
|
+
*
|
|
19632
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
19633
|
+
*
|
|
19634
|
+
* Default value is `EndActions`.
|
|
19635
|
+
*
|
|
19636
|
+
*
|
|
19637
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
19638
|
+
*/
|
|
19639
|
+
setPosition(
|
|
19640
|
+
/**
|
|
19641
|
+
* New value for property `position`
|
|
19642
|
+
*/
|
|
19643
|
+
sPosition?: TableActionPosition | keyof typeof TableActionPosition
|
|
19644
|
+
): this;
|
|
19645
|
+
}
|
|
19646
|
+
/**
|
|
19647
|
+
* Describes the settings that can be provided to the ActionLayoutData constructor.
|
|
19648
|
+
*/
|
|
19649
|
+
export interface $ActionLayoutDataSettings
|
|
19650
|
+
extends $OverflowToolbarLayoutDataSettings {
|
|
19651
|
+
/**
|
|
19652
|
+
* Defines the position of the action within the group of table actions.
|
|
19653
|
+
*/
|
|
19654
|
+
position?:
|
|
19655
|
+
| (TableActionPosition | keyof typeof TableActionPosition)
|
|
19656
|
+
| PropertyBindingInfo
|
|
19657
|
+
| `{${string}}`;
|
|
19658
|
+
}
|
|
19659
|
+
}
|
|
19660
|
+
|
|
19319
19661
|
declare module "sap/ui/mdc/table/Column" {
|
|
19320
19662
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
19321
19663
|
|
|
@@ -21369,6 +21711,8 @@ declare module "sap/ui/mdc/table/ResponsiveTableType" {
|
|
|
21369
21711
|
|
|
21370
21712
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
21371
21713
|
|
|
21714
|
+
import TablePopinDisplay from "sap/ui/mdc/enums/TablePopinDisplay";
|
|
21715
|
+
|
|
21372
21716
|
import { PopinLayout } from "sap/m/library";
|
|
21373
21717
|
|
|
21374
21718
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -21468,6 +21812,18 @@ declare module "sap/ui/mdc/table/ResponsiveTableType" {
|
|
|
21468
21812
|
* @returns Value of property `growingMode`
|
|
21469
21813
|
*/
|
|
21470
21814
|
getGrowingMode(): TableGrowingMode;
|
|
21815
|
+
/**
|
|
21816
|
+
* Gets current value of property {@link #getPopinDisplay popinDisplay}.
|
|
21817
|
+
*
|
|
21818
|
+
* Defines how the pop-in content is displayed.
|
|
21819
|
+
*
|
|
21820
|
+
* Default value is `Inline`.
|
|
21821
|
+
*
|
|
21822
|
+
* @since 1.143
|
|
21823
|
+
*
|
|
21824
|
+
* @returns Value of property `popinDisplay`
|
|
21825
|
+
*/
|
|
21826
|
+
getPopinDisplay(): TablePopinDisplay;
|
|
21471
21827
|
/**
|
|
21472
21828
|
* Gets current value of property {@link #getPopinLayout popinLayout}.
|
|
21473
21829
|
*
|
|
@@ -21539,6 +21895,25 @@ declare module "sap/ui/mdc/table/ResponsiveTableType" {
|
|
|
21539
21895
|
*/
|
|
21540
21896
|
sGrowingMode?: TableGrowingMode | keyof typeof TableGrowingMode
|
|
21541
21897
|
): this;
|
|
21898
|
+
/**
|
|
21899
|
+
* Sets a new value for property {@link #getPopinDisplay popinDisplay}.
|
|
21900
|
+
*
|
|
21901
|
+
* Defines how the pop-in content is displayed.
|
|
21902
|
+
*
|
|
21903
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
21904
|
+
*
|
|
21905
|
+
* Default value is `Inline`.
|
|
21906
|
+
*
|
|
21907
|
+
* @since 1.143
|
|
21908
|
+
*
|
|
21909
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21910
|
+
*/
|
|
21911
|
+
setPopinDisplay(
|
|
21912
|
+
/**
|
|
21913
|
+
* New value for property `popinDisplay`
|
|
21914
|
+
*/
|
|
21915
|
+
sPopinDisplay?: TablePopinDisplay | keyof typeof TablePopinDisplay
|
|
21916
|
+
): this;
|
|
21542
21917
|
/**
|
|
21543
21918
|
* Sets a new value for property {@link #getPopinLayout popinLayout}.
|
|
21544
21919
|
*
|
|
@@ -21634,6 +22009,16 @@ declare module "sap/ui/mdc/table/ResponsiveTableType" {
|
|
|
21634
22009
|
| (PopinLayout | keyof typeof PopinLayout)
|
|
21635
22010
|
| PropertyBindingInfo
|
|
21636
22011
|
| `{${string}}`;
|
|
22012
|
+
|
|
22013
|
+
/**
|
|
22014
|
+
* Defines how the pop-in content is displayed.
|
|
22015
|
+
*
|
|
22016
|
+
* @since 1.143
|
|
22017
|
+
*/
|
|
22018
|
+
popinDisplay?:
|
|
22019
|
+
| (TablePopinDisplay | keyof typeof TablePopinDisplay)
|
|
22020
|
+
| PropertyBindingInfo
|
|
22021
|
+
| `{${string}}`;
|
|
21637
22022
|
}
|
|
21638
22023
|
}
|
|
21639
22024
|
|
|
@@ -27275,12 +27660,16 @@ declare namespace sap {
|
|
|
27275
27660
|
|
|
27276
27661
|
"sap/ui/mdc/enums/RequestShowContainerReason": undefined;
|
|
27277
27662
|
|
|
27663
|
+
"sap/ui/mdc/enums/TableActionPosition": undefined;
|
|
27664
|
+
|
|
27278
27665
|
"sap/ui/mdc/enums/TableGrowingMode": undefined;
|
|
27279
27666
|
|
|
27280
27667
|
"sap/ui/mdc/enums/TableMultiSelectMode": undefined;
|
|
27281
27668
|
|
|
27282
27669
|
"sap/ui/mdc/enums/TableP13nMode": undefined;
|
|
27283
27670
|
|
|
27671
|
+
"sap/ui/mdc/enums/TablePopinDisplay": undefined;
|
|
27672
|
+
|
|
27284
27673
|
"sap/ui/mdc/enums/TableRowActionType": undefined;
|
|
27285
27674
|
|
|
27286
27675
|
"sap/ui/mdc/enums/TableRowCountMode": undefined;
|
|
@@ -27409,6 +27798,8 @@ declare namespace sap {
|
|
|
27409
27798
|
|
|
27410
27799
|
"sap/ui/mdc/Table": undefined;
|
|
27411
27800
|
|
|
27801
|
+
"sap/ui/mdc/table/ActionLayoutData": undefined;
|
|
27802
|
+
|
|
27412
27803
|
"sap/ui/mdc/table/Column": undefined;
|
|
27413
27804
|
|
|
27414
27805
|
"sap/ui/mdc/table/ColumnSettings": undefined;
|