@openui5/sap.ui.integration 1.109.0 → 1.111.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 (278) hide show
  1. package/.reuse/dep5 +16 -16
  2. package/THIRDPARTY.txt +2 -2
  3. package/package.json +3 -3
  4. package/src/sap/ui/integration/.library +2 -2
  5. package/src/sap/ui/integration/ActionDefinition.js +2 -2
  6. package/src/sap/ui/integration/Designtime.js +2 -2
  7. package/src/sap/ui/integration/Extension.js +29 -5
  8. package/src/sap/ui/integration/Host.js +83 -18
  9. package/src/sap/ui/integration/bindingFeatures/DateRange.js +1 -1
  10. package/src/sap/ui/integration/cards/AdaptiveContent.js +9 -9
  11. package/src/sap/ui/integration/cards/AnalyticalContent.js +2 -2
  12. package/src/sap/ui/integration/cards/AnalyticalContentRenderer.js +1 -1
  13. package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +2 -2
  14. package/src/sap/ui/integration/cards/AnalyticsCloudContentRenderer.js +1 -1
  15. package/src/sap/ui/integration/cards/BaseContent.js +6 -5
  16. package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
  17. package/src/sap/ui/integration/cards/BaseListContent.js +7 -3
  18. package/src/sap/ui/integration/cards/CalendarContent.js +3 -3
  19. package/src/sap/ui/integration/cards/CalendarContentRenderer.js +1 -1
  20. package/src/sap/ui/integration/cards/ComponentContent.js +2 -2
  21. package/src/sap/ui/integration/cards/ComponentContentRenderer.js +1 -1
  22. package/src/sap/ui/integration/cards/Footer.js +2 -2
  23. package/src/sap/ui/integration/cards/Header.js +3 -3
  24. package/src/sap/ui/integration/cards/ListContent.js +23 -48
  25. package/src/sap/ui/integration/cards/ListContentRenderer.js +19 -35
  26. package/src/sap/ui/integration/cards/NumericHeader.js +3 -3
  27. package/src/sap/ui/integration/cards/ObjectContent.js +34 -8
  28. package/src/sap/ui/integration/cards/ObjectContentRenderer.js +1 -1
  29. package/src/sap/ui/integration/cards/TableContent.js +2 -2
  30. package/src/sap/ui/integration/cards/TableContentRenderer.js +1 -1
  31. package/src/sap/ui/integration/cards/TimelineContent.js +2 -2
  32. package/src/sap/ui/integration/cards/TimelineContentRenderer.js +1 -1
  33. package/src/sap/ui/integration/cards/WebPageContent.js +2 -2
  34. package/src/sap/ui/integration/cards/WebPageContentRenderer.js +1 -1
  35. package/src/sap/ui/integration/cards/actions/BaseAction.js +1 -1
  36. package/src/sap/ui/integration/cards/actions/CardActions.js +2 -2
  37. package/src/sap/ui/integration/cards/actions/CustomAction.js +1 -1
  38. package/src/sap/ui/integration/cards/actions/DateChangeAction.js +1 -1
  39. package/src/sap/ui/integration/cards/actions/HideCardAction.js +1 -1
  40. package/src/sap/ui/integration/cards/actions/MonthChangeAction.js +1 -1
  41. package/src/sap/ui/integration/cards/actions/NavigationAction.js +1 -1
  42. package/src/sap/ui/integration/cards/actions/ShowCardAction.js +1 -1
  43. package/src/sap/ui/integration/cards/actions/SubmitAction.js +1 -1
  44. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +2 -2
  45. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +2 -2
  46. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +2 -2
  47. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +2 -2
  48. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputTime.js +1 -1
  49. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +2 -2
  50. package/src/sap/ui/integration/cards/adaptivecards/elements/hostConfig.js +1 -1
  51. package/src/sap/ui/integration/cards/adaptivecards/overwrites/ActionRender.js +1 -1
  52. package/src/sap/ui/integration/cards/adaptivecards/overwrites/inputsGeneralOverwrites.js +1 -1
  53. package/src/sap/ui/integration/cards/filters/BaseFilter.js +2 -2
  54. package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +2 -2
  55. package/src/sap/ui/integration/cards/filters/FilterBar.js +68 -2
  56. package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +4 -3
  57. package/src/sap/ui/integration/cards/filters/SearchFilter.js +2 -2
  58. package/src/sap/ui/integration/cards/filters/SelectFilter.js +3 -2
  59. package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +126 -0
  60. package/src/sap/ui/integration/controls/ActionsStrip.js +2 -2
  61. package/src/sap/ui/integration/controls/ActionsToolbar.js +4 -2
  62. package/src/sap/ui/integration/controls/ActionsToolbarRenderer.js +1 -1
  63. package/src/sap/ui/integration/controls/LinkWithIcon.js +2 -2
  64. package/src/sap/ui/integration/controls/LinkWithIconRenderer.js +1 -1
  65. package/src/sap/ui/integration/controls/ListContentItem.js +118 -10
  66. package/src/sap/ui/integration/controls/ListContentItemRenderer.js +93 -120
  67. package/src/sap/ui/integration/controls/Microchart.js +2 -2
  68. package/src/sap/ui/integration/controls/MicrochartLegend.js +2 -2
  69. package/src/sap/ui/integration/controls/MicrochartLegendRenderer.js +1 -1
  70. package/src/sap/ui/integration/controls/ObjectStatus.js +51 -0
  71. package/src/sap/ui/integration/controls/Paginator.js +12 -6
  72. package/src/sap/ui/integration/controls/PaginatorRenderer.js +1 -1
  73. package/src/sap/ui/integration/customElements/CustomElementBase.js +1 -1
  74. package/src/sap/ui/integration/customElements/CustomElementCard.js +1 -1
  75. package/src/sap/ui/integration/customElements/CustomElementCardEditor.js +1 -1
  76. package/src/sap/ui/integration/customElements/CustomElementEditor.js +1 -1
  77. package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +2 -2
  78. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +2 -2
  79. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +2 -2
  80. package/src/sap/ui/integration/designtime/baseEditor/layout/Form.js +1 -1
  81. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +2 -2
  82. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +2 -2
  83. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +2 -2
  84. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
  85. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +2 -2
  86. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditorDialog.fragment.xml +1 -0
  87. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +2 -2
  88. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +2 -2
  89. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +2 -2
  90. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +2 -2
  91. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
  92. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +2 -2
  93. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +2 -2
  94. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +2 -2
  95. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditorDialog.fragment.xml +1 -0
  96. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +2 -2
  97. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +2 -2
  98. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +2 -2
  99. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +2 -2
  100. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +2 -2
  101. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +2 -2
  102. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +2 -2
  103. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +2 -2
  104. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +2 -2
  105. package/src/sap/ui/integration/designtime/baseEditor/util/BaseDefaultValidatorModules.js +1 -1
  106. package/src/sap/ui/integration/designtime/baseEditor/util/StylesheetManager.js +1 -1
  107. package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +2 -2
  108. package/src/sap/ui/integration/designtime/baseEditor/util/binding/resolveBinding.js +1 -1
  109. package/src/sap/ui/integration/designtime/baseEditor/util/cleanupDesigntimeMetadata.js +1 -1
  110. package/src/sap/ui/integration/designtime/baseEditor/util/createPromise.js +1 -1
  111. package/src/sap/ui/integration/designtime/baseEditor/util/escapeParameter.js +1 -1
  112. package/src/sap/ui/integration/designtime/baseEditor/util/findClosestInstance.js +1 -1
  113. package/src/sap/ui/integration/designtime/baseEditor/util/hasTag.js +1 -1
  114. package/src/sap/ui/integration/designtime/baseEditor/util/isTemplate.js +1 -1
  115. package/src/sap/ui/integration/designtime/baseEditor/util/isValidBindingString.js +1 -1
  116. package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +2 -2
  117. package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +2 -2
  118. package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +2 -2
  119. package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +2 -2
  120. package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +2 -2
  121. package/src/sap/ui/integration/designtime/baseEditor/validator/IsPatternMatch.js +1 -1
  122. package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +2 -2
  123. package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +2 -2
  124. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +2 -2
  125. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +2 -2
  126. package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +2 -2
  127. package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +2 -2
  128. package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +2 -2
  129. package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +2 -2
  130. package/src/sap/ui/integration/designtime/cardEditor/BASEditor.js +1 -1
  131. package/src/sap/ui/integration/designtime/cardEditor/CardEditor.js +1 -1
  132. package/src/sap/ui/integration/designtime/cardEditor/PropertyEditor.js +1 -1
  133. package/src/sap/ui/integration/designtime/cardEditor/PropertyEditors.js +1 -1
  134. package/src/sap/ui/integration/designtime/cardEditor/config/AppConfig.js +1 -1
  135. package/src/sap/ui/integration/designtime/cardEditor/config/FooterConfig.js +1 -1
  136. package/src/sap/ui/integration/designtime/cardEditor/config/HeaderConfig.js +1 -1
  137. package/src/sap/ui/integration/designtime/cardEditor/config/ListCardConfig.js +1 -1
  138. package/src/sap/ui/integration/designtime/cardEditor/config/ObjectCardConfig.js +1 -1
  139. package/src/sap/ui/integration/designtime/cardEditor/config/TableCardConfig.js +1 -1
  140. package/src/sap/ui/integration/designtime/cardEditor/config/generateActionConfig.js +1 -1
  141. package/src/sap/ui/integration/designtime/cardEditor/config/generateDataConfig.js +1 -1
  142. package/src/sap/ui/integration/designtime/cardEditor/config/generateFooterActionsStripConfig.js +3 -5
  143. package/src/sap/ui/integration/designtime/cardEditor/config/index.js +1 -1
  144. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +2 -2
  145. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +2 -2
  146. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +2 -2
  147. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
  148. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +2 -2
  149. package/src/sap/ui/integration/designtime/cardEditor/util/CommonPatterns.js +1 -1
  150. package/src/sap/ui/integration/designtime/cardEditor/validator/IsPatternMatchList.js +1 -1
  151. package/src/sap/ui/integration/designtime/editor/CardEditor.js +3 -65
  152. package/src/sap/ui/integration/designtime/editor/CardPreview.js +2 -2
  153. package/src/sap/ui/integration/editor/Editor.js +91 -46
  154. package/src/sap/ui/integration/editor/Extension.js +2 -2
  155. package/src/sap/ui/integration/editor/Manifest.js +2 -2
  156. package/src/sap/ui/integration/editor/Merger.js +1 -1
  157. package/src/sap/ui/integration/editor/Settings.js +2 -2
  158. package/src/sap/ui/integration/editor/fields/BaseField.js +2 -2
  159. package/src/sap/ui/integration/editor/fields/BooleanField.js +2 -2
  160. package/src/sap/ui/integration/editor/fields/DateField.js +2 -2
  161. package/src/sap/ui/integration/editor/fields/DateTimeField.js +2 -2
  162. package/src/sap/ui/integration/editor/fields/DestinationField.js +2 -2
  163. package/src/sap/ui/integration/editor/fields/GroupField.js +2 -2
  164. package/src/sap/ui/integration/editor/fields/IntegerField.js +2 -2
  165. package/src/sap/ui/integration/editor/fields/NumberField.js +2 -2
  166. package/src/sap/ui/integration/editor/fields/ObjectField.js +6 -10
  167. package/src/sap/ui/integration/editor/fields/ObjectListField.js +2 -2
  168. package/src/sap/ui/integration/editor/fields/StringField.js +4 -7
  169. package/src/sap/ui/integration/editor/fields/StringListField.js +2 -2
  170. package/src/sap/ui/integration/editor/fields/fragment/Controller.js +2 -2
  171. package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +2 -2
  172. package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +2 -2
  173. package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +2 -2
  174. package/src/sap/ui/integration/editor/fields/viz/VizBase.js +2 -2
  175. package/src/sap/ui/integration/formatters/DateTimeFormatter.js +1 -1
  176. package/src/sap/ui/integration/formatters/IconFormatter.js +1 -1
  177. package/src/sap/ui/integration/formatters/InitialsFormatter.js +1 -1
  178. package/src/sap/ui/integration/formatters/NumberFormatter.js +1 -1
  179. package/src/sap/ui/integration/formatters/TextFormatter.js +1 -1
  180. package/src/sap/ui/integration/library-bootstrap.js +1 -1
  181. package/src/sap/ui/integration/library.js +5 -4
  182. package/src/sap/ui/integration/messagebundle.properties +3 -0
  183. package/src/sap/ui/integration/messagebundle_ar.properties +6 -0
  184. package/src/sap/ui/integration/messagebundle_bg.properties +6 -0
  185. package/src/sap/ui/integration/messagebundle_ca.properties +6 -0
  186. package/src/sap/ui/integration/messagebundle_cs.properties +6 -0
  187. package/src/sap/ui/integration/messagebundle_cy.properties +6 -0
  188. package/src/sap/ui/integration/messagebundle_da.properties +6 -0
  189. package/src/sap/ui/integration/messagebundle_de.properties +7 -1
  190. package/src/sap/ui/integration/messagebundle_el.properties +6 -0
  191. package/src/sap/ui/integration/messagebundle_en.properties +6 -0
  192. package/src/sap/ui/integration/messagebundle_en_GB.properties +6 -0
  193. package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +6 -0
  194. package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +6 -0
  195. package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +6 -0
  196. package/src/sap/ui/integration/messagebundle_es.properties +6 -0
  197. package/src/sap/ui/integration/messagebundle_es_MX.properties +6 -0
  198. package/src/sap/ui/integration/messagebundle_et.properties +6 -0
  199. package/src/sap/ui/integration/messagebundle_fi.properties +6 -0
  200. package/src/sap/ui/integration/messagebundle_fr.properties +6 -0
  201. package/src/sap/ui/integration/messagebundle_fr_CA.properties +6 -0
  202. package/src/sap/ui/integration/messagebundle_hi.properties +6 -0
  203. package/src/sap/ui/integration/messagebundle_hr.properties +6 -0
  204. package/src/sap/ui/integration/messagebundle_hu.properties +6 -0
  205. package/src/sap/ui/integration/messagebundle_id.properties +6 -0
  206. package/src/sap/ui/integration/messagebundle_it.properties +6 -0
  207. package/src/sap/ui/integration/messagebundle_iw.properties +6 -0
  208. package/src/sap/ui/integration/messagebundle_ja.properties +6 -0
  209. package/src/sap/ui/integration/messagebundle_kk.properties +6 -0
  210. package/src/sap/ui/integration/messagebundle_ko.properties +6 -0
  211. package/src/sap/ui/integration/messagebundle_lt.properties +6 -0
  212. package/src/sap/ui/integration/messagebundle_lv.properties +6 -0
  213. package/src/sap/ui/integration/messagebundle_ms.properties +6 -0
  214. package/src/sap/ui/integration/messagebundle_nl.properties +6 -0
  215. package/src/sap/ui/integration/messagebundle_no.properties +6 -0
  216. package/src/sap/ui/integration/messagebundle_pl.properties +6 -0
  217. package/src/sap/ui/integration/messagebundle_pt.properties +6 -0
  218. package/src/sap/ui/integration/messagebundle_pt_PT.properties +6 -0
  219. package/src/sap/ui/integration/messagebundle_ro.properties +6 -0
  220. package/src/sap/ui/integration/messagebundle_ru.properties +6 -0
  221. package/src/sap/ui/integration/messagebundle_sh.properties +6 -0
  222. package/src/sap/ui/integration/messagebundle_sk.properties +6 -0
  223. package/src/sap/ui/integration/messagebundle_sl.properties +6 -0
  224. package/src/sap/ui/integration/messagebundle_sv.properties +6 -0
  225. package/src/sap/ui/integration/messagebundle_th.properties +6 -0
  226. package/src/sap/ui/integration/messagebundle_tr.properties +6 -0
  227. package/src/sap/ui/integration/messagebundle_uk.properties +6 -0
  228. package/src/sap/ui/integration/messagebundle_vi.properties +6 -0
  229. package/src/sap/ui/integration/messagebundle_zh_CN.properties +6 -0
  230. package/src/sap/ui/integration/messagebundle_zh_TW.properties +6 -0
  231. package/src/sap/ui/integration/model/ContextModel.js +2 -2
  232. package/src/sap/ui/integration/model/ObservableModel.js +2 -2
  233. package/src/sap/ui/integration/model/PagingModelListBinding.js +2 -2
  234. package/src/sap/ui/integration/sap-ui-integration-config.js +1 -1
  235. package/src/sap/ui/integration/sap-ui-integration-define-nojQuery.js +1 -1
  236. package/src/sap/ui/integration/schemas/sap-card.json +107 -3
  237. package/src/sap/ui/integration/services/Data.js +1 -1
  238. package/src/sap/ui/integration/services/Navigation.js +1 -1
  239. package/src/sap/ui/integration/services/Service.js +1 -1
  240. package/src/sap/ui/integration/themes/base/ListContentItem.less +134 -134
  241. package/src/sap/ui/integration/themes/base/Microchart.less +0 -2
  242. package/src/sap/ui/integration/themes/base/ObjectContent.less +5 -0
  243. package/src/sap/ui/integration/themes/base/ObjectStatusIcons.less +48 -0
  244. package/src/sap/ui/integration/themes/base/library.source.less +2 -1
  245. package/src/sap/ui/integration/themes/sap_hcb/library.source.less +1 -1
  246. package/src/sap/ui/integration/util/BaseFactory.js +2 -2
  247. package/src/sap/ui/integration/util/BindingHelper.js +2 -2
  248. package/src/sap/ui/integration/util/BindingResolver.js +2 -2
  249. package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +4 -7
  250. package/src/sap/ui/integration/util/CardMerger.js +1 -1
  251. package/src/sap/ui/integration/util/CardObserver.js +2 -2
  252. package/src/sap/ui/integration/util/ContentFactory.js +2 -2
  253. package/src/sap/ui/integration/util/CsrfTokenHandler.js +10 -7
  254. package/src/sap/ui/integration/util/DataProvider.js +2 -2
  255. package/src/sap/ui/integration/util/DataProviderFactory.js +2 -2
  256. package/src/sap/ui/integration/util/Destinations.js +2 -2
  257. package/src/sap/ui/integration/util/ExtensionDataProvider.js +2 -2
  258. package/src/sap/ui/integration/util/Forms.js +5 -3
  259. package/src/sap/ui/integration/util/HeaderFactory.js +2 -2
  260. package/src/sap/ui/integration/util/JSONBindingHelper.js +2 -2
  261. package/src/sap/ui/integration/util/LoadingProvider.js +11 -15
  262. package/src/sap/ui/integration/util/Manifest.js +10 -3
  263. package/src/sap/ui/integration/util/ManifestResolver.js +11 -2
  264. package/src/sap/ui/integration/util/Measurement.js +65 -0
  265. package/src/sap/ui/integration/util/ParameterMap.js +1 -1
  266. package/src/sap/ui/integration/util/RequestDataProvider.js +27 -15
  267. package/src/sap/ui/integration/util/ServiceDataProvider.js +2 -2
  268. package/src/sap/ui/integration/util/ServiceManager.js +2 -2
  269. package/src/sap/ui/integration/util/SkeletonCard.js +2 -2
  270. package/src/sap/ui/integration/util/Utils.js +2 -2
  271. package/src/sap/ui/integration/util/Validators.js +2 -2
  272. package/src/sap/ui/integration/util/loadCardEditor.js +1 -1
  273. package/src/sap/ui/integration/widgets/Card.js +46 -34
  274. package/src/sap/ui/integration/widgets/CardRenderer.js +1 -1
  275. package/src/sap-ui-integration-card-editor.js +1 -1
  276. package/src/sap-ui-integration-editor.js +1 -1
  277. package/src/sap-ui-integration.js +1 -1
  278. package/src/sap/ui/integration/editor/EditorResourceBundles.js +0 -80
