@openui5/sap.ui.fl 1.115.0 → 1.116.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 (260) hide show
  1. package/.eslintrc.json +33 -2
  2. package/.reuse/dep5 +0 -5
  3. package/THIRDPARTY.txt +1 -7
  4. package/package.json +3 -3
  5. package/src/sap/ui/fl/.library +1 -1
  6. package/src/sap/ui/fl/Cache.js +29 -29
  7. package/src/sap/ui/fl/ChangePersistence.js +69 -71
  8. package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
  9. package/src/sap/ui/fl/FakeLrepConnector.js +7 -7
  10. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +7 -7
  11. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +5 -5
  12. package/src/sap/ui/fl/FakeLrepLocalStorage.js +1 -1
  13. package/src/sap/ui/fl/FlexController.js +157 -130
  14. package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
  15. package/src/sap/ui/fl/Layer.js +1 -1
  16. package/src/sap/ui/fl/LayerUtils.js +11 -11
  17. package/src/sap/ui/fl/Utils.js +16 -17
  18. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +41 -38
  19. package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -1
  20. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +114 -94
  21. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
  22. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +2 -2
  23. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +2 -2
  24. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +19 -19
  25. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory.js +4 -5
  26. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyUtil.js +1 -2
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -1
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +1 -1
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +15 -15
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +8 -8
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +1 -1
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +6 -6
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -2
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
  40. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
  41. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +3 -5
  42. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +4 -6
  43. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +10 -10
  44. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +1 -3
  45. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -2
  46. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -4
  47. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +4 -5
  48. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +29 -29
  49. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +1 -2
  50. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +6 -4
  51. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +44 -44
  52. package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +3 -3
  53. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +15 -1
  54. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +1 -1
  55. package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +1 -1
  56. package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +1 -14
  57. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +3 -1
  58. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +6 -5
  59. package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +1 -1
  60. package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +1 -1
  61. package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +12 -4
  62. package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +1 -1
  63. package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +23 -5
  64. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +183 -64
  65. package/src/sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions.js +27 -17
  66. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +5 -5
  67. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +5 -5
  68. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
  69. package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +1 -1
  70. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +4 -4
  71. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +50 -50
  72. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +27 -13
  73. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +5 -5
  74. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +5 -5
  75. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +55 -37
  76. package/src/sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks.js +12 -12
  77. package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +5 -5
  78. package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +6 -6
  79. package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +1 -2
  80. package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +4 -4
  81. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +5 -5
  82. package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +10 -4
  83. package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +5 -5
  84. package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +6 -6
  85. package/src/sap/ui/fl/changeHandler/AddIFrame.js +21 -21
  86. package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
  87. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +34 -34
  88. package/src/sap/ui/fl/changeHandler/Base.js +7 -7
  89. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +107 -107
  90. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +45 -45
  91. package/src/sap/ui/fl/changeHandler/BaseRename.js +26 -26
  92. package/src/sap/ui/fl/changeHandler/BaseTreeModifier.js +1 -1
  93. package/src/sap/ui/fl/changeHandler/HideControl.js +15 -16
  94. package/src/sap/ui/fl/changeHandler/MoveControls.js +190 -191
  95. package/src/sap/ui/fl/changeHandler/MoveElements.js +36 -36
  96. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +7 -7
  97. package/src/sap/ui/fl/changeHandler/PropertyChange.js +7 -7
  98. package/src/sap/ui/fl/changeHandler/StashControl.js +35 -35
  99. package/src/sap/ui/fl/changeHandler/UnhideControl.js +7 -7
  100. package/src/sap/ui/fl/changeHandler/UnstashControl.js +21 -21
  101. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +39 -39
  102. package/src/sap/ui/fl/changeHandler/common/ChangeCategories.js +1 -1
  103. package/src/sap/ui/fl/changeHandler/common/createIFrame.js +5 -5
  104. package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +5 -5
  105. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +12 -12
  106. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +7 -9
  107. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
  108. package/src/sap/ui/fl/descriptorRelated/internal/Utils.js +12 -12
  109. package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +60 -60
  110. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +2 -5
  111. package/src/sap/ui/fl/initial/_internal/Storage.js +18 -19
  112. package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +4 -4
  113. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +20 -21
  114. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +6 -6
  115. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +1 -1
  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 +4 -4
  119. package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +2 -2
  120. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +18 -18
  121. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +4 -4
  122. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +2 -2
  123. package/src/sap/ui/fl/interfaces/Delegate.js +7 -9
  124. package/src/sap/ui/fl/library.js +44 -45
  125. package/src/sap/ui/fl/library.support.js +59 -59
  126. package/src/sap/ui/fl/messagebundle.properties +4 -119
  127. package/src/sap/ui/fl/messagebundle_ar.properties +2 -79
  128. package/src/sap/ui/fl/messagebundle_bg.properties +2 -79
  129. package/src/sap/ui/fl/messagebundle_ca.properties +2 -79
  130. package/src/sap/ui/fl/messagebundle_cs.properties +2 -79
  131. package/src/sap/ui/fl/messagebundle_cy.properties +2 -79
  132. package/src/sap/ui/fl/messagebundle_da.properties +2 -79
  133. package/src/sap/ui/fl/messagebundle_de.properties +2 -79
  134. package/src/sap/ui/fl/messagebundle_el.properties +2 -79
  135. package/src/sap/ui/fl/messagebundle_en.properties +2 -79
  136. package/src/sap/ui/fl/messagebundle_en_GB.properties +2 -79
  137. package/src/sap/ui/fl/messagebundle_en_US_sappsd.properties +2 -79
  138. package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +2 -79
  139. package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +2 -79
  140. package/src/sap/ui/fl/messagebundle_es.properties +2 -79
  141. package/src/sap/ui/fl/messagebundle_es_MX.properties +2 -79
  142. package/src/sap/ui/fl/messagebundle_et.properties +2 -79
  143. package/src/sap/ui/fl/messagebundle_fi.properties +2 -79
  144. package/src/sap/ui/fl/messagebundle_fr.properties +2 -79
  145. package/src/sap/ui/fl/messagebundle_fr_CA.properties +2 -79
  146. package/src/sap/ui/fl/messagebundle_hi.properties +2 -79
  147. package/src/sap/ui/fl/messagebundle_hr.properties +2 -79
  148. package/src/sap/ui/fl/messagebundle_hu.properties +2 -79
  149. package/src/sap/ui/fl/messagebundle_id.properties +2 -79
  150. package/src/sap/ui/fl/messagebundle_it.properties +2 -79
  151. package/src/sap/ui/fl/messagebundle_iw.properties +2 -79
  152. package/src/sap/ui/fl/messagebundle_ja.properties +2 -79
  153. package/src/sap/ui/fl/messagebundle_kk.properties +2 -79
  154. package/src/sap/ui/fl/messagebundle_ko.properties +2 -79
  155. package/src/sap/ui/fl/messagebundle_lt.properties +2 -79
  156. package/src/sap/ui/fl/messagebundle_lv.properties +2 -79
  157. package/src/sap/ui/fl/messagebundle_ms.properties +2 -79
  158. package/src/sap/ui/fl/messagebundle_nl.properties +2 -79
  159. package/src/sap/ui/fl/messagebundle_no.properties +2 -79
  160. package/src/sap/ui/fl/messagebundle_pl.properties +2 -79
  161. package/src/sap/ui/fl/messagebundle_pt.properties +2 -79
  162. package/src/sap/ui/fl/messagebundle_pt_PT.properties +2 -79
  163. package/src/sap/ui/fl/messagebundle_ro.properties +2 -79
  164. package/src/sap/ui/fl/messagebundle_ru.properties +2 -79
  165. package/src/sap/ui/fl/messagebundle_sh.properties +2 -79
  166. package/src/sap/ui/fl/messagebundle_sk.properties +2 -79
  167. package/src/sap/ui/fl/messagebundle_sl.properties +2 -79
  168. package/src/sap/ui/fl/messagebundle_sv.properties +2 -79
  169. package/src/sap/ui/fl/messagebundle_th.properties +2 -79
  170. package/src/sap/ui/fl/messagebundle_tr.properties +2 -79
  171. package/src/sap/ui/fl/messagebundle_uk.properties +3 -80
  172. package/src/sap/ui/fl/messagebundle_vi.properties +2 -79
  173. package/src/sap/ui/fl/messagebundle_zh_CN.properties +2 -79
  174. package/src/sap/ui/fl/messagebundle_zh_TW.properties +2 -79
  175. package/src/sap/ui/fl/registry/Settings.js +41 -43
  176. package/src/sap/ui/fl/requireAsync.js +7 -1
  177. package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +8 -8
  178. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +22 -22
  179. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +3 -3
  180. package/src/sap/ui/fl/support/api/SupportAPI.js +1 -1
  181. package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +3 -5
  182. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +27 -27
  183. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +20 -20
  184. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +17 -17
  185. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +4 -4
  186. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +34 -34
  187. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +10 -10
  188. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +5 -5
  189. package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
  190. package/src/sap/ui/fl/util/DescriptorChangeCheck.js +2 -2
  191. package/src/sap/ui/fl/util/IFrame.js +18 -18
  192. package/src/sap/ui/fl/util/IFrameRenderer.js +1 -1
  193. package/src/sap/ui/fl/util/ManagedObjectModel.js +7 -7
  194. package/src/sap/ui/fl/util/changePropertyValueByPath.js +2 -2
  195. package/src/sap/ui/fl/util/getContainerUserInfo.js +25 -25
  196. package/src/sap/ui/fl/util/resolveBinding.js +3 -3
  197. package/src/sap/ui/fl/variants/VariantManagement.js +8 -32
  198. package/src/sap/ui/fl/variants/VariantModel.js +182 -124
  199. package/src/sap/ui/fl/variants/context/Component.js +1 -2
  200. package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +2 -5
  201. package/src/sap/ui/fl/write/_internal/SaveAs.js +143 -143
  202. package/src/sap/ui/fl/write/_internal/Storage.js +46 -49
  203. package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +4 -4
  204. package/src/sap/ui/fl/write/_internal/Versions.js +104 -94
  205. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +9 -9
  206. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +7 -7
  207. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
  208. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +3 -5
  209. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +15 -10
  210. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
  211. package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +1 -1
  212. package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +1 -1
  213. package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +1 -1
  214. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +10 -10
  215. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +23 -24
  216. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +60 -61
  217. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +4 -4
  218. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +6 -6
  219. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +2 -2
  220. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +14 -14
  221. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +3 -3
  222. package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +15 -7
  223. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +2 -2
  224. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -1
  225. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
  226. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +2 -2
  227. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -3
  228. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +2 -2
  229. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
  230. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +3 -3
  231. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
  232. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +2 -2
  233. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +2 -2
  234. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
  235. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +3 -3
  236. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +4 -4
  237. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +2 -2
  238. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +26 -26
  239. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +78 -57
  240. package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +12 -13
  241. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +12 -12
  242. package/src/sap/ui/fl/write/_internal/transport/Transports.js +7 -7
  243. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +7 -7
  244. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +9 -9
  245. package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +546 -110
  246. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +109 -67
  247. package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +3 -3
  248. package/src/sap/ui/fl/write/api/FeaturesAPI.js +19 -20
  249. package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
  250. package/src/sap/ui/fl/write/api/LocalResetAPI.js +19 -19
  251. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +59 -54
  252. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +8 -8
  253. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +6 -6
  254. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +14 -13
  255. package/src/sap/ui/fl/write/api/TranslationAPI.js +13 -13
  256. package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
  257. package/src/sap/ui/fl/write/api/VersionsAPI.js +14 -14
  258. package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +1 -1
  259. package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +7 -7
  260. package/src/sap/ui/fl/write/connectors/BaseConnector.js +17 -17
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  * @private
85
85
  * @ui5-restricted
