@openui5/sap.ui.mdc 1.101.0 → 1.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +19 -0
- package/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +1 -1
- package/src/sap/ui/mdc/ActionToolbar.js +1 -1
- package/src/sap/ui/mdc/AggregationBaseDelegate.js +11 -0
- package/src/sap/ui/mdc/Chart.js +111 -55
- package/src/sap/ui/mdc/ChartDelegate.js +97 -92
- package/src/sap/ui/mdc/Control.js +1 -1
- package/src/sap/ui/mdc/Element.js +1 -1
- package/src/sap/ui/mdc/Field.js +9 -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 +4 -1
- package/src/sap/ui/mdc/MultiValueField.js +1 -1
- package/src/sap/ui/mdc/Table.js +114 -160
- package/src/sap/ui/mdc/TableDelegate.js +3 -23
- package/src/sap/ui/mdc/ValueHelp.js +20 -32
- package/src/sap/ui/mdc/ValueHelpDelegate.js +9 -3
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -1
- package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -2
- package/src/sap/ui/mdc/chart/ChartToolbar.js +38 -3
- package/src/sap/ui/mdc/chart/DrillBreadcrumbs.js +6 -2
- package/src/sap/ui/mdc/chart/Item.js +6 -11
- package/src/sap/ui/mdc/chart/PropertyHelper.js +7 -8
- package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +2 -3
- package/src/sap/ui/mdc/condition/Condition.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionConverter.js +16 -131
- package/src/sap/ui/mdc/condition/ConditionModel.js +50 -21
- package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +11 -11
- package/src/sap/ui/mdc/condition/Operator.js +85 -15
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +5 -3
- package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +6 -3
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime.js +53 -0
- package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +13 -1
- package/src/sap/ui/mdc/designtime/field/Field.designtime.js +9 -4
- package/src/sap/ui/mdc/designtime/table/Table.designtime.js +1 -1
- package/src/sap/ui/mdc/enum/PropagationReason.js +2 -2
- package/src/sap/ui/mdc/enum/SelectType.js +3 -0
- package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ConditionType.js +166 -52
- package/src/sap/ui/mdc/field/ConditionsType.js +76 -11
- package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -2
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
- package/src/sap/ui/mdc/field/DefineConditionPanel.js +107 -99
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +9 -62
- package/src/sap/ui/mdc/field/FieldBase.js +108 -73
- package/src/sap/ui/mdc/field/FieldBaseDelegate.js +20 -1
- package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -39
- package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInput.js +2 -2
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +2 -2
- package/src/sap/ui/mdc/field/FieldValueHelp.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -19
- package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +3 -1
- package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +13 -1
- package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +3 -3
- package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +28 -29
- package/src/sap/ui/mdc/field/InParameter.js +1 -4
- package/src/sap/ui/mdc/field/ListFieldHelp.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/OutParameter.js +1 -1
- package/src/sap/ui/mdc/field/TokenDisplay.js +2 -2
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +2 -2
- package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -5
- package/src/sap/ui/mdc/field/content/ContentFactory.js +8 -0
- package/src/sap/ui/mdc/field/content/DateContent.js +3 -3
- package/src/sap/ui/mdc/field/content/DateTimeContent.js +43 -2
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +4 -4
- package/src/sap/ui/mdc/filterbar/IFilterContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +21 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
- package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +80 -4
- package/src/sap/ui/mdc/flexibility/AggregateFlex.js +19 -38
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/ChartTypeFlex.js +23 -41
- package/src/sap/ui/mdc/flexibility/ConditionFlex.js +43 -58
- 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/GroupFlex.js +25 -55
- package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +21 -42
- package/src/sap/ui/mdc/flexibility/SortFlex.js +23 -52
- package/src/sap/ui/mdc/flexibility/Table.flexibility.js +3 -3
- package/src/sap/ui/mdc/flexibility/Util.js +82 -0
- package/src/sap/ui/mdc/flexibility/xConfigFlex.js +137 -0
- package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +3 -1
- package/src/sap/ui/mdc/library.js +6 -17
- package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsRenderer.js +1 -1
- package/src/sap/ui/mdc/link/Factory.js +1 -1
- package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
- package/src/sap/ui/mdc/link/LinkItem.js +9 -1
- package/src/sap/ui/mdc/link/Panel.js +25 -13
- package/src/sap/ui/mdc/link/PanelItem.js +10 -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.properties +13 -1
- package/src/sap/ui/mdc/messagebundle_ar.properties +11 -3
- package/src/sap/ui/mdc/messagebundle_bg.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_ca.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_cs.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_cy.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_da.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_de.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_el.properties +20 -12
- package/src/sap/ui/mdc/messagebundle_en.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_en_GB.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +8 -0
- package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +8 -0
- package/src/sap/ui/mdc/messagebundle_es.properties +15 -7
- package/src/sap/ui/mdc/messagebundle_es_MX.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_et.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_fi.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_fr.properties +10 -2
- package/src/sap/ui/mdc/messagebundle_fr_CA.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_hi.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_hr.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_hu.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_id.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_it.properties +10 -2
- package/src/sap/ui/mdc/messagebundle_iw.properties +10 -2
- package/src/sap/ui/mdc/messagebundle_ja.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_kk.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_ko.properties +11 -3
- package/src/sap/ui/mdc/messagebundle_lt.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_lv.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_ms.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_nl.properties +23 -15
- package/src/sap/ui/mdc/messagebundle_no.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_pl.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_pt.properties +18 -10
- package/src/sap/ui/mdc/messagebundle_pt_PT.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_ro.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_ru.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_sh.properties +10 -2
- package/src/sap/ui/mdc/messagebundle_sk.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_sl.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_sv.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_th.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_tr.properties +11 -3
- package/src/sap/ui/mdc/messagebundle_uk.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_vi.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +9 -1
- package/src/sap/ui/mdc/messagebundle_zh_TW.properties +10 -2
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +4 -4
- package/src/sap/ui/mdc/odata/TypeUtil.js +25 -2
- package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +5 -5
- package/src/sap/ui/mdc/odata/v4/FieldBaseDelegate.js +6 -0
- package/src/sap/ui/mdc/odata/v4/TypeUtil.js +6 -6
- package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +0 -33
- package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +378 -154
- package/src/sap/ui/mdc/p13n/Engine.js +8 -4
- package/src/sap/ui/mdc/p13n/PersistenceProvider.js +1 -0
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/p13n/UIManager.js +1 -1
- package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +14 -11
- package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +133 -0
- package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +41 -42
- package/src/sap/ui/mdc/p13n/panels/GroupView.js +1 -0
- package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +12 -4
- package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +22 -27
- package/src/sap/ui/mdc/table/Column.js +4 -1
- package/src/sap/ui/mdc/table/CreationRow.js +3 -1
- package/src/sap/ui/mdc/table/GridTableType.js +0 -5
- package/src/sap/ui/mdc/table/PropertyHelper.js +27 -74
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +29 -17
- 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/menu/QuickActionContainer.js +3 -3
- package/src/sap/ui/mdc/themes/base/Chart.less +5 -0
- package/src/sap/ui/mdc/themes/base/InfoPanel.less +1 -0
- package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +5 -0
- package/src/sap/ui/mdc/util/DateUtil.js +30 -5
- package/src/sap/ui/mdc/util/FilterUtil.js +2 -2
- 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/TypeUtil.js +105 -17
- package/src/sap/ui/mdc/valuehelp/Dialog.js +148 -48
- package/src/sap/ui/mdc/valuehelp/Popover.js +16 -3
- package/src/sap/ui/mdc/valuehelp/base/Container.js +45 -32
- package/src/sap/ui/mdc/valuehelp/base/Content.js +60 -28
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +5 -5
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +75 -32
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +3 -3
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +4 -4
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +11 -3
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +7 -3
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +9 -3
- package/test/sap/ui/mdc/testutils/opa/chart/ActionsBase.js +48 -2
- package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +3 -3
- package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +3 -3
- package/test/sap/ui/mdc/testutils/opa/filterbar/Actions.js +55 -4
- package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +2 -2
- package/test/sap/ui/mdc/testutils/opa/link/Actions.js +53 -12
- package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +6 -6
- package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +121 -202
- package/test/sap/ui/mdc/testutils/opa/p13n/waitForSelectWithSelectedTextOnPanel.js +5 -2
- package/test/sap/ui/mdc/testutils/opa/table/Actions.js +70 -0
- package/test/sap/ui/mdc/testutils/opa/table/TestObjects.js +9 -7
- package/test/sap/ui/mdc/testutils/opa/valueHelp/Actions.js +2 -2
- package/src/sap/ui/mdc/flexibility/AggregationConfigFlex.js +0 -139
- package/src/sap/ui/mdc/valuehelp/content/ListCollection.js +0 -205
|
@@ -20,7 +20,6 @@ sap.ui.define([
|
|
|
20
20
|
'sap/ui/base/ManagedObjectObserver',
|
|
21
21
|
'sap/base/util/merge',
|
|
22
22
|
'sap/base/util/deepEqual',
|
|
23
|
-
'sap/ui/mdc/enum/PersistenceMode',
|
|
24
23
|
'sap/ui/mdc/enum/PropagationReason'
|
|
25
24
|
], function(
|
|
26
25
|
Element,
|
|
@@ -38,7 +37,6 @@ sap.ui.define([
|
|
|
38
37
|
ManagedObjectObserver,
|
|
39
38
|
merge,
|
|
40
39
|
deepEqual,
|
|
41
|
-
PersistenceMode,
|
|
42
40
|
PropagationReason
|
|
43
41
|
) {
|
|
44
42
|
"use strict";
|
|
@@ -85,7 +83,7 @@ sap.ui.define([
|
|
|
85
83
|
* @class Element for the <code>FieldHelp</code> association in the {@link sap.ui.mdc.field.FieldBase FieldBase} controls.
|
|
86
84
|
* @extends sap.ui.mdc.Element
|
|
87
85
|
* @implements sap.ui.core.PopupInterface
|
|
88
|
-
* @version 1.
|
|
86
|
+
* @version 1.103.0
|
|
89
87
|
* @constructor
|
|
90
88
|
* @abstract
|
|
91
89
|
* @private
|
|
@@ -115,6 +113,13 @@ sap.ui.define([
|
|
|
115
113
|
byValue: true
|
|
116
114
|
},
|
|
117
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Path to the <code>Delegate</code> module that provides the required APIs to execute model-specific logic.<br>
|
|
118
|
+
* <b>Note:</b> Ensure that the related file can be requested (any required library has to be loaded before that).<br>
|
|
119
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
120
|
+
*
|
|
121
|
+
* @experimental
|
|
122
|
+
*/
|
|
118
123
|
delegate: {
|
|
119
124
|
type: "object",
|
|
120
125
|
group: "Data",
|
|
@@ -137,8 +142,8 @@ sap.ui.define([
|
|
|
137
142
|
},
|
|
138
143
|
|
|
139
144
|
/**
|
|
140
|
-
* If this property is set, the user input is validated against the value help.
|
|
141
|
-
* If no entry is found for the user input, an error
|
|
145
|
+
* If this property is set, the user input of the corresponding field is validated against the value help.
|
|
146
|
+
* If no entry is found for the user input, an error is shown on the field.
|
|
142
147
|
*
|
|
143
148
|
* If this property is not set, the user input is still checked against the value help.
|
|
144
149
|
* But if no entry is found, the user input is set to the field if the used data type allows this.
|
|
@@ -184,7 +189,7 @@ sap.ui.define([
|
|
|
184
189
|
},
|
|
185
190
|
events: {
|
|
186
191
|
/**
|
|
187
|
-
* This event is fired when a value is selected in the
|
|
192
|
+
* This event is fired when a value is selected in the value help.
|
|
188
193
|
*
|
|
189
194
|
* <b>Note:</b> This event must only be handled by the control the <code>ValueHelp</code> element
|
|
190
195
|
* belongs to, not by the application.
|
|
@@ -226,14 +231,14 @@ sap.ui.define([
|
|
|
226
231
|
closed: {},
|
|
227
232
|
|
|
228
233
|
/**
|
|
229
|
-
* This event is fired after the user navigated in the value help.
|
|
234
|
+
* This event is fired after the user navigated, using the arrow keys, in the value help.
|
|
230
235
|
*/
|
|
231
236
|
navigated: {
|
|
232
237
|
parameters: {
|
|
233
238
|
/**
|
|
234
239
|
* True if the focus should be set back to the field.
|
|
235
240
|
*/
|
|
236
|
-
|
|
241
|
+
leaveFocus: { type: "boolean" },
|
|
237
242
|
/**
|
|
238
243
|
* Navigated condition.
|
|
239
244
|
*
|
|
@@ -258,7 +263,6 @@ sap.ui.define([
|
|
|
258
263
|
ValueHelp.prototype.init = function() {
|
|
259
264
|
|
|
260
265
|
Element.prototype.init.apply(this, arguments);
|
|
261
|
-
this.getEngine().defaultProviderRegistry.attach(this, PersistenceMode.Transient);
|
|
262
266
|
|
|
263
267
|
this._oObserver = new ManagedObjectObserver(_observeChanges.bind(this));
|
|
264
268
|
|
|
@@ -275,7 +279,6 @@ sap.ui.define([
|
|
|
275
279
|
|
|
276
280
|
ValueHelp.prototype.exit = function() {
|
|
277
281
|
|
|
278
|
-
this.getEngine().defaultProviderRegistry.detach(this);
|
|
279
282
|
|
|
280
283
|
if (this._oManagedObjectModel) {
|
|
281
284
|
this._oManagedObjectModel.destroy();
|
|
@@ -316,7 +319,6 @@ sap.ui.define([
|
|
|
316
319
|
* @returns {this} Reference to <code>this</code> in order to allow method chaining
|
|
317
320
|
* @private
|
|
318
321
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
319
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
320
322
|
*/
|
|
321
323
|
ValueHelp.prototype.connect = function(oControl, oConfig) {
|
|
322
324
|
if (this._oControl && this._oControl !== oControl) {
|
|
@@ -360,7 +362,6 @@ sap.ui.define([
|
|
|
360
362
|
* @returns {object} object with the aria-attibutes
|
|
361
363
|
* @private
|
|
362
364
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
363
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
364
365
|
*/
|
|
365
366
|
ValueHelp.prototype.getAriaAttributes = function(iMaxConditions) {
|
|
366
367
|
|
|
@@ -442,7 +443,6 @@ sap.ui.define([
|
|
|
442
443
|
*
|
|
443
444
|
* @private
|
|
444
445
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
445
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
446
446
|
*/
|
|
447
447
|
ValueHelp.prototype.open = function(bTypeahead) {
|
|
448
448
|
var oContainer = bTypeahead ? this.getTypeahead() : _getValueHelpContainer.call(this);
|
|
@@ -474,7 +474,6 @@ sap.ui.define([
|
|
|
474
474
|
*
|
|
475
475
|
* @private
|
|
476
476
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
477
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
478
477
|
*/
|
|
479
478
|
ValueHelp.prototype.close = function() {
|
|
480
479
|
var oTypeahead = this.getTypeahead();
|
|
@@ -499,7 +498,6 @@ sap.ui.define([
|
|
|
499
498
|
*
|
|
500
499
|
* @private
|
|
501
500
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
502
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
503
501
|
*/
|
|
504
502
|
ValueHelp.prototype.toggleOpen = function(bTypeahead) {
|
|
505
503
|
var oTypeahead = this.getTypeahead();
|
|
@@ -529,7 +527,6 @@ sap.ui.define([
|
|
|
529
527
|
*
|
|
530
528
|
* @private
|
|
531
529
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
532
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
533
530
|
*/
|
|
534
531
|
ValueHelp.prototype.isOpen = function() {
|
|
535
532
|
var oTypeahead = this.getTypeahead();
|
|
@@ -545,7 +542,6 @@ sap.ui.define([
|
|
|
545
542
|
*
|
|
546
543
|
* @private
|
|
547
544
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
548
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
549
545
|
*/
|
|
550
546
|
ValueHelp.prototype.skipOpening = function() { // ? Use close based logic instead?
|
|
551
547
|
var oTypeahead = this.getTypeahead();
|
|
@@ -561,18 +557,17 @@ sap.ui.define([
|
|
|
561
557
|
};
|
|
562
558
|
|
|
563
559
|
/**
|
|
564
|
-
* Calls initialization of the ValueHelp before the
|
|
565
|
-
* This is called in Typeahead on first letter before the
|
|
560
|
+
* Calls initialization of the <code>ValueHelp</code> element before the value help is really opened.
|
|
561
|
+
* This is called in Typeahead on first letter before the value help is opened with a delay. So the
|
|
566
562
|
* content can be determined in the delegate coding early.
|
|
567
563
|
*
|
|
568
564
|
* <b>Note:</b> This function must only be called by the control the <code>ValueHelp</code> element
|
|
569
565
|
* belongs to, not by the application.
|
|
570
566
|
*
|
|
571
|
-
* @param {boolean} bTypeahead Flag that determines whether value help is opened for
|
|
567
|
+
* @param {boolean} bTypeahead Flag that determines whether value help is opened for type-ahead or for complex help
|
|
572
568
|
*
|
|
573
569
|
* @private
|
|
574
570
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
575
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
576
571
|
*/
|
|
577
572
|
ValueHelp.prototype.initBeforeOpen = function(bTypeahead) { // ? naming, include as config in open?
|
|
578
573
|
|
|
@@ -590,7 +585,6 @@ sap.ui.define([
|
|
|
590
585
|
* @returns {Promise<boolean>} if <code>true</code>, the field help should open by typing. The result might be returned asynchronously, so a Promise is used.
|
|
591
586
|
* @private
|
|
592
587
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
593
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
594
588
|
*/
|
|
595
589
|
ValueHelp.prototype.isTypeaheadSupported = function() { // always return promise ?
|
|
596
590
|
|
|
@@ -617,7 +611,6 @@ sap.ui.define([
|
|
|
617
611
|
* @returns {boolean} If <code>true</code>, the value help should open when user clicks into the connected field control
|
|
618
612
|
* @private
|
|
619
613
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
620
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
621
614
|
*/
|
|
622
615
|
ValueHelp.prototype.shouldOpenOnClick = function () { // was openByClick before, better naming?
|
|
623
616
|
|
|
@@ -637,7 +630,6 @@ sap.ui.define([
|
|
|
637
630
|
*
|
|
638
631
|
* @private
|
|
639
632
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
640
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
641
633
|
*/
|
|
642
634
|
ValueHelp.prototype.isFocusInHelp = function() { // find more elegant way?
|
|
643
635
|
|
|
@@ -651,7 +643,6 @@ sap.ui.define([
|
|
|
651
643
|
*
|
|
652
644
|
* @private
|
|
653
645
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
654
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
655
646
|
*/
|
|
656
647
|
ValueHelp.prototype.removeFocus = function() {
|
|
657
648
|
var oTypeahead = this.getTypeahead();
|
|
@@ -671,7 +662,6 @@ sap.ui.define([
|
|
|
671
662
|
*
|
|
672
663
|
* @private
|
|
673
664
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
674
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
675
665
|
*/
|
|
676
666
|
ValueHelp.prototype.navigate = function(iStep) { // pass through to container
|
|
677
667
|
var oTypeahead = this.getTypeahead();
|
|
@@ -725,7 +715,10 @@ sap.ui.define([
|
|
|
725
715
|
* @param {object} oConfig Configuration
|
|
726
716
|
* @param {any} oConfig.value Value as entered by user
|
|
727
717
|
* @param {any} [oConfig.parsedValue] Value parsed by type to fit the data type of the key
|
|
728
|
-
* @param {
|
|
718
|
+
* @param {object} [oConfig.context] Contextual information provided by condition payload or inParameters/outParameters. This is only filled if the description needs to be determined for an existing condition.
|
|
719
|
+
* @param {object} [oConfig.context.inParameter] inParameters of the current condition
|
|
720
|
+
* @param {object} [oConfig.context.ouParameter] outParameters of the current condition
|
|
721
|
+
* @param {object} [oConfig.context.payload] payload of the current condition
|
|
729
722
|
* @param {sap.ui.model.Context} [oConfig.bindingContext] <code>BindingContext</code> of the checked field. Inside a table the <code>ValueHelp</code> element might be connected to a different row.
|
|
730
723
|
* @param {boolean} [oConfig.checkKeyFirst] If set, the value help checks first if the value fits a key // TODO: not longer needed?
|
|
731
724
|
* @param {boolean} oConfig.checkKey If set, the value help checks only if there is an item with the given key. This is set to <code>false</code> if the value cannot be a valid key because of type validation.
|
|
@@ -739,7 +732,6 @@ sap.ui.define([
|
|
|
739
732
|
*
|
|
740
733
|
* @private
|
|
741
734
|
* @ui5-restricted sap.ui.mdc.field.FieldBase, sap.ui.mdc.field.ConditionType
|
|
742
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
743
735
|
*/
|
|
744
736
|
ValueHelp.prototype.getItemForValue = function(oConfig) {
|
|
745
737
|
// TODO: Discuss how we handle binding / typeahead changes ??
|
|
@@ -771,7 +763,6 @@ sap.ui.define([
|
|
|
771
763
|
*
|
|
772
764
|
* @private
|
|
773
765
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
774
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
775
766
|
*/
|
|
776
767
|
ValueHelp.prototype.isValidationSupported = function() { // isUsableForValidation also necessary?
|
|
777
768
|
|
|
@@ -792,7 +783,6 @@ sap.ui.define([
|
|
|
792
783
|
*
|
|
793
784
|
* @private
|
|
794
785
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
795
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
796
786
|
*/
|
|
797
787
|
ValueHelp.prototype.onControlChange = function() {
|
|
798
788
|
|
|
@@ -812,7 +802,6 @@ sap.ui.define([
|
|
|
812
802
|
*
|
|
813
803
|
* @private
|
|
814
804
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
815
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
816
805
|
*/
|
|
817
806
|
ValueHelp.prototype.getIcon = function() {
|
|
818
807
|
|
|
@@ -850,7 +839,6 @@ sap.ui.define([
|
|
|
850
839
|
* @returns {boolean} <code>true</code> if value help is enabled, <code>false</code> if only typeahead is enabled
|
|
851
840
|
* @private
|
|
852
841
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
853
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
854
842
|
*/
|
|
855
843
|
ValueHelp.prototype.valueHelpEnabled = function() {
|
|
856
844
|
|
|
@@ -158,7 +158,7 @@ sap.ui.define([
|
|
|
158
158
|
/**
|
|
159
159
|
* Checks if the <code>ListBinding</code> is waiting for an update.
|
|
160
160
|
* As long as the context has not been set for <code>ListBinding</code>,
|
|
161
|
-
* <code>
|
|
161
|
+
* <code>ValueHelp</code> needs to wait.
|
|
162
162
|
*
|
|
163
163
|
* @param {object} oPayload Payload for delegate
|
|
164
164
|
* @param {sap.ui.model.ListBinding} oListBinding <code>ListBinding</code> to check
|
|
@@ -174,7 +174,7 @@ sap.ui.define([
|
|
|
174
174
|
// InOut =====
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
|
-
* Callback invoked everytime a {@link sap.ui.mdc.ValueHelp ValueHelp} fires a select event or the
|
|
177
|
+
* Callback invoked everytime a {@link sap.ui.mdc.ValueHelp ValueHelp} fires a select event or the value of the corresponding field changes
|
|
178
178
|
* This callback may be used to update external fields.
|
|
179
179
|
*
|
|
180
180
|
* @param {object} oPayload Payload for delegate
|
|
@@ -193,8 +193,14 @@ sap.ui.define([
|
|
|
193
193
|
/**
|
|
194
194
|
* Provides an initial condition configuration everytime a value help content is shown.
|
|
195
195
|
*
|
|
196
|
+
* <b>Note:</b> Make sure to provide the type information to the corresponding properties of
|
|
197
|
+
* the {@link sap.ui.mdc.filterbar.vh.FilterBar FilterBar}.
|
|
198
|
+
*
|
|
199
|
+
* <b>Note:</b> Be aware that setting the condition for the search field or type-ahead could
|
|
200
|
+
* lead to unwanted side effects.
|
|
201
|
+
*
|
|
196
202
|
* @param {object} oPayload Payload for delegate
|
|
197
|
-
* @param {sap.ui.mdc.
|
|
203
|
+
* @param {sap.ui.mdc.valuehelp.base.FilterableListContent} oContent ValueHelp content requesting conditions configuration
|
|
198
204
|
* @param {sap.ui.core.Control} oControl Instance of the calling control
|
|
199
205
|
* @returns {Promise<object>|object} Returns a map of conditions suitable for a sap.ui.mdc.FilterBar control
|
|
200
206
|
* @private
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @class The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar}) control
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.103.0
|
|
25
25
|
* @constructor
|
|
26
26
|
* @private
|
|
27
27
|
* @since 1.58
|
|
@@ -33,6 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
var ActionToolbarAction = Control.extend("sap.ui.mdc.actiontoolbar.ActionToolbarAction", {
|
|
34
34
|
metadata: {
|
|
35
35
|
library: "sap.ui.mdc",
|
|
36
|
+
designtime: "sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime",
|
|
36
37
|
interfaces : [
|
|
37
38
|
"sap.m.IOverflowToolbarContent"
|
|
38
39
|
],
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @class The ChartSelectionDetails control creates a sap.m.SelectionDetails popover based on metadata and the configuration specified.
|
|
34
34
|
* @extends sap.m.SelectionDetails
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.103.0
|
|
37
37
|
* @constructor
|
|
38
38
|
* @experimental As of version ...
|
|
39
39
|
* @private
|
|
@@ -41,7 +41,6 @@ sap.ui.define([
|
|
|
41
41
|
* @MDC_PUBLIC_CANDIDATE
|
|
42
42
|
* @since 1.88
|
|
43
43
|
* @alias sap.ui.mdc.chart.ChartSelectionDetails
|
|
44
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
45
44
|
*/
|
|
46
45
|
var ChartSelectionDetails = SelectionDetails.extend("sap.ui.mdc.chart.ChartSelectionDetails", /** @lends sap.ui.mdc.chart.ChartSelectionDetails.prototype */ {
|
|
47
46
|
metadata: {
|
|
@@ -42,13 +42,12 @@ sap.ui.define([
|
|
|
42
42
|
* @class The ChartToolbar control is a sap.m.OverflowToolbar based on metadata and the configuration specified.
|
|
43
43
|
* @extends sap.ui.mdc.ActionToolbar
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.103.0
|
|
46
46
|
* @constructor
|
|
47
47
|
* @experimental As of version 1.88
|
|
48
48
|
* @private
|
|
49
49
|
* @since 1.88
|
|
50
50
|
* @alias sap.ui.mdc.chart.ChartToolbar
|
|
51
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
52
51
|
*/
|
|
53
52
|
var ChartToolbar = ActionToolbar.extend("sap.ui.mdc.chart.ChartToolbar", /** @lends sap.ui.mdc.chart.ChartToolbar.prototype */ {
|
|
54
53
|
metadata: {
|
|
@@ -76,6 +75,14 @@ sap.ui.define([
|
|
|
76
75
|
ActionToolbar.prototype.init.apply(this, arguments);
|
|
77
76
|
};
|
|
78
77
|
|
|
78
|
+
/**
|
|
79
|
+
* Creates the inner toolbar content.
|
|
80
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the parent chart
|
|
81
|
+
*
|
|
82
|
+
* @experimental
|
|
83
|
+
* @private
|
|
84
|
+
* @ui5-restricted sap.ui.mdc
|
|
85
|
+
*/
|
|
79
86
|
ChartToolbar.prototype.createToolbarContent = function (oMDCChart) {
|
|
80
87
|
//Keep track of chart buttons to enable them later on
|
|
81
88
|
this._chartInternalButtonsToEnable = [];
|
|
@@ -164,7 +171,10 @@ sap.ui.define([
|
|
|
164
171
|
enabled: false,
|
|
165
172
|
press: function (oEvent) {
|
|
166
173
|
var aP13nMode = oMDCChart.getP13nMode();
|
|
167
|
-
aP13nMode.
|
|
174
|
+
var iIdx = aP13nMode.indexOf("Type");
|
|
175
|
+
if (iIdx > -1) {
|
|
176
|
+
aP13nMode.splice(iIdx, 1);
|
|
177
|
+
}
|
|
168
178
|
|
|
169
179
|
//TODO: Move this to p13n functionality?
|
|
170
180
|
if (oMDCChart.isPropertyHelperFinal()){
|
|
@@ -189,6 +199,14 @@ sap.ui.define([
|
|
|
189
199
|
|
|
190
200
|
};
|
|
191
201
|
|
|
202
|
+
/**
|
|
203
|
+
* This adds a <code>VariantManagement</code> control at the beginning of the toolbar.
|
|
204
|
+
* @param {sap.ui.fl.variantManagement} oVariantManagement the <code>VariantManagement</code> control to add to the toolbar
|
|
205
|
+
*
|
|
206
|
+
* @experimental
|
|
207
|
+
* @private
|
|
208
|
+
* @ui5-restricted sap.ui.mdc
|
|
209
|
+
*/
|
|
192
210
|
ChartToolbar.prototype.addVariantManagement = function(oVariantManagement) {
|
|
193
211
|
|
|
194
212
|
if (oVariantManagement){
|
|
@@ -202,6 +220,14 @@ sap.ui.define([
|
|
|
202
220
|
|
|
203
221
|
};
|
|
204
222
|
|
|
223
|
+
/**
|
|
224
|
+
* This checks the enablement of the zoom button in the toolbar.
|
|
225
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the parent chart
|
|
226
|
+
*
|
|
227
|
+
* @experimental
|
|
228
|
+
* @private
|
|
229
|
+
* @ui5-restricted sap.ui.mdc, sap.fe
|
|
230
|
+
*/
|
|
205
231
|
ChartToolbar.prototype.toggleZoomButtons = function (oMDCChart) {
|
|
206
232
|
var oZoomInfo = this._getZoomEnablement(oMDCChart);
|
|
207
233
|
|
|
@@ -215,6 +241,15 @@ sap.ui.define([
|
|
|
215
241
|
|
|
216
242
|
};
|
|
217
243
|
|
|
244
|
+
/**
|
|
245
|
+
* This updates the toolbar in accordance with the parent chart.
|
|
246
|
+
* Only used internally.
|
|
247
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the parent chart
|
|
248
|
+
*
|
|
249
|
+
* @experimental
|
|
250
|
+
* @private
|
|
251
|
+
* @ui5-restricted sap.ui.mdc, sap.fe
|
|
252
|
+
*/
|
|
218
253
|
ChartToolbar.prototype.updateToolbar = function (oMDCChart) {
|
|
219
254
|
this.toggleZoomButtons(oMDCChart);
|
|
220
255
|
|
|
@@ -20,9 +20,13 @@ sap.ui.define([
|
|
|
20
20
|
* @author SAP SE
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.88
|
|
23
|
-
* @alias sap.ui.mdc.
|
|
23
|
+
* @alias sap.ui.mdc.chart.DrillBreadcrumbs
|
|
24
24
|
*/
|
|
25
|
-
var DrillBreadcrumbs = Breadcrumbs.extend("sap
|
|
25
|
+
var DrillBreadcrumbs = Breadcrumbs.extend("sap.ui.mdc.chart.DrillBreadcrumbs", {
|
|
26
|
+
renderer: {
|
|
27
|
+
apiVersion: 2
|
|
28
|
+
}
|
|
29
|
+
});
|
|
26
30
|
|
|
27
31
|
DrillBreadcrumbs.prototype.init = function(){
|
|
28
32
|
Breadcrumbs.prototype.init.apply(this, arguments);
|
|
@@ -15,10 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
*
|
|
16
16
|
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
|
-
* @class The Item for the field/property metadata used within MDC controls
|
|
18
|
+
* @class The <code>Item</code> control for the field/property metadata used within MDC controls. An instance can be created to override the default/metadata.
|
|
19
19
|
* behavior.
|
|
20
|
-
* <h3><b>Note:</b></h3>
|
|
21
|
-
* The control is experimental and the API/behaviour is not finalised and hence this should not be used for productive usage.
|
|
22
20
|
* @extends sap.ui.core.Element
|
|
23
21
|
* @author SAP SE
|
|
24
22
|
* @private
|
|
@@ -27,7 +25,6 @@ sap.ui.define([
|
|
|
27
25
|
* @experimental
|
|
28
26
|
* @since 1.88
|
|
29
27
|
* @alias sap.ui.mdc.chart.Item
|
|
30
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
31
28
|
*/
|
|
32
29
|
var Item = Element.extend("sap.ui.mdc.chart.Item", /** @lends sap.ui.mdc.chart.Item.prototype */
|
|
33
30
|
{
|
|
@@ -36,15 +33,13 @@ sap.ui.define([
|
|
|
36
33
|
library: "sap.ui.mdc",
|
|
37
34
|
properties: {
|
|
38
35
|
/**
|
|
39
|
-
* The unique identifier of the chart item
|
|
36
|
+
* The unique identifier of the chart item that reflects the name of the data property in the resulting data set.
|
|
40
37
|
*/
|
|
41
38
|
name: {
|
|
42
39
|
type: "string"
|
|
43
40
|
},
|
|
44
41
|
/**
|
|
45
|
-
* Label for the item, either as a string literal or by a pointer using the binding
|
|
46
|
-
*
|
|
47
|
-
* <b>NOTE:</b> This property was bound internally if automatically created via metadata of oData service and please call "unbindProperty" before setting.
|
|
42
|
+
* Label for the item, either as a string literal or by a pointer, using the binding to some property containing the label.
|
|
48
43
|
*/
|
|
49
44
|
label: {
|
|
50
45
|
type: "string"
|
|
@@ -55,9 +50,9 @@ sap.ui.define([
|
|
|
55
50
|
defaultValue:""
|
|
56
51
|
},
|
|
57
52
|
/**
|
|
58
|
-
* Specifies the role of the
|
|
59
|
-
* This is specific for the used chart library.
|
|
60
|
-
* <b>NOTE: </b> This property
|
|
53
|
+
* Specifies the role of the item for the chart.
|
|
54
|
+
* This is specific for the used chart library.
|
|
55
|
+
* <b>NOTE: </b> This property must not be changed after initialization.
|
|
61
56
|
*/
|
|
62
57
|
role: {
|
|
63
58
|
type: "string"
|
|
@@ -12,26 +12,25 @@ sap.ui.define([
|
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Constructor for a new
|
|
15
|
+
* Constructor for a new chart property helper.
|
|
16
16
|
*
|
|
17
17
|
* @param {object[]} aProperties The properties to process in this helper
|
|
18
18
|
* @param {sap.ui.base.ManagedObject} [oParent] A reference to an instance that will act as the parent of this helper
|
|
19
19
|
*
|
|
20
20
|
* @class
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* Chart property helpers give charts of this library a consistent and standardized view on properties and their attributes.
|
|
22
|
+
* Property helpers validate the given properties, set default values, and provides utilities to work with these properties.
|
|
23
23
|
* The utilities can only be used for properties that are known to the helper. Known properties are all those that are passed to the constructor.
|
|
24
24
|
*
|
|
25
25
|
* @extends sap.ui.mdc.util.PropertyHelper
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.103.0
|
|
29
29
|
*
|
|
30
30
|
* @private
|
|
31
31
|
* @experimental
|
|
32
32
|
* @since 1.83
|
|
33
|
-
* @alias sap.ui.mdc.
|
|
34
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
33
|
+
* @alias sap.ui.mdc.chart.PropertyHelper
|
|
35
34
|
*/
|
|
36
35
|
var PropertyHelper = PropertyHelperBase.extend("sap.ui.mdc.chart.PropertyHelper");
|
|
37
36
|
|
|
@@ -46,9 +45,9 @@ sap.ui.define([
|
|
|
46
45
|
};
|
|
47
46
|
|
|
48
47
|
/**
|
|
49
|
-
* Gets all aggregatable
|
|
48
|
+
* Gets all properties with aggregatable flag set to <code>true</code>.
|
|
50
49
|
*
|
|
51
|
-
* @returns {object[]} All aggregatable
|
|
50
|
+
* @returns {object[]} All properties with aggregatable flag set to <code>true</code>.
|
|
52
51
|
* @public
|
|
53
52
|
*/
|
|
54
53
|
PropertyHelper.prototype.getAllAggregatableProperties = function() {
|
|
@@ -13,16 +13,15 @@ sap.ui.define([
|
|
|
13
13
|
* Constructor for a new SelectionDetailsActions.
|
|
14
14
|
*
|
|
15
15
|
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
16
|
-
* @param {object} [mSettings]
|
|
16
|
+
* @param {object} [mSettings] Initial settings for the new control
|
|
17
17
|
* @extends sap.ui.core.Element
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @class The SelectionDetailsActions are used to provide additional functionality to the
|
|
19
|
+
* @class The SelectionDetailsActions are used to provide additional functionality to the Details popover.
|
|
20
20
|
* @ui5-restricted sap.fe
|
|
21
21
|
* @MDC_PUBLIC_CANDIDATE
|
|
22
22
|
* @experimental
|
|
23
23
|
* @since 1.88
|
|
24
24
|
* @alias sap.ui.mdc.chart.SelectionDetailsActions
|
|
25
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
26
25
|
*/
|
|
27
26
|
var SelectionDetailsActions = Element.extend("sap.ui.mdc.chart.SelectionDetailsActions", {
|
|
28
27
|
|