@openui5/sap.ui.mdc 1.127.2 → 1.127.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 +2 -1
- package/src/sap/ui/mdc/Element.js +1 -1
- package/src/sap/ui/mdc/Field.js +13 -13
- 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 +14 -14
- package/src/sap/ui/mdc/ValueHelp.js +78 -26
- package/src/sap/ui/mdc/ValueHelpDelegate.js +1 -1
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
- package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +1 -1
- package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
- package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/chart/ToolbarControlFactory.js +1 -1
- package/src/sap/ui/mdc/condition/Condition.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
- package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
- package/src/sap/ui/mdc/condition/Operator.js +1 -1
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
- package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
- package/src/sap/ui/mdc/field/ConditionType.js +1 -1
- package/src/sap/ui/mdc/field/ConditionTypeMixin.js +1 -1
- package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/FieldBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInput.js +1 -1
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
- package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
- package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
- package/src/sap/ui/mdc/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 +2 -1
- package/src/sap/ui/mdc/odata/v4/TypeMap.js +2 -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/util/TypeMap.js +15 -4
- 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 +27 -3
- 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 +44 -18
- 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 +52 -8
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +65 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.mdc",
|
|
3
|
-
"version": "1.127.
|
|
3
|
+
"version": "1.127.3",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.mdc",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.127.
|
|
18
|
-
"@openui5/sap.ui.core": "1.127.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.127.
|
|
17
|
+
"@openui5/sap.m": "1.127.3",
|
|
18
|
+
"@openui5/sap.ui.core": "1.127.3",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.127.3"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/ui/mdc/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.127.
|
|
9
|
+
<version>1.127.3</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.ui.mdc</documentation>
|
|
12
12
|
|
package/src/sap/ui/mdc/Chart.js
CHANGED
|
@@ -13,6 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
*
|
|
14
14
|
* Generic {@link module:sap/ui/mdc/util/TypeMap TypeMap} configuration for simple use cases.
|
|
15
15
|
*
|
|
16
|
+
* <b>Note:</b> The modules of all data types registered in a <code>TypeMap</code> must be loaded in advance.<br>
|
|
16
17
|
* <b>Note:</b> This {@link module:sap/ui/mdc/util/TypeMap TypeMap} implementation contains the following types:
|
|
17
18
|
*
|
|
18
19
|
* <ul>
|
|
@@ -28,7 +29,7 @@ sap.ui.define([
|
|
|
28
29
|
* </ul>
|
|
29
30
|
*
|
|
30
31
|
* @author SAP SE
|
|
31
|
-
* @version 1.127.
|
|
32
|
+
* @version 1.127.3
|
|
32
33
|
* @public
|
|
33
34
|
* @since 1.114.0
|
|
34
35
|
* @namespace
|
package/src/sap/ui/mdc/Field.js
CHANGED
|
@@ -54,11 +54,11 @@ sap.ui.define([
|
|
|
54
54
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
|
|
55
55
|
*
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.127.
|
|
57
|
+
* @version 1.127.3
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @alias sap.ui.mdc.Field
|
|
61
|
-
* @version 1.127.
|
|
61
|
+
* @version 1.127.3
|
|
62
62
|
* @since 1.54.0
|
|
63
63
|
*
|
|
64
64
|
* @public
|
|
@@ -274,7 +274,7 @@ sap.ui.define([
|
|
|
274
274
|
* @param {int} iMaxConditions Only 1 condition allowed in <code>Field</code>
|
|
275
275
|
* @returns {this} <code>this</code> to allow method chaining.
|
|
276
276
|
* @public
|
|
277
|
-
* @deprecated
|
|
277
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>.
|
|
278
278
|
* @ui5-not-supported
|
|
279
279
|
*/
|
|
280
280
|
Field.prototype.setMaxConditions = function(iMaxConditions) {
|
|
@@ -674,7 +674,7 @@ sap.ui.define([
|
|
|
674
674
|
* @param {object[]} aConditions Conditions that are set
|
|
675
675
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
676
676
|
* @public
|
|
677
|
-
* @deprecated
|
|
677
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. Use the <code>value</code> property and <code>additionalValue</code> property to bind the control.
|
|
678
678
|
* @ui5-not-supported
|
|
679
679
|
* @name sap.ui.mdc.Field#setConditions
|
|
680
680
|
* @function
|
|
@@ -688,7 +688,7 @@ sap.ui.define([
|
|
|
688
688
|
*
|
|
689
689
|
* @returns {object[]} Conditions of the field
|
|
690
690
|
* @public
|
|
691
|
-
* @deprecated
|
|
691
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. Use the <code>value</code> property and <code>additionalValue</code> property to bind the control.
|
|
692
692
|
* @ui5-not-supported
|
|
693
693
|
* @name sap.ui.mdc.Field#getConditions
|
|
694
694
|
* @function
|
|
@@ -705,7 +705,7 @@ sap.ui.define([
|
|
|
705
705
|
* @param {sap.ui.base.ManagedObject.PropertyBindingInfo} oBindingInfo The binding information
|
|
706
706
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
707
707
|
* @public
|
|
708
|
-
* @deprecated
|
|
708
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. Use the <code>value</code> property and <code>additionalValue</code> property to bind the control.
|
|
709
709
|
* @ui5-not-supported
|
|
710
710
|
* @name sap.ui.mdc.Field#bindConditions
|
|
711
711
|
* @function
|
|
@@ -719,7 +719,7 @@ sap.ui.define([
|
|
|
719
719
|
*
|
|
720
720
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
721
721
|
* @public
|
|
722
|
-
* @deprecated
|
|
722
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. Use the <code>value</code> property and <code>additionalValue</code> property to bind the control.
|
|
723
723
|
* @ui5-not-supported
|
|
724
724
|
* @name sap.ui.mdc.Field#unbindConditions
|
|
725
725
|
* @function
|
|
@@ -736,7 +736,7 @@ sap.ui.define([
|
|
|
736
736
|
* @param {string|undefined} sDataType DataType that is set
|
|
737
737
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
738
738
|
* @public
|
|
739
|
-
* @deprecated
|
|
739
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The type in the binding to the <code>value</code> property is used.
|
|
740
740
|
* @ui5-not-supported
|
|
741
741
|
* @name sap.ui.mdc.Field#setDataType
|
|
742
742
|
* @function
|
|
@@ -752,7 +752,7 @@ sap.ui.define([
|
|
|
752
752
|
*
|
|
753
753
|
* @returns {string} Value of property <code>dataType</code>
|
|
754
754
|
* @public
|
|
755
|
-
* @deprecated
|
|
755
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The type in the binding to the <code>value</code> property is used.
|
|
756
756
|
* @ui5-not-supported
|
|
757
757
|
* @name sap.ui.mdc.Field#getDataType
|
|
758
758
|
* @function
|
|
@@ -769,7 +769,7 @@ sap.ui.define([
|
|
|
769
769
|
* @param {object|undefined} oDataTypeConstraints Constraints that are set
|
|
770
770
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
771
771
|
* @public
|
|
772
|
-
* @deprecated
|
|
772
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The <code>Constraints</code> of the type in the binding to the <code>value</code> property is used.
|
|
773
773
|
* @ui5-not-supported
|
|
774
774
|
* @name sap.ui.mdc.Field#setDataTypeConstraints
|
|
775
775
|
* @function
|
|
@@ -785,7 +785,7 @@ sap.ui.define([
|
|
|
785
785
|
*
|
|
786
786
|
* @returns {object} Value of property <code>dataTypeConstraints</code>
|
|
787
787
|
* @public
|
|
788
|
-
* @deprecated
|
|
788
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The <code>Constraints</code> of the type in the binding to the <code>value</code> property is used.
|
|
789
789
|
* @ui5-not-supported
|
|
790
790
|
* @name sap.ui.mdc.Field#getDataTypeConstraints
|
|
791
791
|
* @function
|
|
@@ -802,7 +802,7 @@ sap.ui.define([
|
|
|
802
802
|
* @param {object|undefined} oDataTypeFormatOptions Format options that are set
|
|
803
803
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
804
804
|
* @public
|
|
805
|
-
* @deprecated
|
|
805
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The <code>FormatOptions</code> of the type in the binding to the <code>value</code> property is used.
|
|
806
806
|
* @ui5-not-supported
|
|
807
807
|
* @name sap.ui.mdc.Field#setDataTypeFormatOptions
|
|
808
808
|
* @function
|
|
@@ -818,7 +818,7 @@ sap.ui.define([
|
|
|
818
818
|
*
|
|
819
819
|
* @returns {object} Value of property <code>dataTypeFormatOptions</code>
|
|
820
820
|
* @public
|
|
821
|
-
* @deprecated
|
|
821
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>Field</code>. The <code>FormatOptions</code> of the type in the binding to the <code>value</code> property is used.
|
|
822
822
|
* @ui5-not-supported
|
|
823
823
|
* @name sap.ui.mdc.Field#getDataTypeFormatOptions
|
|
824
824
|
* @function
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
* The metadata information is provided via the {@link module:sap/ui/mdc/FilterBarDelegate FilterBarDelegate} implementation. This implementation has to be provided by the application.
|
|
46
46
|
* @extends sap.ui.mdc.filterbar.FilterBarBase
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.127.
|
|
48
|
+
* @version 1.127.3
|
|
49
49
|
* @constructor
|
|
50
50
|
* @public
|
|
51
51
|
* @since 1.61.0
|
|
@@ -53,11 +53,11 @@ sap.ui.define([
|
|
|
53
53
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
|
|
54
54
|
*
|
|
55
55
|
* @author SAP SE
|
|
56
|
-
* @version 1.127.
|
|
56
|
+
* @version 1.127.3
|
|
57
57
|
*
|
|
58
58
|
* @constructor
|
|
59
59
|
* @alias sap.ui.mdc.FilterField
|
|
60
|
-
* @version 1.127.
|
|
60
|
+
* @version 1.127.3
|
|
61
61
|
* @since 1.48.0
|
|
62
62
|
*
|
|
63
63
|
* @public
|
package/src/sap/ui/mdc/Link.js
CHANGED
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @constructor
|
|
45
45
|
* @alias sap.ui.mdc.MultiValueField
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.127.
|
|
47
|
+
* @version 1.127.3
|
|
48
48
|
* @since 1.93.0
|
|
49
49
|
*
|
|
50
50
|
* @public
|
|
@@ -222,7 +222,7 @@ sap.ui.define([
|
|
|
222
222
|
* @param {int} iMaxConditions More than 1 condition must be allowed in <code>MultiValueField</code>
|
|
223
223
|
* @returns {this} <code>this</code> to allow method chaining.
|
|
224
224
|
* @public
|
|
225
|
-
* @deprecated
|
|
225
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code> control.
|
|
226
226
|
* @ui5-not-supported
|
|
227
227
|
*/
|
|
228
228
|
Field.prototype.setMaxConditions = function(iMaxConditions) {
|
|
@@ -396,7 +396,7 @@ sap.ui.define([
|
|
|
396
396
|
* @param {object[]} aConditions Conditions to be set
|
|
397
397
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
398
398
|
* @public
|
|
399
|
-
* @deprecated
|
|
399
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>MultiValueField</code>. Use the <code>items</code> aggregation to bind the control.
|
|
400
400
|
* @ui5-not-supported
|
|
401
401
|
* @name sap.ui.mdc.MultiValueField#setConditions
|
|
402
402
|
* @function
|
|
@@ -410,7 +410,7 @@ sap.ui.define([
|
|
|
410
410
|
*
|
|
411
411
|
* @returns {object[]} conditions of the field
|
|
412
412
|
* @public
|
|
413
|
-
* @deprecated
|
|
413
|
+
* @deprecated As of version 1.54, this property is not supported for the <code>MultiValueField</code>. Use the <code>items</code> aggregation to bind the control.
|
|
414
414
|
* @ui5-not-supported
|
|
415
415
|
* @name sap.ui.mdc.MultiValueField#getConditions
|
|
416
416
|
* @function
|
|
@@ -427,7 +427,7 @@ sap.ui.define([
|
|
|
427
427
|
* @param {sap.ui.base.ManagedObject.PropertyBindingInfo} oBindingInfo The binding information
|
|
428
428
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
429
429
|
* @public
|
|
430
|
-
* @deprecated
|
|
430
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. Use the <code>items</code> aggregation to bind the control.
|
|
431
431
|
* @ui5-not-supported
|
|
432
432
|
* @name sap.ui.mdc.MultiValueField#bindConditions
|
|
433
433
|
* @function
|
|
@@ -441,7 +441,7 @@ sap.ui.define([
|
|
|
441
441
|
*
|
|
442
442
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
443
443
|
* @public
|
|
444
|
-
* @deprecated
|
|
444
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. Use the <code>items</code> aggregation to bind the control.
|
|
445
445
|
* @ui5-not-supported
|
|
446
446
|
* @name sap.ui.mdc.MultiValueField#unbindConditions
|
|
447
447
|
* @function
|
|
@@ -458,7 +458,7 @@ sap.ui.define([
|
|
|
458
458
|
* @param {string|undefined} sDataType DataType to be set
|
|
459
459
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
460
460
|
* @public
|
|
461
|
-
* @deprecated
|
|
461
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
462
462
|
* @ui5-not-supported
|
|
463
463
|
* @name sap.ui.mdc.MultiValueField#setDataType
|
|
464
464
|
* @function
|
|
@@ -474,7 +474,7 @@ sap.ui.define([
|
|
|
474
474
|
*
|
|
475
475
|
* @returns {string} Value of property <code>dataType</code>
|
|
476
476
|
* @public
|
|
477
|
-
* @deprecated
|
|
477
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
478
478
|
* @ui5-not-supported
|
|
479
479
|
* @name sap.ui.mdc.MultiValueField#getDataType
|
|
480
480
|
* @function
|
|
@@ -491,7 +491,7 @@ sap.ui.define([
|
|
|
491
491
|
* @param {object|undefined} oDataTypeConstraints Constraints to be set
|
|
492
492
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
493
493
|
* @public
|
|
494
|
-
* @deprecated
|
|
494
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
495
495
|
* @ui5-not-supported
|
|
496
496
|
* @name sap.ui.mdc.MultiValueField#setDataTypeConstraints
|
|
497
497
|
* @function
|
|
@@ -507,7 +507,7 @@ sap.ui.define([
|
|
|
507
507
|
*
|
|
508
508
|
* @returns {object} Value of property <code>dataTypeConstraints</code>
|
|
509
509
|
* @public
|
|
510
|
-
* @deprecated
|
|
510
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
511
511
|
* @ui5-not-supported
|
|
512
512
|
* @name sap.ui.mdc.MultiValueField#getDataTypeConstraints
|
|
513
513
|
* @function
|
|
@@ -524,7 +524,7 @@ sap.ui.define([
|
|
|
524
524
|
* @param {object|undefined} oDataTypeFormatOptions Format options to be set
|
|
525
525
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
526
526
|
* @public
|
|
527
|
-
* @deprecated
|
|
527
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
528
528
|
* @ui5-not-supported
|
|
529
529
|
* @name sap.ui.mdc.MultiValueField#setDataTypeFormatOptions
|
|
530
530
|
* @function
|
|
@@ -540,7 +540,7 @@ sap.ui.define([
|
|
|
540
540
|
*
|
|
541
541
|
* @returns {object} Value of property <code>dataTypeFormatOptions</code>
|
|
542
542
|
* @public
|
|
543
|
-
* @deprecated
|
|
543
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>. The type in the binding to the <code>items</code> aggregation is used.
|
|
544
544
|
* @ui5-not-supported
|
|
545
545
|
* @name sap.ui.mdc.MultiValueField#getDataTypeFormatOptions
|
|
546
546
|
* @function
|
|
@@ -552,7 +552,7 @@ sap.ui.define([
|
|
|
552
552
|
* @param {boolean} [bMultipleLines=false] New value for property <code>multipleLines</code>
|
|
553
553
|
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
554
554
|
* @public
|
|
555
|
-
* @deprecated
|
|
555
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>.
|
|
556
556
|
* @ui5-not-supported
|
|
557
557
|
* @name sap.ui.mdc.MultiValueField#setMultipleLines
|
|
558
558
|
* @function
|
|
@@ -563,7 +563,7 @@ sap.ui.define([
|
|
|
563
563
|
*
|
|
564
564
|
* @returns {boolean} Value for property <code>multipleLines</code>
|
|
565
565
|
* @public
|
|
566
|
-
* @deprecated
|
|
566
|
+
* @deprecated As of version 1.93, this property is not supported for the <code>MultiValueField</code>.
|
|
567
567
|
* @ui5-not-supported
|
|
568
568
|
* @name sap.ui.mdc.MultiValueField#getMultipleLines
|
|
569
569
|
* @function
|
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* and {@link sap.ui.mdc.FilterField FilterField} controls using the <code>valueHelp</code> association. One <code>ValueHelp</code> element instance can be
|
|
68
68
|
* assigned to multiple fields (like in different table rows). It should be placed in the control tree on the container holding the fields.
|
|
69
69
|
* @extends sap.ui.mdc.Element
|
|
70
|
-
* @version 1.127.
|
|
70
|
+
* @version 1.127.3
|
|
71
71
|
* @constructor
|
|
72
72
|
* @abstract
|
|
73
73
|
* @public
|
|
@@ -405,13 +405,14 @@ sap.ui.define([
|
|
|
405
405
|
* @ui5-restricted sap.ui.mdc.field.FieldBase
|
|
406
406
|
*/
|
|
407
407
|
ValueHelp.prototype.connect = function(oControl, oConfig) {
|
|
408
|
+
const oTypeahead = this.getTypeahead();
|
|
409
|
+
const oDialog = this.getDialog();
|
|
410
|
+
|
|
408
411
|
if (this._oControl && this._oControl !== oControl) {
|
|
409
412
|
this.close();
|
|
410
413
|
this.setFilterValue("");
|
|
411
414
|
this.setConditions([]);
|
|
412
415
|
|
|
413
|
-
const oTypeahead = this.getTypeahead();
|
|
414
|
-
const oDialog = this.getDialog();
|
|
415
416
|
if (oTypeahead) {
|
|
416
417
|
oTypeahead.onConnectionChange();
|
|
417
418
|
}
|
|
@@ -427,6 +428,13 @@ sap.ui.define([
|
|
|
427
428
|
|
|
428
429
|
_updateBindingContext.call(this); //to get the right values for InParameters ect.
|
|
429
430
|
|
|
431
|
+
if (oTypeahead) {
|
|
432
|
+
attachContainerEvents.call(this, oTypeahead, !!this._oControl);
|
|
433
|
+
}
|
|
434
|
+
if (oDialog) {
|
|
435
|
+
attachContainerEvents.call(this, oDialog, !!this._oControl);
|
|
436
|
+
}
|
|
437
|
+
|
|
430
438
|
return this;
|
|
431
439
|
};
|
|
432
440
|
|
|
@@ -807,7 +815,7 @@ sap.ui.define([
|
|
|
807
815
|
ValueHelp.prototype.navigate = function(iStep) { // pass through to container
|
|
808
816
|
const oTypeahead = this.getTypeahead();
|
|
809
817
|
if (oTypeahead) {
|
|
810
|
-
const _fnOnNavigatable =
|
|
818
|
+
const _fnOnNavigatable = () => {
|
|
811
819
|
if (oTypeahead.shouldOpenOnNavigate() && !oTypeahead.isOpening() && !oTypeahead.isOpen()) {
|
|
812
820
|
return oTypeahead.open(true).then(() => {
|
|
813
821
|
oTypeahead.navigate(iStep);
|
|
@@ -1112,29 +1120,9 @@ sap.ui.define([
|
|
|
1112
1120
|
const oContainer = oChanges.child;
|
|
1113
1121
|
|
|
1114
1122
|
const bAdded = oChanges.mutation === "insert";
|
|
1115
|
-
const fnEvent = bAdded ? oContainer.attachEvent.bind(oContainer) : oContainer.detachEvent.bind(oContainer);
|
|
1116
|
-
|
|
1117
|
-
fnEvent("select", _handleSelect, this);
|
|
1118
|
-
fnEvent("requestDelegateContent", _handleRequestDelegateContent, this);
|
|
1119
|
-
fnEvent("confirm", _handleConfirm, this);
|
|
1120
|
-
fnEvent("cancel", _handleCancel, this);
|
|
1121
|
-
fnEvent("opened", _handleOpened, this);
|
|
1122
|
-
fnEvent("closed", _handleClosed, this);
|
|
1123
|
-
|
|
1124
|
-
if (oContainer.attachRequestSwitchToDialog) {
|
|
1125
|
-
fnEvent("requestSwitchToDialog", _handleRequestSwitchToDialog, this);
|
|
1126
|
-
}
|
|
1127
1123
|
|
|
1128
|
-
if (
|
|
1129
|
-
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
if (oContainer.attachVisualFocusSet) {
|
|
1133
|
-
fnEvent("visualFocusSet", _handleVisualFocusSet, this);
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
if (oContainer.attachTypeaheadSuggested) {
|
|
1137
|
-
fnEvent("typeaheadSuggested", _handleTypeaheadSuggested, this);
|
|
1124
|
+
if (this._oControl || !bAdded) { // remove event handlers if container removed, but add it only if already connected
|
|
1125
|
+
attachContainerEvents.call(this, oContainer, bAdded);
|
|
1138
1126
|
}
|
|
1139
1127
|
|
|
1140
1128
|
if (bAdded) {
|
|
@@ -1146,6 +1134,41 @@ sap.ui.define([
|
|
|
1146
1134
|
}
|
|
1147
1135
|
}
|
|
1148
1136
|
|
|
1137
|
+
function attachContainerEvents (oContainer, bAttach) {
|
|
1138
|
+
|
|
1139
|
+
if (oContainer._bAttached === bAttach) {
|
|
1140
|
+
return; // if already attached or detached, nothing to do
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
const fnEvent = bAttach ? oContainer.attachEvent.bind(oContainer) : oContainer.detachEvent.bind(oContainer);
|
|
1144
|
+
|
|
1145
|
+
fnEvent("select", _handleSelect, this);
|
|
1146
|
+
fnEvent("requestDelegateContent", _handleRequestDelegateContent, this);
|
|
1147
|
+
fnEvent("confirm", _handleConfirm, this);
|
|
1148
|
+
fnEvent("cancel", _handleCancel, this);
|
|
1149
|
+
fnEvent("opened", _handleOpened, this);
|
|
1150
|
+
fnEvent("closed", _handleClosed, this);
|
|
1151
|
+
|
|
1152
|
+
if (oContainer.attachRequestSwitchToDialog) {
|
|
1153
|
+
fnEvent("requestSwitchToDialog", _handleRequestSwitchToDialog, this);
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
if (oContainer.attachNavigated) {
|
|
1157
|
+
fnEvent("navigated", _handleNavigated, this);
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
if (oContainer.attachVisualFocusSet) {
|
|
1161
|
+
fnEvent("visualFocusSet", _handleVisualFocusSet, this);
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
if (oContainer.attachTypeaheadSuggested) {
|
|
1165
|
+
fnEvent("typeaheadSuggested", _handleTypeaheadSuggested, this);
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
oContainer._bAttached = bAttach;
|
|
1169
|
+
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1149
1172
|
function _updateBindingContext() {
|
|
1150
1173
|
|
|
1151
1174
|
const oBindingContext = this._oControl ? this._oControl.getBindingContext() : null; // if not connected use no BindingContext
|
|
@@ -1192,6 +1215,35 @@ sap.ui.define([
|
|
|
1192
1215
|
this.getTypeahead()?.setHighlightId(sHighlightId);
|
|
1193
1216
|
};
|
|
1194
1217
|
|
|
1218
|
+
ValueHelp.prototype.clone = function(sIdSuffix, aLocalIds) {
|
|
1219
|
+
|
|
1220
|
+
// detach event handler before cloning to not have it twice on the clone
|
|
1221
|
+
// attach it after clone again
|
|
1222
|
+
const oTypeahead = this.getTypeahead();
|
|
1223
|
+
const bTypeaheadAttached = oTypeahead?._bAttached;
|
|
1224
|
+
const oDialog = this.getDialog();
|
|
1225
|
+
const bDialogAttached = oDialog?._bAttached;
|
|
1226
|
+
|
|
1227
|
+
if (bTypeaheadAttached) {
|
|
1228
|
+
attachContainerEvents.call(this, oTypeahead, false);
|
|
1229
|
+
}
|
|
1230
|
+
if (bDialogAttached) {
|
|
1231
|
+
attachContainerEvents.call(this, oDialog, false);
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
const oClone = Element.prototype.clone.apply(this, arguments);
|
|
1235
|
+
|
|
1236
|
+
if (bTypeaheadAttached) {
|
|
1237
|
+
attachContainerEvents.call(this, oTypeahead, true);
|
|
1238
|
+
}
|
|
1239
|
+
if (bDialogAttached) {
|
|
1240
|
+
attachContainerEvents.call(this, oDialog, true);
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
return oClone;
|
|
1244
|
+
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1195
1247
|
PromiseMixin.call(ValueHelp.prototype);
|
|
1196
1248
|
|
|
1197
1249
|
|
|
@@ -273,7 +273,7 @@ sap.ui.define([
|
|
|
273
273
|
* @returns {boolean} <code>true</code> if item is selected
|
|
274
274
|
* @public
|
|
275
275
|
* @since 1.101.0
|
|
276
|
-
* @deprecated
|
|
276
|
+
* @deprecated As of version 1.118, replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.findConditionsForContext findConditionsForContext}.
|
|
277
277
|
* @name module:sap/ui/mdc/ValueHelpDelegate.isFilterableListItemSelected
|
|
278
278
|
* @function
|
|
279
279
|
*/
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar} control with given layout information that determines where the wrapped control is displayed on the <code>ActionToolbar</code>.
|
|
21
21
|
* @extends sap.ui.core.Control
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.127.
|
|
23
|
+
* @version 1.127.3
|
|
24
24
|
* @constructor
|
|
25
25
|
* @since 1.58
|
|
26
26
|
* @public
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @class The <code>ChartImplementationContainer</code> creates a container for the <code>content</code> (chart) and <code>noDataContent</code>. Based on the <code>showNoDataStruct</code> the <code>content</code> or <code>noDataContent</code> will be shown.
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.127.
|
|
24
|
+
* @version 1.127.3
|
|
25
25
|
* @constructor
|
|
26
26
|
*
|
|
27
27
|
* @public
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class The <code>ChartSelectionDetails</code> control creates a <code>sap.m.SelectionDetails</code> popover based on metadata and the configuration specified.
|
|
39
39
|
* @extends sap.m.SelectionDetails
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.127.
|
|
41
|
+
* @version 1.127.3
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
44
44
|
* @experimental As of version 1.88
|
|
@@ -130,7 +130,7 @@ sap.ui.define([
|
|
|
130
130
|
* @param {string} [oConfiguration.group.text] Group title for the operator. When used a new group with this title will be added.
|
|
131
131
|
* @constructor
|
|
132
132
|
* @author SAP SE
|
|
133
|
-
* @version 1.127.
|
|
133
|
+
* @version 1.127.3
|
|
134
134
|
* @public
|
|
135
135
|
* @alias sap.ui.mdc.condition.Operator
|
|
136
136
|
* @since 1.73.0
|