package/.reuse/dep5 CHANGED
@@ -28,7 +28,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
28
28
  # OpenUI5 code
29
29
 
30
30
  Files: *
31
- Copyright: 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
31
+ Copyright: 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
32
32
  License: Apache-2.0
33
33
 
34
34
 
@@ -68,7 +68,7 @@ Comment: these files belong to: jQuery UI
68
68
 
69
69
  Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
70
70
  Copyright:
71
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
71
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
72
72
  Spencer Tipping
73
73
  License: Apache-2.0 and MIT
74
74
  Comment: these files contain content from SAP and jquery.fix.clone: Carousel.js is authored by SAP, but contains an improved implementation of the clone function which is taken from jquery-fix-clone
@@ -83,35 +83,35 @@ Comment: these files belong to: jQuery 3
83
83
 
84
84
  Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
85
85
  Copyright:
86
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
86
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
87
87
  OpenJS Foundation and other contributors
88
88
  License: Apache-2.0 and MIT
89
89
  Comment: these files contain content from SAP and jQuery 3: isPlainObject.js is overall written by SAP, but contains a modified implementation of jQuery.isPlainObject taken from jQuery
90
90
 
91
91
  Files: src/sap.ui.core/src/sap/base/util/_merge.js
92
92
  Copyright:
93
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
93
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
94
94
  OpenJS Foundation and other contributors
