@openui5/sap.ui.mdc 1.139.1 → 1.139.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +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 +1 -1
- package/src/sap/ui/mdc/Control.js +1 -1
- package/src/sap/ui/mdc/DefaultTypeMap.js +1 -1
- package/src/sap/ui/mdc/Element.js +1 -1
- package/src/sap/ui/mdc/Field.js +2 -2
- package/src/sap/ui/mdc/FilterBar.js +1 -1
- package/src/sap/ui/mdc/FilterField.js +2 -2
- package/src/sap/ui/mdc/Link.js +1 -1
- package/src/sap/ui/mdc/MultiValueField.js +1 -1
- package/src/sap/ui/mdc/Table.js +36 -11
- package/src/sap/ui/mdc/ValueHelp.js +1 -1
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
- package/src/sap/ui/mdc/condition/RangeOperator.js +1 -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 +1 -1
- 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/FieldSelect.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 +1 -1
- 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/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/SortFlex.js +12 -5
- package/src/sap/ui/mdc/flexibility/actiontoolbar/CombineAction.js +1 -1
- package/src/sap/ui/mdc/flexibility/actiontoolbar/SplitAction.js +1 -1
- package/src/sap/ui/mdc/flexibility/helpers/getAffectedSorter.js +25 -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/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 +1 -1
- package/src/sap/ui/mdc/odata/v4/TypeMap.js +1 -1
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ColumnFreezeController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ShowDetailsController.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/ODataV4PropertyHelper.js +1 -1
- 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/RowActionItem.js +1 -1
- package/src/sap/ui/mdc/table/RowSettings.js +1 -1
- 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/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/PropertyHelperUtil.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Dialog.js +1 -1
- package/src/sap/ui/mdc/valuehelp/FilterBar.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Popover.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +1 -1
- 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 +1 -1
- 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 +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.mdc",
|
|
3
|
-
"version": "1.139.
|
|
3
|
+
"version": "1.139.2",
|
|
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/UI5/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.139.
|
|
18
|
-
"@openui5/sap.ui.core": "1.139.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.139.
|
|
17
|
+
"@openui5/sap.m": "1.139.2",
|
|
18
|
+
"@openui5/sap.ui.core": "1.139.2",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.139.2"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/ui/mdc/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.139.
|
|
9
|
+
<version>1.139.2</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.ui.mdc</documentation>
|
|
12
12
|
|
package/src/sap/ui/mdc/Chart.js
CHANGED
package/src/sap/ui/mdc/Field.js
CHANGED
|
@@ -64,13 +64,13 @@ sap.ui.define([
|
|
|
64
64
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.139.
|
|
67
|
+
* @version 1.139.2
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @alias sap.ui.mdc.Field
|
|
71
71
|
* @see {@link topic:1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
72
72
|
* @see {@link topic:5260b9ca249f465ab33769b9edb442aa Field Building Block (OData V4)}
|
|
73
|
-
* @version 1.139.
|
|
73
|
+
* @version 1.139.2
|
|
74
74
|
* @since 1.54.0
|
|
75
75
|
* @public
|
|
76
76
|
*/
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* The metadata information is provided via the {@link module:sap/ui/mdc/FilterBarDelegate FilterBarDelegate} implementation. This implementation has to be provided by the application.
|
|
43
43
|
* @extends sap.ui.mdc.filterbar.FilterBarBase
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.139.
|
|
45
|
+
* @version 1.139.2
|
|
46
46
|
* @constructor
|
|
47
47
|
* @public
|
|
48
48
|
* @since 1.61.0
|
|
@@ -53,13 +53,13 @@ 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.139.
|
|
56
|
+
* @version 1.139.2
|
|
57
57
|
*
|
|
58
58
|
* @constructor
|
|
59
59
|
* @alias sap.ui.mdc.FilterField
|
|
60
60
|
* @see {@link topic:1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
61
61
|
* @see {@link topic:2df783760a8e4540ad19ce5ec3ed91c8 FilterField Building Block (OData V4)}
|
|
62
|
-
* @version 1.139.
|
|
62
|
+
* @version 1.139.2
|
|
63
63
|
* @since 1.48.0
|
|
64
64
|
* @public
|
|
65
65
|
*/
|
package/src/sap/ui/mdc/Link.js
CHANGED
package/src/sap/ui/mdc/Table.js
CHANGED
|
@@ -1352,6 +1352,7 @@ sap.ui.define([
|
|
|
1352
1352
|
if (this.getEnableColumnResize() !== bOldEnableColumnResize) {
|
|
1353
1353
|
this._updateColumnResize();
|
|
1354
1354
|
this._updateAdaptation();
|
|
1355
|
+
updateColumnMenu(this);
|
|
1355
1356
|
}
|
|
1356
1357
|
|
|
1357
1358
|
return this;
|
|
@@ -1422,6 +1423,8 @@ sap.ui.define([
|
|
|
1422
1423
|
|
|
1423
1424
|
if (!deepEqual(aOldP13nMode.sort(), this.getP13nMode().sort())) {
|
|
1424
1425
|
updateP13nSettings(this);
|
|
1426
|
+
updateColumnMenu(this);
|
|
1427
|
+
this.invalidate(); // Inner columns must update aria-haspopup
|
|
1425
1428
|
}
|
|
1426
1429
|
|
|
1427
1430
|
return this;
|
|
@@ -1467,6 +1470,16 @@ sap.ui.define([
|
|
|
1467
1470
|
this.getEngine().register(this, oRegisterConfig);
|
|
1468
1471
|
};
|
|
1469
1472
|
|
|
1473
|
+
function updateColumnMenu(oTable) {
|
|
1474
|
+
const bIsColumnMenuEnabled = oTable.getActiveP13nModes().length > 0 || oTable.getEnableColumnResize();
|
|
1475
|
+
|
|
1476
|
+
if (bIsColumnMenuEnabled) {
|
|
1477
|
+
oTable._createColumnHeaderMenu();
|
|
1478
|
+
} else {
|
|
1479
|
+
oTable._destroyColumnHeaderMenu();
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1470
1483
|
function updateP13nSettings(oTable) {
|
|
1471
1484
|
oTable._updateP13nButton();
|
|
1472
1485
|
|
|
@@ -2738,21 +2751,33 @@ sap.ui.define([
|
|
|
2738
2751
|
insertFilterInfoBar(this);
|
|
2739
2752
|
}
|
|
2740
2753
|
|
|
2741
|
-
|
|
2742
|
-
this._oQuickActionContainer = new QuickActionContainer({table: this});
|
|
2743
|
-
this._oColumnHeaderMenu = new ColumnMenu({
|
|
2744
|
-
id: this.getId() + "-columnHeaderMenu",
|
|
2745
|
-
showTableSettingsButton: true
|
|
2746
|
-
});
|
|
2747
|
-
this._oColumnHeaderMenu.addAggregation("_quickActions", this._oQuickActionContainer);
|
|
2748
|
-
this.addDependent(this._oColumnHeaderMenu);
|
|
2754
|
+
updateColumnMenu(this);
|
|
2749
2755
|
|
|
2750
|
-
|
|
2756
|
+
this._updateInvisibleTitle();
|
|
2757
|
+
};
|
|
2751
2758
|
|
|
2752
|
-
|
|
2759
|
+
Table.prototype._createColumnHeaderMenu = function() {
|
|
2760
|
+
if (this._oColumnHeaderMenu) {
|
|
2761
|
+
return;
|
|
2753
2762
|
}
|
|
2754
2763
|
|
|
2755
|
-
this.
|
|
2764
|
+
this._oQuickActionContainer = new QuickActionContainer({table: this});
|
|
2765
|
+
this._oColumnHeaderMenu = new ColumnMenu({
|
|
2766
|
+
id: this.getId() + "-columnHeaderMenu",
|
|
2767
|
+
showTableSettingsButton: true
|
|
2768
|
+
});
|
|
2769
|
+
this._oColumnHeaderMenu.addAggregation("_quickActions", this._oQuickActionContainer);
|
|
2770
|
+
this.addDependent(this._oColumnHeaderMenu);
|
|
2771
|
+
|
|
2772
|
+
FESRHelper.setSemanticStepname(this._oColumnHeaderMenu, "beforeOpen", "mdc:tbl:p13n:col");
|
|
2773
|
+
|
|
2774
|
+
this._oColumnHeaderMenu.attachBeforeOpen(this._createColumnMenuContent, this);
|
|
2775
|
+
};
|
|
2776
|
+
|
|
2777
|
+
Table.prototype._destroyColumnHeaderMenu = function() {
|
|
2778
|
+
this._oColumnHeaderMenu?.destroy();
|
|
2779
|
+
delete this._oColumnHeaderMenu;
|
|
2780
|
+
delete this._oQuickActionContainer;
|
|
2756
2781
|
};
|
|
2757
2782
|
|
|
2758
2783
|
Table.prototype._createColumnMenuContent = function(oEvent) {
|
|
@@ -69,7 +69,7 @@ sap.ui.define([
|
|
|
69
69
|
* and {@link sap.ui.mdc.FilterField FilterField} controls using the <code>valueHelp</code> association. One <code>ValueHelp</code> element instance can be
|
|
70
70
|
* assigned to multiple fields (like in different table rows). It should be placed in the control tree on the container holding the fields.
|
|
71
71
|
* @extends sap.ui.mdc.Element
|
|
72
|
-
* @version 1.139.
|
|
72
|
+
* @version 1.139.2
|
|
73
73
|
* @constructor
|
|
74
74
|
* @abstract
|
|
75
75
|
* @public
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar} control with given layout information that determines where the wrapped control is displayed on the <code>ActionToolbar</code>.
|
|
28
28
|
* @extends sap.ui.core.Control
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.139.
|
|
30
|
+
* @version 1.139.2
|
|
31
31
|
* @constructor
|
|
32
32
|
* @since 1.58
|
|
33
33
|
* @public
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @class The <code>ChartImplementationContainer</code> creates a container for the <code>content</code> (chart) and <code>noDataContent</code>. Based on the <code>showNoDataStruct</code> the <code>content</code> or <code>noDataContent</code> will be shown.
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.139.
|
|
24
|
+
* @version 1.139.2
|
|
25
25
|
* @constructor
|
|
26
26
|
*
|
|
27
27
|
* @public
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class The <code>ChartSelectionDetails</code> control creates a <code>sap.m.SelectionDetails</code> popover based on metadata and the configuration specified.
|
|
39
39
|
* @extends sap.m.SelectionDetails
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.139.
|
|
41
|
+
* @version 1.139.2
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
44
44
|
* @experimental As of version 1.88
|
|
@@ -144,7 +144,7 @@ sap.ui.define([
|
|
|
144
144
|
* @param {function} [oConfiguration.getTextForCopy] Function to determine the text copied into clipboard
|
|
145
145
|
* @constructor
|
|
146
146
|
* @author SAP SE
|
|
147
|
-
* @version 1.139.
|
|
147
|
+
* @version 1.139.2
|
|
148
148
|
* @public
|
|
149
149
|
* @alias sap.ui.mdc.condition.Operator
|
|
150
150
|
* @since 1.73.0
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* @param {int[]|function} [oConfiguration.defaultValues] Array of values for the defaults of <code>RangeOperators</code> parameter. This can be a function, which returns the array of values. If not used the default for the values is 1.
|
|
40
40
|
* @constructor
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.139.
|
|
42
|
+
* @version 1.139.2
|
|
43
43
|
* @public
|
|
44
44
|
* @alias sap.ui.mdc.condition.RangeOperator
|
|
45
45
|
* @since 1.74.0
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] Initial settings for the new control
|
|
17
17
|
* @class A field help used in the <code>FieldInfo</code> aggregation in <code>FieldBase</code> controls that allows you to add custom content.
|
|
18
18
|
* @extends sap.ui.mdc.field.FieldInfoBase
|
|
19
|
-
* @version 1.139.
|
|
19
|
+
* @version 1.139.2
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @ui5-restricted sap.fe
|
|
@@ -101,7 +101,7 @@ sap.ui.define([
|
|
|
101
101
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent, sap.ui.core.ILabelable
|
|
102
102
|
*
|
|
103
103
|
* @author SAP SE
|
|
104
|
-
* @version 1.139.
|
|
104
|
+
* @version 1.139.2
|
|
105
105
|
*
|
|
106
106
|
* @constructor
|
|
107
107
|
* @alias sap.ui.mdc.field.FieldBase
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* A <code>FieldInfoBase</code> element is a base class that shows any kind of information related to the <code>Field</code> control, for example, navigation targets or contact details.
|
|
32
32
|
* This is the basis for link-features. If the link is pressed a popover might be opened.
|
|
33
33
|
* @extends sap.ui.mdc.Element
|
|
34
|
-
* @version 1.139.
|
|
34
|
+
* @version 1.139.2
|
|
35
35
|
* @constructor
|
|
36
36
|
* @since 1.54.0
|
|
37
37
|
* @public
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* The <code>FieldInput</code> control is used to render an input field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
|
|
25
25
|
* It enhances the {@link sap.m.Input Input} control to add ARIA attributes and other {@link sap.ui.mdc.field.FieldBase FieldBase}-specific logic.
|
|
26
26
|
* @extends sap.m.Input
|
|
27
|
-
* @version 1.139.
|
|
27
|
+
* @version 1.139.2
|
|
28
28
|
* @constructor
|
|
29
29
|
* @abstract
|
|
30
30
|
* @private
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @class Functions uses in <code>FieldInputRenderer</code> and <code>FieldMultiInputRenderer</code> to adjust aria attributes.
|
|
17
17
|
*
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.139.
|
|
19
|
+
* @version 1.139.2
|
|
20
20
|
* @since 1.86.0
|
|
21
21
|
* @alias sap.ui.mdc.field.FieldInputRenderUtil
|
|
22
22
|
*
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* The <code>FieldMultiInput</code> control is used to render a multi-input field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
|
|
32
32
|
* It enhances the {@link sap.m.MultiInput MultiInput} control to add ARIA attributes and other {@link sap.ui.mdc.field.FieldBase FieldBase}-specific logic.
|
|
33
33
|
* @extends sap.m.MultiInput
|
|
34
|
-
* @version 1.139.
|
|
34
|
+
* @version 1.139.2
|
|
35
35
|
* @constructor
|
|
36
36
|
* @abstract
|
|
37
37
|
* @private
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* The <code>FieldSelect</code> control is used to render an select field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
|
|
32
32
|
* It enhances the {@link sap.m.Select Select} control to allow {@link sap.ui.mdc.field.FieldBase FieldBase}-specific ValueHelp logic.
|
|
33
33
|
* @extends sap.m.Input
|
|
34
|
-
* @version 1.139.
|
|
34
|
+
* @version 1.139.2
|
|
35
35
|
* @constructor
|
|
36
36
|
* @abstract
|
|
37
37
|
* @private
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* Base type for <code>MultiValueFieldItem</code> control.
|
|
21
21
|
* The {@link sap.ui.mdc.MultiValueField MultiValueField} holds its values as items. The <code>MultiValueFieldItem</code> element defines these items.
|
|
22
22
|
* @extends sap.ui.core.Element
|
|
23
|
-
* @version 1.139.
|
|
23
|
+
* @version 1.139.2
|
|
24
24
|
* @constructor
|
|
25
25
|
* @since 1.93.0
|
|
26
26
|
* @public
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* The <code>TokenDisplay</code> control is used to render a field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
|
|
23
23
|
* It enhances the {@link sap.m.Token Token} control to add ARIA attributes and other {@link sap.ui.mdc.field.FieldBase FieldBase}-specific logic.
|
|
24
24
|
* @extends sap.m.Token
|
|
25
|
-
* @version 1.139.
|
|
25
|
+
* @version 1.139.2
|
|
26
26
|
* @constructor
|
|
27
27
|
* @abstract
|
|
28
28
|
* @private
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* It enhances the {@link sap.m.Tokenizer Tokenizer} control to support display only tokens.
|
|
30
30
|
* @extends sap.m.Tokenizer
|
|
31
31
|
* @implements sap.ui.core.ILabelable
|
|
32
|
-
* @version 1.139.
|
|
32
|
+
* @version 1.139.2
|
|
33
33
|
* @constructor
|
|
34
34
|
* @abstract
|
|
35
35
|
*
|
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
* @class The <code>FilterBarBase</code> control is the base for filter displaying controls in MDC.
|
|
73
73
|
* @extends sap.ui.mdc.Control
|
|
74
74
|
* @author SAP SE
|
|
75
|
-
* @version 1.139.
|
|
75
|
+
* @version 1.139.2
|
|
76
76
|
* @constructor
|
|
77
77
|
* @public
|
|
78
78
|
* @since 1.80.0
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* <b>Note:</b> The <code>FilterBar</code> can only be used for a {@link sap.ui.mdc.valuehelp.Dialog Dialog} and not on its own.
|
|
28
28
|
* @extends sap.ui.mdc.valuehelp.FilterBar
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.139.
|
|
30
|
+
* @version 1.139.2
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
33
33
|
* @since 1.84.0
|
|
@@ -9,8 +9,9 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/fl/changeHandler/Base",
|
|
10
10
|
"sap/ui/fl/changeHandler/condenser/Classification",
|
|
11
11
|
"sap/ui/fl/changeHandler/common/ChangeCategories",
|
|
12
|
-
"./helpers/addKeyOrName"
|
|
13
|
-
|
|
12
|
+
"./helpers/addKeyOrName",
|
|
13
|
+
"./helpers/getAffectedSorter"
|
|
14
|
+
], (merge, Util, FLChangeHandlerBase, CondenserClassification, ChangeCategories, addKeyOrName, getAffectedSorter) => {
|
|
14
15
|
"use strict";
|
|
15
16
|
|
|
16
17
|
const fFinalizeSortChange = function(oChange, oControl, oSortContent, bIsRevert) {
|
|
@@ -174,7 +175,13 @@ sap.ui.define([
|
|
|
174
175
|
revert: fRemoveSort,
|
|
175
176
|
getCondenserInfo: function(oChange, mPropertyBag) {
|
|
176
177
|
return {
|
|
177
|
-
|
|
178
|
+
// DINC0635408: If the application uses flex without backend condensing, the following action will result in a faulty condensing behaviour:
|
|
179
|
+
// addSort(asc) -> save variant -> removeSort(asc) -> addSort(desc) == addSort(asc) !! expected outcome is addSort(desc)
|
|
180
|
+
// This is due to the fact, that in those cases only the additional changes applied are considered for condensing, leading to removeSort, addSort canceling each other out,
|
|
181
|
+
// as they do not have any differing information (both have the same "affectedControl").
|
|
182
|
+
// To circumvent this issue (also will happen in RTA), we add the sort order to the affectedControl id, to provide a proper distinction during condensing.
|
|
183
|
+
// This does not have any effect on the actual change, as condensing (and the affectedControl) is not stored in the change, but solely used during runtime.
|
|
184
|
+
affectedControl: { id: getAffectedSorter(oChange.getContent()) },
|
|
178
185
|
affectedControlIdProperty: "name",
|
|
179
186
|
targetContainer: oChange.getSelector(),
|
|
180
187
|
targetAggregation: "sorters",
|
|
@@ -196,7 +203,7 @@ sap.ui.define([
|
|
|
196
203
|
revert: fAddSort,
|
|
197
204
|
getCondenserInfo: function(oChange, mPropertyBag) {
|
|
198
205
|
return {
|
|
199
|
-
affectedControl: { id:
|
|
206
|
+
affectedControl: { id: getAffectedSorter(oChange.getContent()) },
|
|
200
207
|
affectedControlIdProperty: "name",
|
|
201
208
|
targetContainer: oChange.getSelector(),
|
|
202
209
|
targetAggregation: "sorters",
|
|
@@ -218,7 +225,7 @@ sap.ui.define([
|
|
|
218
225
|
revert: fMoveSort,
|
|
219
226
|
getCondenserInfo: function(oChange, mPropertyBag) {
|
|
220
227
|
return {
|
|
221
|
-
affectedControl: { id:
|
|
228
|
+
affectedControl: { id: getAffectedSorter(oChange.getContent()) },
|
|
222
229
|
affectedControlIdProperty: "name",
|
|
223
230
|
targetContainer: oChange.getSelector(),
|
|
224
231
|
targetAggregation: "sorters",
|