@openui5/sap.ui.fl 1.103.0 → 1.105.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 (255) hide show
  1. package/.reuse/dep5 +18 -1
  2. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  3. package/THIRDPARTY.txt +36 -3
  4. package/package.json +3 -3
  5. package/src/sap/ui/fl/.library +1 -1
  6. package/src/sap/ui/fl/Cache.js +3 -3
  7. package/src/sap/ui/fl/Change.js +29 -4
  8. package/src/sap/ui/fl/ChangePersistence.js +26 -14
  9. package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
  10. package/src/sap/ui/fl/FakeLrepConnector.js +6 -0
  11. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +9 -3
  12. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +9 -3
  13. package/src/sap/ui/fl/FakeLrepLocalStorage.js +9 -3
  14. package/src/sap/ui/fl/FlexController.js +3 -1
  15. package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
  16. package/src/sap/ui/fl/Layer.js +5 -2
  17. package/src/sap/ui/fl/LayerUtils.js +1 -1
  18. package/src/sap/ui/fl/Utils.js +77 -46
  19. package/src/sap/ui/fl/apply/_internal/ChangesController.js +2 -2
  20. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
  21. package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +2 -2
  22. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +3 -3
  23. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
  24. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +2 -2
  25. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +3 -3
  26. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -1
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +1 -1
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +1 -1
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +1 -1
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -1
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +1 -1
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +1 -1
  40. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +1 -1
  41. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +1 -1
  42. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -1
  43. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +1 -1
  44. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +2 -2
  45. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +3 -3
  46. package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +2 -2
  47. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +8 -43
  48. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
  49. package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +73 -0
  50. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +11 -20
  51. package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +81 -0
  52. package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +111 -0
  53. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +51 -17
  54. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +114 -34
  55. package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +4 -15
  56. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +22 -6
  57. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +3 -3
  58. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +1 -1
  59. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +3 -3
  60. package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +2 -2
  61. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +3 -3
  62. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +4 -4
  63. package/src/sap/ui/fl/apply/_internal/flexState/changes/prepareChangesMap.js +2 -2
  64. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +4 -4
  65. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/Utils.js +2 -2
  66. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +2 -2
  67. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +3 -3
  68. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +27 -35
  69. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/prepareVariantsMap.js +76 -111
  70. package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +1 -1
  71. package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +1 -1
  72. package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +1 -1
  73. package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +1 -1
  74. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +4 -4
  75. package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +2 -2
  76. package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +2 -2
  77. package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +2 -2
  78. package/src/sap/ui/fl/apply/api/UI2PersonalizationApplyAPI.js +2 -2
  79. package/src/sap/ui/fl/changeHandler/AddIFrame.js +7 -7
  80. package/src/sap/ui/fl/changeHandler/AddXML.js +14 -16
  81. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +9 -6
  82. package/src/sap/ui/fl/changeHandler/Base.js +1 -1
  83. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +30 -35
  84. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +14 -15
  85. package/src/sap/ui/fl/changeHandler/BaseRename.js +9 -15
  86. package/src/sap/ui/fl/changeHandler/HideControl.js +1 -1
  87. package/src/sap/ui/fl/changeHandler/MoveControls.js +12 -8
  88. package/src/sap/ui/fl/changeHandler/MoveElements.js +3 -2
  89. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +13 -12
  90. package/src/sap/ui/fl/changeHandler/PropertyChange.js +18 -21
  91. package/src/sap/ui/fl/changeHandler/StashControl.js +1 -1
  92. package/src/sap/ui/fl/changeHandler/UnhideControl.js +1 -1
  93. package/src/sap/ui/fl/changeHandler/UnstashControl.js +3 -5
  94. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +3 -5
  95. package/src/sap/ui/fl/codeExt/CodeExtManager.js +1 -1
  96. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +13 -22
  97. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
  98. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
  99. package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +5 -2
  100. package/src/sap/ui/fl/initial/_internal/Storage.js +18 -5
  101. package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +27 -3
  102. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +4 -4
  103. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +8 -0
  104. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +9 -1
  105. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +1 -2
  106. package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +3 -3
  107. package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +2 -2
  108. package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +2 -3
  109. package/src/sap/ui/fl/initial/_internal/connectors/NeoLrepConnector.js +2 -3
  110. package/src/sap/ui/fl/initial/_internal/connectors/PersonalizationConnector.js +2 -2
  111. package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +2 -2
  112. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +5 -5
  113. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +3 -3
  114. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +9 -6
  115. package/src/sap/ui/fl/interfaces/Delegate.js +34 -18
  116. package/src/sap/ui/fl/library.js +351 -27
  117. package/src/sap/ui/fl/messagebundle_ar.properties +2 -0
  118. package/src/sap/ui/fl/messagebundle_bg.properties +2 -0
  119. package/src/sap/ui/fl/messagebundle_ca.properties +2 -0
  120. package/src/sap/ui/fl/messagebundle_cs.properties +2 -0
  121. package/src/sap/ui/fl/messagebundle_cy.properties +2 -0
  122. package/src/sap/ui/fl/messagebundle_da.properties +2 -0
  123. package/src/sap/ui/fl/messagebundle_de.properties +2 -0
  124. package/src/sap/ui/fl/messagebundle_el.properties +2 -0
  125. package/src/sap/ui/fl/messagebundle_en.properties +2 -0
  126. package/src/sap/ui/fl/messagebundle_en_GB.properties +2 -0
  127. package/src/sap/ui/fl/messagebundle_en_US_sappsd.properties +2 -0
  128. package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +37 -2
  129. package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +2 -0
  130. package/src/sap/ui/fl/messagebundle_es.properties +2 -0
  131. package/src/sap/ui/fl/messagebundle_es_MX.properties +2 -0
  132. package/src/sap/ui/fl/messagebundle_et.properties +2 -0
  133. package/src/sap/ui/fl/messagebundle_fi.properties +2 -0
  134. package/src/sap/ui/fl/messagebundle_fr.properties +2 -0
  135. package/src/sap/ui/fl/messagebundle_fr_CA.properties +2 -0
  136. package/src/sap/ui/fl/messagebundle_hi.properties +2 -0
  137. package/src/sap/ui/fl/messagebundle_hr.properties +2 -0
  138. package/src/sap/ui/fl/messagebundle_hu.properties +2 -0
  139. package/src/sap/ui/fl/messagebundle_id.properties +2 -0
  140. package/src/sap/ui/fl/messagebundle_it.properties +2 -0
  141. package/src/sap/ui/fl/messagebundle_iw.properties +2 -0
  142. package/src/sap/ui/fl/messagebundle_ja.properties +2 -0
  143. package/src/sap/ui/fl/messagebundle_kk.properties +2 -0
  144. package/src/sap/ui/fl/messagebundle_ko.properties +2 -0
  145. package/src/sap/ui/fl/messagebundle_lt.properties +2 -0
  146. package/src/sap/ui/fl/messagebundle_lv.properties +2 -0
  147. package/src/sap/ui/fl/messagebundle_ms.properties +2 -0
  148. package/src/sap/ui/fl/messagebundle_nl.properties +2 -0
  149. package/src/sap/ui/fl/messagebundle_no.properties +2 -0
  150. package/src/sap/ui/fl/messagebundle_pl.properties +2 -0
  151. package/src/sap/ui/fl/messagebundle_pt.properties +2 -0
  152. package/src/sap/ui/fl/messagebundle_pt_PT.properties +2 -0
  153. package/src/sap/ui/fl/messagebundle_ro.properties +2 -0
  154. package/src/sap/ui/fl/messagebundle_ru.properties +2 -0
  155. package/src/sap/ui/fl/messagebundle_sh.properties +2 -0
  156. package/src/sap/ui/fl/messagebundle_sk.properties +2 -0
  157. package/src/sap/ui/fl/messagebundle_sl.properties +2 -0
  158. package/src/sap/ui/fl/messagebundle_sv.properties +2 -0
  159. package/src/sap/ui/fl/messagebundle_th.properties +2 -0
  160. package/src/sap/ui/fl/messagebundle_tr.properties +2 -0
  161. package/src/sap/ui/fl/messagebundle_uk.properties +2 -0
  162. package/src/sap/ui/fl/messagebundle_vi.properties +2 -0
  163. package/src/sap/ui/fl/messagebundle_zh_CN.properties +2 -0
  164. package/src/sap/ui/fl/messagebundle_zh_TW.properties +2 -0
  165. package/src/sap/ui/fl/requireAsync.js +2 -2
  166. package/src/sap/ui/fl/support/{apps/uiFlexibilityDiagnostics/helper/Extractor.js → _internal/extractChangeDependencies.js} +55 -57
  167. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +6 -6
  168. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +14 -4
  169. package/src/sap/ui/fl/support/api/SupportAPI.js +3 -3
  170. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +16 -5
  171. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +18 -8
  172. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +1 -1
  173. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +1 -1
  174. package/src/sap/ui/fl/support/apps/contentbrowser/i18n/i18n.properties +4 -1
  175. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +11 -3
  176. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +1 -1
  177. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +1 -1
  178. package/src/sap/ui/fl/support/apps/contentbrowser/view/ContentDetails.view.xml +1 -0
  179. package/src/sap/ui/fl/support/apps/contentbrowser/view/ContentDetailsEdit.view.xml +1 -0
  180. package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
  181. package/src/sap/ui/fl/util/IFrame.js +27 -2
  182. package/src/sap/ui/fl/util/ManagedObjectModel.js +1 -1
  183. package/src/sap/ui/fl/util/resolveBinding.js +1 -1
  184. package/src/sap/ui/fl/variants/VariantManagement.js +601 -2095
  185. package/src/sap/ui/fl/variants/VariantModel.js +90 -98
  186. package/src/sap/ui/fl/write/_internal/FlexInfoSession.js +46 -0
  187. package/src/sap/ui/fl/write/_internal/SaveAs.js +8 -9
  188. package/src/sap/ui/fl/write/_internal/Storage.js +4 -4
  189. package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +3 -3
  190. package/src/sap/ui/fl/write/_internal/Versions.js +13 -7
  191. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +3 -3
  192. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +1 -1
  193. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +3 -3
  194. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
  195. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +1 -1
  196. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
  197. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +3 -3
  198. package/src/sap/ui/fl/write/_internal/connectors/JsObjectConnector.js +2 -2
  199. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +27 -18
  200. package/src/sap/ui/fl/write/_internal/connectors/LocalStorageConnector.js +2 -2
  201. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +11 -4
  202. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +3 -3
  203. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +3 -3
  204. package/src/sap/ui/fl/write/_internal/connectors/ObjectStorageConnector.js +2 -2
  205. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +3 -3
  206. package/src/sap/ui/fl/write/_internal/connectors/SessionStorageConnector.js +2 -2
  207. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +3 -3
  208. package/src/sap/ui/fl/write/_internal/delegates/ODataV4ReadDelegate.js +2 -2
  209. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +1 -1
  210. package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +1 -1
  211. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +1 -1
  212. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +4 -4
  213. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +3 -3
  214. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +3 -3
  215. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
  216. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +4 -4
  217. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
  218. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +68 -18
  219. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
  220. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +1 -1
  221. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
  222. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +1 -1
  223. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +1 -1
  224. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +47 -10
  225. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +12 -12
  226. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +1 -1
  227. package/src/sap/ui/fl/write/_internal/transport/Transports.js +10 -3
  228. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +2 -2
  229. package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +24 -18
  230. package/src/sap/ui/fl/write/api/ContextSharingAPI.js +2 -2
  231. package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +2 -2
  232. package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +2 -2
  233. package/src/sap/ui/fl/write/api/FeaturesAPI.js +9 -7
  234. package/src/sap/ui/fl/write/api/FieldExtensibility.js +3 -3
  235. package/src/sap/ui/fl/write/api/LocalResetAPI.js +2 -2
  236. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +5 -46
  237. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +148 -110
  238. package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +2 -2
  239. package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +2 -2
  240. package/src/sap/ui/fl/write/api/TranslationAPI.js +2 -2
  241. package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +2 -2
  242. package/src/sap/ui/fl/write/api/VersionsAPI.js +5 -3
  243. package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +4 -3
  244. package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +4 -3
  245. package/src/sap/ui/fl/write/connectors/BaseConnector.js +4 -4
  246. package/src/sap/ui/fl/Variant.js +0 -511
  247. package/src/sap/ui/fl/support/Flexibility.js +0 -384
  248. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/Component.js +0 -18
  249. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/controller/Root.controller.js +0 -227
  250. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/index.html +0 -21
  251. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/manifest.json +0 -44
  252. package/src/sap/ui/fl/support/apps/uiFlexibilityDiagnostics/view/Root.view.xml +0 -95
  253. package/src/sap/ui/fl/support/diagnostics/Flexibility.controller.js +0 -35
  254. package/src/sap/ui/fl/support/diagnostics/Flexibility.view.xml +0 -41
  255. package/src/sap/ui/fl/support/flexibility.css +0 -32