95
95
  License: Apache-2.0 and MIT
96
96
  Comment: these files contain content from SAP and jQuery 3: _merge.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
97
97
 
98
98
  Files: src/sap.ui.core/src/jquery.sap.script.js
99
99
  Copyright:
100
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
100
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
101
101
  OpenJS Foundation and other contributors
102
102
  License: Apache-2.0 and MIT
103
103
  Comment: these files contain content from SAP and jQuery 3: jquery.sap.script.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
104
104
 
105
105
  Files: src/sap.ui.core/src/sap/ui/Device.js
106
106
  Copyright:
107
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
107
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
108
108
  2011, John Resig
109
109
  License: Apache-2.0 and MIT
110
110
  Comment: these files contain content from SAP and jQuery 1: Device.js is overall written by SAP, but contains code taken from jQuery 1.7.1 (see the respective comment)
111
111
 
112
112
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
113
113
  Copyright:
114
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
114
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
115
115
  2014 jQuery Foundation and other contributors
116
116
  License: Apache-2.0 and MIT
117
117
  Comment: these files contain content from SAP and jQuery UI 1.8: Selectors.js is overall written by SAP, but contains code taken from jQuery UI (see the respective comments)
@@ -123,14 +123,14 @@ Comment: these files belong to: jQuery UI 1.10
123
123
 
