@openui5/sap.ui.mdc 1.102.1 → 1.102.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.
Files changed (110) hide show
  1. package/package.json +4 -4
  2. package/src/sap/ui/mdc/.library +1 -1
  3. package/src/sap/ui/mdc/ActionToolbar.js +1 -1
  4. package/src/sap/ui/mdc/Chart.js +1 -1
  5. package/src/sap/ui/mdc/Control.js +1 -1
  6. package/src/sap/ui/mdc/Element.js +1 -1
  7. package/src/sap/ui/mdc/Field.js +2 -2
  8. package/src/sap/ui/mdc/FilterBar.js +1 -1
  9. package/src/sap/ui/mdc/FilterField.js +2 -2
  10. package/src/sap/ui/mdc/Link.js +1 -1
  11. package/src/sap/ui/mdc/MultiValueField.js +1 -1
  12. package/src/sap/ui/mdc/Table.js +48 -12
  13. package/src/sap/ui/mdc/TableDelegate.js +25 -9
  14. package/src/sap/ui/mdc/ValueHelp.js +1 -1
  15. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  16. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
  17. package/src/sap/ui/mdc/chart/ChartToolbar.js +1 -1
  18. package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
  19. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  20. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  21. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  22. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  23. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
  24. package/src/sap/ui/mdc/condition/Operator.js +1 -1
  25. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
  26. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  27. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  28. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  29. package/src/sap/ui/mdc/field/ConditionType.js +1 -1
  30. package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
  31. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
  32. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  33. package/src/sap/ui/mdc/field/DefineConditionPanel.js +1 -1
  34. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +9 -62
  35. package/src/sap/ui/mdc/field/FieldBase.js +1 -1
  36. package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -1
  37. package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
  38. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  39. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  40. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  41. package/src/sap/ui/mdc/field/FieldValueHelp.js +1 -1
  42. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
  43. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
  44. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +7 -1
  45. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +1 -1
  46. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
  47. package/src/sap/ui/mdc/field/InParameter.js +1 -1
  48. package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
  49. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  50. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  51. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  52. package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
  53. package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
  54. package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
  55. package/src/sap/ui/mdc/field/content/DateContent.js +3 -3
  56. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +1 -1
  57. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  58. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
  59. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
  60. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  61. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  62. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  63. package/src/sap/ui/mdc/library.js +2 -2
  64. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  65. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  66. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  67. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  68. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  69. package/src/sap/ui/mdc/link/Factory.js +1 -1
  70. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  71. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  72. package/src/sap/ui/mdc/link/Panel.js +2 -1
  73. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  74. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  75. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  76. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  77. package/src/sap/ui/mdc/messagebundle.properties +3 -1
  78. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  79. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  80. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
  81. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  82. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
  83. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +1 -1
  84. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +53 -16
  85. package/src/sap/ui/mdc/p13n/Engine.js +1 -1
  86. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  87. package/src/sap/ui/mdc/p13n/UIManager.js +1 -1
  88. package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
  89. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
  90. package/src/sap/ui/mdc/table/Column.js +4 -1
  91. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  92. package/src/sap/ui/mdc/table/PropertyHelper.js +1 -1
  93. package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
  94. package/src/sap/ui/mdc/table/RowSettings.js +1 -1
  95. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -1
  96. package/src/sap/ui/mdc/themes/base/InfoPanel.less +0 -1
  97. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  98. package/src/sap/ui/mdc/util/PropertyHelper.js +1 -1
  99. package/src/sap/ui/mdc/valuehelp/Dialog.js +1 -1
  100. package/src/sap/ui/mdc/valuehelp/Popover.js +1 -1
  101. package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
  102. package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
  103. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  104. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +1 -1
  105. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  106. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  107. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
  108. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  109. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +1 -1
  110. package/src/sap/ui/mdc/valuehelp/content/MTable.js +1 -1
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @param {object} [mSettings] Initial settings for the new control
24
24
  * @class Base type for <code>FieldValueHelp</code> content control wrapper.
25
25
  * @extends sap.ui.core.Element
26
- * @version 1.102.1
26
+ * @version 1.102.2
27
27
  * @constructor
28
28
  * @abstract
