@openui5/sap.ui.integration 1.132.1 → 1.133.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 (162) hide show
  1. package/.reuse/dep5 +2 -2
  2. package/LICENSES/LicenseRef-Unicode-3.0.txt +39 -0
  3. package/THIRDPARTY.txt +54 -66
  4. package/package.json +7 -7
  5. package/src/sap/ui/integration/.library +1 -1
  6. package/src/sap/ui/integration/ActionDefinition.js +1 -1
  7. package/src/sap/ui/integration/Designtime.js +1 -1
  8. package/src/sap/ui/integration/Extension.js +1 -1
  9. package/src/sap/ui/integration/Host.js +1 -1
  10. package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
  11. package/src/sap/ui/integration/cards/AnalyticalContent.js +9 -2
  12. package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +8 -1
  13. package/src/sap/ui/integration/cards/BaseContent.js +30 -2
  14. package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
  15. package/src/sap/ui/integration/cards/BaseListContent.js +1 -1
  16. package/src/sap/ui/integration/cards/CalendarContent.js +6 -6
  17. package/src/sap/ui/integration/cards/ComponentContent.js +1 -1
  18. package/src/sap/ui/integration/cards/Footer.js +137 -13
  19. package/src/sap/ui/integration/cards/Header.js +1 -1
  20. package/src/sap/ui/integration/cards/ListContent.js +1 -1
  21. package/src/sap/ui/integration/cards/NumericHeader.js +1 -1
  22. package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
  23. package/src/sap/ui/integration/cards/TableContent.js +1 -1
  24. package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
  25. package/src/sap/ui/integration/cards/WebPageContent.js +8 -1
  26. package/src/sap/ui/integration/cards/WebPageContentRenderer.js +3 -1
  27. package/src/sap/ui/integration/cards/actions/CardActions.js +1 -1
  28. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +1 -1
  29. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +1 -1
  30. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +1 -1
  31. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +1 -1
  32. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +1 -1
  33. package/src/sap/ui/integration/cards/filters/BaseFilter.js +1 -1
  34. package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +1 -1
  35. package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +1 -1
  36. package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
  37. package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +1 -1
  38. package/src/sap/ui/integration/cards/filters/SearchFilter.js +1 -1
  39. package/src/sap/ui/integration/cards/filters/SelectFilter.js +1 -1
  40. package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +1 -1
  41. package/src/sap/ui/integration/controls/ActionsStrip.js +22 -1
  42. package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
  43. package/src/sap/ui/integration/controls/BlockingMessage.js +1 -1
  44. package/src/sap/ui/integration/controls/ComboBox.js +1 -1
  45. package/src/sap/ui/integration/controls/ImageWithOverlay.js +1 -1
  46. package/src/sap/ui/integration/controls/ListContentItem.js +1 -1
  47. package/src/sap/ui/integration/controls/Microchart.js +1 -1
  48. package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
  49. package/src/sap/ui/integration/controls/ObjectStatus.js +1 -1
  50. package/src/sap/ui/integration/delegate/OverflowHandler.js +131 -0
  51. package/src/sap/ui/integration/delegate/Paginator.js +4 -27
  52. package/src/sap/ui/integration/delegate/PreventKeyboardScrolling.js +120 -0
  53. package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
  54. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -1
  55. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
  56. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
  57. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
  58. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
  59. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
  60. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +1 -1
  61. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
  62. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
  63. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
  64. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
  65. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
  66. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
  67. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
  68. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
  69. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
  70. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
  71. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +1 -1
  72. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
  73. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +1 -1
  74. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
  75. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
  76. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
  77. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
  78. package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
  79. package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
  80. package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
  81. package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
  82. package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
  83. package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
  84. package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
  85. package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
  86. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
  87. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
  88. package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
  89. package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
  90. package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
  91. package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
  92. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
  93. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
  94. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +1 -1
  95. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
  96. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
  97. package/src/sap/ui/integration/designtime/editor/Card.js +1 -1
  98. package/src/sap/ui/integration/designtime/editor/CardEditor.js +21 -3
  99. package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -1
  100. package/src/sap/ui/integration/editor/Editor.js +2 -2
  101. package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
  102. package/src/sap/ui/integration/editor/Extension.js +1 -1
  103. package/src/sap/ui/integration/editor/Manifest.js +1 -1
  104. package/src/sap/ui/integration/editor/Settings.js +1 -1
  105. package/src/sap/ui/integration/editor/fields/BaseField.js +1 -1
  106. package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
  107. package/src/sap/ui/integration/editor/fields/DateField.js +1 -1
  108. package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -1
  109. package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
  110. package/src/sap/ui/integration/editor/fields/GroupField.js +1 -1
  111. package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -1
  112. package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
  113. package/src/sap/ui/integration/editor/fields/ObjectField.js +1 -1
  114. package/src/sap/ui/integration/editor/fields/ObjectListField.js +1 -1
  115. package/src/sap/ui/integration/editor/fields/StringField.js +1 -1
  116. package/src/sap/ui/integration/editor/fields/StringListField.js +1 -1
  117. package/src/sap/ui/integration/editor/fields/fragment/Controller.js +1 -1
  118. package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +1 -1
  119. package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +1 -1
  120. package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +1 -1
  121. package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -1
  122. package/src/sap/ui/integration/editor/fields/viz/VizBase.js +1 -1
  123. package/src/sap/ui/integration/extensions/OAuth3LO.js +1 -1
  124. package/src/sap/ui/integration/library-bootstrap.js +6 -8
  125. package/src/sap/ui/integration/library.js +34 -2
  126. package/src/sap/ui/integration/model/ContextModel.js +1 -1
  127. package/src/sap/ui/integration/model/ObservableModel.js +1 -1
  128. package/src/sap/ui/integration/schemas/sap-card.json +10 -3
  129. package/src/sap/ui/integration/themes/base/Card.less +5 -3
  130. package/src/sap/ui/integration/themes/base/Footer.less +21 -0
  131. package/src/sap/ui/integration/themes/base/ObjectContent.less +1 -1
  132. package/src/sap/ui/integration/util/AnalyticsCloudHelper.js +1 -1
  133. package/src/sap/ui/integration/util/BaseFactory.js +1 -1
  134. package/src/sap/ui/integration/util/BindingHelper.js +1 -1
  135. package/src/sap/ui/integration/util/BindingResolver.js +1 -1
  136. package/src/sap/ui/integration/util/CardObserver.js +1 -1
  137. package/src/sap/ui/integration/util/ComboBoxHelper.js +1 -1
  138. package/src/sap/ui/integration/util/ContentFactory.js +3 -2
  139. package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
  140. package/src/sap/ui/integration/util/DataProvider.js +1 -1
  141. package/src/sap/ui/integration/util/DataProviderFactory.js +1 -1
  142. package/src/sap/ui/integration/util/Destinations.js +1 -1
  143. package/src/sap/ui/integration/util/DisplayVariants.js +1 -1
  144. package/src/sap/ui/integration/util/ErrorHandler.js +1 -1
  145. package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
  146. package/src/sap/ui/integration/util/Form.js +1 -1
  147. package/src/sap/ui/integration/util/HeaderFactory.js +1 -28
  148. package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
  149. package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
  150. package/src/sap/ui/integration/util/Manifest.js +1 -1
  151. package/src/sap/ui/integration/util/OAuth3LOHelper.js +1 -1
  152. package/src/sap/ui/integration/util/RequestDataProvider.js +1 -1
  153. package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
  154. package/src/sap/ui/integration/util/ServiceManager.js +1 -1
  155. package/src/sap/ui/integration/util/SkeletonCard.js +1 -1
  156. package/src/sap/ui/integration/util/SorterHelper.js +1 -1
  157. package/src/sap/ui/integration/util/Utils.js +1 -1
  158. package/src/sap/ui/integration/util/Validators.js +1 -1
  159. package/src/sap/ui/integration/util/openCardDialog.js +10 -2
  160. package/src/sap/ui/integration/util/openCardShowMore.js +50 -0
  161. package/src/sap/ui/integration/widgets/Card.js +46 -24
  162. package/LICENSES/Unicode-DFS-2015.txt +0 -51
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.base.Object
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.132.1
25
+ * @version 1.133.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * Helper class for working with bindings.
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.132.1
58
+ * @version 1.133.0
59
59
  *