124
124
  Files: src/sap.ui.core/src/jquery.sap.dom.js
125
125
  Copyright:
126
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
126
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
127
127
  2014 jQuery Foundation and other contributors
128
128
  License: Apache-2.0 and MIT
129
129
  Comment: these files contain content from SAP and jQuery UI 1.10: jquery.sap.dom.js is overall written by SAP, but contains code taken from jQuery UI Core (see the respective comment)
130
130
 
131
131
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
132
132
  Copyright:
133
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
133
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
134
134
  2014 jQuery Foundation and other contributors
135
135
  License: Apache-2.0 and MIT
136
136
  Comment: these files contain content from SAP and jQuery UI 1.11: zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1
@@ -162,7 +162,7 @@ Comment: these files belong to: jQuery Mobile
162
162
 
163
163
  Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
164
164
  Copyright:
165
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
165
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
166
166
  2012 Wei-Ko Kao
167
167
  License: Apache-2.0 and MIT
168
168
  Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
@@ -299,14 +299,14 @@ Comment: these files belong to: blanket.js
299
299
 
300
300
  Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
301
301
  Copyright:
302
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
302
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
303
303
  Douglas Crockford
304
304
  License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
305
305
  Comment: these files contain content from SAP and JSON in JS: JSTokenizer.js is overall written by SAP, but contains code has been taken from the component JSON in JavaScript (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) from Douglas Crockford which is licensed under Public Domain
