@openui5/sap.ui.fl 1.96.2 → 1.98.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 (234) hide show
  1. package/.reuse/dep5 +26 -31
  2. package/THIRDPARTY.txt +15 -21
  3. package/package.json +3 -3
  4. package/src/sap/ui/fl/.library +2 -2
  5. package/src/sap/ui/fl/Cache.js +2 -2
  6. package/src/sap/ui/fl/Change.js +5 -219
  7. package/src/sap/ui/fl/ChangePersistence.js +28 -28
  8. package/src/sap/ui/fl/ChangePersistenceFactory.js +5 -3
  9. package/src/sap/ui/fl/EventHistory.js +2 -2
  10. package/src/sap/ui/fl/FakeLrepConnector.js +1 -1
  11. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +2 -2
  12. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +2 -2
  13. package/src/sap/ui/fl/FakeLrepLocalStorage.js +2 -2
  14. package/src/sap/ui/fl/FlexController.js +37 -19
  15. package/src/sap/ui/fl/FlexControllerFactory.js +14 -8
  16. package/src/sap/ui/fl/Layer.js +1 -1
  17. package/src/sap/ui/fl/LayerUtils.js +2 -2
  18. package/src/sap/ui/fl/PreprocessorImpl.js +7 -5
  19. package/src/sap/ui/fl/RegistrationDelegator.js +2 -2
  20. package/src/sap/ui/fl/Utils.js +35 -309
  21. package/src/sap/ui/fl/Variant.js +2 -116
  22. package/src/sap/ui/fl/XmlPreprocessorImpl.js +15 -14
  23. package/src/sap/ui/fl/apply/_internal/ChangesController.js +1 -1
  24. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +3 -3
  25. package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -1
  26. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +1 -1
  27. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +2 -2
  28. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +1 -1
  29. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +2 -2
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +2 -2
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory.js +1 -1
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyUtil.js +1 -1
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +2 -2
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +4 -3
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +2 -2
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +2 -2
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +2 -2
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +2 -2
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +2 -2
  40. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +2 -2
  41. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +2 -2
  42. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +2 -2
  43. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +2 -2
  44. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +2 -2
  45. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +2 -2
  46. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +2 -2
  47. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +2 -2
  48. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +2 -2
  49. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +2 -2
  50. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -2
  51. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +1 -1
  52. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +2 -2
  53. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +267 -265
  54. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +40 -10
  55. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +2 -2
  56. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +16 -11
  57. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +2 -2
  58. package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +2 -2
  59. package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +1 -1
  60. package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +1 -1
  61. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +5 -5
  62. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +16 -17
  63. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +22 -23
  64. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
  65. package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +2 -2
  66. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +2 -2
  67. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +2 -2
  68. package/src/sap/ui/fl/apply/_internal/flexState/changes/prepareChangesMap.js +1 -1
  69. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +3 -3
  70. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/Utils.js +1 -1
  71. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +3 -3
  72. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +3 -5
  73. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +23 -25
  74. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/prepareVariantsMap.js +8 -2
  75. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +87 -7
  76. package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +2 -2
  77. package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +72 -10
  78. package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +13 -2
  79. package/src/sap/ui/fl/apply/api/UI2PersonalizationApplyAPI.js +1 -1
  80. package/src/sap/ui/fl/changeHandler/AddIFrame.js +2 -2
  81. package/src/sap/ui/fl/changeHandler/AddXML.js +2 -2
  82. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +2 -2
  83. package/src/sap/ui/fl/changeHandler/Base.js +2 -2
  84. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +2 -2
  85. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +2 -2
  86. package/src/sap/ui/fl/changeHandler/BaseRename.js +2 -2
  87. package/src/sap/ui/fl/changeHandler/BaseTreeModifier.js +1 -1
  88. package/src/sap/ui/fl/changeHandler/HideControl.js +2 -2
  89. package/src/sap/ui/fl/changeHandler/JsControlTreeModifier.js +1 -1
  90. package/src/sap/ui/fl/changeHandler/MoveControls.js +2 -2
  91. package/src/sap/ui/fl/changeHandler/MoveElements.js +2 -2
  92. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +2 -2
  93. package/src/sap/ui/fl/changeHandler/PropertyChange.js +2 -2
  94. package/src/sap/ui/fl/changeHandler/StashControl.js +2 -2
  95. package/src/sap/ui/fl/changeHandler/UnhideControl.js +2 -2
  96. package/src/sap/ui/fl/changeHandler/UnstashControl.js +2 -2
  97. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +2 -2
  98. package/src/sap/ui/fl/changeHandler/XmlTreeModifier.js +1 -1
  99. package/src/sap/ui/fl/changeHandler/common/createIFrame.js +1 -1
  100. package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +1 -1
  101. package/src/sap/ui/fl/changeHandler/common/revertAddedControls.js +1 -1
  102. package/src/sap/ui/fl/codeExt/CodeExtManager.js +17 -11
  103. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +5 -5
  104. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +2 -2
  105. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +2 -2
  106. package/src/sap/ui/fl/descriptorRelated/internal/Utils.js +1 -1
  107. package/src/sap/ui/fl/designtime/library.designtime.js +1 -1
  108. package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +1 -1
  109. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +10 -3
  110. package/src/sap/ui/fl/initial/_internal/Storage.js +2 -2
  111. package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +2 -2
  112. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +2 -2
  113. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +1 -1
  114. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +1 -1
  115. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +2 -2
  116. package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +2 -2
  117. package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +1 -1
  118. package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +17 -7
  119. package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +1 -1
  120. package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +1 -1
  121. package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +1 -1
  122. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +5 -6
  123. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +2 -2
  124. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +2 -2
  125. package/src/sap/ui/fl/interfaces/Delegate.js +2 -2
  126. package/src/sap/ui/fl/library.js +12 -12
  127. package/src/sap/ui/fl/library.support.js +1 -1
  128. package/src/sap/ui/fl/messagebundle_en_US_sappsd.properties +19 -2
  129. package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +2 -35
  130. package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +19 -2
  131. package/src/sap/ui/fl/messagebundle_ro.properties +1 -1
  132. package/src/sap/ui/fl/registry/Settings.js +26 -17
  133. package/src/sap/ui/fl/requireAsync.js +1 -1
  134. package/src/sap/ui/fl/support/Flexibility.js +84 -73
  135. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +59 -0
  136. package/src/sap/ui/fl/support/api/SupportAPI.js +28 -0
  137. package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +1 -1
  138. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +14 -14
  139. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +9 -9
  140. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +10 -10
  141. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +4 -4
  142. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +52 -53
  143. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +130 -126
  144. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +2 -2
  145. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/Component.js +1 -1
  146. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/controller/Root.controller.js +1 -3
  147. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/helper/Extractor.js +4 -15
  148. package/src/sap/ui/fl/support/diagnostics/Flexibility.controller.js +2 -2
  149. package/src/sap/ui/fl/themes/base/library.source.less +1 -1
  150. package/src/sap/ui/fl/themes/sap_hcb/library.source.less +1 -1
  151. package/src/sap/ui/fl/transport/TransportDialog.js +1 -1
  152. package/src/sap/ui/fl/transport/TransportSelection.js +2 -2
  153. package/src/sap/ui/fl/util/DescriptorChangeCheck.js +3 -5
  154. package/src/sap/ui/fl/util/IFrame.flexibility.js +1 -1
  155. package/src/sap/ui/fl/util/IFrame.js +2 -2
  156. package/src/sap/ui/fl/util/IFrameRenderer.js +1 -1
  157. package/src/sap/ui/fl/util/ManagedObjectModel.js +2 -2
  158. package/src/sap/ui/fl/util/changePropertyValueByPath.js +1 -1
  159. package/src/sap/ui/fl/util/getContainerUserInfo.js +1 -1
  160. package/src/sap/ui/fl/util/resolveBinding.js +2 -2
  161. package/src/sap/ui/fl/variants/VariantManagement.js +3 -2
  162. package/src/sap/ui/fl/variants/VariantModel.js +6 -46
  163. package/src/sap/ui/fl/variants/context/Component.js +1 -1
  164. package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +13 -3
  165. package/src/sap/ui/fl/write/_internal/SaveAs.js +1 -1
  166. package/src/sap/ui/fl/write/_internal/Storage.js +34 -2
  167. package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +2 -2
  168. package/src/sap/ui/fl/write/_internal/Versions.js +18 -19
  169. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +2 -2
  170. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +2 -2
  171. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
  172. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +25 -2
  173. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +4 -3
  174. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +2 -2
  175. package/src/sap/ui/fl/write/_internal/condenser/Utils.js +1 -1
  176. package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +1 -1
  177. package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +1 -1
  178. package/src/sap/ui/fl/write/_internal/condenser/classifications/LastOneWins.js +1 -1
  179. package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +1 -1
  180. package/src/sap/ui/fl/write/_internal/condenser/classifications/Reverse.js +1 -1
  181. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +5 -5
  182. package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +1 -1
  183. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +50 -26
  184. package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +1 -1
  185. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +60 -3
  186. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +2 -2
  187. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +2 -2
  188. package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +1 -1
  189. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +2 -2
  190. package/src/sap/ui/fl/write/_internal/connectors/SessionStorageConnector.js +1 -1
  191. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +2 -2
  192. package/src/sap/ui/fl/write/_internal/delegates/ODataV4ReadDelegate.js +1 -1
  193. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +2 -2
  194. package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +2 -2
  195. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +5 -5
  196. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +2 -2
  197. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +2 -2
  198. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +2 -2
  199. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +2 -2
  200. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +2 -2
  201. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +2 -2
  202. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +2 -2
  203. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +2 -2
  204. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +3 -3
  205. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +1 -1
  206. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
  207. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +2 -2
  208. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +2 -2
  209. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +1 -1
  210. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +22 -7
  211. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +6 -5
  212. package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +6 -8
  213. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +7 -6
  214. package/src/sap/ui/fl/write/_internal/transport/Transports.js +2 -3
  215. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +1 -1
  216. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +1 -1
  217. package/src/sap/ui/fl/write/api/ContextSharingAPI.js +1 -1
  218. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +125 -14
  219. package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +1 -1
  220. package/src/sap/ui/fl/write/api/FeaturesAPI.js +6 -2
  221. package/src/sap/ui/fl/write/api/FieldExtensibility.js +8 -4
  222. package/src/sap/ui/fl/write/api/LocalResetAPI.js +1 -1
  223. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +43 -4
  224. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +5 -5
  225. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +1 -1
  226. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +3 -1
  227. package/src/sap/ui/fl/write/api/TranslationAPI.js +102 -0
  228. package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
  229. package/src/sap/ui/fl/write/api/VersionsAPI.js +2 -2
  230. package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +1 -1
  231. package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +3 -2
  232. package/src/sap/ui/fl/write/connectors/BaseConnector.js +31 -1
  233. package/ui5.yaml +132 -1
  234. package/src/sap/ui/fl/ControlPersonalizationAPI.js +0 -479
