@openui5/sap.ui.integration 1.96.1 → 1.96.5

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 (230) hide show
  1. package/package.json +3 -3
  2. package/src/sap/ui/integration/.library +2 -2
  3. package/src/sap/ui/integration/ActionDefinition.js +2 -2
  4. package/src/sap/ui/integration/Designtime.js +2 -2
  5. package/src/sap/ui/integration/Extension.js +2 -2
  6. package/src/sap/ui/integration/Host.js +2 -2
  7. package/src/sap/ui/integration/bindingFeatures/DateRange.js +1 -1
  8. package/src/sap/ui/integration/cards/AdaptiveContent.js +2 -2
  9. package/src/sap/ui/integration/cards/AnalyticalContent.js +2 -2
  10. package/src/sap/ui/integration/cards/AnalyticalContentRenderer.js +1 -1
  11. package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +2 -2
  12. package/src/sap/ui/integration/cards/AnalyticsCloudContentRenderer.js +1 -1
  13. package/src/sap/ui/integration/cards/BaseContent.js +2 -2
  14. package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
  15. package/src/sap/ui/integration/cards/BaseListContent.js +38 -54
  16. package/src/sap/ui/integration/cards/CalendarContent.js +2 -2
  17. package/src/sap/ui/integration/cards/CalendarContentRenderer.js +1 -1
  18. package/src/sap/ui/integration/cards/ComponentContent.js +2 -2
  19. package/src/sap/ui/integration/cards/ComponentContentRenderer.js +1 -1
  20. package/src/sap/ui/integration/cards/Footer.js +2 -2
  21. package/src/sap/ui/integration/cards/Header.js +2 -2
  22. package/src/sap/ui/integration/cards/ListContent.js +2 -3
  23. package/src/sap/ui/integration/cards/ListContentRenderer.js +34 -9
  24. package/src/sap/ui/integration/cards/NumericHeader.js +2 -2
  25. package/src/sap/ui/integration/cards/ObjectContent.js +2 -2
  26. package/src/sap/ui/integration/cards/TableContent.js +2 -3
  27. package/src/sap/ui/integration/cards/TableContentRenderer.js +1 -1
  28. package/src/sap/ui/integration/cards/TimelineContent.js +2 -3
  29. package/src/sap/ui/integration/cards/TimelineContentRenderer.js +1 -1
  30. package/src/sap/ui/integration/cards/WebPageContent.js +2 -2
  31. package/src/sap/ui/integration/cards/WebPageContentRenderer.js +1 -1
  32. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +2 -2
  33. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +2 -2
  34. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +2 -2
  35. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +2 -2
  36. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputTime.js +1 -1
  37. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +2 -2
  38. package/src/sap/ui/integration/cards/adaptivecards/elements/hostConfig.js +1 -1
  39. package/src/sap/ui/integration/cards/adaptivecards/overwrites/ActionRender.js +1 -1
  40. package/src/sap/ui/integration/cards/filters/BaseFilter.js +2 -2
  41. package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +2 -2
  42. package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +2 -2
  43. package/src/sap/ui/integration/cards/filters/SelectFilter.js +2 -2
  44. package/src/sap/ui/integration/controls/ActionsStrip.js +2 -2
  45. package/src/sap/ui/integration/controls/ActionsToolbar.js +2 -2
  46. package/src/sap/ui/integration/controls/ActionsToolbarRenderer.js +1 -1
  47. package/src/sap/ui/integration/controls/ListContentItem.js +2 -2
  48. package/src/sap/ui/integration/controls/ListContentItemRenderer.js +1 -1
  49. package/src/sap/ui/integration/controls/Microchart.js +2 -2
  50. package/src/sap/ui/integration/controls/MicrochartLegend.js +2 -2
  51. package/src/sap/ui/integration/controls/MicrochartLegendRenderer.js +1 -1
  52. package/src/sap/ui/integration/customElements/CustomElementBase.js +1 -1
  53. package/src/sap/ui/integration/customElements/CustomElementCard.js +1 -1
  54. package/src/sap/ui/integration/customElements/CustomElementCardEditor.js +1 -1
  55. package/src/sap/ui/integration/customElements/CustomElementEditor.js +1 -1
  56. package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +2 -2
  57. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +2 -2
  58. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +2 -2
  59. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ar.properties +15 -11
  60. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_bg.properties +15 -11
  61. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ca.properties +15 -11
  62. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cs.properties +15 -11
  63. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cy.properties +15 -11
  64. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_da.properties +15 -11
  65. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_de.properties +15 -11
  66. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_el.properties +15 -11
  67. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en.properties +15 -11
  68. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_GB.properties +15 -11
  69. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es.properties +15 -11
  70. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es_MX.properties +15 -11
  71. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_et.properties +15 -11
  72. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fi.properties +15 -11
  73. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr.properties +15 -11
  74. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr_CA.properties +15 -11
  75. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hi.properties +15 -11
  76. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hr.properties +15 -11
  77. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hu.properties +15 -11
  78. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_id.properties +15 -11
  79. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_it.properties +15 -11
  80. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_iw.properties +15 -11
  81. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ja.properties +15 -11
  82. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_kk.properties +15 -11
  83. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ko.properties +15 -11
  84. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lt.properties +15 -11
  85. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lv.properties +15 -11
  86. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ms.properties +15 -11
  87. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_nl.properties +15 -11
  88. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_no.properties +15 -11
  89. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pl.properties +15 -11
  90. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt.properties +15 -11
  91. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt_PT.properties +15 -11
  92. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ro.properties +15 -11
  93. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ru.properties +15 -11
  94. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sh.properties +15 -11
  95. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sk.properties +15 -11
  96. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sl.properties +15 -11
  97. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sv.properties +15 -11
  98. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_th.properties +15 -11
  99. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_tr.properties +15 -11
  100. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_uk.properties +15 -11
  101. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_vi.properties +15 -11
  102. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_CN.properties +15 -11
  103. package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_TW.properties +15 -11
  104. package/src/sap/ui/integration/designtime/baseEditor/layout/Form.js +1 -1
  105. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +2 -2
  106. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +2 -2
  107. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +2 -2
  108. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
  109. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +2 -2
  110. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +2 -2
  111. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +2 -2
  112. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +2 -2
  113. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
  114. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +2 -2
  115. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +2 -2
  116. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +2 -2
  117. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +2 -2
  118. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +2 -2
  119. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +2 -2
  120. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +2 -2
  121. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +2 -2
  122. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +2 -2
  123. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +2 -2
  124. package/src/sap/ui/integration/designtime/baseEditor/util/BaseDefaultValidatorModules.js +1 -1
  125. package/src/sap/ui/integration/designtime/baseEditor/util/StylesheetManager.js +1 -1
  126. package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +2 -2
  127. package/src/sap/ui/integration/designtime/baseEditor/util/binding/resolveBinding.js +1 -1
  128. package/src/sap/ui/integration/designtime/baseEditor/util/cleanupDesigntimeMetadata.js +1 -1
  129. package/src/sap/ui/integration/designtime/baseEditor/util/createPromise.js +1 -1
  130. package/src/sap/ui/integration/designtime/baseEditor/util/escapeParameter.js +1 -1
  131. package/src/sap/ui/integration/designtime/baseEditor/util/findClosestInstance.js +1 -1
  132. package/src/sap/ui/integration/designtime/baseEditor/util/hasTag.js +1 -1
  133. package/src/sap/ui/integration/designtime/baseEditor/util/isTemplate.js +1 -1
  134. package/src/sap/ui/integration/designtime/baseEditor/util/isValidBindingString.js +1 -1
  135. package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +2 -2
  136. package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +2 -2
  137. package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +2 -2
  138. package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +2 -2
  139. package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +2 -2
  140. package/src/sap/ui/integration/designtime/baseEditor/validator/IsPatternMatch.js +1 -1
  141. package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +2 -2
  142. package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +2 -2
  143. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +2 -2
  144. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +2 -2
  145. package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +2 -2
  146. package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +2 -2
  147. package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +2 -2
  148. package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +2 -2
  149. package/src/sap/ui/integration/designtime/cardEditor/BASEditor.js +1 -1
  150. package/src/sap/ui/integration/designtime/cardEditor/CardEditor.js +1 -1
  151. package/src/sap/ui/integration/designtime/cardEditor/PropertyEditor.js +1 -1
  152. package/src/sap/ui/integration/designtime/cardEditor/PropertyEditors.js +1 -1
  153. package/src/sap/ui/integration/designtime/cardEditor/config/AppConfig.js +1 -1
  154. package/src/sap/ui/integration/designtime/cardEditor/config/HeaderConfig.js +1 -1
  155. package/src/sap/ui/integration/designtime/cardEditor/config/ListCardConfig.js +1 -1
  156. package/src/sap/ui/integration/designtime/cardEditor/config/ObjectCardConfig.js +1 -1
  157. package/src/sap/ui/integration/designtime/cardEditor/config/TableCardConfig.js +1 -1
  158. package/src/sap/ui/integration/designtime/cardEditor/config/generateActionConfig.js +1 -1
  159. package/src/sap/ui/integration/designtime/cardEditor/config/generateDataConfig.js +1 -1
  160. package/src/sap/ui/integration/designtime/cardEditor/config/index.js +1 -1
  161. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +2 -2
  162. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +2 -2
  163. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
  164. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +2 -2
  165. package/src/sap/ui/integration/designtime/cardEditor/util/CommonPatterns.js +1 -1
  166. package/src/sap/ui/integration/designtime/cardEditor/validator/IsPatternMatchList.js +1 -1
  167. package/src/sap/ui/integration/designtime/editor/CardEditor.js +2 -2
  168. package/src/sap/ui/integration/designtime/editor/CardPreview.js +2 -2
  169. package/src/sap/ui/integration/editor/Editor.js +4 -12
  170. package/src/sap/ui/integration/editor/EditorResourceBundles.js +2 -2
  171. package/src/sap/ui/integration/editor/Extension.js +2 -2
  172. package/src/sap/ui/integration/editor/Manifest.js +2 -2
  173. package/src/sap/ui/integration/editor/Merger.js +1 -1
  174. package/src/sap/ui/integration/editor/Settings.js +2 -2
  175. package/src/sap/ui/integration/editor/css/Editor.css +0 -3
  176. package/src/sap/ui/integration/editor/fields/BaseField.js +2 -2
  177. package/src/sap/ui/integration/editor/fields/BooleanField.js +2 -2
  178. package/src/sap/ui/integration/editor/fields/DateField.js +2 -2
  179. package/src/sap/ui/integration/editor/fields/DateTimeField.js +2 -2
  180. package/src/sap/ui/integration/editor/fields/DestinationField.js +2 -21
  181. package/src/sap/ui/integration/editor/fields/IntegerField.js +2 -2
  182. package/src/sap/ui/integration/editor/fields/ListField.js +22 -19
  183. package/src/sap/ui/integration/editor/fields/NumberField.js +2 -2
  184. package/src/sap/ui/integration/editor/fields/StringField.js +2 -14
  185. package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +2 -2
  186. package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +2 -2
  187. package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +2 -2
  188. package/src/sap/ui/integration/formatters/DateTimeFormatter.js +1 -1
  189. package/src/sap/ui/integration/formatters/IconFormatter.js +1 -1
  190. package/src/sap/ui/integration/formatters/NumberFormatter.js +1 -1
  191. package/src/sap/ui/integration/formatters/TextFormatter.js +1 -1
  192. package/src/sap/ui/integration/library-bootstrap.js +1 -1
  193. package/src/sap/ui/integration/library.js +3 -3
  194. package/src/sap/ui/integration/model/ContextModel.js +2 -2
  195. package/src/sap/ui/integration/model/ObservableModel.js +2 -2
  196. package/src/sap/ui/integration/sap-ui-integration-config.js +1 -1
  197. package/src/sap/ui/integration/sap-ui-integration-define-nojQuery.js +1 -1
  198. package/src/sap/ui/integration/services/Data.js +1 -1
  199. package/src/sap/ui/integration/services/Navigation.js +1 -1
  200. package/src/sap/ui/integration/services/Service.js +1 -1
  201. package/src/sap/ui/integration/themes/base/ListContentItem.less +66 -28
  202. package/src/sap/ui/integration/themes/base/library.source.less +1 -1
  203. package/src/sap/ui/integration/themes/sap_hcb/library.source.less +1 -1
  204. package/src/sap/ui/integration/util/BaseFactory.js +2 -2
  205. package/src/sap/ui/integration/util/BindingHelper.js +2 -2
  206. package/src/sap/ui/integration/util/BindingResolver.js +2 -2
  207. package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +1 -1
  208. package/src/sap/ui/integration/util/CardActions.js +2 -2
  209. package/src/sap/ui/integration/util/CardMerger.js +1 -1
  210. package/src/sap/ui/integration/util/CardObserver.js +2 -2
  211. package/src/sap/ui/integration/util/ContentFactory.js +2 -2
  212. package/src/sap/ui/integration/util/DataProvider.js +2 -2
  213. package/src/sap/ui/integration/util/DataProviderFactory.js +2 -2
  214. package/src/sap/ui/integration/util/Destinations.js +2 -2
  215. package/src/sap/ui/integration/util/ExtensionDataProvider.js +2 -2
  216. package/src/sap/ui/integration/util/HeaderFactory.js +2 -2
  217. package/src/sap/ui/integration/util/JSONBindingHelper.js +2 -2
  218. package/src/sap/ui/integration/util/LoadingProvider.js +2 -2
  219. package/src/sap/ui/integration/util/Manifest.js +2 -2
  220. package/src/sap/ui/integration/util/ParameterMap.js +1 -1
  221. package/src/sap/ui/integration/util/RequestDataProvider.js +2 -2
  222. package/src/sap/ui/integration/util/ServiceDataProvider.js +2 -2
  223. package/src/sap/ui/integration/util/ServiceManager.js +2 -2
  224. package/src/sap/ui/integration/util/Utils.js +2 -2
  225. package/src/sap/ui/integration/util/loadCardEditor.js +1 -1
  226. package/src/sap/ui/integration/widgets/Card.js +3 -3
  227. package/src/sap/ui/integration/widgets/CardRenderer.js +1 -1
  228. package/src/sap-ui-integration-card-editor.js +1 -1
  229. package/src/sap-ui-integration-editor.js +1 -1
  230. package/src/sap-ui-integration.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.integration",