86
86
  */
87
- create: function (mPropertyBag) {
87
+ create: function(mPropertyBag) {
88
88
  if (!mPropertyBag.layer) {
89
89
  return Promise.reject("Layer must be provided");
90
90
  }
@@ -120,7 +120,7 @@ sap.ui.define([
120
120
  * @private
121
121
  * @ui5-restricted
122
122
  */
123
- update: function (mPropertyBag) {
123
+ update: function(mPropertyBag) {
124
124
  _validateAndAdjustPropertyBag(mPropertyBag);
125
125
  return _checkSettingsAndExecuteActionByName("updateAppVariant", mPropertyBag);
126
126
  },
@@ -138,7 +138,7 @@ sap.ui.define([
138
138
  * @private
139
139
  * @ui5-restricted
140
140
  */
141
- remove: function (mPropertyBag) {
141
+ remove: function(mPropertyBag) {
142
142
  _validateAndAdjustPropertyBag(mPropertyBag);
143
143
  return _checkSettingsAndExecuteActionByName("deleteAppVariant", mPropertyBag);
144
144
  },
@@ -151,7 +151,7 @@ sap.ui.define([
151
151
  * @private
152
152
  * @ui5-restricted
153
153
  */
154
- getDesignTimeVariant: function (mPropertyBag) {
154
+ getDesignTimeVariant: function(mPropertyBag) {
155
155
  if (!mPropertyBag.id) {
156
156
  return Promise.reject("App Variant ID must be provided");
157
157
  }
@@ -168,7 +168,7 @@ sap.ui.define([
168
168
  * @private
169
169
  * @ui5-restricted
170
170
  */
171
- getRunTimeVariant: function (mPropertyBag) {
171
+ getRunTimeVariant: function(mPropertyBag) {
172
172
  if (!mPropertyBag.appId) {
173
173
  return Promise.reject("Reference App ID must be provided");
174
174
  }
@@ -218,7 +218,7 @@ sap.ui.define([
218
218
  * @private
219
219
  * @ui5-restricted
220
220
  */
221
- add: function (mPropertyBag) {
221
+ add: function(mPropertyBag) {
222
222
  if (!mPropertyBag.appId) {
223
223
  return Promise.reject("appId must be provided");
224
224
  }
@@ -89,7 +89,7 @@ sap.ui.define([
89
89
  * @private
90
90
  * @ui5-restricted sap.ui.rta.command, sap.ui.comp.smartvariants.SmartVariantManagement
91
91
  */
92
- addVariant: function (mPropertyBag) {
92
+ addVariant: function(mPropertyBag) {
93
93
  setAdaptationIdInPropertyBag(mPropertyBag);
94
94
  return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.addVariant);
95
95
  },
@@ -111,6 +111,7 @@ sap.ui.define([
111
111
  * @param {object} [mPropertyBag.name] - Title of the variant
112
112
  * @param {object} [mPropertyBag.content] - Content of the new change
113
113
  * @param {object} [mPropertyBag.favorite] - Flag if the variant should be flagged as a favorite
114
+ * @param {boolean} [mPropertyBag.visible] - Flag if the variant should be set visible
114
115
  * @param {object} [mPropertyBag.executeOnSelection] - Flag if the variant should be executed on selection
115
116
  * @param {sap.ui.fl.Layer} [mPropertyBag.layer] - Layer in which the variant update takes place
116
117
  * @param {boolean} [mPropertyBag.changeSpecificData.isUserDependent] - Flag if the variant is personalization only
@@ -119,7 +120,7 @@ sap.ui.define([
119
120
  * @private
120
121
  * @ui5-restricted sap.ui.rta.command, sap.ui.comp.smartvariants.SmartVariantManagement
121
122
  */
122
- updateVariant: function (mPropertyBag) {
123
+ updateVariant: function(mPropertyBag) {
123
124
  setAdaptationIdInPropertyBag(mPropertyBag);
124
125
  return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.updateVariant);
125
126
  },
@@ -140,7 +141,7 @@ sap.ui.define([
140
141
  * @private
141
142
  * @ui5-restricted sap.ui.rta.command
142
143
  */
143
- updateVariantContent: function (mPropertyBag) {
144
+ updateVariantContent: function(mPropertyBag) {
144
145
  setAdaptationIdInPropertyBag(mPropertyBag);
145
146
  mPropertyBag.action = CompVariantState.updateActionType.UPDATE;
146
147
  return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.updateVariant);
@@ -161,7 +162,7 @@ sap.ui.define([
161
162
  * @private
162
163
  * @ui5-restricted sap.ui.rta.command
163
164
  */
164
- saveVariantContent: function (mPropertyBag) {
165
+ saveVariantContent: function(mPropertyBag) {
165
166
  mPropertyBag.action = CompVariantState.updateActionType.SAVE;
166
167
  return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.updateVariant);
167
168
  },
@@ -181,7 +182,7 @@ sap.ui.define([
181
182
  * @private
182
183
  * @ui5-restricted sap.ui.rta.command
183
184
  */
184
- discardVariantContent: function (mPropertyBag) {
185
+ discardVariantContent: function(mPropertyBag) {
185
186
  mPropertyBag.action = CompVariantState.updateActionType.DISCARD;
186
187
  return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.discardVariantContent);
187
188
  },
@@ -205,7 +206,7 @@ sap.ui.define([
205
206
  * @private
206
207
  * @ui5-restricted sap.ui.rta.command
207
208
  */
208
- updateVariantMetadata: function (mPropertyBag) {
209
+ updateVariantMetadata: function(mPropertyBag) {
209
210
  setAdaptationIdInPropertyBag(mPropertyBag);
210
211
  mPropertyBag.action = CompVariantState.updateActionType.UPDATE_METADATA;
211
212
  return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.updateVariant);
@@ -227,7 +228,7 @@ sap.ui.define([
227
228
  * @private
228
229
  * @ui5-restricted sap.ui.rta.command
229
230
  */
230
- removeVariant: function (mPropertyBag) {
231
+ removeVariant: function(mPropertyBag) {
231
232
  setAdaptationIdInPropertyBag(mPropertyBag);
232
233
  return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.removeVariant);
233
234
  },
@@ -244,7 +245,7 @@ sap.ui.define([
244
245
  * @param {string} mPropertyBag.id - ID of the variant
245
246
  * @returns {sap.ui.fl.apply._internal.flexObjects.CompVariant} The reverted variant
246
247
  */
247
- revert: function (mPropertyBag) {
248
+ revert: function(mPropertyBag) {
248
249
  return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.revert);
249
250
  },
250
251
 
@@ -297,7 +298,7 @@ sap.ui.define([
297
298
  * @returns {Promise<boolean>} <code>true</code> if sharing of variants is enabled
298
299
  */
299
300
  isVariantSharingEnabled: function() {
300
- return Settings.getInstance().then(function (oInstance) {
301
+ return Settings.getInstance().then(function(oInstance) {
301
302
  return oInstance.isVariantSharingEnabled();
302
303
  });
303
304
  },
@@ -312,7 +313,7 @@ sap.ui.define([
312
313
  * @returns {Promise<boolean>} <code>true</code> if personalization of variants is enabled
313
314
  */
314
315
  isVariantPersonalizationEnabled: function() {
315
- return Settings.getInstance().then(function (oInstance) {
316
+ return Settings.getInstance().then(function(oInstance) {
316
317
  return oInstance.isVariantPersonalizationEnabled();
317
318
  });
318
319
  },
@@ -327,7 +328,7 @@ sap.ui.define([
327
328
  * @returns {Promise<boolean>} <code>true</code> if adaptation of variants is enabled
328
329
  */
329
330
  isVariantAdaptationEnabled: function() {
330
- return Settings.getInstance().then(function (oInstance) {
331
+ return Settings.getInstance().then(function(oInstance) {
331
332
  return oInstance.isVariantAdaptationEnabled();
332
333
  });
333
334
  },
@@ -342,7 +343,7 @@ sap.ui.define([
342
343
  * sap.ui.comp.smartchart.SmartChart} mPropertyBag.control - Variant management control for which the variants should be loaded
343
344
  * @param {boolean} mPropertyBag.executeOnSelection - Flag if 'apply automatically' should be set
344
345
  */
345
- overrideStandardVariant: function (mPropertyBag) {
346
+ overrideStandardVariant: function(mPropertyBag) {
346
347
  setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.overrideStandardVariant);
347
348
  },
348
349
 
@@ -362,7 +363,7 @@ sap.ui.define([
362
363
  * @ui5-restricted sap.ui.rta
363
364
  * @since 1.90.0
364
365
  */
365
- revertSetDefaultVariantId: function (mPropertyBag) {
366
+ revertSetDefaultVariantId: function(mPropertyBag) {
366
367
  return setReferenceAndPersistencyKeyInPropertyBagAndCallFunction(mPropertyBag, CompVariantState.revertSetDefaultVariantId);
367
368
  },
368
369
 
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  return [].concat(
67
67
  FlexObjectState.getDirtyFlexObjects(mPropertyBag),
68
68
  getDirtyDescriptorChanges(mPropertyBag)
69
- ).some(function (oChange) {
69
+ ).some(function(oChange) {
70
70
  return !isEmptyObject(oChange.getTexts());
71
71
  });
72
72
  };
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  *
84
84
  * @returns {Promise} Resolves after the download is completed;
85
85
  */
86
- TranslationAPI.getTexts = function (mPropertyBag) {
86
+ TranslationAPI.getTexts = function(mPropertyBag) {
87
87
  if (!mPropertyBag.selector) {
88
88
  return Promise.reject("No selector was provided");
89
89
  }
@@ -101,7 +101,7 @@ sap.ui.define([
101
101
  mPropertyBag.reference = ManifestUtils.getFlexReferenceForControl(oAppComponent);
102
102
 
103
103
  return Promise.resolve()
104
- .then(Storage.translation.getTexts.bind(undefined, mPropertyBag));
104
+ .then(Storage.translation.getTexts.bind(undefined, mPropertyBag));
105
105
  };
106
106
 
107
107
  /**
@@ -114,7 +114,7 @@ sap.ui.define([
114
114
  * @returns {Promise} Resolves after the languages are retrieved;
115
115
  * rejects if an error occurs or parameters are missing
116
116
  */
117
- TranslationAPI.getSourceLanguages = function (mPropertyBag) {
117
+ TranslationAPI.getSourceLanguages = function(mPropertyBag) {
118
118
  if (!mPropertyBag.selector) {
119
119
  return Promise.reject("No selector was provided");
120
120
  }
@@ -126,13 +126,13 @@ sap.ui.define([
126
126
  mPropertyBag.reference = ManifestUtils.getFlexReferenceForControl(oAppComponent);
127
127
 
128
128
  return Storage.translation.getSourceLanguages(mPropertyBag)
129
- .then(function (aLanguages) {
130
- var sCurrentLanguage = Core.getConfiguration().getLanguage();
131
- if (!aLanguages.includes(sCurrentLanguage) && TranslationAPI.hasTranslationRelevantDirtyChanges(mPropertyBag)) {
132
- aLanguages.push(sCurrentLanguage);
133
- }
134
- return aLanguages;
135
- });
129
+ .then(function(aLanguages) {
130
+ var sCurrentLanguage = Core.getConfiguration().getLanguage();
131
+ if (!aLanguages.includes(sCurrentLanguage) && TranslationAPI.hasTranslationRelevantDirtyChanges(mPropertyBag)) {
132
+ aLanguages.push(sCurrentLanguage);
133
+ }
134
+ return aLanguages;
135
+ });
136
136
  };
137
137
 
138
138
  /**
@@ -144,7 +144,7 @@ sap.ui.define([
144
144
  * @returns {Promise} Resolves after the file was uploaded;
145
145
  * rejects if an error occurs or a parameter is missing
146
146
  */
147
- TranslationAPI.uploadTranslationTexts = function (mPropertyBag) {
147
+ TranslationAPI.uploadTranslationTexts = function(mPropertyBag) {
148
148
  if (!mPropertyBag.layer) {
149
149
  return Promise.reject("No layer was provided");
150
150
  }
@@ -153,7 +153,7 @@ sap.ui.define([
153
153
  }
154
154
 
155
155
  return Promise.resolve()
156
- .then(Storage.translation.postTranslationTexts.bind(undefined, mPropertyBag));
156
+ .then(Storage.translation.postTranslationTexts.bind(undefined, mPropertyBag));
157
157
  };
158
158
 
159
159
  return TranslationAPI;
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @private
44
44
  * @ui5-restricted
45
45
  */
46
- create: function (mPropertyBag) {
46
+ create: function(mPropertyBag) {
47
47
  var oFlexController = ChangesController.getFlexControllerInstance(mPropertyBag.selector);
48
48
  mPropertyBag.reference = oFlexController.getComponentName();
49
49
 
@@ -91,7 +91,7 @@ sap.ui.define([
91
91
  * @returns {Promise<sap.ui.model.json.JSONModel>} Model with list of versions if available and further version properties;
92
92
  * Rejects if not all parameters were passed or the application could not be determined
93
93
  */
94
- VersionsAPI.initialize = function (mPropertyBag) {
94
+ VersionsAPI.initialize = function(mPropertyBag) {
95
95
  if (!mPropertyBag.control) {
96
96
  return Promise.reject("No control was provided");
97
97
  }
@@ -107,7 +107,7 @@ sap.ui.define([
107
107
  });
108
108
  };
109
109
 
110
- VersionsAPI.clearInstances = function () {
110
+ VersionsAPI.clearInstances = function() {
111
111
  Versions.clearInstances();
112
112
  };
113
113
 
@@ -121,11 +121,11 @@ sap.ui.define([
121
121
  * @return {boolean} Flag if a draft is available;
122
122
  * Throws an error in case no initialization took place upfront
123
123
  */
124
- VersionsAPI.isDraftAvailable = function (mPropertyBag) {
124
+ VersionsAPI.isDraftAvailable = function(mPropertyBag) {
125
125
  var oModel = getVersionsModel(mPropertyBag);
126
126
 
127
127
  var aVersions = oModel.getProperty("/versions");
128
- var oDraft = aVersions.find(function (oVersion) {
128
+ var oDraft = aVersions.find(function(oVersion) {
129
129
  return oVersion.version === Version.Number.Draft;
130
130
  });
131
131
 
@@ -142,7 +142,7 @@ sap.ui.define([
142
142
  * @return {boolean} Flag if the displayed version is not the active version
143
143
  * Throws an error in case no initialization took place upfront
144
144
  */
145
- VersionsAPI.isOldVersionDisplayed = function (mPropertyBag) {
145
+ VersionsAPI.isOldVersionDisplayed = function(mPropertyBag) {
146
146
  var oModel = getVersionsModel(mPropertyBag);
147
147
 
148
148
  var displayedVersion = oModel.getProperty("/displayedVersion");
@@ -162,7 +162,7 @@ sap.ui.define([
162
162
  *
163
163
  * @returns {Promise} Resolves as soon as the clearance and the requesting is triggered.
164
164
  */
165
- VersionsAPI.loadDraftForApplication = function (mPropertyBag) {
165
+ VersionsAPI.loadDraftForApplication = function(mPropertyBag) {
166
166
  mPropertyBag.version = Version.Number.Draft;
167
167
  return VersionsAPI.loadVersionForApplication(mPropertyBag);
168
168
  };
@@ -180,7 +180,7 @@ sap.ui.define([
180
180
  *
181
181
  * @returns {Promise} Resolves as soon as the clearance and the requesting is triggered.
182
182
  */
183
- VersionsAPI.loadVersionForApplication = function (mPropertyBag) {
183
+ VersionsAPI.loadVersionForApplication = function(mPropertyBag) {
184
184
  if (!mPropertyBag.control) {
185
185
  return Promise.reject("No control was provided");
186
186
  }
@@ -237,7 +237,7 @@ sap.ui.define([
237
237
  * rejects if an error occurs, the layer does not support draft handling, there is unsaved content, there is no draft to activate or
238
238
  * when the displayed version is already active
239
239
  */
240
- VersionsAPI.activate = function (mPropertyBag) {
240
+ VersionsAPI.activate = function(mPropertyBag) {
241
241
  if (!mPropertyBag.control) {
242
242
  return Promise.reject("No control was provided");
243
243
  }
@@ -271,7 +271,7 @@ sap.ui.define([
271
271
  * @returns {Promise<boolean>} Promise resolving with a flag if a discarding took place;
272
272
  * rejects if an error occurs or the layer does not support draft handling
273
273
  */
274
- VersionsAPI.discardDraft = function (mPropertyBag) {
274
+ VersionsAPI.discardDraft = function(mPropertyBag) {
275
275
  if (!mPropertyBag.control) {
276
276
  return Promise.reject("No control was provided");
277
277
  }
@@ -296,21 +296,21 @@ sap.ui.define([
296
296
  if (bHasAdaptationsModel) {
297
297
  return ContextBasedAdaptationsAPI.refreshAdaptationModel(mPropertyBag)
298
298
  .then(function(sDisplayedAdaptationId) {
299
- //invalidate flexState to trigger getFlexData for the current active version after discard
299
+ // invalidate flexState to trigger getFlexData for the current active version after discard
300
300
  return FlexState.clearAndInitialize({
301
301
  componentId: oAppComponent.getId(),
302
302
  reference: sReference,
303
303
  adaptationId: sDisplayedAdaptationId
304
- }).then(function () {
304
+ }).then(function() {
305
305
  return oDiscardInfo;
306
306
  });
307
307
  });
308
308
  }
309
- //invalidate flexState to trigger getFlexData for the current active version after discard
309
+ // invalidate flexState to trigger getFlexData for the current active version after discard
310
310
  return FlexState.clearAndInitialize({
311
311
  componentId: oAppComponent.getId(),
312
312
  reference: sReference
313
- }).then(function () {
313
+ }).then(function() {
314
314
  return oDiscardInfo;
315
315
  });
316
316
  }
@@ -331,7 +331,7 @@ sap.ui.define([
331
331
  * - <sMessage> when all the version is successfully transported fl will return the message to show
332
332
  * - "Error" in case of a problem
333
333
  */
334
- VersionsAPI.publish = function (mPropertyBag) {
334
+ VersionsAPI.publish = function(mPropertyBag) {
335
335
  if (!mPropertyBag.selector) {
336
336
  return Promise.reject("No selector was provided");
337
337
  }
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @returns {Promise<string[]>} List of URLs that should be requested and will contain a JSON of a flex object like changes,
30
30
  * i.e.: <code>["/some/url/id_12345_123_propertyChange.change", "/some/url/id_67890_456_.ctrl_variant", ...]</code>
31
31
  */
32
- getFileList: function (/* sReference */) {
32
+ getFileList: function(/* sReference */) {
33
33
  return Promise.reject("not implemented");
34
34
  },
35
35
  layers: [],
@@ -23,12 +23,12 @@ sap.ui.define([
23
23
  ) {
24
24
  "use strict";
25
25
 
26
- function loadDataFromStorage (mPropertyBag) {
26
+ function loadDataFromStorage(mPropertyBag) {
27
27
  var aFlexObjects = [];
28
28
 
29
29
  return ObjectStorageUtils.forEachObjectInStorage(mPropertyBag, function(mFlexObject) {
30
30
  aFlexObjects.push(mFlexObject.changeDefinition);
31
- }).then(function () {
31
+ }).then(function() {
32
32
  return aFlexObjects;
33
33
  });
34
34
  }
@@ -212,7 +212,7 @@ sap.ui.define([
212
212
  return loadDataFromStorage({
213
213
  storage: this.storage,
214
214
  reference: mPropertyBag.reference
215
- }).then(function (aFlexObjects) {
215
+ }).then(function(aFlexObjects) {
216
216
  StorageUtils.sortFlexObjects(aFlexObjects);
217
217
  var mGroupedFlexObjects = StorageUtils.getGroupedFlexObjects(aFlexObjects);
218
218
  var aResponses = StorageUtils.filterAndSortResponses(mGroupedFlexObjects);
@@ -234,7 +234,7 @@ sap.ui.define([
234
234
  return this.storage.setItem(sKey, vFlexObject);
235
235
  }.bind(this));
236
236
 
237
- return Promise.all(aPromises).then(function () {
237
+ return Promise.all(aPromises).then(function() {
238
238
  // return nothing
239
239
  });
240
240
  },
@@ -261,7 +261,7 @@ sap.ui.define([
261
261
  layer: mPropertyBag.layer
262
262
  }, function(mFlexObject) {
263
263
  if (shouldChangeBeDeleted(mPropertyBag, mFlexObject.changeDefinition)) {
264
- return Promise.resolve(this.storage.removeItem(mFlexObject.key)).then(function () {
264
+ return Promise.resolve(this.storage.removeItem(mFlexObject.key)).then(function() {
265
265
  return {
266
266
  fileName: mFlexObject.changeDefinition && mFlexObject.changeDefinition.fileName
267
267
  };
@@ -270,7 +270,7 @@ sap.ui.define([
270
270
  }.bind(this))
271
271
  .then(function(aResponse) {
272
272
  return {
273
- response: aResponse.filter(function (oChangeDefinition) {
273
+ response: aResponse.filter(function(oChangeDefinition) {
274
274
  return !!oChangeDefinition;
275
275
  })
276
276
  };
@@ -306,7 +306,7 @@ sap.ui.define([
306
306
  */
307
307
  getFlexInfo: function(mPropertyBag) {
308
308
  mPropertyBag.storage = this.storage;
309
- return ObjectStorageUtils.getAllFlexObjects(mPropertyBag).then(function (aFlexObjects) {
309
+ return ObjectStorageUtils.getAllFlexObjects(mPropertyBag).then(function(aFlexObjects) {
310
310
  return {
311
311
  isResetEnabled: aFlexObjects.length > 0
312
312
  };
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @param {boolean} [mPropertyBag.draft=false] - Indicates if changes should be written as a draft
38
38
  * @returns {Promise} Resolves as soon as the writing is completed without data
39
39
  */
40
- write: function (/* mPropertyBag */) {
40
+ write: function(/* mPropertyBag */) {
41
41
  return Promise.reject("write is not implemented");
42
42
  },
43
43
 
@@ -54,7 +54,7 @@ sap.ui.define([
54
54
  * @param {boolean} [mPropertyBag.draft=false] - Indicates if changes should be written as a draft
55
55
  * @returns {Promise} Resolves as soon as the writing is completed without data
56
56
  */
57
- condense: function (/* mPropertyBag */) {
57
+ condense: function(/* mPropertyBag */) {
58
58
  return Promise.reject("condense is not implemented");
59
59
  },
60
60
 
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * @param {string} [mPropertyBag.url] Configured url for the connector
69
69
  * @returns {Promise} Resolves as soon as the writing is completed without data
70
70
  */
71
- update: function (/* mPropertyBag */) {
71
+ update: function(/* mPropertyBag */) {
72
72
  return Promise.reject("write is not implemented");
73
73
  },
74
74
 
@@ -82,7 +82,7 @@ sap.ui.define([
82
82
  * @param {string} [mPropertyBag.url] Configured url for the connector
83
83
  * @returns {Promise} Resolves as soon as the deletion is completed without data
84
84
  */
85
- remove: function (/* mPropertyBag */) {
85
+ remove: function(/* mPropertyBag */) {
86
86
  return Promise.reject("remove is not implemented");
87
87
  },
88
88
 
@@ -98,7 +98,7 @@ sap.ui.define([
98
98
  * @param {string} [mPropertyBag.changeTypes] Change types of the changes which should be reset (comma-separated list)
99
99
  * @returns {Promise} Resolves as soon as the reset is completed without data
100
100
  */
101
- reset: function (/* mPropertyBag */) {
101
+ reset: function(/* mPropertyBag */) {
102
102
  return Promise.reject("reset is not implemented");
103
103
  },
104
104
 
@@ -112,7 +112,7 @@ sap.ui.define([
112
112
  * @param {string} mPropertyBag.changelist Transport Id
113
113
  * @returns {Promise} Resolves as soon as the publish is completed without data
114
114
  */
115
- publish: function (/* mPropertyBag */) {
115
+ publish: function(/* mPropertyBag */) {
116
116
  return Promise.reject("publish is not implemented");
117
117
  },
118
118
 
@@ -127,7 +127,7 @@ sap.ui.define([
127
127
  * @param {string} [mPropertyBag.url] Configured url for the connector
128
128
  * @returns {Promise<object>} Promise resolves as soon as the writing was completed
129
129
  */
130
- getFlexInfo: function (/* mPropertyBag */) {
130
+ getFlexInfo: function(/* mPropertyBag */) {
131
131
  return Promise.resolve({});
132
132
  },
133
133
 
@@ -146,7 +146,7 @@ sap.ui.define([
146
146
  * @param {string} [mPropertyBag.url] Configured url for the connector
147
147
  * @returns {Promise<object>} Promise resolves as soon as context has been retrieved
148
148
  */
149
- getContexts: function (/* mPropertyBag */) {
149
+ getContexts: function(/* mPropertyBag */) {
150
150
  return Promise.reject("getContexts is not implemented");
151
151
  },
152
152
 
@@ -157,7 +157,7 @@ sap.ui.define([
157
157
  * @param {string} mPropertyBag.flexObjects Payload for the post request
158
158
  * @returns {Promise<object>} Promise resolves as soon as context descriptions have has been retrieved
159
159
  */
160
- loadContextDescriptions: function (/* mPropertyBag */) {
160
+ loadContextDescriptions: function(/* mPropertyBag */) {
161
161
  return Promise.reject("loadContextDescriptions is not implemented");
162
162
  },
163
163
 
@@ -166,7 +166,7 @@ sap.ui.define([
166
166
  *
167
167
  * @returns {Promise<object>} Resolves with an object containing the data for the flex features
168
168
  */
169
- isContextSharingEnabled: function () {
169
+ isContextSharingEnabled: function() {
170
170
  return Promise.resolve(false);
171
171
  },
172
172
 
@@ -175,7 +175,7 @@ sap.ui.define([
175
175
  *
176
176
  * @returns {Promise<object>} Resolves with an object containing the data for the flex features
177
177
  */
178
- loadFeatures: function () {
178
+ loadFeatures: function() {
179
179
  return Promise.reject("loadFeatures is not implemented");
180
180
  },
181
181
 
@@ -205,7 +205,7 @@ sap.ui.define([
205
205
  * @param {string} mPropertyBag.reference Flex reference
206
206
  * @returns {Promise<sap.ui.fl.Version[]>} Resolves with an object containing the data for the versions
207
207
  */
208
- load: function () {
208
+ load: function() {
209
209
  return Promise.reject("versions.load is not implemented");
210
210
  },
211
211
 
@@ -218,7 +218,7 @@ sap.ui.define([
218
218
  * @param {string} mPropertyBag.title Title of the to be activated version
219
219
  * @returns {Promise<sap.ui.fl.Version>} Resolves with list of versions after the activation took place.
220
220
  */
221
- activate: function () {
221
+ activate: function() {
222
222
  return Promise.reject("versions.activate is not implemented");
223
223
  },
224
224
 
@@ -230,7 +230,7 @@ sap.ui.define([
230
230
  * @param {string} mPropertyBag.reference Flex reference
231
231
  * @returns {Promise} Resolves after the draft is discarded.
232
232
  */
233
- discardDraft: function () {
233
+ discardDraft: function() {
234
234
  return Promise.reject("versions.discardDraft is not implemented");
235
235
  }
236
236
  },
@@ -245,7 +245,7 @@ sap.ui.define([
245
245
  * @returns {Promise} Promise resolving after the languages are retrieved;
246
246
  * rejects if an error occurs
247
247
  */
248
- getSourceLanguages: function () {
248
+ getSourceLanguages: function() {
249
249
  return Promise.reject("translation.getSourceLanguages is not implemented");
250
250
  },
251
251
 
@@ -260,7 +260,7 @@ sap.ui.define([
260
260
  * @returns {Promise} Promise resolving after the download was started;
261
261
  * rejects if an error occurs
262
262
  */
263
- getTexts: function () {
263
+ getTexts: function() {
264
264
  return Promise.reject("translation.getTexts is not implemented");
265
265
  },
266
266
 
@@ -273,7 +273,7 @@ sap.ui.define([
273
273
  * @returns {Promise} Resolves after the file was uploaded;
274
274
  * rejects if an error occurs or a parameter is missing
275
275
  */
276
- postTranslationTexts: function () {
276
+ postTranslationTexts: function() {
277
277
  return Promise.reject("translation.postTranslationTexts is not implemented");
278
278
  }
279
279
  }