package/.reuse/dep5 CHANGED
@@ -137,6 +137,11 @@ Copyright: jQuery Foundation and other contributors
137
137
  License: MIT
138
138
  Comment: these files belong to: QUnit 2
139
139
 
140
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
141
+ Copyright: jQuery Foundation and other contributors
142
+ License: MIT
143
+ Comment: these files belong to: QUnit 2.18
144
+
140
145
  Files: src/sap.ui.core/src/sap/ui/thirdparty/jquery-compat.js
141
146
  Copyright: OpenJS Foundation and other contributors
142
147
  License: MIT
@@ -154,7 +159,7 @@ Copyright:
154
159
  License: Apache-2.0 and MIT
155
160
  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
156
161
 
157
- Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite*
162
+ Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
158
163
  Copyright: jQuery Foundation and other contributors
159
164
  License: MIT
160
165
  Comment: these files belong to: QUnit Composite
@@ -234,6 +239,11 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
234
239
  License: BSD-3-Clause
235
240
  Comment: these files belong to: SinonJS
236
241
 
242
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
243
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
244
+ License: BSD-3-Clause
245
+ Comment: these files belong to: SinonJS 14
246
+
237
247
  Files: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
238
248
  Copyright: 2010-2011, Christian Johansen
239
249
  License: BSD-3-Clause