306
306
 
307
307
  Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
308
308
  Copyright:
309
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
309
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
310
310
  2010 Douglas Crockford
311
311
  License: Apache-2.0
312
312
  Comment: these files contain content from SAP and Top Down Operator Precedence: ExpressionParser.js is overall written by SAP, but contains code taken from or inspired by TDOP by Douglas Crockford (see the respective comment)
@@ -340,7 +340,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
340
340
 
341
341
  Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
342
342
  Copyright:
343
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
343
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
344
344
  Behrang Norouzinia
345
345
  License: Apache-2.0 and MIT
346
346
  Comment: these files contain content from SAP and Jalaali JS: Persian.js is overall written by SAP, but the calculation is taken from jalaali-js
@@ -352,14 +352,14 @@ Comment: these files belong to: vkBeautify
352
352
 
353
353
  Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
354
354
  Copyright:
355
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
355
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
356
356
  Isaac Z. Schlueter and Contributors
357
357
  License: Apache-2.0 and ISC
358
358
  Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
359
359
 
360
360
  Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
361
361
  Copyright:
362
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
362
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
363
363
  Arthur David Olson, Paul Eggert and other contributors
364
364
  License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
365
365
  Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
@@ -469,7 +469,7 @@ Comment: these files belong to: LESS
469
469
 
470
470
  Files: lib/jsdoc/ui5/plugin.js
