@openui5/sap.ui.mdc 1.129.0 → 1.130.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/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +1 -1
- package/src/sap/ui/mdc/ActionToolbar.js +1 -1
- package/src/sap/ui/mdc/Chart.js +6 -4
- package/src/sap/ui/mdc/ChartRenderer.js +0 -8
- package/src/sap/ui/mdc/Control.js +1 -1
- package/src/sap/ui/mdc/DefaultTypeMap.js +2 -1
- package/src/sap/ui/mdc/Element.js +1 -1
- package/src/sap/ui/mdc/Field.js +25 -22
- package/src/sap/ui/mdc/FilterBar.js +3 -1
- package/src/sap/ui/mdc/FilterField.js +7 -6
- package/src/sap/ui/mdc/Link.js +1 -1
- package/src/sap/ui/mdc/MultiValueField.js +14 -14
- package/src/sap/ui/mdc/Table.js +62 -43
- package/src/sap/ui/mdc/ValueHelp.js +13 -4
- package/src/sap/ui/mdc/ValueHelpDelegate.js +1 -1
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -2
- package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +1 -1
- package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
- package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/chart/ToolbarControlFactory.js +2 -2
- package/src/sap/ui/mdc/condition/Condition.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
- package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
- package/src/sap/ui/mdc/condition/Operator.js +3 -4
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
- package/src/sap/ui/mdc/condition/RangeOperator.js +6 -5
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +26 -23
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime.js +45 -31
- package/src/sap/ui/mdc/enums/TableRowCountMode.js +8 -1
- package/src/sap/ui/mdc/field/ConditionType.js +1 -1
- package/src/sap/ui/mdc/field/ConditionTypeMixin.js +1 -1
- package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/FieldBase.js +137 -77
- package/src/sap/ui/mdc/field/FieldBaseDelegate.js +8 -0
- package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInput.js +1 -1
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
- package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
- package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +17 -1
- package/src/sap/ui/mdc/field/content/ContentFactory.js +8 -0
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
- package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +19 -3
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/actiontoolbar/CombineAction.js +289 -0
- package/src/sap/ui/mdc/flexibility/actiontoolbar/SplitAction.js +151 -0
- package/src/sap/ui/mdc/library.js +2 -2
- package/src/sap/ui/mdc/link/Factory.js +1 -1
- package/src/sap/ui/mdc/link/LinkItem.js +1 -1
- package/src/sap/ui/mdc/link/Panel.js +1 -1
- package/src/sap/ui/mdc/link/PanelItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
- package/src/sap/ui/mdc/messagebundle_ar.properties +10 -10
- package/src/sap/ui/mdc/messagebundle_bg.properties +2 -2
- package/src/sap/ui/mdc/messagebundle_da.properties +2 -2
- package/src/sap/ui/mdc/messagebundle_hu.properties +3 -3
- package/src/sap/ui/mdc/messagebundle_it.properties +2 -2
- package/src/sap/ui/mdc/messagebundle_ko.properties +1 -1
- package/src/sap/ui/mdc/messagebundle_lv.properties +1 -1
- package/src/sap/ui/mdc/messagebundle_mk.properties +5 -5
- package/src/sap/ui/mdc/messagebundle_nl.properties +1 -1
- package/src/sap/ui/mdc/messagebundle_sl.properties +2 -2
- package/src/sap/ui/mdc/messagebundle_th.properties +2 -2
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
- package/src/sap/ui/mdc/odata/TypeMap.js +2 -1
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +24 -2
- package/src/sap/ui/mdc/odata/v4/TypeMap.js +2 -1
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/table/ColumnSettings.js +1 -1
- package/src/sap/ui/mdc/table/CreationRow.js +1 -1
- package/src/sap/ui/mdc/table/DragDropConfig.js +1 -1
- package/src/sap/ui/mdc/table/GridTableType.js +19 -10
- package/src/sap/ui/mdc/table/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +1 -1
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +1 -1
- package/src/sap/ui/mdc/table/RowActionItem.js +1 -4
- package/src/sap/ui/mdc/table/RowSettings.js +1 -1
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +53 -10
- package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +1 -3
- package/src/sap/ui/mdc/table/utils/Personalization.js +1 -1
- package/src/sap/ui/mdc/ushell/SemanticObjectMapping.js +1 -1
- package/src/sap/ui/mdc/ushell/SemanticObjectMappingItem.js +1 -1
- package/src/sap/ui/mdc/ushell/SemanticObjectUnavailableAction.js +1 -1
- package/src/sap/ui/mdc/util/IdentifierUtil.js +5 -6
- package/src/sap/ui/mdc/util/InfoBar.js +1 -1
- package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
- package/src/sap/ui/mdc/util/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/util/TypeMap.js +15 -4
- package/src/sap/ui/mdc/valuehelp/Dialog.js +4 -3
- package/src/sap/ui/mdc/valuehelp/FilterBar.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Popover.js +4 -4
- package/src/sap/ui/mdc/valuehelp/base/Container.js +8 -2
- package/src/sap/ui/mdc/valuehelp/base/Content.js +4 -3
- package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +3 -3
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +9 -5
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +5 -2
- package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +93 -47
package/THIRDPARTY.txt
CHANGED
|
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
|
|
|
6
6
|
|
|
7
7
|
Library: sap.m:
|
|
8
8
|
|
|
9
|
-
Component: purify.js, version:
|
|
9
|
+
Component: purify.js, version: 3.1.7
|
|
10
10
|
Copyright: Mario Heiderich
|
|
11
11
|
License: Apache-2.0
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.mdc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.130.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.mdc",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.m": "1.130.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.130.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.130.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/ui/mdc/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.130.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.ui.mdc</documentation>
|
|
12
12
|
|
package/src/sap/ui/mdc/Chart.js
CHANGED
|
@@ -75,13 +75,15 @@ sap.ui.define([
|
|
|
75
75
|
* @extends sap.ui.mdc.Control
|
|
76
76
|
* @borrows sap.ui.mdc.mixin.FilterIntegrationMixin.rebind as #rebind
|
|
77
77
|
* @author SAP SE
|
|
78
|
-
* @version 1.
|
|
78
|
+
* @version 1.130.0
|
|
79
79
|
* @constructor
|
|
80
80
|
*
|
|
81
81
|
* @public
|
|
82
82
|
*
|
|
83
83
|
* @since 1.88
|
|
84
84
|
* @alias sap.ui.mdc.Chart
|
|
85
|
+
* @see {@link topic:1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
86
|
+
* @see {@link topic:52d065ab8bb740c58c834a0c985e3b9e Chart Building Block (OData V4)}
|
|
85
87
|
* @experimental As of version 1.88
|
|
86
88
|
*/
|
|
87
89
|
const Chart = Control.extend("sap.ui.mdc.Chart", /** @lends sap.ui.mdc.Chart.prototype */ {
|
|
@@ -455,7 +457,7 @@ sap.ui.define([
|
|
|
455
457
|
});
|
|
456
458
|
|
|
457
459
|
const MDCRb = Library.getResourceBundleFor("sap.ui.mdc");
|
|
458
|
-
const {ToolbarDesign} = MLibrary;
|
|
460
|
+
const { ToolbarDesign } = MLibrary;
|
|
459
461
|
|
|
460
462
|
FilterIntegrationMixin.call(Chart.prototype);
|
|
461
463
|
|
|
@@ -1213,7 +1215,7 @@ sap.ui.define([
|
|
|
1213
1215
|
return this.getAggregation("_toolbar");
|
|
1214
1216
|
} else if (!this._bIsDestroyed) {
|
|
1215
1217
|
const oToolbar = new ActionToolbar(this.getId() + "--toolbar", {
|
|
1216
|
-
design: ToolbarDesign[ThemeParameters.get({name: "_sap_ui_mdc_Chart_ToolbarDesign"})], //"Transparent",
|
|
1218
|
+
design: ToolbarDesign[ThemeParameters.get({ name: "_sap_ui_mdc_Chart_ToolbarDesign" })], //"Transparent",
|
|
1217
1219
|
enabled: false
|
|
1218
1220
|
});
|
|
1219
1221
|
|
|
@@ -1228,7 +1230,7 @@ sap.ui.define([
|
|
|
1228
1230
|
Chart.prototype.onThemeChanged = function() {
|
|
1229
1231
|
const oToolbar = this._getToolbar();
|
|
1230
1232
|
if (oToolbar) {
|
|
1231
|
-
const sToolBarDesign = ToolbarDesign[ThemeParameters.get({name: "_sap_ui_mdc_Chart_ToolbarDesign"})];
|
|
1233
|
+
const sToolBarDesign = ToolbarDesign[ThemeParameters.get({ name: "_sap_ui_mdc_Chart_ToolbarDesign" })];
|
|
1232
1234
|
oToolbar.setDesign(sToolBarDesign);
|
|
1233
1235
|
}
|
|
1234
1236
|
};
|
|
@@ -40,11 +40,8 @@ sap.ui.define(['./library'],
|
|
|
40
40
|
oRm.style("min-height", oChart.getMinHeight());
|
|
41
41
|
oRm.style("min-width", oChart.getMinWidth());
|
|
42
42
|
oRm.openEnd();
|
|
43
|
-
oRm.openStart("div");
|
|
44
|
-
oRm.openEnd();
|
|
45
43
|
this.renderToolbar(oRm, oChart.getAggregation("_toolbar"));
|
|
46
44
|
this.renderInfoToolbar(oRm, oChart.getAggregation("_infoToolbar"));
|
|
47
|
-
oRm.close("div");
|
|
48
45
|
this.renderBreadcrumbs(oRm, oChart.getAggregation("_breadcrumbs"));
|
|
49
46
|
this.renderInnerStructure(oRm, oChart.getAggregation("_innerChart"));
|
|
50
47
|
oRm.close("div");
|
|
@@ -61,13 +58,8 @@ sap.ui.define(['./library'],
|
|
|
61
58
|
};
|
|
62
59
|
|
|
63
60
|
ChartRenderer.renderToolbar = function(oRm, oToolbar) {
|
|
64
|
-
|
|
65
61
|
if (oToolbar) {
|
|
66
|
-
oRm.openStart("div");
|
|
67
|
-
//oRm.class("sapUiFixFlexFixed");
|
|
68
|
-
oRm.openEnd();
|
|
69
62
|
oRm.renderControl(oToolbar);
|
|
70
|
-
oRm.close("div");
|
|
71
63
|
}
|
|
72
64
|
};
|
|
73
65
|
|
|
@@ -13,6 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
*
|
|
14
14
|
* Generic {@link module:sap/ui/mdc/util/TypeMap TypeMap} configuration for simple use cases.
|
|
15
15
|
*
|
|
16
|
+
* <b>Note:</b> The modules of all data types registered in a <code>TypeMap</code> must be loaded in advance.<br>
|
|
16
17
|
* <b>Note:</b> This {@link module:sap/ui/mdc/util/TypeMap TypeMap} implementation contains the following types:
|
|
17
18
|
*
|
|
18
19
|
* <ul>
|
|
@@ -28,7 +29,7 @@ sap.ui.define([
|
|
|
28
29
|
* </ul>
|
|
29
30
|
*
|
|
30
31
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
32
|
+
* @version 1.130.0
|
|
32
33
|
* @public
|
|
33
34
|
* @since 1.114.0
|
|
34
35
|
* @namespace
|
package/src/sap/ui/mdc/Field.js
CHANGED
|
@@ -54,13 +54,14 @@ sap.ui.define([
|
|
|
54
54
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
|
|
55
55
|
*
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.130.0
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @alias sap.ui.mdc.Field
|
|
61
|
-
* @
|
|
61
|
+
* @see {@link topic:1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
62
|
+
* @see {@link topic:5260b9ca249f465ab33769b9edb442aa Field Building Block (OData V4)}
|
|
63
|
+
* @version 1.130.0
|
|
62
64
|
* @since 1.54.0
|
|
63
|
-
*
|
|
64
65
|
* @public
|
|
65
66
|
*/
|
|
66
67
|
const Field = FieldBase.extend("sap.ui.mdc.Field", /* @lends sap.ui.mdc.Field.prototype */ {
|
|
@@ -172,10 +173,11 @@ sap.ui.define([
|
|
|
172
173
|
oBindingInfo.targetType = "raw"; // provide internal value to inner control
|
|
173
174
|
oDataType = this.getContentFactory().getDataType();
|
|
174
175
|
if (oBindingInfo.type && (!oDataType ||
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
oDataType.getMetadata().getName() !== oBindingInfo.type.getMetadata().getName() ||
|
|
177
|
+
!deepEqual(oDataType.getFormatOptions(), oBindingInfo.type.getFormatOptions()) ||
|
|
178
|
+
!deepEqual(oDataType.getConstraints(), oBindingInfo.type.getConstraints()) ||
|
|
179
|
+
oDataType._bCreatedByOperator !== oBindingInfo.type._bCreatedByOperator)
|
|
180
|
+
) {
|
|
179
181
|
this.getContentFactory().setDataType(oBindingInfo.type);
|
|
180
182
|
this.getContentFactory().setDateOriginalType(undefined);
|
|
181
183
|
this.getContentFactory().setUnitOriginalType(undefined);
|
|
@@ -194,10 +196,11 @@ sap.ui.define([
|
|
|
194
196
|
oBindingInfo.targetType = "raw"; // provide internal value to inner control
|
|
195
197
|
oDataType = this.getContentFactory().getAdditionalDataType();
|
|
196
198
|
if (oBindingInfo.type && (!oDataType ||
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
oDataType.getMetadata().getName() !== oBindingInfo.type.getMetadata().getName() ||
|
|
200
|
+
!deepEqual(oDataType.getFormatOptions(), oBindingInfo.type.getFormatOptions()) ||
|
|
201
|
+
!deepEqual(oDataType.getConstraints(), oBindingInfo.type.getConstraints()) ||
|
|
202
|
+
oDataType._bCreatedByOperator !== oBindingInfo.type._bCreatedByOperator)
|
|
203
|
+
) {
|
|
201
204
|
this.getContentFactory().setAdditionalDataType(oBindingInfo.type);
|
|
202
205
|
if (oBindingInfo.type.isA("sap.ui.model.CompositeType") && oBindingInfo.parts) {
|
|
203
206
|
aTypes = [];
|
|
@@ -274,7 +277,7 @@ sap.ui.define([
|
|
|
274
277
|
* @param {int} iMaxConditions Only 1 condition allowed in <code>Field</code>
|
|
275
278
|
* @returns {this} <code>this</code> to allow method chaining.
|
|
276
279
|
* @public
|
|
277
|
-
* @deprecated
|
|
280
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>.
|
|
278
281
|
* @ui5-not-supported
|
|
279
282
|
*/
|
|
280
283
|
Field.prototype.setMaxConditions = function(iMaxConditions) {
|
|
@@ -674,7 +677,7 @@ sap.ui.define([
|
|
|
674
677
|
* @param {object[]} aConditions Conditions that are set
|
|
675
678
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
676
679
|
* @public
|
|
677
|
-
* @deprecated
|
|
680
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. Use the <code>value</code> property and <code>additionalValue</code> property to bind the control.
|
|
678
681
|
* @ui5-not-supported
|
|
679
682
|
* @name sap.ui.mdc.Field#setConditions
|
|
680
683
|
* @function
|
|
@@ -688,7 +691,7 @@ sap.ui.define([
|
|
|
688
691
|
*
|
|
689
692
|
* @returns {object[]} Conditions of the field
|
|
690
693
|
* @public
|
|
691
|
-
* @deprecated
|
|
694
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. Use the <code>value</code> property and <code>additionalValue</code> property to bind the control.
|
|
692
695
|
* @ui5-not-supported
|
|
693
696
|
* @name sap.ui.mdc.Field#getConditions
|
|
694
697
|
* @function
|
|
@@ -705,7 +708,7 @@ sap.ui.define([
|
|
|
705
708
|
* @param {sap.ui.base.ManagedObject.PropertyBindingInfo} oBindingInfo The binding information
|
|
706
709
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
707
710
|
* @public
|
|
708
|
-
* @deprecated
|
|
711
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. Use the <code>value</code> property and <code>additionalValue</code> property to bind the control.
|
|
709
712
|
* @ui5-not-supported
|
|
710
713
|
* @name sap.ui.mdc.Field#bindConditions
|
|
711
714
|
* @function
|
|
@@ -719,7 +722,7 @@ sap.ui.define([
|
|
|
719
722
|
*
|
|
720
723
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
721
724
|
* @public
|
|
722
|
-
* @deprecated
|
|
725
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. Use the <code>value</code> property and <code>additionalValue</code> property to bind the control.
|
|
723
726
|
* @ui5-not-supported
|
|
724
727
|
* @name sap.ui.mdc.Field#unbindConditions
|
|
725
728
|
* @function
|
|
@@ -736,7 +739,7 @@ sap.ui.define([
|
|
|
736
739
|
* @param {string|undefined} sDataType DataType that is set
|
|
737
740
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
738
741
|
* @public
|
|
739
|
-
* @deprecated
|
|
742
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The type in the binding to the <code>value</code> property is used.
|
|
740
743
|
* @ui5-not-supported
|
|
741
744
|
* @name sap.ui.mdc.Field#setDataType
|
|
742
745
|
* @function
|
|
@@ -752,7 +755,7 @@ sap.ui.define([
|
|
|
752
755
|
*
|
|
753
756
|
* @returns {string} Value of property <code>dataType</code>
|
|
754
757
|
* @public
|
|
755
|
-
* @deprecated
|
|
758
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The type in the binding to the <code>value</code> property is used.
|
|
756
759
|
* @ui5-not-supported
|
|
757
760
|
* @name sap.ui.mdc.Field#getDataType
|
|
758
761
|
* @function
|
|
@@ -769,7 +772,7 @@ sap.ui.define([
|
|
|
769
772
|
* @param {object|undefined} oDataTypeConstraints Constraints that are set
|
|
770
773
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
771
774
|
* @public
|
|
772
|
-
* @deprecated
|
|
775
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The <code>Constraints</code> of the type in the binding to the <code>value</code> property is used.
|
|
773
776
|
* @ui5-not-supported
|
|
774
777
|
* @name sap.ui.mdc.Field#setDataTypeConstraints
|
|
775
778
|
* @function
|
|
@@ -785,7 +788,7 @@ sap.ui.define([
|
|
|
785
788
|
*
|
|
786
789
|
* @returns {object} Value of property <code>dataTypeConstraints</code>
|
|
787
790
|
* @public
|
|
788
|
-
* @deprecated
|
|
791
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The <code>Constraints</code> of the type in the binding to the <code>value</code> property is used.
|
|
789
792
|
* @ui5-not-supported
|
|
790
793
|
* @name sap.ui.mdc.Field#getDataTypeConstraints
|
|
791
794
|
* @function
|
|
@@ -802,7 +805,7 @@ sap.ui.define([
|
|
|
802
805
|
* @param {object|undefined} oDataTypeFormatOptions Format options that are set
|
|
803
806
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
804
807
|
* @public
|
|
805
|
-
* @deprecated
|
|
808
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The <code>FormatOptions</code> of the type in the binding to the <code>value</code> property is used.
|
|
806
809
|
* @ui5-not-supported
|
|
807
810
|
* @name sap.ui.mdc.Field#setDataTypeFormatOptions
|
|
808
811
|
* @function
|
|
@@ -818,7 +821,7 @@ sap.ui.define([
|
|
|
818
821
|
*
|
|
819
822
|
* @returns {object} Value of property <code>dataTypeFormatOptions</code>
|
|
820
823
|
* @public
|
|
821
|
-
* @deprecated
|
|
824
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The <code>FormatOptions</code> of the type in the binding to the <code>value</code> property is used.
|
|
822
825
|
* @ui5-not-supported
|
|
823
826
|
* @name sap.ui.mdc.Field#getDataTypeFormatOptions
|
|
824
827
|
* @function
|
|
@@ -45,11 +45,13 @@ sap.ui.define([
|
|
|
45
45
|
* The metadata information is provided via the {@link module:sap/ui/mdc/FilterBarDelegate FilterBarDelegate} implementation. This implementation has to be provided by the application.
|
|
46
46
|
* @extends sap.ui.mdc.filterbar.FilterBarBase
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.130.0
|
|
49
49
|
* @constructor
|
|
50
50
|
* @public
|
|
51
51
|
* @since 1.61.0
|
|
52
52
|
* @alias sap.ui.mdc.FilterBar
|
|
53
|
+
* @see {@link topic:1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
54
|
+
* @see {@link topic:78386110817d43978ffd6988d1704e38 FilterBar Building Block (OData V4)}
|
|
53
55
|
*/
|
|
54
56
|
const FilterBar = FilterBarBase.extend("sap.ui.mdc.FilterBar", {
|
|
55
57
|
metadata: {
|
|
@@ -53,13 +53,14 @@ sap.ui.define([
|
|
|
53
53
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
|
|
54
54
|
*
|
|
55
55
|
* @author SAP SE
|
|
56
|
-
* @version 1.
|
|
56
|
+
* @version 1.130.0
|
|
57
57
|
*
|
|
58
58
|
* @constructor
|
|
59
59
|
* @alias sap.ui.mdc.FilterField
|
|
60
|
-
* @
|
|
60
|
+
* @see {@link topic:1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
61
|
+
* @see {@link topic:2df783760a8e4540ad19ce5ec3ed91c8 FilterField Building Block (OData V4)}
|
|
62
|
+
* @version 1.130.0
|
|
61
63
|
* @since 1.48.0
|
|
62
|
-
*
|
|
63
64
|
* @public
|
|
64
65
|
*/
|
|
65
66
|
const FilterField = FieldBase.extend("sap.ui.mdc.FilterField", /* @lends sap.ui.mdc.FilterField.prototype */ {
|
|
@@ -481,7 +482,7 @@ sap.ui.define([
|
|
|
481
482
|
return [...oMap.entries()].find((aEntry) => deepEqual(aEntry[0], oCondition));
|
|
482
483
|
};
|
|
483
484
|
|
|
484
|
-
FilterField.prototype.getFormattingPromise = function
|
|
485
|
+
FilterField.prototype.getFormattingPromise = function() {
|
|
485
486
|
if (this._mDescriptionPromises) {
|
|
486
487
|
const aRunningPromises = [...this._mDescriptionPromises.values()];
|
|
487
488
|
if (aRunningPromises?.length) {
|
|
@@ -491,7 +492,7 @@ sap.ui.define([
|
|
|
491
492
|
return undefined;
|
|
492
493
|
};
|
|
493
494
|
|
|
494
|
-
FilterField.prototype._persistFormatConditions = function
|
|
495
|
+
FilterField.prototype._persistFormatConditions = function() {
|
|
495
496
|
if (!this.getFormattingPromise()) { // No running formatting promises? We only want to propagate results when formatting is completely done
|
|
496
497
|
const aConditions = this.getConditions();
|
|
497
498
|
const aNextConditions = aConditions.map((oCondition) => {
|
|
@@ -508,7 +509,7 @@ sap.ui.define([
|
|
|
508
509
|
const that = this;
|
|
509
510
|
return {
|
|
510
511
|
...FieldBase.prototype.getFormatOptions.apply(this, arguments),
|
|
511
|
-
awaitFormatCondition: function
|
|
512
|
+
awaitFormatCondition: function(oCondition, oFormattingPromise) {
|
|
512
513
|
const oFormatConditionPromise = oFormattingPromise.then((oFormattedCondition) => {
|
|
513
514
|
if (oFormattedCondition) {
|
|
514
515
|
that._mDescriptions.set(oCondition, oFormattedCondition);
|
package/src/sap/ui/mdc/Link.js
CHANGED
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @constructor
|
|
45
45
|
* @alias sap.ui.mdc.MultiValueField
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.130.0
|
|
48
48
|
* @since 1.93.0
|
|
49
49
|
*
|
|
50
50
|
* @public
|
|
@@ -222,7 +222,7 @@ sap.ui.define([
|
|
|
222
222
|
* @param {int} iMaxConditions More than 1 condition must be allowed in <code>MultiValueField</code>
|
|
223
223
|
* @returns {this} <code>this</code> to allow method chaining.
|
|
224
224
|
* @public
|
|
225
|
-
* @deprecated
|
|
225
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code> control.
|
|
226
226
|
* @ui5-not-supported
|
|
227
227
|
*/
|
|
228
228
|
Field.prototype.setMaxConditions = function(iMaxConditions) {
|
|
@@ -396,7 +396,7 @@ sap.ui.define([
|
|
|
396
396
|
* @param {object[]} aConditions Conditions to be set
|
|
397
397
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
398
398
|
* @public
|
|
399
|
-
* @deprecated
|
|
399
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>MultiValueField</code>. Use the <code>items</code> aggregation to bind the control.
|
|
400
400
|
* @ui5-not-supported
|
|
401
401
|
* @name sap.ui.mdc.MultiValueField#setConditions
|
|
402
402
|
* @function
|
|
@@ -410,7 +410,7 @@ sap.ui.define([
|
|
|
410
410
|
*
|
|
411
411
|
* @returns {object[]} conditions of the field
|
|
412
412
|
* @public
|
|
413
|
-
* @deprecated
|
|
413
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>MultiValueField</code>. Use the <code>items</code> aggregation to bind the control.
|
|
414
414
|
* @ui5-not-supported
|
|
415
415
|
* @name sap.ui.mdc.MultiValueField#getConditions
|
|
416
416
|
* @function
|
|
@@ -427,7 +427,7 @@ sap.ui.define([
|
|
|
427
427
|
* @param {sap.ui.base.ManagedObject.PropertyBindingInfo} oBindingInfo The binding information
|
|
428
428
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
429
429
|
* @public
|
|
430
|
-
* @deprecated
|
|
430
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. Use the <code>items</code> aggregation to bind the control.
|
|
431
431
|
* @ui5-not-supported
|
|
432
432
|
* @name sap.ui.mdc.MultiValueField#bindConditions
|
|
433
433
|
* @function
|
|
@@ -441,7 +441,7 @@ sap.ui.define([
|
|
|
441
441
|
*
|
|
442
442
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
443
443
|
* @public
|
|
444
|
-
* @deprecated
|
|
444
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. Use the <code>items</code> aggregation to bind the control.
|
|
445
445
|
* @ui5-not-supported
|
|
446
446
|
* @name sap.ui.mdc.MultiValueField#unbindConditions
|
|
447
447
|
* @function
|
|
@@ -458,7 +458,7 @@ sap.ui.define([
|
|
|
458
458
|
* @param {string|undefined} sDataType DataType to be set
|
|
459
459
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
460
460
|
* @public
|
|
461
|
-
* @deprecated
|
|
461
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
462
462
|
* @ui5-not-supported
|
|
463
463
|
* @name sap.ui.mdc.MultiValueField#setDataType
|
|
464
464
|
* @function
|
|
@@ -474,7 +474,7 @@ sap.ui.define([
|
|
|
474
474
|
*
|
|
475
475
|
* @returns {string} Value of property <code>dataType</code>
|
|
476
476
|
* @public
|
|
477
|
-
* @deprecated
|
|
477
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
478
478
|
* @ui5-not-supported
|
|
479
479
|
* @name sap.ui.mdc.MultiValueField#getDataType
|
|
480
480
|
* @function
|
|
@@ -491,7 +491,7 @@ sap.ui.define([
|
|
|
491
491
|
* @param {object|undefined} oDataTypeConstraints Constraints to be set
|
|
492
492
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
493
493
|
* @public
|
|
494
|
-
* @deprecated
|
|
494
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
495
495
|
* @ui5-not-supported
|
|
496
496
|
* @name sap.ui.mdc.MultiValueField#setDataTypeConstraints
|
|
497
497
|
* @function
|
|
@@ -507,7 +507,7 @@ sap.ui.define([
|
|
|
507
507
|
*
|
|
508
508
|
* @returns {object} Value of property <code>dataTypeConstraints</code>
|
|
509
509
|
* @public
|
|
510
|
-
* @deprecated
|
|
510
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
511
511
|
* @ui5-not-supported
|
|
512
512
|
* @name sap.ui.mdc.MultiValueField#getDataTypeConstraints
|
|
513
513
|
* @function
|
|
@@ -524,7 +524,7 @@ sap.ui.define([
|
|
|
524
524
|
* @param {object|undefined} oDataTypeFormatOptions Format options to be set
|
|
525
525
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
526
526
|
* @public
|
|
527
|
-
* @deprecated
|
|
527
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
528
528
|
* @ui5-not-supported
|
|
529
529
|
* @name sap.ui.mdc.MultiValueField#setDataTypeFormatOptions
|
|
530
530
|
* @function
|
|
@@ -540,7 +540,7 @@ sap.ui.define([
|
|
|
540
540
|
*
|
|
541
541
|
* @returns {object} Value of property <code>dataTypeFormatOptions</code>
|
|
542
542
|
* @public
|
|
543
|
-
* @deprecated
|
|
543
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
544
544
|
* @ui5-not-supported
|
|
545
545
|
* @name sap.ui.mdc.MultiValueField#getDataTypeFormatOptions
|
|
546
546
|
* @function
|
|
@@ -552,7 +552,7 @@ sap.ui.define([
|
|
|
552
552
|
* @param {boolean} [bMultipleLines=false] New value for property <code>multipleLines</code>
|
|
553
553
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
554
554
|
* @public
|
|
555
|
-
* @deprecated
|
|
555
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>.
|
|
556
556
|
* @ui5-not-supported
|
|
557
557
|
* @name sap.ui.mdc.MultiValueField#setMultipleLines
|
|
558
558
|
* @function
|
|
@@ -563,7 +563,7 @@ sap.ui.define([
|
|
|
563
563
|
*
|
|
564
564
|
* @returns {boolean} Value for property <code>multipleLines</code>
|
|
565
565
|
* @public
|
|
566
|
-
* @deprecated
|
|
566
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>.
|
|
567
567
|
* @ui5-not-supported
|
|
568
568
|
* @name sap.ui.mdc.MultiValueField#getMultipleLines
|
|
569
569
|
* @function
|