29
29
  * @private
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @param {object} [mSettings] Initial settings for the new control
36
36
  * @class Wrapper to use a <code>sap.m.Table</code> control as content of a <code>FieldValueHelp</code> element
37
37
  * @extends sap.ui.mdc.field.FieldValueHelpTableWrapperBase
38
- * @version 1.102.1
38
+ * @version 1.102.2
39
39
  * @constructor
40
40
  * @private
41
41
  * @ui5-restricted sap.fe
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @param {object} [mSettings] Initial settings for the new control
43
43
  * @class Wrapper to use a <code>sap.m.Table</code> control as content of a <code>FieldValueHelp</code> element
44
44
  * @extends sap.ui.mdc.field.FieldValueHelpTableWrapperBase
45
- * @version 1.102.1
45
+ * @version 1.102.2
46
46
  * @constructor
47
47
  * @private
48
48
  * @ui5-restricted sap.fe
@@ -110,6 +110,12 @@ sap.ui.define([
110
110
 
111
111
  FieldValueHelpMdcTableWrapper.prototype.fieldHelpClose = function() {
112
112
  this._bSearchTriggered = false;
113
+
114
+ var oFilterBar = this._getFieldHelp()._getFilterBar();
115
+ if (oFilterBar) {
116
+ Engine.getInstance().reset(oFilterBar, ["Filter"]);
117
+ }
118
+
113
119
  FieldValueHelpTableWrapperBase.prototype.fieldHelpClose.apply(this, arguments);
114
120
  return this;
115
121
  };
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @param {object} [mSettings] Initial settings for the new control
48
48
  * @class Wrapper to use a table control as content of a <code>FieldValueHelp</code> element
49
49
  * @extends sap.ui.mdc.field.FieldValueHelpContentWrapperBase
50
- * @version 1.102.1
50
+ * @version 1.102.2
51
51
  * @constructor
52
52
  * @private
53
53
  * @experimental As of version 1.88
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @param {object} [mSettings] Initial settings for the new control
34
34
  * @class Wrapper to use a <code>sap.m.Table</code> control as content of a <code>FieldValueHelp</code> element
35
35
  * @extends sap.ui.mdc.field.FieldValueHelpTableWrapperBase
36
- * @version 1.102.1
36
+ * @version 1.102.2
37
37
  * @constructor
38
38
  * @private
39
39
  * @ui5-restricted sap.ui.mdc
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @param {object} [mSettings] Initial settings for the new control
21
21
  * @class The <code>InParameter</code> element is used in the {@link sap.ui.mdc.field.FieldValueHelp FieldValueHelp} element.
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.102.1
23
+ * @version 1.102.2
24
24
  * @constructor
25
25
  * @abstract
26
26
  * @private
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @param {object} [mSettings] Initial settings for the new control
40
40
  * @class A field help used in the <code>FieldHelp</code> association of controls based on {@link sap.ui.mdc.field.FieldBase FieldBase} that shows a list of items.
41
41
  * @extends sap.ui.mdc.field.FieldHelpBase
42
- * @version 1.102.1
42
+ * @version 1.102.2
43
43
  * @constructor
44
44
  * @private
45
45
  * @ui5-restricted sap.fe
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.ListItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.102.1
26
+ * @version 1.102.2
27
27
  *
28
28
  * @private
29
29
  * @ui5-restricted sap.fe
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @param {object} [mSettings] Initial settings for the new control
21
21
  * @class Base type for <code>MultiValueFieldItem</code> control.
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.102.1
23
+ * @version 1.102.2
24
24
  * @constructor
25
25
  * @abstract
26
26
  * @private
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @param {object} [mSettings] Initial settings for the new control
23
23
  * @class The <code>OutParameter</code> element is used in the {@link sap.ui.mdc.field.FieldValueHelp FieldValueHelp} element.
24
24
  * @extends sap.ui.mdc.field.InParameter
25
- * @version 1.102.1
25
+ * @version 1.102.2
26
26
  * @constructor
27
27
  * @abstract
28
28
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @param {object} [mSettings] Initial settings for the new control
24
24
  * @class The <code>TokenDisplay</code> control is used to render a field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
25
25
  * @extends sap.m.Token
26
- * @version 1.102.1
26
+ * @version 1.102.2
27
27
  * @constructor
28
28
  * @abstract
29
29
  * @private
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @param {object} [mSettings] Initial settings for the new control
29
29
  * @class The <code>TokenizerDisplay</code> control is used to render a Tokenizer inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
30
30
  * @extends sap.m.Tokenizer
31
- * @version 1.102.1
31
+ * @version 1.102.2
32
32
  * @constructor
33
33
  * @abstract
34
34
  * @private
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.XMLComposite
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.102.1
40
+ * @version 1.102.2
41
41
  *
42
42
  * @constructor
43
43
  * @alias sap.ui.mdc.field.ValueHelpPanel
@@ -272,13 +272,13 @@ sap.ui.define([
272
272
  var oType = oContentFactory.retrieveDataType(); // TODO: do we need to create data type right now?
273
273
  var sBaseType = oContentFactory.getField().getBaseType();
274
274
  var oFormatOptions = oType.getFormatOptions();
275
- var oUsedFormatOptions;
275
+ var oUsedFormatOptions = {UTC: true}; // we always work with UTC dates
276
276
  var oDateRangeFormatOptions = {};
277
277
 
278
278
  if (oFormatOptions.style) {
279
- oUsedFormatOptions = {style: oFormatOptions.style};
279
+ oUsedFormatOptions.style = oFormatOptions.style;
280
280
  } else if (oFormatOptions.pattern) {
281
- oUsedFormatOptions = {pattern: oFormatOptions.pattern};
281
+ oUsedFormatOptions.pattern = oFormatOptions.pattern;
282
282
  }
283
283
 
284
284
  if (sBaseType === BaseType.DateTime) {
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * @class The <code>FilterBarBase</code> control is used as a faceless base class for common functionality of any MDC FilterBar derivation.
53
53
  * @extends sap.ui.mdc.Control
54
54
  * @author SAP SE
55
- * @version 1.102.1
55
+ * @version 1.102.2
56
56
  * @constructor
57
57
  * @private
58
58
  * @ui5-restricted sap.ui.mdc
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.mdc.util.PropertyHelper
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.102.1
36
+ * @version 1.102.2
37
37
  *
38
38
  * @private
39
39
  * @experimental
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  *
19
19
  * @extends sap.ui.mdc.filterbar.FilterBarBase
20
20
  * @author SAP SE
21
- * @version 1.102.1
21
+ * @version 1.102.2
22
22
  * @constructor
23
23
  * @private
24
24
  * @since 1.80.0
@@ -56,7 +56,7 @@ sap.ui.define(
56
56
  * The metadata information is provided via the {@link sap.ui.mdc.FilterBarDelegate FilterBarDelegate} implementation. This implementation has to be provided by the application.
57
57
  * @extends sap.ui.mdc.filterbar.FilterBarBase
58
58
  * @author SAP SE
59
- * @version 1.102.1
59
+ * @version 1.102.2
60
60
  * @constructor
61
61
  * @private
62
62
  * @ui5-restricted sap.fe
@@ -12,7 +12,7 @@ sap.ui.define([
12
12
  *
13
13
  * @alias sap.ui.mdc.flexibility.Chart
14
14
  * @author SAP SE
15
- * @version 1.102.1
15
+ * @version 1.102.2
16
16
  */
17
17
  return {
18
18
  addItem: ChartItemFlex.addItem,
@@ -12,7 +12,7 @@ sap.ui.define(['./FilterItemFlex', './ConditionFlex', './PropertyInfoFlex'], fun
12
12
  *
13
13
  * @alias sap.ui.mdc.flexibility.FilterBar
14
14
  * @author SAP SE
15
- * @version 1.102.1
15
+ * @version 1.102.2
16
16
  */
17
17
 
18
18
  return {
@@ -12,7 +12,7 @@ sap.ui.define(['./ItemBaseFlex'], function(ItemBaseFlex) {
12
12
  *
13
13
  * @alias sap.ui.mdc.flexibility.FilterBar
14
14
  * @author SAP SE
15
- * @version 1.102.1
15
+ * @version 1.102.2
16
16
  */
17
17
 
18
18
  var oFilterItemFlex = Object.assign({}, ItemBaseFlex);
@@ -23,14 +23,14 @@
23
23
  * @namespace
24
24
  * @alias sap.ui.mdc
25
25
  * @author SAP SE
26
- * @version 1.102.1
26
+ * @version 1.102.2
27
27
  * @since 1.80
28
28
  * @private
29
29
  * @ui5-restricted sap.fe
30
30
  * @experimental As of version 1.54 Disclaimer: Usage Restrictions: The components of this library are under development and documented as private. Their APIs are subject to change and should not be used in productive scenarios without further agreement. A general availability of sap.ui.mdc will be announced via the usual channels.
31
31
  */
32
32
  var thisLib = sap.ui.getCore().initLibrary({
33
- version: "1.102.1",
33
+ version: "1.102.2",
34
34
  name: "sap.ui.mdc",
35
35
  dependencies: ["sap.ui.core", "sap.m"],
36
36
  designtime: "sap/ui/mdc/designtime/library.designtime",
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class The ContactDetails control is used to show additional information like for example 'contact details'.
26
26
  * @extends sap.ui.core.Control
27
27
  * @author SAP SE
28
- * @version 1.102.1
28
+ * @version 1.102.2
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.56.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.102.1
19
+ * @version 1.102.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.56.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.102.1
19
+ * @version 1.102.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.56.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.102.1
19
+ * @version 1.102.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.56.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.102.1
19
+ * @version 1.102.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.56.0
@@ -11,7 +11,7 @@ sap.ui.define([], function() {
11
11
  * @namespace Factory to access services outside of sap.ui.mdc library like for example <code>ushell</code> services.
12
12
  * @name sap.ui.mdc.link.Factory
13
13
  * @author SAP SE
14
- * @version 1.102.1
14
+ * @version 1.102.2
15
15
  * @private
16
16
  * @since 1.54.0
17
17
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
@@ -13,7 +13,7 @@ sap.ui.define([
13
13
  * @namespace FakeFlpConnector.
14
14
  * @name sap.ui.mdc.link.FakeFlpConnector
15
15
  * @author SAP SE
16
- * @version 1.102.1
16
+ * @version 1.102.2
17
17
  * @private
18
18
  * @since 1.54.0
19
19
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] Initial settings for the new control
17
17
  * @class A <code>LinkItem</code> control is used in the {@link sap.ui.mdc.Link} control to provide a navigation target.
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.102.1
19
+ * @version 1.102.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.58.0
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * supposed that the properties of the item structure is not changed.
38
38
  * @extends sap.ui.core.Control
39
39
  * @author SAP SE
40
- * @version 1.102.1
40
+ * @version 1.102.2
41
41
  * @constructor
42
42
  * @private
43
43
  * @since 1.54.0
@@ -179,6 +179,7 @@ sap.ui.define([
179
179
 
180
180
  Panel.prototype._createContent = function() {
181
181
  var oVerticalLayout = new VerticalLayout({
182
+ width: "100%",
182
183
  content: [
183
184
  this._createAdditionalContentArea(),
184
185
  this._createSeparator(),
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for <code>items</code> aggregation in <code>Panel</code> control.
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.102.1
19
+ * @version 1.102.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.54.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.102.1
19
+ * @version 1.102.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.58.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.102.1
19
+ * @version 1.102.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.58.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.102.1
19
+ * @version 1.102.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.60.0
@@ -722,7 +722,9 @@ table.SHORTCUT_EXPORT_TO_EXCEL_MAC=Cmd+Shift+E
722
722
  #XMSG: Message text on sort panel when sorting is set for invisible columns
723
723
  table.PERSONALIZATION_DIALOG_SORT_RESTRICTION=You can only sort visible columns. If a column has not been made visible, it will not be sorted.
724
724
  #XMSG: Message text on group panel when totals is applied on the table
725
- table.PERSONALIZATION_DIALOG_GROUP_RESTRICTION=You cannot see columns {0} here since totals have been used. Remove totals to see these columns.
725
+ table.PERSONALIZATION_DIALOG_GROUP_RESTRICTION_TOTALS=You cannot see columns {0} here since totals have been used. Remove totals to see these columns.
726
+ #XMSG: Message text on group panel when grouping is set for invisible columns
727
+ table.PERSONALIZATION_DIALOG_GROUP_RESTRICTION_VISIBLE=You can only group visible columns. If a column has not been made visible, it will not be grouped.
726
728
  #XMSG: Message text on sort panel when sorting is set for invisible columns
727
729
  table.PERSONALIZATION_DIALOG_TOTAL_RESTRICTION=You can only calculate totals for visible columns. If a column has not been made visible, totals will not be shown.
728
730
  #XMSG: Message for P13n Filter Dialog when the table is filtered by related messages.
@@ -32,7 +32,7 @@ sap.ui.define(
32
32
  *
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.102.1
35
+ * @version 1.102.2
36
36
  * @alias sap.ui.mdc.mixin.AdaptationMixin
37
37
  * @namespace
38
38
  * @since 1.82.0
@@ -61,7 +61,7 @@ sap.ui.define(["sap/ui/mdc/util/loadModules", "sap/base/Log"], function (loadMod
61
61
  * </ul>
62
62
  *
63
63
  * @author SAP SE
64
- * @version 1.102.1
64
+ * @version 1.102.2
65
65
  * @alias sap.ui.mdc.mixin.DelegateMixin
66
66
  * @namespace
67
67
  * @since 1.76.0
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * </ul>
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.102.1
46
+ * @version 1.102.2
47
47
  * @alias sap.ui.mdc.mixin.FilterIntegrationMixin
48
48
  * @namespace
49
49
  * @since 1.82.0
@@ -13,7 +13,7 @@ sap.ui.define(
13
13
  * Calling any of the enhanced methods after control exit will result in a no-op.
14
14
  *
15
15
  * @author SAP SE
16
- * @version 1.102.1
16
+ * @version 1.102.2
17
17
  * @alias sap.ui.mdc.mixin.PromiseMixin
18
18
  * @namespace
19
19
  * @since 1.85.0
@@ -29,7 +29,7 @@ sap.ui.define(["sap/base/util/Deferred", "sap/ui/mdc/util/loadModules", "sap/bas
29
29
  * </ul>
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.102.1
32
+ * @version 1.102.2
33
33
  * @alias sap.ui.mdc.mixin.PropertyHelperMixin
34
34
  * @namespace
35
35
  * @since 1.100.0
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.mdc.chart.PropertyHelper
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.102.1
30
+ * @version 1.102.2
31
31
  *
32
32
  * @private
33
33
  * @experimental
@@ -131,24 +131,33 @@ sap.ui.define([
131
131
  message: oResourceBundle.getText("table.PERSONALIZATION_DIALOG_SORT_RESTRICTION")
132
132
  };
133
133
  }
134
- } else if (sKey == "Group" && oState.aggregations) {
135
- var aAggregateProperties = Object.keys(oState.aggregations);
136
- var aAggregateGroupableProperties = [];
137
- var oListFormat = ListFormat.getInstance();
138
- aAggregateProperties.forEach(function(sProperty) {
139
- var oProperty = oTable.getPropertyHelper().getProperty(sProperty);
140
- if (oProperty && oProperty.groupable) {
141
- aAggregateGroupableProperties.push(sProperty);
142
- }
143
- });
134
+ } else if (sKey == "Group") {
135
+ if (oState.aggregations) {
136
+ var aAggregateProperties = Object.keys(oState.aggregations);
137
+ var aAggregateGroupableProperties = [];
138
+ var oListFormat = ListFormat.getInstance();
139
+ aAggregateProperties.forEach(function(sProperty) {
140
+ var oProperty = oTable.getPropertyHelper().getProperty(sProperty);
141
+ if (oProperty && oProperty.groupable) {
142
+ aAggregateGroupableProperties.push(sProperty);
143
+ }
144
+ });
144
145
 
145
- if (aAggregateGroupableProperties.length) {
146
- oValidation = {
147
- validation: coreLibrary.MessageType.Information,
148
- message: oResourceBundle.getText("table.PERSONALIZATION_DIALOG_GROUP_RESTRICTION", [oListFormat.format(aAggregateGroupableProperties)])
149
- };
146
+ if (aAggregateGroupableProperties.length) {
147
+ oValidation = {
148
+ validation: coreLibrary.MessageType.Information,
149
+ message: oResourceBundle.getText("table.PERSONALIZATION_DIALOG_GROUP_RESTRICTION_TOTALS", [oListFormat.format(aAggregateGroupableProperties)])
150
+ };
151
+ }
152
+ } else if (oTable._bMobileTable) {
153
+ if (!checkForValidity(oTable, oState.items, oState.groupLevels)) {
154
+ oValidation = {
155
+ validation: coreLibrary.MessageType.Information,
156
+ message: oResourceBundle.getText("table.PERSONALIZATION_DIALOG_GROUP_RESTRICTION_VISIBLE")
157
+ };
158
+ }
150
159
  }
151
- } else if (sKey == "Column" ) {
160
+ } else if (sKey == "Column") {
152
161
  var sMessage;
153
162
  var aAggregateProperties = oState.aggregations && Object.keys(oState.aggregations);
154
163
 
@@ -302,6 +311,34 @@ sap.ui.define([
302
311
  return aSupportedModes;
303
312
  };
304
313
 
314
+ /**
315
+ * Provides a hook especially for V4 to suppress the grouping by non visible column.
316
+ *
317
+ * @param {sap.ui.mdc.Table} oTable Instance of the MDC table
318
+ * @param {string} sPropertyName Property to group
319
+ * @return {undefined|*} Undefined or continue on parent
320
+ * @protected
321
+ */
322
+ Delegate.getGroupSorter = function(oTable, sPropertyName) {
323
+ var oPropertyHelper = oTable.getPropertyHelper();
324
+ var oVisibleProperty = oTable._getVisibleProperties().find(function(oProperty) {
325
+ var oCurrentProperty = oPropertyHelper.getProperty(oProperty.name);
326
+ if (oCurrentProperty.isComplex()){
327
+ return oCurrentProperty.getReferencedProperties().find(function(oSimpleProperty) {
328
+ return oSimpleProperty.name === sPropertyName;
329
+ });
330
+ }
331
+
332
+ return oCurrentProperty.name === sPropertyName;
333
+ });
334
+
335
+ if (!oVisibleProperty) {
336
+ return undefined;
337
+ }
338
+
339
+ return TableDelegate.getGroupSorter.apply(this, arguments);
340
+ };
341
+
305
342
  function createGroupPopoverItem(aGroupProperties, oMDCColumn) {
306
343
  var aGroupChildren = aGroupProperties.map(function(oGroupProperty) {
307
344
  return new Item({
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.mdc.p13n.AdaptationProvider
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.102.1
44
+ * @version 1.102.2
45
45
  *
46
46
  * @private
47
47
  * @ui5-restricted sap.ui.mdc
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.mdc.util.PropertyHelper
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.102.1
32
+ * @version 1.102.2
33
33
  *
34
34
  * @private
35
35
  * @experimental
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.base.Object
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.102.1
36
+ * @version 1.102.2
37
37
  *
38
38
  * @private
39
39
  * @ui5-restricted sap.ui.mdc
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.base.Object
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.102.1
28
+ * @version 1.102.2
29
29
  *
30
30
  * @private
31
31
  * @ui5-restricted sap.ui.mdc
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.base.Object
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.102.1
31
+ * @version 1.102.2
32
32
  *
33
33
  * @private
34
34
  * @ui5-restricted sap.ui.mdc
@@ -375,7 +375,10 @@ sap.ui.define([
375
375
 
376
376
  if (this._oInnerColumn) {
377
377
  this._oInnerColumn.destroy("KeepDom");
378
- oTable.invalidate();
378
+
379
+ if (!oTable.isInvalidateSuppressed()) {
380
+ oTable.invalidate();
381
+ }
379
382
  }
380
383
  };
381
384
 
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * {@link sap.ui.mdc.table.Column#getCreationTemplate creationTemplate} aggregation of the {@link sap.ui.mdc.table.Column}.
22
22
  * @extends sap.ui.core.Element
23
23
  * @author SAP SE
24
- * @version 1.102.1
24
+ * @version 1.102.2
25
25
  * @constructor
26
26
  * @experimental
27
27
  * @private
@@ -88,7 +88,7 @@ sap.ui.define([
88
88
  * @extends sap.ui.mdc.util.PropertyHelper
89
89
  *
90
90
  * @author SAP SE
91
- * @version 1.102.1
91
+ * @version 1.102.2
92
92
  *
93
93
  * @private
94
94
  * @experimental