471
471
  Copyright:
472
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
472
+ 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
473
473
  2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
474
474
  License: Apache-2.0
475
475
  Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
package/THIRDPARTY.txt CHANGED
@@ -185,7 +185,7 @@ License: Apache-2.0
185
185
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
186
186
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
187
187
 
188
- Component: Unicode Common Locale Data Repository, version: 35.1
188
+ Component: Unicode Common Locale Data Repository, version: 41
189
189
  Copyright: 1991-2014 Unicode, Inc.
190
190
  License: Unicode-DFS-2015
191
191
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
@@ -478,7 +478,7 @@ License: Apache-2.0
478
478
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
479
479
  Contained in: lib/jsdoc/ui5/plugin.js
480
480
 
481
- Component: SAP Theming Base Content, version: 11.1.44
481
+ Component: SAP Theming Base Content, version: 11.1.48
482
482
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
483
483
  License: Apache-2.0
484
484
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.integration",
3
- "version": "1.109.0",
3
+ "version": "1.111.0",
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.109.0",
18
- "@openui5/sap.f": "1.109.0"
17
+ "@openui5/sap.ui.core": "1.111.0",
18
+ "@openui5/sap.f": "1.111.0"
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-2022 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.109.0</version>
9
+ <version>1.111.0</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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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.109.0
31
+ * @version 1.111.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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.109.0
23
+ * @version 1.111.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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.109.0
27
+ * @version 1.111.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  },
49
49
 
50
50
  /**
51
- * The formatters, which can be used in the manifest.
51
+ * The formatters that can be used in the manifest.
52
52
  * @experimental since 1.79
53
53
  */