60
60
  * @private
61
61
  * @alias sap.ui.integration.util.BindingHelper
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * Resolves a binding syntax based on a provided model and path.
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.132.1
36
+ * @version 1.133.0
37
37
  *
38
38
  * @private
39
39
  * @ui5-restricted sap.ushell
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.ui.base.Object
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.132.1
21
+ * @version 1.133.0
22
22
  *
23
23
  * @constructor
24
24
  * @private
@@ -11,7 +11,7 @@ sap.ui.define([], function () {
11
11
  * Utility class helping with sap.m.ComboBox control.
12
12
  *
13
13
  * @author SAP SE
14
- * @version 1.132.1
14
+ * @version 1.133.0
15
15
  *
16
16
  * @private
17
17
  * @alias sap.ui.integration.util.ComboBoxHelper
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.integration.util.BaseFactory
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.132.1
49
+ * @version 1.133.0
50
50
  *
51
51
  * @constructor
52
52
  * @private
@@ -66,7 +66,8 @@ sap.ui.define([
66
66
  }
67
67
 
68
68
  var oContent = new Content({
69
- card: oCard
69
+ card: oCard,
70
+ overflowWithShowMore: mConfig.overflowWithShowMore
70
71
  });
71
72
 
72
73
  if (oContent instanceof AdaptiveContent) {
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.base.Object
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.132.1
35
+ * @version 1.133.0
36
36
  *
37
37
  * @constructor
38
38
  * @param {object} mSettings Token handler settings
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.base.ManagedObject
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.132.1
40
+ * @version 1.133.0
41
41
  *
42
42
  * @constructor
43
43
  * @private
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * When destroyed, all data providers created by this class are also destroyed.
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.132.1
43
+ * @version 1.133.0
44
44
  *
45
45
  * @private
46
46
  * @ui5-restricted sap.ui.integration, shell-toolkit
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.base.Object
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.132.1
32
+ * @version 1.133.0
33
33
  *
34
34
  * @constructor
35
35
  * @param {sap.ui.integration.Host} oHost The Host which will be used for resolving destinations.
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * @extends sap.ui.base.Object
53
53
  *
54
54
  * @author SAP SE
55
- * @version 1.132.1
55
+ * @version 1.133.0
56
56
  *
57
57
  * @constructor
58
58
  * @param {sap.ui.integration.widgets.Card} oCard The card.
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * Utility class for handling errors in the cards.
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.132.1
38
+ * @version 1.133.0
39
39
  *
40
40
  * @private
41
41
  * @ui5-restricted
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/integration/util/DataProvider"], function (DataProvider)
17
17
  * @extends sap.ui.integration.util.DataProvider
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.132.1
20
+ * @version 1.133.0
21
21
  *
22
22
  * @constructor
23
23
  * @private
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * Utility class for handling forms in the cards.
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.132.1
39
+ * @version 1.133.0
40
40
  *
41
41
  * @private
42
42
  * @ui5-restricted
@@ -40,14 +40,10 @@ sap.ui.define([
40
40
 
41
41
  var ActionType = library.CardActionType;
42
42
 
43
- var ButtonType = mLibrary.ButtonType;
44
-
45
43
  var CardDisplayVariant = library.CardDisplayVariant;
46
44
 
47
45
  var SemanticRole = fLibrary.cards.SemanticRole;
48
46
 
49
- var oResourceBundle = Library.getResourceBundleFor("sap.ui.integration");
50
-
51
47
  /**
52
48
  * Constructor for a new <code>HeaderFactory</code>.
53
49
  *
@@ -56,7 +52,7 @@ sap.ui.define([
56
52
  * @extends sap.ui.integration.util.BaseFactory
57
53
  *
58
54
  * @author SAP SE
59
- * @version 1.132.1
55
+ * @version 1.133.0
60
56
  *
61
57
  * @constructor
62
58
  * @private
@@ -78,10 +74,6 @@ sap.ui.define([
78
74
 
79
75
  mConfiguration = this.createBindingInfos(mConfiguration, oCard.getBindingNamespaces());
80
76
 
81
- if (bIsInDialog && !oCard.hasPaginator()) {
82
- oToolbar = this._createCloseButton(mConfiguration);
83
- }
84
-
85
77
  if (oCard.isCompactHeader()) {
86
78
  mConfiguration.type = "";
87
79
  }
@@ -142,25 +134,6 @@ sap.ui.define([
142
134
  return oHeader;
143
135
  };
144
136
 
145
- HeaderFactory.prototype._createCloseButton = function (mConfiguration) {
146
- var bVisible = true;
147
- if (mConfiguration.closeButton && "visible" in mConfiguration.closeButton) {
148
- bVisible = mConfiguration.closeButton.visible;
149
- }
150
-
151
- var oButton = new Button({
152
- type: ButtonType.Transparent,
153
- tooltip: oResourceBundle.getText("CARD_DIALOG_CLOSE_BUTTON"),
154
- visible: bVisible,
155
- icon: "sap-icon://decline",
156
- press: function () {
157
- this._oCard.hide();
158
- }.bind(this)
159
- });
160
-
161
- return oButton;
162
- };
163
-
164
137
  HeaderFactory.prototype._setTileDisplayDefaults = function (oHeader, mConfiguration) {
165
138
  oHeader.setProperty("useTileLayout", true);
166
139
  oHeader.setProperty("useTooltips", true);
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * Helper class for working with bindings for json objects.
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.132.1
30
+ * @version 1.133.0
31
31
  *
32
32
  * @private
33
33
  * @ui5-restricted sap.ui.integration, shell-toolkit
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.132.1
24
+ * @version 1.133.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * @extends sap.ui.base.Object
69
69
  *
70
70
  * @author SAP SE
71
- * @version 1.132.1
71
+ * @version 1.133.0
72
72
  *
73
73
  * @constructor
74
74
  * @private
@@ -18,7 +18,7 @@ sap.ui.define([], function () {
18
18
  * Utility class helping with OAuth 3LO flow handling.
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.132.1
21
+ * @version 1.133.0
22
22
  *
23
23
  * @private
24
24
  * @alias sap.ui.integration.util.OAuth3LOHelper
@@ -72,7 +72,7 @@ sap.ui.define([
72
72
  * @extends sap.ui.integration.util.DataProvider
73
73
  *
74
74
  * @author SAP SE
75
- * @version 1.132.1
75
+ * @version 1.133.0
76
76
  *
77
77
  * @constructor
78
78
  * @private
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/integration/util/DataProvider"], function (DataProvider)
17
17
  * @extends sap.ui.integration.util.DataProvider
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.132.1
20
+ * @version 1.133.0
21
21
  *
22
22
  * @constructor
23
23
  * @private
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.base.EventProvider
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.132.1
40
+ * @version 1.133.0
41
41
  *
42
42
  * @constructor
43
43
  * @param {Object} mServiceFactoryReferences A map with service descriptions.
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.integration.widgets.Card
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.132.1
26
+ * @version 1.133.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * Utility class helping with sap.ui.model.Sorter control.
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.132.1
20
+ * @version 1.133.0
21
21
  *
22
22
  * @private
23
23
  * @alias sap.ui.integration.util.SorterHelper
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * Utility class helping with JSON strings and formatters.
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.132.1
32
+ * @version 1.133.0
33
33
  *
34
34
  * @private
35
35
  * @alias sap.ui.integration.util.Utils
@@ -11,7 +11,7 @@ sap.ui.define([], function () {
11
11
  * Utility class helping with input validations.
12
12
  *
13
13
  * @author SAP SE
14
- * @version 1.132.1
14
+ * @version 1.133.0
15
15
  *
16
16
  * @private
17
17
  * @alias sap.ui.integration.util.Validators
@@ -145,7 +145,9 @@ sap.ui.define([
145
145
  oChildCard.attachEvent("_ready", () => {
146
146
  _setDialogHeader(oDialog, oChildCard);
147
147
  _setAriaAttributes(oDialog, oChildCard);
148
- oDialog.open();
148
+ if (!oChildCard._isComponentCard()) {
149
+ oDialog.open();
150
+ }
149
151
  _setFocus(oChildCard, oDialog);
150
152
  });
151
153
 
@@ -154,8 +156,14 @@ sap.ui.define([
154
156
  _enableResizing(oDialog, oChildCard);
155
157
  }
156
158
 
157
- oChildCard.startManifestProcessing();
159
+ oChildCard.attachManifestReady(() => {
160
+ // component card does not trigger the ready event if it hasn't been rendered yet
161
+ if (oChildCard._isComponentCard()) {
162
+ oDialog.open();
163
+ }
164
+ });
158
165
 
166
+ oChildCard.startManifestProcessing();
159
167
  return oDialog;
160
168
  }
161
169
 
@@ -0,0 +1,50 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define([
8
+ "sap/base/util/uid",
9
+ "sap/ui/integration/util/openCardDialog"
10
+ ], (
11
+ uid,
12
+ openCardDialog
13
+ ) => {
14
+ "use strict";
15
+
16
+ function _createManifest(oCard) {
17
+ const oManifest = oCard.getManifestEntry("/");
18
+
19
+ oManifest["sap.app"].id = oManifest["sap.app"].id + uid();
20
+
21
+ oCard.getAggregation("_filterBar")?._getFilters().forEach((oFilter) => {
22
+ oFilter.writeValueToConfiguration(oManifest["sap.card"].configuration.filters[oFilter.getKey()]);
23
+ });
24
+
25
+ return oManifest;
26
+ }
27
+
28
+ /**
29
+ * Opens the same card in a dialog with scrolling.
30
+ * @function
31
+ * @since 1.58
32
+ * @private
33
+ * @ui5-restricted sap.ui.integration
34
+ * @alias module:sap/base/util/merge
35
+ * @param {sap.ui.integration.widgets.Card} oCard The card to be opened.
36
+ * @returns {sap.m.Dialog} The opened dialog.
37
+ */
38
+ function openCardShowMore(oCard) {
39
+ return openCardDialog(
40
+ oCard,
41
+ {
42
+ manifest: _createManifest(oCard),
43
+ baseUrl: oCard.getBaseUrl(),
44
+ showCloseButton: true
45
+ }
46
+ );
47
+ }
48
+
49
+ return openCardShowMore;
50
+ });
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  ) {
85
85
  "use strict";
86
86
 
87
- var MANIFEST_PATHS = {
87
+ const MANIFEST_PATHS = {
88
88
  TYPE: "/sap.card/type",
89
89
  ACTIONS: "/sap.card/actions",
90
90
  DATA: "/sap.card/data",
@@ -103,37 +103,39 @@ sap.ui.define([
103
103
  MODEL_SIZE_LIMIT: "/sap.card/configuration/modelSizeLimit"
104
104
  };
105
105
 
106
- var RESERVED_PARAMETER_NAMES = ["visibleItems", "allItems"];
106
+ const RESERVED_PARAMETER_NAMES = ["visibleItems", "allItems"];
107
107
 
108
- var HeaderPosition = fLibrary.cards.HeaderPosition;
108
+ const HeaderPosition = fLibrary.cards.HeaderPosition;
109
109
 
110
- var SemanticRole = fLibrary.cards.SemanticRole;
110
+ const SemanticRole = fLibrary.cards.SemanticRole;
111
111
 
112
- var ActionArea = library.CardActionArea;
112
+ const ActionArea = library.CardActionArea;
113
113
 
114
- var CardArea = library.CardArea;
114
+ const CardArea = library.CardArea;
115
115
 
116
- var CardDataMode = library.CardDataMode;
116
+ const CardDataMode = library.CardDataMode;
117
117
 
118
- var CardDesign = library.CardDesign;
118
+ const CardDesign = library.CardDesign;
119
119
 
120
- var CardDisplayVariant = library.CardDisplayVariant;
120
+ const CardDisplayVariant = library.CardDisplayVariant;
121
121
 
122
- var CardPreviewMode = library.CardPreviewMode;
122
+ const CardPreviewMode = library.CardPreviewMode;
123
123
 
124
- var CardBlockingMessageType = library.CardBlockingMessageType;
124
+ const CardOverflow = library.CardOverflow;
125
125
 
126
- var CARD_DESTROYED_ERROR = "Card is destroyed!";
126
+ const CardBlockingMessageType = library.CardBlockingMessageType;
127
127
 
128
- var MODULE_PREFIX = "module:";
128
+ const CARD_DESTROYED_ERROR = "Card is destroyed!";
129
129
 
130
- var DEFAULT_MODEL_SIZE_LIMIT = 1000;
130
+ const MODULE_PREFIX = "module:";
131
+
132
+ const DEFAULT_MODEL_SIZE_LIMIT = 1000;
131
133
 
132
134
  /**
133
135
  * Constructor for a new <code>Card</code>.
134
136
  *
135
- * @param {string} [sId] ID for the new control, generated automatically if no ID is given
136
- * @param {object} [mSettings] Initial settings for the new control
137
+ * @param {string} [sId] ID for the new control. ID generated automatically if no ID is provided.
138
+ * @param {object} [mSettings] Initial settings for the new control.
137
139
  *
138
140
  * @class
139
141
  * A control that represents a container with a header and content.
@@ -186,7 +188,7 @@ sap.ui.define([
186
188
  * @extends sap.f.CardBase
187
189
  *
188
190
  * @author SAP SE
189
- * @version 1.132.1
191
+ * @version 1.133.0
190
192
  * @public
191
193
  * @constructor
192
194
  * @see {@link topic:5b46b03f024542ba802d99d67bc1a3f4 Cards}
@@ -356,6 +358,20 @@ sap.ui.define([
356
358
  defaultValue: false
357
359
  },
358
360
 
361
+ /**
362
+ * Allows to control the overflow behaviour of the card.
363
+ *
364
+ * <b>Note</b>: If the "Default" option is used, the card must be allowed to grow in height as much as it needs to avoid overflowing. Use a layout which allows this.
365
+ *
366
+ * @experimental Since 1.133
367
+ * @since 1.133
368
+ */
369
+ overflow: {
370
+ type: "sap.ui.integration.CardOverflow",
371
+ group: "Behavior",
372
+ defaultValue: CardOverflow.Default
373
+ },
374
+
359
375
  /**
360
376
  * @since 1.128
361
377
  */
@@ -608,7 +624,7 @@ sap.ui.define([
608
624
  * @experimental since 1.79
609
625
  * @public
610
626
  * @author SAP SE
611
- * @version 1.132.1
627
+ * @version 1.133.0
612
628
  * @borrows sap.ui.integration.widgets.Card#getId as getId
613
629
  * @borrows sap.ui.integration.widgets.Card#getDomRef as getDomRef
614
630
  * @borrows sap.ui.integration.widgets.Card#setVisible as setVisible
@@ -789,9 +805,15 @@ sap.ui.define([
789
805
  * @private
790
806
  */
791
807
  Card.prototype.onBeforeRendering = function () {
792
- var oCardContent = this.getCardContent();
808
+ const oCardContent = this.getCardContent();
793
809
  if (oCardContent && oCardContent.isA("sap.ui.integration.cards.BaseContent")) {
794
810
  oCardContent.setDesign(this.getDesign());
811
+ oCardContent.setOverflowWithShowMore(this.getOverflow() === CardOverflow.ShowMore);
812
+ }
813
+
814
+ const oFooter = this.getCardFooter();
815
+ if (oFooter) {
816
+ oFooter.setDetectVisibility(this.getOverflow() === CardOverflow.ShowMore);
795
817
  }
796
818
 
797
819
  if (this._getActualDataMode() !== CardDataMode.Active) {
@@ -2241,7 +2263,8 @@ sap.ui.define([
2241
2263
  dataProviderFactory: this._oDataProviderFactory,
2242
2264
  iconFormatter: this._oIconFormatter,
2243
2265
  noDataConfiguration: this._oCardManifest.get(MANIFEST_PATHS.NO_DATA_MESSAGES),
2244
- paginator: this._oPaginator
2266
+ paginator: this._oPaginator,
2267
+ overflowWithShowMore: this.getOverflow() === CardOverflow.ShowMore
2245
2268
  });
2246
2269
  } catch (e) {
2247
2270
  this._handleError({
@@ -2331,6 +2354,7 @@ sap.ui.define([
2331
2354
  /**
2332
2355
  * Checks if this is a Component Card. Manifest must be loaded for that check.
2333
2356
  * @private
2357
+ * @ui5-restricted sap.ui.integration
2334
2358
  * @returns {boolean} True if this is a Component Card.
2335
2359
  */
2336
2360
  Card.prototype._isComponentCard = function () {
@@ -2389,14 +2413,11 @@ sap.ui.define([
2389
2413
  Card.prototype.createFooter = function () {
2390
2414
  var oManifestFooter = this._oCardManifest.get(MANIFEST_PATHS.FOOTER);
2391
2415
 
2392
- if (!oManifestFooter) {
2393
- return null;
2394
- }
2395
-
2396
2416
  return Footer.create({
2397
2417
  card: this,
2398
2418
  configuration: oManifestFooter,
2399
2419
  showCloseButton: this.getProperty("showCloseButton"),
2420
+ detectVisibility: this.getOverflow() === CardOverflow.ShowMore,
2400
2421
  paginator: this._oPaginator
2401
2422
  });
2402
2423
  };
@@ -2431,6 +2452,7 @@ sap.ui.define([
2431
2452
  return this._oContentFactory.create(mContentConfig);
2432
2453
  };
2433
2454
 
2455
+
2434
2456
  /**
2435
2457
  * Sets a card content.
2436
2458
  *
@@ -1,51 +0,0 @@
1
- UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
2
-
3
- Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
4
- http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode
5
- Data Files do not include PDF online code charts under the directory http://www.unicode.org/Public/.
6
- Software includes any source code published in the Unicode Standard or under
7
- the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
8
- and http://www.unicode.org/cldr/data/.
9
-
10
- NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
11
- INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
12
- AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
13
- BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
14
- DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
15
-
16
- COPYRIGHT AND PERMISSION NOTICE
17
-
18
- Copyright © 1991-2015 Unicode, Inc. All rights reserved. Distributed under
19
- the Terms of Use in http://www.unicode.org/copyright.html.
20
-
21
- Permission is hereby granted, free of charge, to any person obtaining a copy
22
- of the Unicode data files and any associated documentation (the "Data Files")
23
- or Unicode software and any associated documentation (the "Software") to deal
24
- in the Data Files or Software without restriction, including without limitation
25
- the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
26
- of the Data Files or Software, and to permit persons to whom the Data Files
27
- or Software are furnished to do so, provided that
28
-
29
- (a) this copyright and permission notice appear with all copies of the Data
30
- Files or Software,
31
-
32
- (b) this copyright and permission notice appear in associated documentation,
33
- and
34
-
35
- (c) there is clear notice in each modified Data File or in the Software as
36
- well as in the documentation associated with the Data File(s) or Software
37
- that the data or software has been modified.
38
-
39
- THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
40
- KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
42
- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
43
- BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
44
- OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
45
- IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
46
- OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
47
-
48
- Except as contained in this notice, the name of a copyright holder shall not
49
- be used in advertising or otherwise to promote the sale, use or other dealings
50
- in these Data Files or Software without prior written authorization of the
51
- copyright holder.