@@ -339,6 +349,13 @@ Copyright:
339
349
  License: Apache-2.0 and ISC
340
350
  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.
341
351
 
352
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
353
+ Copyright:
354
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
355
+ Arthur David Olson, Paul Eggert and other contributors
356
+ License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
357
+ 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
358
+
342
359
 
343
360
  # Library: sap.ui.documentation:
344
361
 
@@ -0,0 +1,5 @@
1
+ Unless specified below, all files in the tz code and data (including
2
+ this LICENSE file) are in the public domain.
3
+
4
+ If the files date.c, newstrftime.3, and strftime.c are present, they
5
+ contain material derived from BSD and use the BSD 3-clause license.
package/THIRDPARTY.txt CHANGED
@@ -76,6 +76,12 @@ License: MIT
76
76
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
77
77
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.*
78
78
 
79
+ Component: QUnit 2.18, version: 2.18.0
80
+ Copyright: jQuery Foundation and other contributors
81
+ License: MIT
82
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
83
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
84
+
79
85
  Component: jQuery-Migrate, version: 3.3.1
80
86
  Copyright: OpenJS Foundation and other contributors
81
87
  License: MIT
@@ -98,7 +104,7 @@ Component: QUnit Composite, version: 1.0.2-pre
98
104
  Copyright: jQuery Foundation and other contributors
