@openui5/sap.ui.mdc 1.96.2 → 1.97.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.
Files changed (196) hide show
  1. package/.reuse/dep5 +1 -1
  2. package/THIRDPARTY.txt +2 -1
  3. package/package.json +4 -4
  4. package/src/sap/ui/mdc/.library +1 -1
  5. package/src/sap/ui/mdc/ActionToolbar.js +2 -7
  6. package/src/sap/ui/mdc/Chart.js +1 -1
  7. package/src/sap/ui/mdc/ChartNew.js +1 -1
  8. package/src/sap/ui/mdc/ChartNewRenderer.js +2 -2
  9. package/src/sap/ui/mdc/Control.js +1 -1
  10. package/src/sap/ui/mdc/Element.js +1 -1
  11. package/src/sap/ui/mdc/Field.js +3 -2
  12. package/src/sap/ui/mdc/FilterBar.js +1 -1
  13. package/src/sap/ui/mdc/FilterField.js +16 -2
  14. package/src/sap/ui/mdc/Link.js +1 -1
  15. package/src/sap/ui/mdc/MultiValueField.js +2 -1
  16. package/src/sap/ui/mdc/Table.js +161 -133
  17. package/src/sap/ui/mdc/TableDelegate.js +13 -11
  18. package/src/sap/ui/mdc/ValueHelp.js +33 -7
  19. package/src/sap/ui/mdc/ValueHelpDelegate.js +20 -0
  20. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  21. package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +1 -1
  22. package/src/sap/ui/mdc/chart/ToolbarHandler.js +1 -1
  23. package/src/sap/ui/mdc/chartNew/ChartSelectionDetailsNew.js +1 -1
  24. package/src/sap/ui/mdc/chartNew/ChartToolbarNew.js +1 -1
  25. package/src/sap/ui/mdc/chartNew/PropertyHelperNew.js +1 -1
  26. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  27. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  28. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  29. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  30. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +6 -2
  31. package/src/sap/ui/mdc/condition/Operator.js +9 -9
  32. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +437 -0
  33. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  34. package/src/sap/ui/mdc/designtime/chart/ChartNew.designtime.js +17 -17
  35. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +21 -0
  36. package/src/sap/ui/mdc/designtime/field/FieldBase.designtime.js +104 -0
  37. package/src/sap/ui/mdc/designtime/field/FilterField.designtime.js +22 -0
  38. package/src/sap/ui/mdc/designtime/field/MultiValueField.designtime.js +23 -0
  39. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  40. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  41. package/src/sap/ui/mdc/field/ConditionType.js +7 -7
  42. package/src/sap/ui/mdc/field/ConditionsType.js +7 -7
  43. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
  44. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  45. package/src/sap/ui/mdc/field/DefineConditionPanel.js +1 -1
  46. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +311 -0
  47. package/src/sap/ui/mdc/field/FieldBase.js +54 -47
  48. package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -1
  49. package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
  50. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  51. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  52. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  53. package/src/sap/ui/mdc/field/FieldValueHelp.js +6 -6
  54. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
  55. package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +20 -0
  56. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
  57. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +1 -1
  58. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +2 -1
  59. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
  60. package/src/sap/ui/mdc/field/InParameter.js +1 -1
  61. package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
  62. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  63. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  64. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  65. package/src/sap/ui/mdc/field/ValueHelpPanel.js +2 -1
  66. package/src/sap/ui/mdc/field/content/BooleanContent.js +1 -1
  67. package/src/sap/ui/mdc/field/content/ContentFactory.js +23 -21
  68. package/src/sap/ui/mdc/field/content/DateContent.js +128 -2
  69. package/src/sap/ui/mdc/field/content/DateTimeContent.js +9 -1
  70. package/src/sap/ui/mdc/field/content/DefaultContent.js +1 -1
  71. package/src/sap/ui/mdc/field/content/TimeContent.js +8 -1
  72. package/src/sap/ui/mdc/field/content/UnitContent.js +23 -4
  73. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +25 -17
  74. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  75. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
  76. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
  77. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  78. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  79. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  80. package/src/sap/ui/mdc/library.js +19 -3
  81. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  82. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  83. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  84. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  85. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  86. package/src/sap/ui/mdc/link/Factory.js +1 -1
  87. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  88. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  89. package/src/sap/ui/mdc/link/Panel.js +1 -1
  90. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  91. package/src/sap/ui/mdc/link/PanelListItem.js +1 -1
  92. package/src/sap/ui/mdc/link/SelectionDialog.js +1 -1
  93. package/src/sap/ui/mdc/link/SelectionDialogItem.js +1 -1
  94. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  95. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  96. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  97. package/src/sap/ui/mdc/messagebundle.properties +13 -4
  98. package/src/sap/ui/mdc/messagebundle_ar.properties +8 -2
  99. package/src/sap/ui/mdc/messagebundle_bg.properties +8 -2
  100. package/src/sap/ui/mdc/messagebundle_ca.properties +8 -2
  101. package/src/sap/ui/mdc/messagebundle_cs.properties +8 -2
  102. package/src/sap/ui/mdc/messagebundle_cy.properties +8 -2
  103. package/src/sap/ui/mdc/messagebundle_da.properties +8 -2
  104. package/src/sap/ui/mdc/messagebundle_de.properties +8 -2
  105. package/src/sap/ui/mdc/messagebundle_el.properties +8 -2
  106. package/src/sap/ui/mdc/messagebundle_en.properties +8 -2
  107. package/src/sap/ui/mdc/messagebundle_en_GB.properties +8 -2
  108. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +14 -0
  109. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +3 -19
  110. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +14 -0
  111. package/src/sap/ui/mdc/messagebundle_es.properties +9 -3
  112. package/src/sap/ui/mdc/messagebundle_es_MX.properties +8 -2
  113. package/src/sap/ui/mdc/messagebundle_et.properties +8 -2
  114. package/src/sap/ui/mdc/messagebundle_fi.properties +8 -2
  115. package/src/sap/ui/mdc/messagebundle_fr.properties +12 -6
  116. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +8 -2
  117. package/src/sap/ui/mdc/messagebundle_hi.properties +8 -2
  118. package/src/sap/ui/mdc/messagebundle_hr.properties +8 -2
  119. package/src/sap/ui/mdc/messagebundle_hu.properties +8 -2
  120. package/src/sap/ui/mdc/messagebundle_id.properties +8 -2
  121. package/src/sap/ui/mdc/messagebundle_it.properties +8 -2
  122. package/src/sap/ui/mdc/messagebundle_iw.properties +8 -2
  123. package/src/sap/ui/mdc/messagebundle_ja.properties +8 -2
  124. package/src/sap/ui/mdc/messagebundle_kk.properties +8 -2
  125. package/src/sap/ui/mdc/messagebundle_ko.properties +8 -2
  126. package/src/sap/ui/mdc/messagebundle_lt.properties +8 -2
  127. package/src/sap/ui/mdc/messagebundle_lv.properties +8 -2
  128. package/src/sap/ui/mdc/messagebundle_ms.properties +8 -2
  129. package/src/sap/ui/mdc/messagebundle_nl.properties +8 -2
  130. package/src/sap/ui/mdc/messagebundle_no.properties +8 -2
  131. package/src/sap/ui/mdc/messagebundle_pl.properties +8 -2
  132. package/src/sap/ui/mdc/messagebundle_pt.properties +8 -2
  133. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +8 -2
  134. package/src/sap/ui/mdc/messagebundle_ro.properties +8 -2
  135. package/src/sap/ui/mdc/messagebundle_ru.properties +8 -2
  136. package/src/sap/ui/mdc/messagebundle_sh.properties +8 -2
  137. package/src/sap/ui/mdc/messagebundle_sk.properties +8 -2
  138. package/src/sap/ui/mdc/messagebundle_sl.properties +8 -2
  139. package/src/sap/ui/mdc/messagebundle_sv.properties +8 -2
  140. package/src/sap/ui/mdc/messagebundle_th.properties +8 -2
  141. package/src/sap/ui/mdc/messagebundle_tr.properties +8 -2
  142. package/src/sap/ui/mdc/messagebundle_uk.properties +8 -2
  143. package/src/sap/ui/mdc/messagebundle_vi.properties +8 -2
  144. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +8 -2
  145. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +8 -2
  146. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  147. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  148. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +3 -3
  149. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  150. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelperNew.js +1 -1
  151. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +65 -37
  152. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +1 -1
  153. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegateNew.js +12 -3
  154. package/src/sap/ui/mdc/p13n/Engine.js +32 -9
  155. package/src/sap/ui/mdc/p13n/P13nBuilder.js +1 -1
  156. package/src/sap/ui/mdc/p13n/PersistenceProvider.js +21 -10
  157. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  158. package/src/sap/ui/mdc/p13n/StateUtil.js +20 -0
  159. package/src/sap/ui/mdc/p13n/UIManager.js +11 -6
  160. package/src/sap/ui/mdc/p13n/{DefaultProviderRegistry.js → modules/DefaultProviderRegistry.js} +2 -2
  161. package/src/sap/ui/mdc/p13n/modules/StateHandlerRegistry.js +86 -0
  162. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +19 -3
  163. package/src/sap/ui/mdc/p13n/panels/ChartItemPanelNew.js +40 -32
  164. package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +1 -1
  165. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
  166. package/src/sap/ui/mdc/table/Column.js +34 -9
  167. package/src/sap/ui/mdc/table/CreationRow.js +14 -13
  168. package/src/sap/ui/mdc/table/GridTableType.js +11 -10
  169. package/src/sap/ui/mdc/table/PropertyHelper.js +21 -21
  170. package/src/sap/ui/mdc/table/ResponsiveTableType.js +23 -24
  171. package/src/sap/ui/mdc/table/RowSettings.js +8 -6
  172. package/src/sap/ui/mdc/table/TableTypeBase.js +4 -4
  173. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +15 -71
  174. package/src/sap/ui/mdc/themes/base/Chart.less +3 -0
  175. package/src/sap/ui/mdc/themes/base/library.source.less +1 -0
  176. package/src/sap/ui/mdc/ui/Container.js +2 -2
  177. package/src/sap/ui/mdc/ui/ContainerItem.js +2 -2
  178. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  179. package/src/sap/ui/mdc/util/PropertyHelper.js +111 -319
  180. package/src/sap/ui/mdc/valuehelp/Dialog.js +2 -1
  181. package/src/sap/ui/mdc/valuehelp/Popover.js +13 -2
  182. package/src/sap/ui/mdc/valuehelp/base/Container.js +32 -1
  183. package/src/sap/ui/mdc/valuehelp/base/Content.js +35 -5
  184. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  185. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +42 -15
  186. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  187. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  188. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +25 -31
  189. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  190. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +8 -3
  191. package/src/sap/ui/mdc/valuehelp/content/MTable.js +15 -3
  192. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +102 -96
  193. package/src/sap/ui/mdc/p13n/panels/GroupPanel.js +0 -111
  194. package/src/sap/ui/mdc/p13n/panels/QueryPanel.js +0 -322
  195. package/src/sap/ui/mdc/p13n/panels/SortQueryPanel.js +0 -133
  196. package/src/sap/ui/mdc/p13n/panels/Wrapper.js +0 -203