54
54
  formatters: {
@@ -122,24 +122,48 @@ sap.ui.define([
122
122
  if (this._oCard) {
123
123
  this._oCard._refreshActionsMenu();
124
124
  }
125
+
126
+ return this;
125
127
  };
126
128
 
127
129
  /**
128
- * See generated JSDoc
130
+ * Sets current value of property {@link #setFormatters formatters}.
131
+ *
132
+ * The formatters that can be used in the manifest.
133
+ * When called with a value of <code>null</code> or <code>undefined</code>, the default value of the property will be restored.
134
+ *
135
+ * @method
136
+ * @param {Object<string, function>} [aFormatters] New value of property <code>formatters</code>
137
+ * @returns {this} Reference to <code>this</code> in order to allow method chaining
138
+ * @public
139
+ * @name sap.ui.integration.Extension#setFormatters
129
140
  */
130
141
  Extension.prototype.setFormatters = function (aFormatters) {
131
142
  this.setProperty("formatters", aFormatters);
132
143
 
133
144
  if (!this._oCard) {
134
- return;
145
+ return this;
135
146
  }
136
147
 
137
148
  if (!this._oCard._bApplyManifest ||
138
149
  this._oCard.getAggregation("_extension") !== this) {
139
150
  Log.error("Extension formatters must be set before the initialization of the card. Do this inside Extension#init().");
140
151
  }
152
+
153
+ return this;
141
154
  };
142
155
 
156
+ /**
157
+ * Gets current value of property {@link #getFormatters formatters}.
158
+ *
159
+ * The formatters that can be used in the manifest.
160
+ *
161
+ * @method
162
+ * @returns {Object<string, function>|undefined} Value of property <code>formatters</code>
163
+ * @public
164
+ * @name sap.ui.integration.Extension#getFormatters
165
+ */
166
+
143
167
  /**
144
168
  * Called after the card is initialized.
145
169
  * @public
@@ -1,15 +1,17 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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([
7
7
  "sap/ui/integration/library",
8
- 'sap/ui/core/Element'
8
+ "sap/ui/core/Element",
9
+ "sap/ui/core/Configuration"
9
10
  ], function (library,
10
- Element) {
11
+ Element,
12
+ Configuration) {
11
13
  "use strict";
12
- /*global navigator*/
14
+ /*global navigator, URL*/
13
15
 
14
16
  /**
15
17
  * Constructor for a new <code>Host</code>.
@@ -25,7 +27,7 @@ sap.ui.define([
25
27
  * @extends sap.ui.core.Element
26
28
  *
27
29
  * @author SAP SE
28
- * @version 1.109.0
30
+ * @version 1.111.0
29
31
  *
30
32
  * @constructor
31
33
  * @public
@@ -173,6 +175,43 @@ sap.ui.define([
173
175
  }
174
176
  });
175
177
 
178
+ /**
179
+ * Sets a new value for property {@link #setResolveDestination resolveDestination}.
180
+ *
181
+ * A function that resolves the given destination name to a URL.
182
+
183
+ * The Card calls this function when it needs to send a request to a destination. Function returns the URL to which the request is sent.
184
+
185
+ * If a card depends on a destination, but this callback is not implemented, an error will be logged.
186
+
187
+ * The callback receives <code>destinationName</code> as parameter and returns a string with the URL. Or alternatively the callback may return a <code>Promise</code> with the URL as an argument.
188
+ *
189
+ * When called with a value of <code>null</code> or <code>undefined</code>, the default value of the property will be restored.
190
+ *
191
+ * @method
192
+ * @param {function(string, sap.ui.integration.widgets.Card): (string|Promise<string>)} [fnResolveDestination] New value for property <code>resolveDestination</code>
193
+ * @public
194
+ * @name sap.ui.integration.Host#setResolveDestination
195
+ * @returns {this} Reference to <code>this</code> in order to allow method chaining
196
+ */
197
+
198
+ /**
199
+ * Gets current value of property {@link #getResolveDestination resolveDestination}.
200
+ *
201
+ * A function that resolves the given destination name to a URL.
202
+ *
203
+ * The Card calls this function when it needs to send a request to a destination. Function returns the URL to which the request is sent.
204
+ *
205
+ * If a card depends on a destination, but this callback is not implemented, an error will be logged.
206
+ *
207
+ * The callback receives <code>destinationName</code> as parameter and returns a string with the URL. Or alternatively the callback may return a <code>Promise</code> with the URL as an argument.
208
+ *
209
+ * @method
210
+ * @returns {function(string, sap.ui.integration.widgets.Card): (string|Promise<string>)|undefined} Value of property <code>resolveDestination</code>
211
+ * @public
212
+ * @name sap.ui.integration.Host#getResolveDestination
213
+ */
214
+
176
215
  Host.prototype.init = function () {
177
216
  this._handlePostMessageBound = this._handlePostMessage.bind(this);
178
217
  };
@@ -182,8 +221,7 @@ sap.ui.define([
182
221
  *
183
222
  * @param {string} sDestinationName The name of the destination.
184
223
  * @param {sap.ui.integration.widgets.Card} oCard The card that depends on the destination.
185
- * Most often the name which is used in the SAP Cloud Platform.
186
- * @returns {Promise} A promise which resolves with the URL of the destination.
224
+ * @returns {Promise<string>} A promise which resolves with the URL of the destination.
187
225
  *
188
226
  * @public
189
227
  */
@@ -211,8 +249,8 @@ sap.ui.define([
211
249
  /**
212
250
  * Resolves the CSRF token and returns a Promise with its value.
213
251
  *
214
- * @param {object} mCSRFTokenConfig The CSRF token configuration.
215
- * @returns {Promise} A promise which resolves the CSRF token to its value.
252
+ * @param {{data: object}} mCSRFTokenConfig The CSRF token configuration.
253
+ * @returns {Promise<string>} A promise which resolves the CSRF token to its value.
216
254
  * @experimental since 1.97
217
255
  * @abstract
218
256
  * @public
@@ -222,11 +260,12 @@ sap.ui.define([
222
260
  };
223
261
 
224
262
  /**
225
- * This functions is called when a CSRF token is fetched.
263
+ * This function is called when a CSRF token is fetched.
226
264
  *
227
- * @param {object} mCSRFTokenConfig The CSRF token configuration.
228
- * @param {Promise} pCSRFTokenValuePromise A promise which resolves the CSRF token to its value.
265
+ * @param {{data: object}} mCSRFTokenConfig The CSRF token configuration.
266
+ * @param {Promise<string>} pCSRFTokenValuePromise A promise which resolves the CSRF token to its value.
229
267
  * @experimental since 1.97
268
+ * @abstract
230
269
  * @public
231
270
  */
232
271
  Host.prototype.csrfTokenFetched = function (mCSRFTokenConfig, pCSRFTokenValuePromise) {
@@ -234,10 +273,11 @@ sap.ui.define([
234
273
  };
235
274
 
236
275
  /**
237
- * This functions is called when a CSRF token has expired.
276
+ * This function is called when a CSRF token has expired.
238
277
  *
239
- * @param {object} mCSRFTokenConfig The CSRF token configuration.
278
+ * @param {{data: object}} mCSRFTokenConfig The CSRF token configuration.
240
279
  * @experimental since 1.97
280
+ * @abstract
241
281
  * @public
242
282
  */
243
283
  Host.prototype.csrfTokenExpired = function (mCSRFTokenConfig) {
@@ -271,7 +311,7 @@ sap.ui.define([
271
311
  * }
272
312
  *
273
313
  * @param {string} sPath The path to a context
274
- * @returns {Promise} A promise which resolves with the value of this context.
314
+ * @returns {Promise<null>} A promise which resolves with the value of this context.
275
315
  * @since 1.83
276
316
  *
277
317
  * @public
@@ -290,7 +330,7 @@ sap.ui.define([
290
330
  * "name": "DestinationName"
291
331
  * }
292
332
  *
293
- * @returns {Promise} A promise which resolves with the list of destinations.
333
+ * @returns {Promise<object[]>} A promise which resolves with the list of destinations.
294
334
  * @since 1.83
295
335
  *
296
336
  * @public
@@ -320,7 +360,7 @@ sap.ui.define([
320
360
  *
321
361
  * The context information and texts should be translated as they appear in the design-time UI of the Card Editor.
322
362
  *
323
- * @returns {Promise} A promise which contains the context structure.
363
+ * @returns {Promise<object>} A promise which contains the context structure.
324
364
  * @since 1.83
325
365
  * @public
326
366
  */
@@ -351,7 +391,7 @@ sap.ui.define([
351
391
  };
352
392
 
353
393
  /**
354
- * Modify request headers before sending a data request.
394
+ * Modifies the card HTTP data request headers before sending.
355
395
  * Override if you need to change the default headers behavior, including cache headers.
356
396
  * @param {map} mHeaders The current map of headers.
357
397
  * @param {map} mSettings The map of request settings defined in the card manifest.
@@ -369,6 +409,31 @@ sap.ui.define([
369
409
  return mHeaders;
370
410
  };
371
411
 
412
+ /**
413
+ * Modifies the card HTTP data request before sending.
414
+ * Override if you need to change the default data request behavior.
415
+ * @param {map} mRequest The current request. In format for jQuery.ajax function.
416
+ * @param {map} mSettings The map of request settings defined in the card manifest.
417
+ * @param {sap.ui.integration.widgets.Card} [oCard] Optional. The card for which the request is made.
418
+ * @returns {map} The modified request.
419
+ * @private
420
+ * @ui5-restricted
421
+ * @experimental Since 1.109. The API might change.
422
+ */
423
+ Host.prototype.modifyRequest = function (mRequest, mSettings, oCard) {
424
+ var oUrl;
425
+
426
+ if (Configuration.getStatisticsEnabled()) {
427
+ oUrl = new URL(mRequest.url, window.location.href);
428
+
429
+ // add statistics parameter to every request (supported only on Gateway servers)
430
+ oUrl.searchParams.set("sap-statistics", "true");
431
+ mRequest.url = oUrl.href;
432
+ }
433
+
434
+ return mRequest;
435
+ };
436
+
372
437
  /**
373
438
  * @private
374
439
  * @param {map} mHeaders The current map of headers.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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([
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.integration.cards.BaseContent
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.109.0
40
+ * @version 1.111.0
41
41
  *
42
42
  * @constructor
43
43
  * @private
@@ -66,13 +66,6 @@ sap.ui.define([
66
66
  this.setComponentsReady(false);
67
67
  this._bAdaptiveCardElementsReady = false;
68
68
  this._setupCardContent();
69
-
70
- Core.attachThemeChanged(function () {
71
- if (this.getDomRef()) {
72
- this._adjustHostConfig();
73
- this.invalidate();
74
- }
75
- }.bind(this));
76
69
  };
77
70
 
78
71
  AdaptiveContent.prototype.onAfterRendering = function () {
@@ -176,6 +169,13 @@ sap.ui.define([
176
169
  return this._oCardConfig;
177
170
  };
178
171
 
172
+ AdaptiveContent.prototype.onThemeChanged = function () {
173
+ if (this.getDomRef() && AdaptiveCards) {
174
+ this._adjustHostConfig();
175
+ this.invalidate();
176
+ }
177
+ };
178
+
179
179
  /**
180
180
  * Processes the markdown only if enableMarkdown is set to true
181
181
  *
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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.109.0
91
+ * @version 1.111.0
92
92
  *
93
93
  * @constructor
94
94
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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.109.0
33
+ * @version 1.111.0
34
34
  *
35
35
  * @constructor
36
36
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @extends sap.ui.core.Control
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.109.0
60
+ * @version 1.111.0
61
61
  *
62
62
  * @constructor
63
63
  * @private
@@ -658,9 +658,10 @@ sap.ui.define([
658
658
 
659
659
  /**
660
660
  * @private
661
- * @ui5-restricted
662
- */
663
- BaseContent.prototype.validateControls = function () { };
661
+ * @ui5-restricted sap.ui.integration
662
+ * @param {boolean} bShowValueState Defines if the input controls should display their value state
663
+ */
664
+ BaseContent.prototype.validateControls = function (bShowValueState) { };
664
665
 
665
666
  BaseContent.prototype.getCardInstance = function () {
666
667
  return Core.byId(this.getCard());
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 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-2022 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.integration.cards.BaseContent
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.109.0
34
+ * @version 1.111.0
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -102,7 +102,11 @@ sap.ui.define([
102
102
  return;
103
103
  }
104
104
 
105
- iNumberOfItems = this.getInnerList().getItems().length;
105
+ if (this.getInnerList().getItems) {
106
+ iNumberOfItems = this.getInnerList().getItems().length; // for the List and Table cards
107
+ } else {
108
+ iNumberOfItems = this.getInnerList().getContent().length; // for the Timeline card
109
+ }
106
110
 
107
111
  iNewMinItems = Math.max(oLoadingPlaceholder.getMinItems(), iNumberOfItems);
108
112
  oLoadingPlaceholder.setMinItems(iNewMinItems);