@@ -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
 
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
13
13
  * @constructor
14
14
  * @alias sap.ui.fl.support.apps.contentbrowser.lrepConnector.LRepConnector
15
15
  * @author SAP SE
16
- * @version 1.96.2
16
+ * @version 1.98.0
17
17
  * @experimental Since 1.45
18
18
  */
19
19
  var LrepConnector = {};
@@ -25,11 +25,11 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
25
25
  /**
26
26
  * Gets content from the layered repository.
27
27
  *
28
- * @param {String} sLayer - determines the layer for obtaining the content
29
- * @param {String} sContentSuffix - namespace plus filename and file type of content
30
- * @param {boolean} bReadContextMetadata - read content plus metadata information
31
- * @param {boolean} bReadRuntimeContext - gets the content in runtime instead of design time
32
- * @param {boolean} bRequestAsText - gets content data as plain text
28
+ * @param {string} sLayer - Determines the layer for obtaining the content
29
+ * @param {string} sContentSuffix - Namespace plus filename and file type of content
30
+ * @param {boolean} bReadContextMetadata - Read content plus metadata information
31
+ * @param {boolean} bReadRuntimeContext - Gets the content in runtime instead of design time
32
+ * @param {boolean} bRequestAsText - Gets content data as plain text
33
33
  * @returns {Promise} Promise of GET content request to the back end
34
34
  * @public
35
35
  */
