@openui5/sap.ui.mdc 1.124.1 → 1.124.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +1 -1
- package/src/sap/ui/mdc/ActionToolbar.js +1 -1
- package/src/sap/ui/mdc/Chart.js +1 -1
- package/src/sap/ui/mdc/Control.js +1 -1
- package/src/sap/ui/mdc/DefaultTypeMap.js +1 -1
- package/src/sap/ui/mdc/Element.js +1 -1
- package/src/sap/ui/mdc/Field.js +2 -2
- package/src/sap/ui/mdc/FilterBar.js +1 -1
- package/src/sap/ui/mdc/FilterField.js +2 -2
- package/src/sap/ui/mdc/Link.js +1 -1
- package/src/sap/ui/mdc/MultiValueField.js +1 -1
- package/src/sap/ui/mdc/ValueHelp.js +11 -4
- package/src/sap/ui/mdc/ValueHelpDelegate.js +26 -3
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
- package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +1 -1
- package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
- package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/chart/SelectionButton.js +1 -0
- package/src/sap/ui/mdc/chart/ToolbarControlFactory.js +1 -1
- package/src/sap/ui/mdc/condition/Condition.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
- package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
- package/src/sap/ui/mdc/condition/Operator.js +1 -1
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
- package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
- package/src/sap/ui/mdc/field/ConditionType.js +1 -1
- package/src/sap/ui/mdc/field/ConditionTypeMixin.js +1 -1
- package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/FieldBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInput.js +1 -1
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
- package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
- package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
- package/src/sap/ui/mdc/library.js +2 -2
- package/src/sap/ui/mdc/link/Factory.js +1 -1
- package/src/sap/ui/mdc/link/LinkItem.js +1 -1
- package/src/sap/ui/mdc/link/Panel.js +1 -1
- package/src/sap/ui/mdc/link/PanelItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
- package/src/sap/ui/mdc/odata/TypeMap.js +1 -1
- package/src/sap/ui/mdc/odata/v4/TypeMap.js +1 -1
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/table/ColumnSettings.js +1 -1
- package/src/sap/ui/mdc/table/CreationRow.js +1 -1
- package/src/sap/ui/mdc/table/DragDropConfig.js +1 -1
- package/src/sap/ui/mdc/table/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +1 -1
- package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
- package/src/sap/ui/mdc/table/RowSettings.js +1 -1
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -1
- package/src/sap/ui/mdc/table/utils/Personalization.js +1 -1
- package/src/sap/ui/mdc/ushell/SemanticObjectMapping.js +1 -1
- package/src/sap/ui/mdc/ushell/SemanticObjectMappingItem.js +1 -1
- package/src/sap/ui/mdc/ushell/SemanticObjectUnavailableAction.js +1 -1
- package/src/sap/ui/mdc/util/InfoBar.js +1 -1
- package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
- package/src/sap/ui/mdc/util/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Dialog.js +1 -1
- package/src/sap/ui/mdc/valuehelp/FilterBar.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Popover.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +1 -1
- package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +23 -1
- package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +2 -1
|
@@ -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.124.
|
|
19
|
+
* @version 1.124.3
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.54.0
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* {@link sap.ui.mdc.table.Column#getCreationTemplate creationTemplate} aggregation of the {@link sap.ui.mdc.table.Column}.
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.124.
|
|
22
|
+
* @version 1.124.3
|
|
23
23
|
* @constructor
|
|
24
24
|
* @private
|
|
25
25
|
* @ui5-restricted sap.fe
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* The <code>RowActionItem</code> control represents a action for a row.
|
|
21
21
|
* This control can only be used in the context of <code>sap.ui.mdc.Table</code> control to define row actions.
|
|
22
22
|
* @extends sap.ui.core.Element
|
|
23
|
-
* @version 1.124.
|
|
23
|
+
* @version 1.124.3
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* The <code>RowSettings</code> control is used to configure a row.
|
|
22
22
|
* This control can only be used in the context of the <code>sap.ui.mdc.Table</code> control to define row settings.
|
|
23
23
|
* @extends sap.ui.core.Element
|
|
24
|
-
* @version 1.124.
|
|
24
|
+
* @version 1.124.3
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class The <code>InfoBar</code> control provides an easy way of displaying filter information inside an <code>sap.ui.mdc.Chart</code> and an <code>sap.ui.mdc.Table</code>.
|
|
25
25
|
* @extends sap.ui.core.Control
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.124.
|
|
27
|
+
* @version 1.124.3
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -45,7 +45,7 @@ sap.ui.define(
|
|
|
45
45
|
* Destroying the cache will cancel all registered promises and delete references. Convenience methods for promise creation, wrapping and replacement are offered.
|
|
46
46
|
*
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.124.
|
|
48
|
+
* @version 1.124.3
|
|
49
49
|
* @alias sap.ui.mdc.util.PromiseCache
|
|
50
50
|
* @since 1.85.0
|
|
51
51
|
* @private
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @param {object} [mSettings] Initial settings for the new control
|
|
66
66
|
* @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element showing a dialog.
|
|
67
67
|
* @extends sap.ui.mdc.valuehelp.base.Container
|
|
68
|
-
* @version 1.124.
|
|
68
|
+
* @version 1.124.3
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
71
71
|
* @since 1.95.0
|
|
@@ -43,7 +43,7 @@ sap.ui.define(
|
|
|
43
43
|
* <b>Note:</b> The <code>FilterBar</code> can only be used for a {@link sap.ui.mdc.valuehelp.Dialog Dialog} and not on its own.
|
|
44
44
|
* @extends sap.ui.mdc.filterbar.FilterBarBase
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.124.
|
|
46
|
+
* @version 1.124.3
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
49
49
|
* @since 1.124.0
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @param {object} [mSettings] Initial settings for the new control
|
|
36
36
|
* @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element showing a popover.
|
|
37
37
|
* @extends sap.ui.mdc.valuehelp.base.Container
|
|
38
|
-
* @version 1.124.
|
|
38
|
+
* @version 1.124.3
|
|
39
39
|
* @constructor
|
|
40
40
|
* @public
|
|
41
41
|
* @since 1.95.0
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @param {object} [mSettings] Initial settings for the new element
|
|
27
27
|
* @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element.
|
|
28
28
|
* @extends sap.ui.core.Element
|
|
29
|
-
* @version 1.124.
|
|
29
|
+
* @version 1.124.3
|
|
30
30
|
* @constructor
|
|
31
31
|
* @abstract
|
|
32
32
|
* @public
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* @param {object} [mSettings] Initial settings for the new element
|
|
35
35
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
36
36
|
* @extends sap.ui.core.Element
|
|
37
|
-
* @version 1.124.
|
|
37
|
+
* @version 1.124.3
|
|
38
38
|
* @constructor
|
|
39
39
|
* @abstract
|
|
40
40
|
* @public
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @param {object} [mSettings] Initial settings for the new control
|
|
21
21
|
* @class Content for the <code>sap.ui.mdc.valuehelp.content.Dialog</code> element.
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
|
-
* @version 1.124.
|
|
23
|
+
* @version 1.124.3
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @param {object} [mSettings] Initial settings for the new element
|
|
45
45
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
46
46
|
* @extends sap.ui.mdc.valuehelp.base.ListContent
|
|
47
|
-
* @version 1.124.
|
|
47
|
+
* @version 1.124.3
|
|
48
48
|
* @constructor
|
|
49
49
|
* @abstract
|
|
50
50
|
* @public
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @param {object} [mSettings] Initial settings for the new element
|
|
22
22
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
23
23
|
* @extends sap.ui.mdc.valuehelp.base.Content
|
|
24
|
-
* @version 1.124.
|
|
24
|
+
* @version 1.124.3
|
|
25
25
|
* @constructor
|
|
26
26
|
* @abstract
|
|
27
27
|
* @public
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @param {object} [mSettings] Initial settings for the new element
|
|
21
21
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element to provide a value help for boolean fields.
|
|
22
22
|
* @extends sap.ui.mdc.valuehelp.content.FixedList
|
|
23
|
-
* @version 1.124.
|
|
23
|
+
* @version 1.124.3
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @param {object} [mSettings] Initial settings for the new element
|
|
28
28
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element showing a condition panel.
|
|
29
29
|
* @extends sap.ui.mdc.valuehelp.base.Content
|
|
30
|
-
* @version 1.124.
|
|
30
|
+
* @version 1.124.3
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
33
33
|
* @since 1.95.0
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @param {object} [mSettings] Initial settings for the new element
|
|
33
33
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element showing a list with fixed values.
|
|
34
34
|
* @extends sap.ui.mdc.valuehelp.base.ListContent
|
|
35
|
-
* @version 1.124.
|
|
35
|
+
* @version 1.124.3
|
|
36
36
|
* @constructor
|
|
37
37
|
* @public
|
|
38
38
|
* @since 1.95.0
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @param {object} [mSettings] Initial settings for the new element
|
|
37
37
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element using a {@link sap.ui.mdc.Table}.
|
|
38
38
|
* @extends sap.ui.mdc.valuehelp.base.FilterableListContent
|
|
39
|
-
* @version 1.124.
|
|
39
|
+
* @version 1.124.3
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
42
42
|
* @since 1.95.0
|
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
* @param {object} [mSettings] Initial settings for the new element
|
|
52
52
|
* @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element using a {@link sap.m.Table}.
|
|
53
53
|
* @extends sap.ui.mdc.valuehelp.base.FilterableListContent
|
|
54
|
-
* @version 1.124.
|
|
54
|
+
* @version 1.124.3
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
57
57
|
* @since 1.95.0
|
|
@@ -136,6 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
var iPressTheOKButtonOnTheDialog = function(oDialog, oSettings) {
|
|
137
137
|
return iPressAButtonOnTheDialog.call(this, oDialog, Util.texts.ok, oSettings);
|
|
138
138
|
};
|
|
139
|
+
|
|
139
140
|
var iPressTheCancelButtonOnTheDialog = function(oDialog, oSettings) {
|
|
140
141
|
return iPressAButtonOnTheDialog.call(this, oDialog, Util.texts.cancel, oSettings);
|
|
141
142
|
};
|
|
@@ -414,7 +415,7 @@ sap.ui.define([
|
|
|
414
415
|
|
|
415
416
|
var iPersonalizeListViewItems = function(oP13nDialog, aItems) {
|
|
416
417
|
this.waitFor({
|
|
417
|
-
controlType:
|
|
418
|
+
controlType: "sap.m.p13n.SelectionPanel",
|
|
418
419
|
matchers: new Ancestor(oP13nDialog, false),
|
|
419
420
|
success: function(aListViews) {
|
|
420
421
|
var oListView = aListViews[0];
|
|
@@ -861,6 +862,24 @@ sap.ui.define([
|
|
|
861
862
|
}
|
|
862
863
|
});
|
|
863
864
|
},
|
|
865
|
+
/**
|
|
866
|
+
* OPA5 test action
|
|
867
|
+
* 1. Opens the personalization dialog of a given table.
|
|
868
|
+
* 2. Selects all columns determined by the given labels. Also deselects all other columns that are selected but not included in the given labels.
|
|
869
|
+
* 3. Closes the personalization dialog.
|
|
870
|
+
* @param {sap.ui.core.Control | string} oControl Instance / ID of the control which is to be personalized
|
|
871
|
+
* @param {string[]} aColumns Array containing the labels of the columns that are the result of the personalization
|
|
872
|
+
* @param {function} fnOpenThePersonalizationDialog a function which opens the personalization dialog of the given control
|
|
873
|
+
* @returns {Promise} Opa waitFor
|
|
874
|
+
*/
|
|
875
|
+
iPersonalizeFields: function(oControl, aColumns, fnOpenThePersonalizationDialog) {
|
|
876
|
+
fnOpenThePersonalizationDialog = fnOpenThePersonalizationDialog ? fnOpenThePersonalizationDialog : iOpenThePersonalizationDialog;
|
|
877
|
+
return iPersonalize.call(this, oControl, Util.texts.fields, fnOpenThePersonalizationDialog, {
|
|
878
|
+
success: function(oP13nDialog) {
|
|
879
|
+
iPersonalizeListViewItems.call(this, oP13nDialog, aColumns);
|
|
880
|
+
}
|
|
881
|
+
});
|
|
882
|
+
},
|
|
864
883
|
iPersonalizeFilterBar: function(oControl, mSettings, fnOpenThePersonalizationDialog) {
|
|
865
884
|
fnOpenThePersonalizationDialog = fnOpenThePersonalizationDialog ? fnOpenThePersonalizationDialog : iOpenThePersonalizationDialog;
|
|
866
885
|
var sIcon = Util.icons.group;
|
|
@@ -1135,6 +1154,9 @@ sap.ui.define([
|
|
|
1135
1154
|
});
|
|
1136
1155
|
}
|
|
1137
1156
|
});
|
|
1157
|
+
},
|
|
1158
|
+
iPersonalizeListViewItems: function(oDialog, aItems) {
|
|
1159
|
+
return iPersonalizeListViewItems.call(this, oDialog, aItems);
|
|
1138
1160
|
}
|
|
1139
1161
|
};
|
|
1140
1162
|
});
|
|
@@ -21,7 +21,8 @@ sap.ui.define([
|
|
|
21
21
|
column: oMDCBundle.getText("p13nDialog.TAB_Column"),
|
|
22
22
|
filter: oMDCBundle.getText("p13nDialog.TAB_Filter"),
|
|
23
23
|
group: oMDCBundle.getText("p13nDialog.TAB_Group"),
|
|
24
|
-
sort: oMDCBundle.getText("p13nDialog.TAB_Sort")
|
|
24
|
+
sort: oMDCBundle.getText("p13nDialog.TAB_Sort"),
|
|
25
|
+
fields: oMBundle.getText("p13n.DEFAULT_TITLE_SELECTION")
|
|
25
26
|
},
|
|
26
27
|
|
|
27
28
|
icons: {
|