@openui5/sap.ui.mdc 1.136.7 → 1.136.8
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 +35 -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/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/messagebundle_ar.properties +2 -2
- package/src/sap/ui/mdc/messagebundle_de.properties +2 -2
- package/src/sap/ui/mdc/messagebundle_fr.properties +1 -1
- package/src/sap/ui/mdc/messagebundle_it.properties +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/GridTableType.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/V4AnalyticsPropertyHelper.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.136.
|
|
3
|
+
"version": "1.136.8",
|
|
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.136.
|
|
18
|
-
"@openui5/sap.ui.core": "1.136.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.136.
|
|
17
|
+
"@openui5/sap.m": "1.136.8",
|
|
18
|
+
"@openui5/sap.ui.core": "1.136.8",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.136.8"
|
|
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.136.
|
|
9
|
+
<version>1.136.8</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
|
@@ -54,13 +54,13 @@ 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.136.
|
|
57
|
+
* @version 1.136.8
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @alias sap.ui.mdc.Field
|
|
61
61
|
* @see {@link topic:1dd2aa91115d43409452a271d11be95b sap.ui.mdc}
|
|
62
62
|
* @see {@link topic:5260b9ca249f465ab33769b9edb442aa Field Building Block (OData V4)}
|
|
63
|
-
* @version 1.136.
|
|
63
|
+
* @version 1.136.8
|
|
64
64
|
* @since 1.54.0
|
|
65
65
|
* @public
|
|
66
66
|
*/
|
|
@@ -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.136.
|
|
45
|
+
* @version 1.136.8
|
|
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.136.
|
|
56
|
+
* @version 1.136.8
|
|
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.136.
|
|
62
|
+
* @version 1.136.8
|
|
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
|
@@ -1398,6 +1398,8 @@ sap.ui.define([
|
|
|
1398
1398
|
|
|
1399
1399
|
if (!deepEqual(aOldP13nMode.sort(), this.getP13nMode().sort())) {
|
|
1400
1400
|
updateP13nSettings(this);
|
|
1401
|
+
updateColumnMenu(this);
|
|
1402
|
+
this.invalidate(); // Inner columns must update aria-haspopup
|
|
1401
1403
|
}
|
|
1402
1404
|
|
|
1403
1405
|
return this;
|
|
@@ -1443,6 +1445,16 @@ sap.ui.define([
|
|
|
1443
1445
|
this.getEngine().register(this, oRegisterConfig);
|
|
1444
1446
|
};
|
|
1445
1447
|
|
|
1448
|
+
function updateColumnMenu(oTable) {
|
|
1449
|
+
const bIsColumnMenuEnabled = oTable.getActiveP13nModes().length > 0;
|
|
1450
|
+
|
|
1451
|
+
if (bIsColumnMenuEnabled) {
|
|
1452
|
+
oTable._createColumnHeaderMenu();
|
|
1453
|
+
} else {
|
|
1454
|
+
oTable._destroyColumnHeaderMenu();
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1446
1458
|
function updateP13nSettings(oTable) {
|
|
1447
1459
|
oTable._updateP13nButton();
|
|
1448
1460
|
|
|
@@ -2702,21 +2714,33 @@ sap.ui.define([
|
|
|
2702
2714
|
insertFilterInfoBar(this);
|
|
2703
2715
|
}
|
|
2704
2716
|
|
|
2705
|
-
|
|
2706
|
-
this._oQuickActionContainer = new QuickActionContainer({ table: this });
|
|
2707
|
-
this._oColumnHeaderMenu = new ColumnMenu({
|
|
2708
|
-
id: this.getId() + "-columnHeaderMenu",
|
|
2709
|
-
showTableSettingsButton: true
|
|
2710
|
-
});
|
|
2711
|
-
this._oColumnHeaderMenu.addAggregation("_quickActions", this._oQuickActionContainer);
|
|
2712
|
-
this.addDependent(this._oColumnHeaderMenu);
|
|
2717
|
+
updateColumnMenu(this);
|
|
2713
2718
|
|
|
2714
|
-
|
|
2719
|
+
this._updateInvisibleTitle();
|
|
2720
|
+
};
|
|
2715
2721
|
|
|
2716
|
-
|
|
2722
|
+
Table.prototype._createColumnHeaderMenu = function() {
|
|
2723
|
+
if (this._oColumnHeaderMenu) {
|
|
2724
|
+
return;
|
|
2717
2725
|
}
|
|
2718
2726
|
|
|
2719
|
-
this.
|
|
2727
|
+
this._oQuickActionContainer = new QuickActionContainer({table: this});
|
|
2728
|
+
this._oColumnHeaderMenu = new ColumnMenu({
|
|
2729
|
+
id: this.getId() + "-columnHeaderMenu",
|
|
2730
|
+
showTableSettingsButton: true
|
|
2731
|
+
});
|
|
2732
|
+
this._oColumnHeaderMenu.addAggregation("_quickActions", this._oQuickActionContainer);
|
|
2733
|
+
this.addDependent(this._oColumnHeaderMenu);
|
|
2734
|
+
|
|
2735
|
+
FESRHelper.setSemanticStepname(this._oColumnHeaderMenu, "beforeOpen", "mdc:tbl:p13n:col");
|
|
2736
|
+
|
|
2737
|
+
this._oColumnHeaderMenu.attachBeforeOpen(this._createColumnMenuContent, this);
|
|
2738
|
+
};
|
|
2739
|
+
|
|
2740
|
+
Table.prototype._destroyColumnHeaderMenu = function() {
|
|
2741
|
+
this._oColumnHeaderMenu?.destroy();
|
|
2742
|
+
delete this._oColumnHeaderMenu;
|
|
2743
|
+
delete this._oQuickActionContainer;
|
|
2720
2744
|
};
|
|
2721
2745
|
|
|
2722
2746
|
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.136.
|
|
72
|
+
* @version 1.136.8
|
|
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.136.
|
|
30
|
+
* @version 1.136.8
|
|
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.136.
|
|
24
|
+
* @version 1.136.8
|
|
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.136.
|
|
41
|
+
* @version 1.136.8
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
44
44
|
* @experimental As of version 1.88
|
|
@@ -136,7 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
* @param {function} [oConfiguration.getTextForCopy] Function to determine the text copied into clipboard
|
|
137
137
|
* @constructor
|
|
138
138
|
* @author SAP SE
|
|
139
|
-
* @version 1.136.
|
|
139
|
+
* @version 1.136.8
|
|
140
140
|
* @public
|
|
141
141
|
* @alias sap.ui.mdc.condition.Operator
|
|
142
142
|
* @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.136.
|
|
42
|
+
* @version 1.136.8
|
|
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.136.
|
|
19
|
+
* @version 1.136.8
|
|
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.136.
|
|
104
|
+
* @version 1.136.8
|
|
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.136.
|
|
34
|
+
* @version 1.136.8
|
|
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.136.
|
|
27
|
+
* @version 1.136.8
|
|
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.136.
|
|
19
|
+
* @version 1.136.8
|
|
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.136.
|
|
34
|
+
* @version 1.136.8
|
|
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.136.
|
|
23
|
+
* @version 1.136.8
|
|
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.136.
|
|
25
|
+
* @version 1.136.8
|
|
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.136.
|
|
32
|
+
* @version 1.136.8
|
|
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.136.
|
|
75
|
+
* @version 1.136.8
|
|
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.136.
|
|
30
|
+
* @version 1.136.8
|
|
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",
|