3
- "version": "1.96.1",
3
+ "version": "1.96.5",
4
4
  "description": "OpenUI5 UI Library sap.ui.integration",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.96.1",
18
- "@openui5/sap.f": "1.96.1"
17
+ "@openui5/sap.ui.core": "1.96.5",
18
+ "@openui5/sap.f": "1.96.5"
19
19
  }
20
20
  }
@@ -4,9 +4,9 @@
4
4
  <name>sap.ui.integration</name>
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>OpenUI5
7
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.96.1</version>
9
+ <version>1.96.5</version>
10
10
 
11
11
  <documentation>SAPUI5 library with integration-related controls.</documentation>
12
12
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.96.1
31
+ * @version 1.96.5
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.base.ManagedObject
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.96.1
23
+ * @version 1.96.5
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.base.ManagedObject
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.96.1
27
+ * @version 1.96.5
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Element
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.96.1
28
+ * @version 1.96.5
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.integration.cards.BaseContent
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.96.1
41
+ * @version 1.96.5
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -88,7 +88,7 @@ sap.ui.define([
88
88
  * @extends sap.ui.integration.cards.BaseContent
89
89
  *
90
90
  * @author SAP SE
91
- * @version 1.96.1
91
+ * @version 1.96.5
92
92
  *
93
93
  * @constructor
94
94
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.integration.cards.BaseContent
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.96.1
33
+ * @version 1.96.5
34
34
  *
35
35
  * @constructor
36
36
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.96.1
38
+ * @version 1.96.5
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.integration.cards.BaseContent
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.96.1
38
+ * @version 1.96.5
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -102,26 +102,6 @@ sap.ui.define([
102
102
  return null;
103
103
  };
104
104
 
105
- /**
106
- * Used to filter the content items that are to be hidden.
107
- *
108
- * @protected
109
- * @param {Object} mItemConfig The item template.
110
- * @param {Object} oBindingInfo The binding info on which to attach the filter.
111
- */
112
- BaseListContent.prototype._filterHiddenNavigationItems = function (mItemConfig, oBindingInfo) {
113
- if (!mItemConfig.actions) {
114
- return;
115
- }
116
- var oAction = mItemConfig.actions[0];
117
- if (!(oAction && oAction.service && oAction.type === "Navigation")) {
118
- return;
119
- }
120
- var oFilter = new Filter("_card_item_hidden", FilterOperator.EQ, false);
121
- this.awaitEvent("_filterNavItemsReady");
122
- oBindingInfo.filters = [oFilter];
123
- };
124
-
125
105
  /**
126
106
  * Used to check which content items should be hidden based on the Navigation Service.
127
107
  *
@@ -137,16 +117,14 @@ sap.ui.define([
137
117
  return;
138
118
  }
139
119
 
140
- var oBindingInfo = this.getInnerList().getBinding("items"),
141
- oModel = oBindingInfo.getModel(),
142
- sPath = oBindingInfo.getPath(),
143
- aItems = oModel.getProperty(sPath),
120
+ var oInnerList = this.getInnerList(),
121
+ aItems = oInnerList.getItems(),
144
122
  aPromises = [],
145
123
  oAction = mItemConfig.actions[0],
146
- sBasePath = sPath.trim().replace(/\/$/, ""),
147
- sActionName;
124
+ sActionName,
125
+ iVisibleItems = 0;
148
126
 
149
- if (!(oAction && oAction.service && oAction.type === "Navigation")) {
127
+ if (!oAction || !oAction.service || oAction.type !== "Navigation") {
150
128
  return;
151
129
  }
152
130
 
@@ -157,39 +135,45 @@ sap.ui.define([
157
135
  }
158
136
 
159
137
  // create new promises
160
- aItems.forEach(function (oItem, iIndex) {
138
+ aItems.forEach(function (oItem) {
161
139
  var mParameters = BindingResolver.resolveValue(
162
140
  oAction.parameters,
163
141
  this,
164
- sBasePath + "/" + iIndex
142
+ oItem.getBindingContext().getPath()
165
143
  );
166
144
 
167
- if (oItem._card_item_hidden === undefined) {
168
- oItem._card_item_hidden = false;
169
- }
145
+ aPromises.push(this._oServiceManager
146
+ .getService(sActionName)
147
+ .then(function (oNavigationService) {
148
+ if (!oNavigationService.hidden) {
149
+ return false;
150
+ }
151
+
152
+ return oNavigationService.hidden({parameters: mParameters});
153
+ })
154
+ .then(function (bHidden) {
155
+ oItem.setVisible(!bHidden);
156
+ if (!bHidden) {
157
+ iVisibleItems++;
158
+ }
159
+ })
160
+ .catch(function (sMessage) {
161
+ Log.error(sMessage);
162
+ }));
170
163
 
171
- aPromises.push(
172
- this._oServiceManager
173
- .getService(sActionName)
174
- .then(function (oNavigationService) {
175
- if (!oNavigationService.hidden) {
176
- return false;
177
- }
178
-
179
- return oNavigationService.hidden({ parameters: mParameters });
180
- })
181
- .then(function (bHidden) {
182
- oItem._card_item_hidden = !!bHidden;
183
- oModel.checkUpdate(true);
184
- })
185
- .catch(function (sMessage) {
186
- Log.error(sMessage);
187
- })
188
- );
189
164
  }.bind(this));
190
165
 
191
- oModel.checkUpdate(true);
192
- this._awaitPromises(aPromises);
166
+ this.awaitEvent("_filterNavItemsReady");
167
+
168
+ var pCurrent = this._oAwaitingPromise = Promise.all(aPromises)
169
+ .then(function () {
170
+ if (this._oAwaitingPromise === pCurrent) {
171
+ if (this.getModel("parameters")) {
172
+ this.getModel("parameters").setProperty("/visibleItems", iVisibleItems);
173
+ }
174
+ this.fireEvent("_filterNavItemsReady");
175
+ }
176
+ }.bind(this));
193
177
  };
194
178
 
195
179
  /**
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  * @extends sap.ui.integration.cards.BaseContent
65
65
  *
66
66
  * @author SAP SE
67
- * @version 1.96.1
67
+ * @version 1.96.5
68
68
  *
69
69
  * @constructor
70
70
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.integration.cards.BaseContent
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.96.1
32
+ * @version 1.96.5
33
33
  *
34
34
  * @experimental
35
35
  * @constructor
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.96.1
32
+ * @version 1.96.5
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.f.Header
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.96.1
41
+ * @version 1.96.5
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  * @extends sap.ui.integration.cards.BaseListContent
65
65
  *
66
66
  * @author SAP SE
67
- * @version 1.96.1
67
+ * @version 1.96.5
68
68
  *
69
69
  * @constructor
70
70
  * @private
@@ -270,7 +270,6 @@ sap.ui.define([
270
270
  sorter: this._oSorter
271
271
  };
272
272
 
273
- this._filterHiddenNavigationItems(mItem, oBindingInfo);
274
273
  this._bindAggregationToControl("items", oList, oBindingInfo);
275
274
  };
276
275
 
@@ -1,12 +1,20 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(["./BaseContentRenderer"], function (BaseContentRenderer) {
7
+ sap.ui.define([
8
+ "./BaseContentRenderer",
9
+ "../library"
10
+ ], function (
11
+ BaseContentRenderer,
12
+ library
13
+ ) {
8
14
  "use strict";
9
15
 
16
+ var AttributesLayoutType = library.AttributesLayoutType;
17
+
10
18
  /**
11
19
  * ListContentRenderer renderer.
12
20
  * @author SAP SE
@@ -48,26 +56,43 @@ sap.ui.define(["./BaseContentRenderer"], function (BaseContentRenderer) {
48
56
 
49
57
  var bIsCompact = this.isCompact(oControl),
50
58
  oTemplate = oConfiguration.item,
51
- fItemHeight = bIsCompact ? 2 : 2.75, // list item height in "rem"
59
+ fItemHeight = bIsCompact ? 1 : 1.125, // title height in "rem",
60
+ fVerticalPadding = bIsCompact ? 1 : 1.625, // vertical padding in "rem"
52
61
  iAttrLength;
53
62
 
54
- if (oTemplate.description || oTemplate.chart) {
55
- fItemHeight = 5; // list item height with description or chart in "rem"
63
+ if (oTemplate.icon && !oTemplate.description) {
64
+ fVerticalPadding = bIsCompact ? 0 : 0.75;
65
+ fItemHeight = 2;
56
66
  }
57
67
 
58
- if (oTemplate.description && oTemplate.chart) {
59
- fItemHeight = 6; // list item height with description and chart in "rem"
68
+ if (oTemplate.description) {
69
+ fVerticalPadding = 2;
70
+ fItemHeight += bIsCompact ? 2 : 1.875;
60
71
  }
61
72
 
62
73
  if (oTemplate.attributes) {
63
- iAttrLength = Math.ceil(oTemplate.attributes.length / 2);
74
+ fVerticalPadding = 2.25;
75
+ iAttrLength = oTemplate.attributes.length / 2;
76
+
77
+ if (oTemplate.attributesLayoutType === AttributesLayoutType.OneColumn) {
78
+ iAttrLength = oTemplate.attributes.length;
79
+ }
80
+
81
+ iAttrLength = Math.ceil(iAttrLength);
64
82
  fItemHeight += iAttrLength * 1.5; // attribute row height in "rem"
65
83
  }
66
84
 
85
+ if (oTemplate.chart) {
86
+ fItemHeight += 1; // chart height in "rem"
87
+ }
88
+
67
89
  if (oTemplate.actionsStrip) {
68
- fItemHeight += bIsCompact ? 2.5 : 3.25; // actions strip height in "rem"
90
+ fVerticalPadding = 1;
91
+ fItemHeight += bIsCompact ? 3 : 3.75; // actions strip height in "rem"
69
92
  }
70
93
 
94
+ fItemHeight += fVerticalPadding;
95
+
71
96
  return fItemHeight;
72
97
  };
73
98
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.f.NumericHeader
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.96.1
38
+ * @version 1.96.5
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  *
63
63
  * @extends sap.ui.integration.cards.BaseContent
64
64
  * @author SAP SE
65
- * @version 1.96.1
65
+ * @version 1.96.5
66
66
  *
67
67
  * @constructor
68
68
  * @experimental
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -77,7 +77,7 @@ sap.ui.define([
77
77
  * @extends sap.ui.integration.cards.BaseListContent
78
78
  *
79
79
  * @author SAP SE
80
- * @version 1.96.1
80
+ * @version 1.96.5
81
81
  *
82
82
  * @constructor
83
83
  * @private
@@ -199,7 +199,6 @@ sap.ui.define([
199
199
  template: this._oItemTemplate,
200
200
  sorter: this._oSorter
201
201
  };
202
- this._filterHiddenNavigationItems(oRow, oBindingInfo);
203
202
  this._bindAggregationToControl("items", oTable, oBindingInfo);
204
203
  };
205
204
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.integration.cards.BaseListContent
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.96.1
41
+ * @version 1.96.5
42
42
  *
43
43
  * @constructor
44
44
  * @experimental
@@ -186,7 +186,6 @@ sap.ui.define([
186
186
  template: this._oTimeLineItemTemplate
187
187
  };
188
188
 
189
- this._filterHiddenNavigationItems(mItem, oBindingInfo);
190
189
  this._bindAggregationToControl("content", this._getTimeline(), oBindingInfo);
191
190
 
192
191
  return this;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.integration.cards.BaseContent
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.96.1
35
+ * @version 1.96.5
36
36
  *
37
37
  * @constructor
38
38
  * @experimental
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6