99
105
  License: MIT
100
106
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
101
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite*
107
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
102
108
 
103
109
  Component: JUnit Reporter for QUnit, version: 1.1.1
104
110
  Copyright: jQuery Foundation and other contributors
@@ -191,13 +197,19 @@ License: BSD-3-Clause
191
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
192
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-4.js
193
199
 
200
+ Component: SinonJS 14, version: 14.0.0
201
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
202
+ License: BSD-3-Clause
203
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
204
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
205
+
194
206
  Component: Sinon-qunit, version: 2.0.0
195
207
  Copyright: 2010-2011, Christian Johansen
196
208
  License: BSD-3-Clause
197
209
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
210
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
211
 
200
- Component: URI.js, version: 1.19.10
212
+ Component: URI.js, version: 1.19.11
201
213
  Copyright: Rodney Rehm
202
214
  License: MIT
203
215
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -315,6 +327,12 @@ License: ISC
315
327
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
316
328
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
317
329
 
330
+ Component: Time Zone Database, version: 2022a
331
+ Copyright: Arthur David Olson, Paul Eggert and other contributors
332
+ License: LicenseRef-tzdata-PublicDomain
333
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
334
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
335
+
318
336
 
319
337
  Library: sap.ui.documentation:
320
338
 
@@ -450,7 +468,7 @@ License: Apache-2.0
450
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
469
  Contained in: lib/jsdoc/ui5/plugin.js
452
470
 
453
- Component: SAP Theming Base Content, version: 11.1.39
471
+ Component: SAP Theming Base Content, version: 11.1.40
454
472
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
473
  License: Apache-2.0
456
474
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -980,6 +998,21 @@ END of license: LicenseRef-JSONinJSPublicDomain
980
998
  =================================
981
999
 
982
1000
 
1001
+ =================================
1002
+ BEGIN of license: LicenseRef-tzdata-PublicDomain
1003
+ =================================
1004
+
1005
+ Unless specified below, all files in the tz code and data (including
1006
+ this LICENSE file) are in the public domain.
1007
+
1008
+ If the files date.c, newstrftime.3, and strftime.c are present, they
1009
+ contain material derived from BSD and use the BSD 3-clause license.
1010
+
1011
+ =================================
1012
+ END of license: LicenseRef-tzdata-PublicDomain
1013
+ =================================
1014
+
1015
+
983
1016
  =================================