@@ -51,13 +51,13 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
51
51
  /**
52
52
  * Saves a file to the layered repository.
53
53
  *
54
- * @param {String} sLayer - determines the layer for saving the content
55
- * @param {String} sNamespace - namespace of the file
56
- * @param {String} sFilename - name of the file
57
- * @param {String} sFileType - type of the file
58
- * @param {String} sContent - content of the file saved to the layered repository
59
- * @param [String] sTransportId - id of an ABAP transport or ATO_NOTIFICATION
60
- * @param [String] sPackageName - name of an ABAP package
54
+ * @param {string} sLayer - Determines the layer for saving the content
55
+ * @param {string} sNamespace - Namespace of the file
56
+ * @param {string} sFilename - Name of the file
57
+ * @param {string} sFileType - Type of the file
58
+ * @param {string} sContent - Content of the file saved to the layered repository
59
+ * @param {string} sTransportId - ID of an ABAP transport or ATO_NOTIFICATION
60
+ * @param {string} sPackageName - Name of an ABAP package
61
61
  * @returns {Promise} Promise of the SAVE content request to the back end
62
62
  * @public
63
63
  */
@@ -80,11 +80,11 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
80
80
  /**
81
81
  * Deletes a file from the layered repository.
82
82
  *
83
- * @param {String} sLayer - determines the layer for deleting the content
84
- * @param {String} sNamespace - namespace of the file
85
- * @param {String} sFileName - name of the file
86
- * @param {String} sFileType - type of the file
87
- * @param [String] sTransportId - id of the ABAP transport or ATO_NOTIFICATION
83
+ * @param {string} sLayer - Determines the layer for deleting the content
84
+ * @param {string} sNamespace - Namespace of the file
85
+ * @param {string} sFileName - Name of the file
86
+ * @param {string} sFileType - Type of the file
87
+ * @param {string} sTransportId - ID of the ABAP transport or ATO_NOTIFICATION
88
88
  * @returns {Promise} Promise of DELETE content request to the back end
89
89
  * @public
90
90
  */