@@ -13,17 +13,17 @@ sap.ui.define([
13
13
  var GrowingMode = library.GrowingMode;
14
14
  var RowAction = library.RowAction;
15
15
  /**
16
- * Constructor for a new ResponsiveTableType.
16
+ * Constructor for a new <code>ResponsiveTableType</code>.
17
17
  *
18
- * @param {string} [sId] ID for the new object, generated automatically if no ID is given
18
+ * @param {string} [sId] Optional ID for the new object; generated automatically if no non-empty ID is given
19
19
  * @param {object} [mSettings] initial settings for the new object
20
20
  * @class The table type info base class for the metadata driven table.
21
- * <h3><b>Note:</b></h3>
22
- * The control is experimental and the API/behaviour is not finalised and hence this should not be used for productive usage.
23
21
  * @extends sap.ui.mdc.table.TableTypeBase
24
22
  * @author SAP SE
25
23
  * @private
26
24
  * @experimental
25
+ * @ui5-restricted sap.fe
26
+ * MDC_PUBLIC_CANDIDATE
27
27
  * @since 1.65
28
28
  * @alias sap.ui.mdc.table.ResponsiveTableType
29
29
  * @ui5-metamodel This element also will be described in the UI5 (legacy) designtime metamodel
@@ -34,21 +34,21 @@ sap.ui.define([
34
34
  library: "sap.ui.mdc",
35
35
  properties: {
36
36
  /**
37
- * See sap.ui.mdc.GrowingMode<br>
38
- * Defaults to Basic --> meaning only growing is enabled on ResponsiveTable
37
+ * See <code>sap.ui.mdc.GrowingMode</code><br>
38
+ * Defaults to Basic - meaning only growing is enabled on <code>ResponsiveTable</code>
39
39
  */
40
40
  growingMode: {
41
41
  type: "sap.ui.mdc.GrowingMode",
42
42
  defaultValue: GrowingMode.Basic
43
43
  },
44
44
  /**
45
- * Controls the visibility of the Show / Hide Details button for the <code>ResponsiveTable</code> scenario.
45
+ * Specifies whether the Show / Hide Details button for the <code>ResponsiveTable</code> scenario is shown.
46
46
  *
47
- * If the available screen space gets too narrow, the columns configured with <code>High</code> and <code>Medium</code>
48
- * importance move to the pop-in area while the columns with <code>Low</code> importance are hidden.
49
- * On mobile phones, the columns with <code>Medium</code> importance are also hidden.
50
- * As soon as the first column is hidden, this button appears in the table toolbar and gives the user
51
- * the possibility to toggle the visibility of the hidden columns in the pop-in area.
47
+ * If the available screen space gets too narrow, the columns configured with <code>High</code> and <code>Medium</code> importance
48
+ * move to the pop-in area, while the columns with <code>Low</code> importance are hidden.<br>
49
+ * On mobile phones, the columns with <code>Medium</code> importance are also hidden.<br>
50
+ * As soon as the first column is hidden, this button appears in the table toolbar and gives the user the possibility to toggle the
51
+ * visibility of the hidden columns in the pop-in area.
52
52
  *
53
53
  * @since 1.79
54
54
  */
@@ -58,12 +58,11 @@ sap.ui.define([
58
58
  defaultValue: false
59
59
  },
60
60
  /**
61
- * Defines which columns should be hidden instead of moved into the pop-in area
62
- * depending on their importance.
61
+ * Defines which columns should be hidden instead of moved into the pop-in area depending on their importance.
63
62
  * See {@link sap.m.Column#getImportance} and {@link sap.m.Table#getHiddenInPopin} for more details.
64
63
  *
65
- * <b>Note:</b> To hide columns based on their importance, it's mandatory to set <code>showDetailsButton="true"</code>.
66
- * If no priority is given, the default configuration of {@link sap.ui.mdc.table.ResponsiveTableType#getShowDetailsButton} is used.
64
+ * <b>Note:</b> To hide columns based on their importance, it's mandatory to set <code>showDetailsButton="true"</code>.<br>
65
+ * If no priority is given, the default configuration of {@link sap.ui.mdc.table.ResponsiveTableType#getShowDetailsButton} is used.<br>
67
66
  * If this property is changed after the <code>MDCTable</code> has been initialized, the new changes take effect only when the
68
67
  * Show / Hide Details button is pressed a second time.
69
68
  *
@@ -237,11 +236,12 @@ sap.ui.define([
237
236
  };
238
237
 
239
238
  /**
240
- * Set property 'hiddenInPopin' on the inner ResponsiveTable to hide columns based on MDCTable configuration
241
- * of 'showDetailsButton' and 'detailsButtonSetting' if {@param bValue} is set to {true}.
239
+ * Toggles the visibility of the Show Details button.<br>
240
+ * If {@param bValue} is set to <code>true</code>, it sets the <code>hiddenInPopin</code> property on the inner <code>ResponsiveTable</code> to
241
+ * hide columns based on <code>MDCTable</code> configuration (<code>showDetailsButton</code> and <code>detailsButtonSetting</code> properties).
242
242
  * Otherwise an empty array is set to show all columns.
243
243
  *
244
- * @param {boolean} bValue - indicator to hide details or not
244
+ * @param {boolean} bValue - Whether to hide details and display the Show Details button
245
245
  * @private
246
246
  */
247
247
  ResponsiveTableType.prototype._toggleShowDetails = function(bValue) {
@@ -274,10 +274,9 @@ sap.ui.define([
274
274
  };
275
275
 
276
276
  /**
277
- * Helper function to get the importance of the columns that should be hidden based on
278
- * MDCTable configuration.
277
+ * Helper function to get the importance of the columns that should be hidden based on <code>MDCTable</code> configuration.
279
278
  *
280
- * @returns {array} sap.ui.core.Priority[]
279
+ * @returns {array} sap.ui.core.Priority[] Array of column priorities
281
280
  * @private
282
281
  */
283
282
  ResponsiveTableType.prototype._getImportanceToHide = function() {
@@ -294,9 +293,9 @@ sap.ui.define([
294
293
  };
295
294
 
296
295
  /**
297
- * Event handler when the table pop-in has changed.
296
+ * Event handler called when the table pop-in has changed.
298
297
  *
299
- * @param {sap.ui.base.Event} oEvent - fired event object
298
+ * @param {sap.ui.base.Event} oEvent - Event object
300
299
  * @private
301
300
  */
302
301
  ResponsiveTableType.prototype._onPopinChanged = function(oEvent) {
@@ -12,17 +12,20 @@ sap.ui.define([
12
12
  /**
13
13
  * Constructor for new RowSettings.
14
14
  *
15
- * @param {string} [sId] ID for the new element, generated automatically if no ID is given
16
- * @param {object} [mSettings] Initial settings for the new control
15
+ * @param {string} [sId] Optional ID for the new object; generated automatically if no non-empty ID is given
16
+ * @param {object} [mSettings] initial settings for the new control
17
17
  *
18
18
  * @class
19
- * The <code>RowSettings</code> control allows you to configure a row.
20
- * You can only use this control in the context of the <code>sap.ui.mdc.Table</code> control to define row settings.
19
+ * The <code>RowSettings</code> control allows configuring a row.
20
+ * This control can only be used in the context of <code>sap.ui.mdc.Table</code> control to define row settings.
21
21
  * @extends sap.ui.core.Element
22
- * @version 1.96.2
22
+ * @version 1.97.0
23
23
  *
24
24
  * @constructor
25
+ * @experimental
25
26
  * @private
27
+ * @ui5-restricted sap.fe
28
+ * MDC_PUBLIC_CANDIDATE
26
29
  * @alias sap.ui.mdc.table.RowSettings
27
30
  */
28
31
 
@@ -48,7 +51,6 @@ sap.ui.define([
48
51
 
49
52
  /**
50
53
  * Defines the semantics of the {@link sap.ui.mdc.table.RowSettings#setHighlight highlight} property for accessibility purposes.
51
- *
52
54
  */
53
55
  highlightText : {type : "string", group : "Misc", defaultValue : ""},
54
56
 
@@ -10,16 +10,16 @@ sap.ui.define([
10
10
  "use strict";
11
11
 
12
12
  /**
13
- * Constructor for a new TableTypeBase.
13
+ * Constructor for a new <code>TableTypeBase</code>.
14
14
  *
15
- * @param {string} [sId] ID for the new object, generated automatically if no ID is given
15
+ * @param {string} [sId] Optional ID for the new object; generated automatically if no non-empty ID is given
16
16
  * @param {object} [mSettings] initial settings for the new object
17
17
  * @class The table type info base class for the metadata driven table. Dummy/Base class with no implementation.
18
- * <h3><b>Note:</b></h3>
19
- * The control is experimental and the API/behaviour is not finalised and hence this should not be used for productive usage.
20
18
  * @extends sap.ui.core.Element
21
19
  * @author SAP SE
22
20
  * @private
21
+ * @ui5-restricted sap.fe
22
+ * MDC_PUBLIC_CANDIDATE
23
23
  * @abstract
24
24
  * @experimental
25
25
  * @since 1.65
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.mdc.table.PropertyHelper
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.96.2
30
+ * @version 1.97.0
31
31
  *
32
32
  * @private
33
33
  * @experimental
@@ -49,58 +49,23 @@ sap.ui.define([
49
49
 
50
50
  /**
51
51
  * @inheritDoc
52
- * @override
53
52
  */
54
53
  PropertyHelper.prototype.prepareProperty = function(oProperty) {
55
- var sPropertyName = oProperty.getName();
56
- var that = this;
57
-
58
54
  TablePropertyHelper.prototype.prepareProperty.apply(this, arguments);
55
+ oProperty.aggregatable = oProperty.extension.defaultAggregate != null;
59
56
 
60
- ["isAggregatable", "getAggregatableProperties", "getDefaultAggregate"].forEach(function(sMethod) {
61
- Object.defineProperty(oProperty, sMethod, {
62
- value: function() {
63
- return that[sMethod].call(that, sPropertyName);
64
- }
65
- });
66
- });
67
- };
68
-
69
- function getExtensionAttribute(oPropertyHelper, sPropertyName, sAttributeName) {
70
- var oProperty = oPropertyHelper.getProperty(sPropertyName);
71
- return oProperty ? oProperty.extension[sAttributeName] : null;
72
- }
73
-
74
- /**
75
- * Checks whether a property is aggregatable.
76
- *
77
- * @param {string} sName Name of a property
78
- * @returns {boolean|null} Whether the property is aggregatable, or <code>null</code> if it is unknown
79
- * @public
80
- */
81
- PropertyHelper.prototype.isAggregatable = function(sName) {
82
- return this.hasProperty(sName) ? this.getDefaultAggregate(sName) !== null : null;
83
- };
84
-
85
- /**
86
- * Gets all aggregatable properties referenced by a complex property. For convenience, a non-complex property can be given that is then
87
- * returned if it is aggregatable.
88
- *
89
- * @param {string} sName Name of a property
90
- * @returns {object[]} The aggregatable properties
91
- * @public
92
- */
93
- PropertyHelper.prototype.getAggregatableProperties = function(sName) {
94
- var oProperty = this.getProperty(sName);
95
- var aProperties = [];
96
-
97
- if (oProperty) {
98
- aProperties = oProperty.isComplex() ? oProperty.getReferencedProperties() : [oProperty];
99
- }
57
+ /**
58
+ * Gets all aggregatable properties referenced by the property, including the property itself if it is non-complex.
59
+ *
60
+ * @returns {object[]} The aggregatable properties
61
+ */
62
+ oProperty.getAggregatableProperties = function() {
63
+ var aProperties = oProperty.isComplex() ? oProperty.getReferencedProperties() : [oProperty];
100
64
 
101
- return aProperties.filter(function(oProperty) {
102
- return oProperty.isAggregatable();
103
- });
65
+ return aProperties.filter(function(oProperty) {
66
+ return oProperty.aggregatable;
67
+ });
68
+ };
104
69
  };
105
70
 
106
71
  /**
@@ -109,32 +74,11 @@ sap.ui.define([
109
74
  * @returns {object[]} All aggregatable properties
110
75
  * @public
111
76
  */
112
- PropertyHelper.prototype.getAllAggregatableProperties = function() {
77
+ PropertyHelper.prototype.getAggregatableProperties = function() {
113
78
  return this.getProperties().filter(function(oProperty) {
114
- return oProperty.isAggregatable();
79
+ return oProperty.aggregatable;
115
80
  });
116
81
  };
117
82
 
118
- /**
119
- * Gets the information about the default aggregate.
120
- *
121
- * @param {string} sName Name of a property
122
- * @returns {{unit: (object|null), contextDefiningProperties: object[]}|null}
123
- * The default aggregate, or <code>null</code> if the property has no default aggregate or is unknown
124
- * @public
125
- */
126
- PropertyHelper.prototype.getDefaultAggregate = function(sName) {
127
- var mDefaultAggregate = getExtensionAttribute(this, sName, "defaultAggregate");
128
-
129
- if (!mDefaultAggregate) {
130
- return null;
131
- }
132
-
133
- return {
134
- contextDefiningProperties: mDefaultAggregate._contextDefiningProperties || [],
135
- unit: this.getUnitProperty(sName)
136
- };
137
- };
138
-
139
83
  return PropertyHelper;
140
84
  });
@@ -0,0 +1,3 @@
1
+ .sapUiMDCChart {
2
+ background: @sapUiChartBackgroundColor;
3
+ }
@@ -19,3 +19,4 @@
19
19
  @import "GroupView.less";
20
20
  @import "Table.less";
21
21
  @import "CollectiveSearchSelect.less";
22
+ @import "Chart.less";
@@ -22,12 +22,12 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.96.2
25
+ * @version 1.97.0
26
26
  *
27
27
  * @constructor
28
28
  * @alias sap.ui.mdc.ui.Container
29
29
  * @author SAP SE
30
- * @version 1.96.2
30
+ * @version 1.97.0
31
31
  * @since 1.85.0
32
32
  *
33
33
  * @private
@@ -20,12 +20,12 @@ sap.ui.define(['sap/ui/core/Element'],
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.96.2
23
+ * @version 1.97.0
24
24
  *
25
25
  * @constructor
26
26
  * @alias sap.ui.mdc.ui.ContainerItem
27
27
  * @author SAP SE
28
- * @version 1.96.2
28
+ * @version 1.97.0
29
29
  * @since 1.85.0
30
30
  *
31
31
  * @private
@@ -44,7 +44,7 @@ sap.ui.define(
44
44
  * Destroying the cache will cancel all registered promises and delete references. Convenience methods for promise creation, wrapping and replacement are offered.
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.96.2
47
+ * @version 1.97.0
48
48
  * @alias sap.ui.mdc.util.PromiseCache
49
49
  * @namespace
50
50
  * @since 1.85.0