984
1017
  BEGIN of license: MIT
985
1018
  =================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.fl",
3
- "version": "1.103.0",
3
+ "version": "1.105.0",
4
4
  "description": "OpenUI5 UI Library sap.ui.fl",
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.m": "1.103.0",
18
- "@openui5/sap.ui.core": "1.103.0"
17
+ "@openui5/sap.m": "1.105.0",
18
+ "@openui5/sap.ui.core": "1.105.0"
19
19
  }
20
20
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.103.0</version>
9
+ <version>1.105.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with sap.ui.fl controls.</documentation>
12
12
 
@@ -24,7 +24,7 @@ function(
24
24
  * @alias sap.ui.fl.Cache
25
25
  * @experimental Since 1.25.0
26
26
  * @author SAP SE
27
- * @version 1.103.0
27
+ * @version 1.105.0
28
28
  *
29
29
  * @private
30
30
  * @ui5-restricted sap.ui.fl
@@ -37,7 +37,7 @@ function(
37
37
  if (oChange.fileType === "variant") {
38
38
  return mStorageResponse.comp.variants;
39
39
  }
40
- if (oChange.selector.persistencyKey) {
40
+ if (oChange.selector && oChange.selector.persistencyKey) {
41
41
  return mStorageResponse.comp.changes;
42
42
  }
43
43
  return mStorageResponse.changes;
@@ -103,7 +103,7 @@ function(
103
103
  * @return {Promise} Returns the promise resolved with the determined cache key
104
104
  *
105
105
  * @private
106
- * @restricted sap.ui.fl
106
+ * @ui5-restricted sap.ui.fl
107
107
  *
108
108
  */
109
109
  Cache.getCacheKey = function(mComponent, oAppComponent) {
@@ -149,7 +149,7 @@ sap.ui.define([
149
149
 
150
150
  Change.prototype.isValidForDependencyMap = function() {
151
151
  //Change without id in selector should be skipped from adding dependencies process
152
- return this._oDefinition.selector && this._oDefinition.selector.id;
152
+ return this.getSelector() && this.getSelector().id;
153
153
  };
154
154
 
155
155
  Change.prototype.startApplying = function() {
@@ -525,26 +525,46 @@ sap.ui.define([
525
525
  };
526
526
 
527
527
  /**
528
- * Sets the new text for the given text ID.
528
+ * Sets the new text for the given text ID or creates new text with the given ID.
529
529
  *
530
530
  * @param {string} sTextId - Text ID which was used as part of the <code>oTexts</code> object
531
531
  * @param {string} sNewText - New text for the given text ID
532
+ * @param {string} sType - Translation text type
532
533
  *
533
534
  * @public
534
535
  */
535
- Change.prototype.setText = function (sTextId, sNewText) {
536
+ Change.prototype.setText = function (sTextId, sNewText, sType) {
536
537
  if (typeof (sTextId) !== "string") {
537
538
  Log.error("sap.ui.fl.Change.setTexts : sTextId is not defined");
538
539
  return;
539
540
  }
541
+ this._oDefinition.texts = this._oDefinition.texts || {};
540
542
  if (this._oDefinition.texts) {
541
543
  if (this._oDefinition.texts[sTextId]) {
542
544
  this._oDefinition.texts[sTextId].value = sNewText;
543
- this.setState(Change.states.DIRTY);
545
+ } else {
546
+ this._oDefinition.texts[sTextId] = {
547
+ value: sNewText,
548
+ type: sType
549
+ };
544
550
  }
551
+ this.setState(Change.states.DIRTY);
545
552
  }
546
553
  };
547
554
 
555
+ /**
556
+ * Returns the OData Information of the change.
557
+ * oDataInformation.propertyName - Name of the OData property
558
+ * oDataInformation.entityType - Name of the OData entity type that the property belongs to
559
+ * oDataInformation.oDataServiceUri - URI of the OData service
560
+ * @returns {object} OData Information of the change - propertyName, entityType and oDataServiceUri
561
+ *
562
+ * @function
563
+ */
564
+ Change.prototype.getODataInformation = function () {
565
+ return this._oDefinition.oDataInformation;
566
+ };
567
+
548
568
  /**
549
569
  * Checks if change is read only because of its source system.
550
570
  * @returns {boolean} <code>true</code> if the change is from another system
@@ -672,6 +692,11 @@ sap.ui.define([
672
692
  return this._oDefinition;
673
693
  };
674
694
 
695
+ // temporary function
696
+ Change.prototype.convertToFileContent = function() {
697
+ return this.getDefinition();
698
+ };
699
+
675
700
  /**
676
701
  * Sets the response from the back end after the change is saved.
677
702
  * @param {object} oResponse - Content of the change file
@@ -14,6 +14,8 @@ sap.ui.define([
14
14
  "sap/ui/core/Component",
15
15
  "sap/ui/fl/apply/_internal/changes/Applier",
16
16
  "sap/ui/fl/apply/_internal/changes/Utils",
17
+ "sap/ui/fl/apply/_internal/flexObjects/FlexObject",
18
+ "sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory",
17
19
  "sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler",
18
20
  "sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState",
19
21
  "sap/ui/fl/apply/_internal/flexState/FlexState",
@@ -27,7 +29,6 @@ sap.ui.define([
27
29
  "sap/ui/fl/LayerUtils",
28
30
  "sap/ui/fl/Layer",
29
31
  "sap/ui/fl/Utils",
30
- "sap/ui/fl/Variant",
31
32
  "sap/ui/model/json/JSONModel",
32
33
  "sap/ui/performance/Measurement"
33
34
  ], function(
@@ -40,6 +41,8 @@ sap.ui.define([
40
41
  Component,
41
42
  Applier,
42
43
  ChangesUtils,
44
+ FlexObject,
45
+ FlexObjectFactory,
43
46
  DependencyHandler,
44
47
  VariantManagementState,
45
48
  FlexState,
@@ -53,7 +56,6 @@ sap.ui.define([
53
56
  LayerUtils,
54
57
  Layer,
55
58
  Utils,
56
- Variant,
57
59
  JSONModel,
58
60
  Measurement
59
61
  ) {
@@ -64,7 +66,7 @@ sap.ui.define([
64
66
  *
65
67
  * @constructor
66
68
  * @author SAP SE
67
- * @version 1.103.0
69
+ * @version 1.105.0
68
70
  * @experimental Since 1.25.0
69
71
  * @param {object} mComponent - Component data to initiate <code>ChangePersistence</code> instance
70
72
  * @param {string} mComponent.name - Name of the component this instance is responsible for
@@ -92,12 +94,16 @@ sap.ui.define([
92
94
 
93
95
  function getChangeInstance(oFileContent, oChangeOrChangeContent) {
94
96
  var oChange;
95
- if (oChangeOrChangeContent instanceof Change) {
97
+ if (oChangeOrChangeContent instanceof Change || oChangeOrChangeContent instanceof FlexObject) {
96
98
  oChange = oChangeOrChangeContent; // can have other states
97
99
  this._mChangesEntries[oChange.getFileName()] = oChange;
98
100
  } else {
99
101
  if (!this._mChangesEntries[oChangeOrChangeContent.fileName]) {
100
- this._mChangesEntries[oChangeOrChangeContent.fileName] = new Change(oChangeOrChangeContent);
102
+ if (oChangeOrChangeContent.changeType === "codeExt") {
103
+ this._mChangesEntries[oChangeOrChangeContent.fileName] = FlexObjectFactory.createFromFileContent(oChangeOrChangeContent);
104
+ } else {
105
+ this._mChangesEntries[oChangeOrChangeContent.fileName] = new Change(oChangeOrChangeContent);
106
+ }
101
107
  }
102
108
  oChange = this._mChangesEntries[oChangeOrChangeContent.fileName];
103
109
  oChange.setState(Change.states.PERSISTED);
@@ -122,7 +128,7 @@ sap.ui.define([
122
128
  * @param {object} oAppComponent - Application component
123
129
  * @returns {Promise} Returns a promise with an ETag for caching
124
130
  * @private
125
- * @restricted sap.ui.fl
131
+ * @ui5-restricted sap.ui.fl
126
132
  */
127
133
  ChangePersistence.prototype.getCacheKey = function(oAppComponent) {
128
134
  return Cache.getCacheKey(this._mComponent, oAppComponent);
@@ -240,7 +246,10 @@ sap.ui.define([
240
246
 
241
247
  function getLayerFromChangeOrChangeContent(oChangeOrChangeContent) {
242
248
  var sChangeLayer;
243
- if (oChangeOrChangeContent instanceof Variant || oChangeOrChangeContent instanceof Change) {
249
+ if (
250
+ typeof oChangeOrChangeContent.isA === "function"
251
+ && (oChangeOrChangeContent.isA("sap.ui.fl.apply._internal.flexObjects.FlVariant") || oChangeOrChangeContent.isA("sap.ui.fl.Change"))
252
+ ) {
244
253
  sChangeLayer = oChangeOrChangeContent.getLayer();
245
254
  } else {
246
255
  sChangeLayer = oChangeOrChangeContent.layer;
@@ -487,7 +496,7 @@ sap.ui.define([
487
496
  ChangePersistence.prototype.addChange = function(vChange, oAppComponent) {
488
497
  var oChange = this.addDirtyChange(vChange);
489
498
  this._addRunTimeCreatedChangeAndUpdateDependencies(oAppComponent, oChange);
490
- this._mChangesEntries[oChange.getFileName()] = oChange;
499
+ this._mChangesEntries[oChange.getId()] = oChange;
491
500
  this._addPropagationListener(oAppComponent);
492
501
  return oChange;
493
502
  };
@@ -501,7 +510,10 @@ sap.ui.define([
501
510
  */
502
511
  ChangePersistence.prototype.addDirtyChange = function(vChange) {
503
512
  var oNewChange;
504
- if (vChange instanceof Change || vChange instanceof Variant) {
513
+ if (
514
+ typeof vChange.isA === "function"
515
+ && (vChange.isA("sap.ui.fl.Change") || vChange.isA("sap.ui.fl.apply._internal.flexObjects.FlexObject"))
516
+ ) {
505
517
  oNewChange = vChange;
506
518
  } else {
507
519
  oNewChange = new Change(vChange);
@@ -650,7 +662,7 @@ sap.ui.define([
650
662
  }
651
663
  return oCondensedChangesPromise.then(function(aCondensedChanges) {
652
664
  var sRequest = aRequests[0];
653
- var sLayer = aDirtyChanges[0].getDefinition().layer;
665
+ var sLayer = aDirtyChanges[0].getLayer();
654
666
  if (bIsCondensingEnabled) {
655
667
  return Storage.condense({
656
668
  allChanges: aAllChanges,
@@ -756,14 +768,14 @@ sap.ui.define([
756
768
  switch (oDirtyChange.getState()) {
757
769
  case Change.states.NEW:
758
770
  oDirtyChange.setState(Change.states.PERSISTED);
759
- Cache.addChange(this._mComponent, oDirtyChange.getDefinition());
771
+ Cache.addChange(this._mComponent, oDirtyChange.convertToFileContent());
760
772
  break;
761
773
  case Change.states.DELETED:
762
- Cache.deleteChange(this._mComponent, oDirtyChange.getDefinition());
774
+ Cache.deleteChange(this._mComponent, oDirtyChange.convertToFileContent());
763
775
  break;
764
776
  case Change.states.DIRTY:
765
777
  oDirtyChange.setState(Change.states.PERSISTED);
766
- Cache.updateChange(this._mComponent, oDirtyChange.getDefinition());
778
+ Cache.updateChange(this._mComponent, oDirtyChange.convertToFileContent());
767
779
  break;
768
780
  }
769
781
  }
@@ -811,7 +823,7 @@ sap.ui.define([
811
823
  var aChanges = [];
812
824
 
813
825
  aDirtyChanges.forEach(function(oChange) {
814
- aChanges.push(oChange.getDefinition());
826
+ aChanges.push(oChange.convertToFileContent());
815
827
  });
816
828
 
817
829
  return aChanges;
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @alias sap.ui.fl.ChangePersistenceFactory
31
31
  * @experimental Since 1.27.0
32
32
  * @author SAP SE
33
- * @version 1.103.0
33
+ * @version 1.105.0
34
34
  * @private
35
35
  * @ui5-restricted sap.ui.fl
36
36
  */
@@ -27,6 +27,12 @@ sap.ui.define([
27
27
  * Hooks into the {@link sap.ui.fl.LrepConnector.createConnector} factory function to enable the fake LRep connector.
28
28
  * After enabling fake LRep connector, function {@link sap.ui.fl.FakeLrepConnector.disableFakeConnector} must be called to restore the original connector.
29
29
  *
30
+ * @private
31
+ * @ui5-restricted
32
+ * @deprecated since 1.70. Configure the <code>sap.ui.core.Configuration.flexibilityServices</code> to use a test connector
33
+ * like <code>["LocalStorageConnector"]</code>, <code>["SessionStorageConnector"]</code> or <code>["JsObjectConnector"]</code>.
34
+ * @see {@link https://ui5.sap.com/#/topic/642dab291a7b47ec9d46c39b3c482aba|Boostrapping UI5 Flexibility}
35
+ *
30
36
  * @param {string} sInitialComponentJsonPath Relative path to a test-component-changes.json file
31
37
  */
32
38
  FakeLrepConnector.enableFakeConnector = function(sInitialComponentJsonPath) {
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
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
  */
@@ -20,11 +20,17 @@ function(
20
20
  * @namespace
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.103.0
23
+ * @version 1.105.0
24
24
  *
25
25
  * @private
26
26
  * @since 1.48
27
27
  * @alias sap.ui.fl.FakeLrepConnectorLocalStorage
28
+ *
29
+ * @private
30
+ * @ui5-restricted
31
+ * @deprecated since 1.70. Configure the <code>sap.ui.core.Configuration.flexibilityServices</code> to use a test connector
32
+ * like <code>["LocalStorageConnector"]</code>, <code>["SessionStorageConnector"]</code> or <code>["JsObjectConnector"]</code>.
33
+ * @see {@link https://ui5.sap.com/#/topic/642dab291a7b47ec9d46c39b3c482aba|Boostrapping UI5 Flexibility}
28
34
  */
29
35
 
30
36
  return {
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
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
  */
@@ -20,11 +20,17 @@ function(
20
20
  * @namespace
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.103.0
23
+ * @version 1.105.0
24
24
  *
25
25
  * @private
26
26
  * @since 1.58
27
27
  * @alias sap.ui.fl.FakeLrepConnectorSessionStorage
28
+ *
29
+ * @private
30
+ * @ui5-restricted
31
+ * @deprecated since 1.70. Configure the <code>sap.ui.core.Configuration.flexibilityServices</code> to use a test connector
32
+ * like <code>["LocalStorageConnector"]</code>, <code>["SessionStorageConnector"]</code> or <code>["JsObjectConnector"]</code>.
33
+ * @see {@link https://ui5.sap.com/#/topic/642dab291a7b47ec9d46c39b3c482aba|Boostrapping UI5 Flexibility}
28
34
  */
29
35
 
30
36
  return {
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
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
  */
@@ -17,11 +17,17 @@ sap.ui.define([
17
17
  * @namespace
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.103.0
20
+ * @version 1.105.0
21
21
  *
22
22
  * @private
23
23
  * @since 1.48
24
24
  * @alias sap.ui.fl.FakeLrepLocalStorage
25
+ *
26
+ * @private
27
+ * @ui5-restricted
28
+ * @deprecated since 1.70. Configure the <code>sap.ui.core.Configuration.flexibilityServices</code> to use a test connector
29
+ * like <code>["LocalStorageConnector"]</code>, <code>["SessionStorageConnector"]</code> or <code>["JsObjectConnector"]</code>.
30
+ * @see {@link https://ui5.sap.com/#/topic/642dab291a7b47ec9d46c39b3c482aba|Boostrapping UI5 Flexibility}
25
31
  */
26
32
 
27
33
  "use strict";
@@ -86,7 +86,7 @@ sap.ui.define([
86
86
  * @alias sap.ui.fl.FlexController
87
87
  * @experimental Since 1.27.0
88
88
  * @author SAP SE
89
- * @version 1.103.0
89
+ * @version 1.105.0
90
90
  */
91
91
  var FlexController = function(sComponentName) {
92
92
  this._oChangePersistence = undefined;
@@ -175,6 +175,8 @@ sap.ui.define([
175
175
  throw new Error("Change handler could not be retrieved for change " + JSON.stringify(oChangeSpecificData) + ".");
176
176
  })
177
177
  .then(function () {
178
+ // completeChangeContent changes the content and might make it dirty
179
+ oChange.setState(Change.states.NEW);
178
180
  return oChange;
179
181
  })
180
182
  .catch(function(oError) {
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @alias sap.ui.fl.FlexControllerFactory
33
33
  * @experimental Since 1.27.0
34
34
  * @author SAP SE
35
- * @version 1.103.0
35
+ * @version 1.105.0
36
36
  *
37
37
  * @private
38
38
  * @ui5-restricted sap.ui.fl
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
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
  */
@@ -10,6 +10,9 @@ sap.ui.define([], function () {
10
10
  /**
11
11
  * Available layers
12
12
  *
13
+ * @alias sap.ui.fl.Layer
14
+ * @private
15
+ * @ui5-restricted sap.ui.fl, sap.ui.rta, UX Tools, SAPUI5 Visual Editor
13
16
  * @enum {string}
14
17
  */
15
18
  return {
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  *
42
42
  * @namespace sap.ui.fl.LayerUtils
43
43
  * @author SAP SE
44
- * @version 1.103.0
44
+ * @version 1.105.0
45
45
  */
46
46
  var LayerUtils = {
47
47
  _mLayersIndex: mLayersIndex,