@@ -141,8 +141,8 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
141
141
  /**
142
142
  * Get layer suffix for request URL;
143
143
  * If all layers are selected, the layer suffix is empty.
144
- * @param {String} sLayer - normal layer plus 'All'
145
- * @returns {String} correct layer suffix
144
+ * @param {string} sLayer - Normal layer plus 'All'
145
+ * @returns {string} Correct layer suffix
146
146
  * @private
147
147
  */
148
148
  LrepConnector._getLayerSuffix = function (sLayer) {
@@ -154,8 +154,8 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
154
154
 
155
155
  /**
156
156
  * Get changelist suffix for request URL;
157
- * @param {String} sChangeList - transport id
158
- * @returns {String} correct changelist suffix
157
+ * @param {string} sChangeList - Transport ID
158
+ * @returns {string} Correct changelist suffix
159
159
  * @private
160
160
  */
161
161
  LrepConnector._getChangeListSuffix = function (sChangeList) {
@@ -164,8 +164,8 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
164
164
 
165
165
  /**
166
166
  * Get package suffix for request URL;
167
- * @param {String} sPackage - package name
168
- * @returns {String} correct package suffix
167
+ * @param {string} sPackage - Package name
168
+ * @returns {string} Correct package suffix
169
169
  * @private
170
170
  */
171
171
  LrepConnector._getPackageSuffix = function (sPackage) {
@@ -175,10 +175,10 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
175
175
  /**
176
176
  * Get context suffix for request URL.
177
177
  *
178
- * @param {String} sLayerSuffix - layer suffix based on selected layer
179
- * @param {boolean} bReadRuntimeContext - gets content in runtime instead of design time
180
- * @param {boolean} bReadContextMetadata - reads content plus metadata information
181
- * @returns {String} correct context suffix for URL request
178
+ * @param {string} sLayerSuffix - Layer suffix based on selected layer
179
+ * @param {boolean} bReadRuntimeContext - Gets content in runtime instead of design time
180
+ * @param {boolean} bReadContextMetadata - Reads content plus metadata information
181
+ * @returns {string} Correct context suffix for URL request
182
182
  * @private
183
183
  */
184
184
  LrepConnector._getContextSuffix = function (sLayerSuffix, bReadRuntimeContext, bReadContextMetadata) {
@@ -197,9 +197,9 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
197
197
  /**
198
198
  * Reports an error during back-end request.
199
199
  *
200
- * @param {Object} oJqXHR - "jqXHR " object which is returned from ajax request
201
- * @param {String} sTextStatus - status text of the error
202
- * @param {Object} oErrorThrown - object which containing the error description
200
+ * @param {object} oJqXHR - <code>jqXHR</code> object which is returned from ajax request
201
+ * @param {string} sTextStatus - Status text of the error
202
+ * @param {object} oErrorThrown - Object that contains the error description
203
203
  * @private
204
204
  */
205
205
  LrepConnector._reportError = function (oJqXHR, sTextStatus, oErrorThrown) {
@@ -211,10 +211,10 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
211
211
  /**
212
212
  * Sends a GET content request to the back end.
213
213
  *
214
- * @param {String} sUrl - request URL
215
- * @param {Function} fnResolve - callback function if request was resolved
216
- * @param {Function} fnReject - callback function if request was rejected
217
- * @param {boolean} bRequestAsText - sends ajax request with data type as plain text
214
+ * @param {string} sUrl - Request URL
215
+ * @param {function} fnResolve - Callback function if request was resolved
216
+ * @param {function} fnReject - Callback function if request was rejected
217
+ * @param {boolean} bRequestAsText - Sends ajax request with data type as plain text
218
218
  * @private
219
219
  */
220
220
  LrepConnector._sendContentRequest = function (sUrl, fnResolve, fnReject, bRequestAsText) {
@@ -239,11 +239,10 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
239
239
  /**
240
240
  * Gets the token and sends an updating request.
241
241
  *
242
- * @param {String} sUrl - request URL
243
- * @param {Object} oData - data for PUT request
244
- * @param {Function} fnResolve - callback function if request was resolved
245
- * @param {Function} fnReject - callback function if request was rejected
246
- * @param {Function} fnReject - callback function if request was rejected
242
+ * @param {string} sUrl - Request URL
243
+ * @param {object} oData - Data for PUT request
244
+ * @param {function} fnResolve - Callback function if request was resolved
245
+ * @param {function} fnReject - Callback function if request was rejected
247
246
  * @private
248
247
  */
249
248
  LrepConnector._getTokenAndSendPutRequest = function (sUrl, oData, fnResolve, fnReject) {
@@ -256,11 +255,11 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
256
255
  /**
257
256
  * Sends PUT content request to the back end.
258
257
  *
259
- * @param {Object} oXcsrfToken - token object
260
- * @param {String} sUrl - request URL
261
- * @param {Object} oData - data of PUT request
262
- * @param {Function} fnResolve - callback function if request was resolved
263
- * @param {Function} fnReject - callback function if request was rejected
258
+ * @param {object} oXcsrfToken - Token object
259
+ * @param {string} sUrl - Request URL
260
+ * @param {object} oData - Data of PUT request
261
+ * @param {function} fnResolve - Callback function if request was resolved
262
+ * @param {function} fnReject - Callback function if request was rejected
264
263
  * @private
265
264
  */
266
265
  LrepConnector._sendPutRequest = function (oXcsrfToken, sUrl, oData, fnResolve, fnReject) {
@@ -286,9 +285,9 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
286
285
  /**
287
286
  * Gets token and sends DELETE content request to the back end.
288
287
  *
289
- * @param {String} sUrl - request URL
290
- * @param {Function} fnResolve - callback function if request was resolved
291
- * @param {Function} fnReject - callback function if request was rejected
288
+ * @param {string} sUrl - Request URL
289
+ * @param {function} fnResolve - Callback function if request was resolved
290
+ * @param {function} fnReject - Callback function if request was rejected
292
291
  * @private
293
292
  */
294
293
  LrepConnector._getTokenAndSendDeletionRequest = function (sUrl, fnResolve, fnReject) {
@@ -301,10 +300,10 @@ sap.ui.define(["sap/ui/fl/Utils", "sap/ui/thirdparty/jquery"], function(Utils, j
301
300
  /**
302
301
  * Sends DELETE request to the back end.
303
302
  *
304
- * @param {Object} oXcsrfToken - token object
305
- * @param {String} sUrl - request URL
306
- * @param {Function} fnResolve - callback function if request was resolved
307
- * @param {Function} fnReject - callback function if request was rejected
303
+ * @param {object} oXcsrfToken - Token object
304
+ * @param {string} sUrl - Request URL
305
+ * @param {function} fnResolve - Callback function if request was resolved
306
+ * @param {function} fnReject - Callback function if request was rejected
308
307
  * @private
309
308
  */
310
309
  LrepConnector._sendDeletionRequest = function (oXcsrfToken, sUrl, fnResolve, fnReject) {
@@ -1,146 +1,150 @@
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(["sap/m/GroupHeaderListItem", "sap/ui/thirdparty/jquery"],
8
- function(GroupHeaderListItem, jQuery) {
9
- "use strict";
7
+ sap.ui.define([
8
+ "sap/m/GroupHeaderListItem",
9
+ "sap/ui/thirdparty/jquery"
10
+ ], function(
11
+ GroupHeaderListItem,
12
+ jQuery
13
+ ) {
14
+ "use strict";
15
+
16
+ /**
17
+ * Provides data utility functions for the Content Browser.
18
+ *
19
+ * @constructor
20
+ * @alias sap.ui.fl.support.apps.contentbrowser.utils.DataUtils
21
+ * @author SAP SE
22
+ * @version 1.98.0
23
+ * @experimental Since 1.45
24
+ */
25
+ var DataUtils = {
26
+ aExcludeList: [{
27
+ category: "NS",
28
+ name: "LREP_HOME_CONTENT",
29
+ ns: "UIF/"
30
+ }, {
31
+ category: "NS",
32
+ name: "virtual~",
33
+ ns: "/"
34
+ }],
10
35
 
11
36
  /**
12
- * Provides data utility functions for the Content Browser.
37
+ * Pretty printer for specific file types.
13
38
  *
14
- * @constructor
15
- * @alias sap.ui.fl.support.apps.contentbrowser.utils.DataUtils
16
- * @author SAP SE
17
- * @version 1.96.2
18
- * @experimental Since 1.45
39
+ * @param {Object} oData - Data to be formatted
40
+ * @param {String} sFileType - File type of data
41
+ * @returns {Object} Data after formatting
42
+ * @public
19
43
  */
20
- var DataUtils = {
21
- aExcludeList: [{
22
- category: "NS",
23
- name: "LREP_HOME_CONTENT",
24
- ns: "UIF/"
25
- }, {
26
- category: "NS",
27
- name: "virtual~",
28
- ns: "/"
29
- }],
30
-
31
- /**
32
- * Pretty printer for specific file types.
33
- *
34
- * @param {Object} oData - data to be formatted
35
- * @param {String} sFileType - file type of data
36
- * @returns {Object} oData - data after formatting
37
- * @public
38
- */
39
- formatData: function (oData, sFileType) {
40
- // code extension and properties files do not need formation
41
- if ((sFileType === "js") || (sFileType === "properties")) {
42
- return oData;
43
- }
44
- // other files should be formatted to JSON
45
- try {
46
- oData = JSON.parse(oData);
47
- return JSON.stringify(oData, null, '\t');
48
- } catch (oError) {
49
- var ErrorUtils = sap.ui.require("sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils");
50
- ErrorUtils.displayError("Error", oError.name, oError.message);
51
- return oData;
52
- }
53
- },
54
-
55
- /**
56
- * Factory for creating list group header objects for the metadata list.
57
- * @param {Object} oGroup - group data passed from the lists model binding
58
- * @returns {sap.m.GroupHeaderListItem}
59
- * @public
60
- */
61
- getGroupHeader: function (oGroup) {
62
- var sTitle = "{i18n>systemData}";
44
+ formatData: function (oData, sFileType) {
45
+ // code extension and properties files do not need formation
46
+ if ((sFileType === "js") || (sFileType === "properties")) {
47
+ return oData;
48
+ }
49
+ // other files should be formatted to JSON
50
+ try {
51
+ oData = JSON.parse(oData);
52
+ return JSON.stringify(oData, null, '\t');
53
+ } catch (oError) {
54
+ var ErrorUtils = sap.ui.require("sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils");
55
+ ErrorUtils.displayError("Error", oError.name, oError.message);
56
+ return oData;
57
+ }
58
+ },
63
59
 
64
- if (oGroup.key === "custom") {
65
- sTitle = "{i18n>externalReferences}";
66
- }
60
+ /**
61
+ * Factory for creating list group header objects for the metadata list.
62
+ * @param {Object} oGroup - Group data passed from the lists model binding
63
+ * @returns {sap.m.GroupHeaderListItem} New GroupHeaderListItem
64
+ * @public
65
+ */
66
+ getGroupHeader: function (oGroup) {
67
+ var sTitle = "{i18n>systemData}";
67
68
 
68
- return new GroupHeaderListItem({
69
- title: sTitle,
70
- upperCase: false
71
- });
72
- },
69
+ if (oGroup.key === "custom") {
70
+ sTitle = "{i18n>externalReferences}";
71
+ }
73
72
 
74
- /**
75
- * Verifies if item content is not in the exclude list.
76
- * @param {Object} oContentItem - content item needs to be verified
77
- * @returns {boolean} - <code>true</code> if the item is not excluded
78
- * @public
79
- */
80
- isNotExcluded: function (oContentItem) {
81
- var bNotExcluded = true;
82
- jQuery.each(this.aExcludeList, function (index, mExcludeListElement) {
83
- var bAllPropertiesMatched = true;
73
+ return new GroupHeaderListItem({
74
+ title: sTitle,
75
+ upperCase: false
76
+ });
77
+ },
84
78
 
85
- jQuery.each(mExcludeListElement, function (sProperty, sValue) {
86
- bAllPropertiesMatched = bAllPropertiesMatched && oContentItem[sProperty] === sValue;
87
- });
79
+ /**
80
+ * Verifies if item content is not in the exclude list.
81
+ * @param {Object} oContentItem - Content item needs to be verified
82
+ * @returns {boolean} <code>true</code> if the item is not excluded
83
+ * @public
84
+ */
85
+ isNotExcluded: function (oContentItem) {
86
+ var bNotExcluded = true;
87
+ jQuery.each(this.aExcludeList, function (index, mExcludeListElement) {
88
+ var bAllPropertiesMatched = true;
88
89
 
89
- if (bAllPropertiesMatched) {
90
- bNotExcluded = false;
91
- return false; // break each
92
- }
90
+ jQuery.each(mExcludeListElement, function (sProperty, sValue) {
91
+ bAllPropertiesMatched = bAllPropertiesMatched && oContentItem[sProperty] === sValue;
93
92
  });
94
- return bNotExcluded;
95
- },
96
93
 
97
- /**
98
- * Removes leading and trailing slashes from a string.
99
- * @param {String} sNamespace - input string
100
- * @returns {String} - string after removing leading and trailing slashes
101
- * @public
102
- */
103
- cleanLeadingAndTrailingSlashes: function (sNamespace) {
104
- if (!sNamespace) {
105
- return "";
94
+ if (bAllPropertiesMatched) {
95
+ bNotExcluded = false;
96
+ return false; // break each
106
97
  }
107
- if (sNamespace[0] === "/") {
108
- var sNamespaceWithoutLeadingSlash = sNamespace.substring(1, sNamespace.length);
109
- return this.cleanLeadingAndTrailingSlashes(sNamespaceWithoutLeadingSlash);
110
- }
111
- if (sNamespace[sNamespace.length - 1] === "/") {
112
- var sNamespaceWithoutTrailingSlash = sNamespace.substring(0, sNamespace.length - 1);
113
- return this.cleanLeadingAndTrailingSlashes(sNamespaceWithoutTrailingSlash);
114
- }
115
- return sNamespace;
116
- },
98
+ });
99
+ return bNotExcluded;
100
+ },
117
101
 
118
- /**
119
- * Title formatter: combines the items namespace, filename and type.
120
- * @param {object} mModelData
121
- * @param {string} mModelData.namespace
122
- * @param {string} mModelData.fileName
123
- * @param {string} mModelData.fileType
124
- * @returns {string} - item title after formatting
125
- * @public
126
- */
127
- formatItemTitle: function (mModelData) {
128
- return mModelData.namespace + mModelData.fileName + "." + mModelData.fileType;
129
- },
130
-
131
- /**
132
- * Helper function to determine if a file ends with a specified suffix.
133
- *
134
- * @param {string} sString - string that has to be checked
135
- * @param {string} sSuffix - suffix
136
- * @returns {boolean} <code>true</code> if the passed suffix is the last part of the passed string
137
- * @public
138
- */
139
- endsStringWith: function (sString, sSuffix) {
140
- return sString.indexOf(sSuffix, sString.length - sSuffix.length) !== -1;
102
+ /**
103
+ * Removes leading and trailing slashes from a string.
104
+ * @param {String} sNamespace - Input string
105
+ * @returns {String} String after removing leading and trailing slashes
106
+ * @public
107
+ */
108
+ cleanLeadingAndTrailingSlashes: function (sNamespace) {
109
+ if (!sNamespace) {
110
+ return "";
111
+ }
112
+ if (sNamespace[0] === "/") {
113
+ var sNamespaceWithoutLeadingSlash = sNamespace.substring(1, sNamespace.length);
114
+ return this.cleanLeadingAndTrailingSlashes(sNamespaceWithoutLeadingSlash);
115
+ }
116
+ if (sNamespace[sNamespace.length - 1] === "/") {
117
+ var sNamespaceWithoutTrailingSlash = sNamespace.substring(0, sNamespace.length - 1);
118
+ return this.cleanLeadingAndTrailingSlashes(sNamespaceWithoutTrailingSlash);
141
119
  }
142
- };
120
+ return sNamespace;
121
+ },
122
+
123
+ /**
124
+ * Title formatter: combines the items namespace, filename and type.
125
+ * @param {object} mModelData - Object with model data
126
+ * @param {string} mModelData.namespace - Namespace
127
+ * @param {string} mModelData.fileName - Filename
128
+ * @param {string} mModelData.fileType - Filetype
129
+ * @returns {string} Item title after formatting
130
+ * @public
131
+ */
132
+ formatItemTitle: function (mModelData) {
133
+ return mModelData.namespace + mModelData.fileName + "." + mModelData.fileType;
134
+ },
135
+
136
+ /**
137
+ * Helper function to determine if a file ends with a specified suffix.
138
+ *
139
+ * @param {string} sString - String that has to be checked
140
+ * @param {string} sSuffix - Suffix
141
+ * @returns {boolean} <code>true</code> if the passed suffix is the last part of the passed string
142
+ * @public
143
+ */
144
+ endsStringWith: function (sString, sSuffix) {
145
+ return sString.indexOf(sSuffix, sString.length - sSuffix.length) !== -1;
146
+ }
147
+ };
143
148
 
144
- return DataUtils;
145
- }, true
146
- );
149
+ return DataUtils;
150
+ }, true);
@@ -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
 
@@ -16,7 +16,7 @@ function (MessagePopoverItem, MessagePopover) {
16
16
  * @constructor
17
17
  * @alias sap.ui.fl.support.apps.contentbrowser.utils.ErrorUtils
18
18
  * @author SAP SE
19
- * @version 1.96.2
19
+ * @version 1.98.0
20
20
  * @experimental Since 1.45
21
21
  */
22
22
  var ErrorUtils = {};
@@ -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,11 +1,9 @@
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
- /* global FileReader */
8
-
9
7
  sap.ui.define([
10
8
  "sap/ui/core/mvc/Controller",
11
9
  "sap/ui/model/json/JSONModel",
@@ -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
 
@@ -8,9 +8,9 @@ sap.ui.define([
8
8
  "sap/ui/core/util/File",
9
9
  "sap/ui/core/util/reflection/JsControlTreeModifier",
10
10
  "sap/m/MessageBox",
11
- "sap/ui/fl/Utils",
11
+ "sap/ui/fl/apply/_internal/flexState/ManifestUtils",
12
12
  "sap/ui/thirdparty/jquery"
13
- ], function(File, JsControlTreeModifier, MessageBox, Utils, jQuery) {
13
+ ], function(File, JsControlTreeModifier, MessageBox, ManifestUtils, jQuery) {
14
14
  "use strict";
15
15
 
16
16
  var Extractor = {};
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  var oComponentContainer = sap.ui.getCore().byId(oComponentContainerDomRef.id);
56
56
  var oAppComponent = oComponentContainer && oComponentContainer.getComponentInstance();
57
57
 
58
- if (oAppComponent && Utils.getAppComponentClassNameForComponent(oAppComponent) === sComponentName) {
58
+ if (oAppComponent && ManifestUtils.getFlexReferenceForControl(oAppComponent) === sComponentName) {
59
59
  oCorrectAppComponent = oAppComponent;
60
60
  return true;
61
61
  }
@@ -152,16 +152,5 @@ sap.ui.define([
152
152
  }.bind(this));
153
153
  };
154
154
 
155
- Extractor.createDownloadFile = function (oExport) {
156
- try {
157
- var sExportString = JSON.stringify(oExport);
158
- File.save(sExportString, "flexibilityDataExtraction", "json");
159
- } catch (e) {
160
- MessageBox.error(
161
- "The export of the flexibility data was not successful.\n" + e.message
162
- );
163
- }
164
- };
165
-
166
155
  return Extractor;
167
156
  });
@@ -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
 
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @constructor
17
17
  * @alias sap.ui.fl.support.Flexibility
18
18
  * @author SAP SE
19
- * @version 1.96.2
19
+ * @version 1.98.0
20
20
  * @experimental Since 1.52
21
21
  */
22
22
  return Controller.extend("sap.ui.fl.support.diagnostics.Flexibility", {
@@ -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
 
@@ -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
 
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @alias sap.ui.fl.transport.TransportSelection
18
18
  * @constructor
19
19
  * @author SAP SE
20
- * @version 1.96.2
20
+ * @version 1.98.0
21
21
  * @since 1.38.0
22
22
  * Helper object to select an ABAP transport for an LREP object. This is not a generic utility to select a transport request, but part
23
23
  * of the SmartVariant control.
@@ -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
 
@@ -90,10 +90,8 @@ sap.ui.define([
90
90
  throw new Error("Id " + sId + " must not start with reserved " + layer_prefixes[sKey]);
91
91
  }
92
92
  });
93
- } else {
94
- if (!sId.startsWith(sPrefix)) {
95
- throw new Error("Id " + sId + " must start with " + sPrefix);
96
- }
93
+ } else if (!sId.startsWith(sPrefix)) {
94
+ throw new Error("Id " + sId + " must start with " + sPrefix);
97
95
  }
98
96
  }
99
97
 
@@ -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