@openui5/sap.ui.fl 1.99.1 → 1.102.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 (205) hide show
  1. package/THIRDPARTY.txt +5 -5
  2. package/package.json +3 -3
  3. package/src/sap/ui/fl/.library +1 -1
  4. package/src/sap/ui/fl/Cache.js +1 -1
  5. package/src/sap/ui/fl/Change.js +27 -5
  6. package/src/sap/ui/fl/ChangePersistence.js +118 -153
  7. package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
  8. package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +3 -4
  9. package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +3 -4
  10. package/src/sap/ui/fl/FakeLrepLocalStorage.js +4 -4
  11. package/src/sap/ui/fl/FlexController.js +12 -55
  12. package/src/sap/ui/fl/FlexControllerFactory.js +4 -1
  13. package/src/sap/ui/fl/LayerUtils.js +1 -1
  14. package/src/sap/ui/fl/Scenario.js +27 -0
  15. package/src/sap/ui/fl/Utils.js +9 -7
  16. package/src/sap/ui/fl/Variant.js +1 -1
  17. package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +1 -1
  18. package/src/sap/ui/fl/apply/_internal/changes/Applier.js +56 -9
  19. package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
  20. package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +1 -1
  21. package/src/sap/ui/fl/apply/_internal/changes/Utils.js +46 -2
  22. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -1
  23. package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
  24. package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +1 -1
  25. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +1 -1
  26. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +1 -1
  27. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
  28. package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
  29. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
  30. package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -1
  31. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
  32. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
  33. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
  34. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +1 -1
  35. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +1 -1
  36. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +1 -1
  37. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +1 -1
  38. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -1
  39. package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +1 -1
  40. package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +1 -1
  41. package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +9 -5
  42. package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +1 -1
  43. package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +8 -0
  44. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +452 -0
  45. package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +68 -0
  46. package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +28 -34
  47. package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +1 -3
  48. package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +1 -1
  49. package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +1 -1
  50. package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +1 -1
  51. package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +12 -10
  52. package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +2 -2
  53. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +1 -1
  54. package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +27 -16
  55. package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +1 -1
  56. package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +1 -1
  57. package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +1 -1
  58. package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +1 -1
  59. package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +1 -1
  60. package/src/sap/ui/fl/changeHandler/AddIFrame.js +1 -1
  61. package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
  62. package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +1 -1
  63. package/src/sap/ui/fl/changeHandler/Base.js +1 -1
  64. package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +4 -2
  65. package/src/sap/ui/fl/changeHandler/BaseAddXml.js +1 -1
  66. package/src/sap/ui/fl/changeHandler/BaseRename.js +6 -4
  67. package/src/sap/ui/fl/changeHandler/HideControl.js +4 -2
  68. package/src/sap/ui/fl/changeHandler/MoveControls.js +10 -3
  69. package/src/sap/ui/fl/changeHandler/MoveElements.js +1 -1
  70. package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +6 -4
  71. package/src/sap/ui/fl/changeHandler/PropertyChange.js +4 -2
  72. package/src/sap/ui/fl/changeHandler/StashControl.js +17 -4
  73. package/src/sap/ui/fl/changeHandler/UnhideControl.js +6 -4
  74. package/src/sap/ui/fl/changeHandler/UnstashControl.js +7 -3
  75. package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +1 -1
  76. package/src/sap/ui/fl/changeHandler/condenser/Classification.js +43 -0
  77. package/src/sap/ui/fl/codeExt/CodeExtManager.js +1 -1
  78. package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +4 -4
  79. package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +1 -1
  80. package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
  81. package/src/sap/ui/fl/initial/_internal/Storage.js +8 -6
  82. package/src/sap/ui/fl/initial/_internal/StorageUtils.js +1 -1
  83. package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem.js +1 -1
  84. package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +7 -2
  85. package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +1 -1
  86. package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +1 -1
  87. package/src/sap/ui/fl/interfaces/Delegate.js +1 -1
  88. package/src/sap/ui/fl/library.js +22 -66
  89. package/src/sap/ui/fl/library.support.js +1 -1
  90. package/src/sap/ui/fl/messagebundle_fr.properties +14 -14
  91. package/src/sap/ui/fl/support/Flexibility.js +1 -1
  92. package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +1 -1
  93. package/src/sap/ui/fl/support/_internal/getFlexSettings.js +1 -1
  94. package/src/sap/ui/fl/support/api/SupportAPI.js +1 -1
  95. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +1 -1
  96. package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +1 -1
  97. package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +1 -1
  98. package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +1 -1
  99. package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +1 -1
  100. package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +1 -1
  101. package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +1 -1
  102. package/src/sap/ui/fl/support/diagnostics/Flexibility.controller.js +1 -1
  103. package/src/sap/ui/fl/themes/base/VariantManagement.less +23 -21
  104. package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
  105. package/src/sap/ui/fl/util/IFrame.js +1 -1
  106. package/src/sap/ui/fl/util/ManagedObjectModel.js +1 -1
  107. package/src/sap/ui/fl/util/resolveBinding.js +1 -1
  108. package/src/sap/ui/fl/variants/VariantManagement.js +2 -1
  109. package/src/sap/ui/fl/variants/VariantModel.js +7 -1
  110. package/src/sap/ui/fl/variants/context/Component.js +2 -6
  111. package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +5 -44
  112. package/src/sap/ui/fl/variants/context/i18n/i18n.properties +3 -7
  113. package/src/sap/ui/fl/variants/context/i18n/i18n_ar.properties +2 -4
  114. package/src/sap/ui/fl/variants/context/i18n/i18n_bg.properties +2 -4
  115. package/src/sap/ui/fl/variants/context/i18n/i18n_ca.properties +2 -4
  116. package/src/sap/ui/fl/variants/context/i18n/i18n_cs.properties +2 -4
  117. package/src/sap/ui/fl/variants/context/i18n/i18n_cy.properties +2 -4
  118. package/src/sap/ui/fl/variants/context/i18n/i18n_da.properties +2 -4
  119. package/src/sap/ui/fl/variants/context/i18n/i18n_de.properties +2 -4
  120. package/src/sap/ui/fl/variants/context/i18n/i18n_el.properties +2 -4
  121. package/src/sap/ui/fl/variants/context/i18n/i18n_en.properties +2 -4
  122. package/src/sap/ui/fl/variants/context/i18n/i18n_en_GB.properties +2 -4
  123. package/src/sap/ui/fl/variants/context/i18n/i18n_en_US_sappsd.properties +2 -4
  124. package/src/sap/ui/fl/variants/context/i18n/i18n_en_US_saprigi.properties +2 -4
  125. package/src/sap/ui/fl/variants/context/i18n/i18n_en_US_saptrc.properties +2 -4
  126. package/src/sap/ui/fl/variants/context/i18n/i18n_es.properties +2 -4
  127. package/src/sap/ui/fl/variants/context/i18n/i18n_es_MX.properties +2 -4
  128. package/src/sap/ui/fl/variants/context/i18n/i18n_et.properties +2 -4
  129. package/src/sap/ui/fl/variants/context/i18n/i18n_fi.properties +2 -4
  130. package/src/sap/ui/fl/variants/context/i18n/i18n_fr.properties +2 -4
  131. package/src/sap/ui/fl/variants/context/i18n/i18n_fr_CA.properties +2 -4
  132. package/src/sap/ui/fl/variants/context/i18n/i18n_hi.properties +2 -4
  133. package/src/sap/ui/fl/variants/context/i18n/i18n_hr.properties +2 -4
  134. package/src/sap/ui/fl/variants/context/i18n/i18n_hu.properties +2 -4
  135. package/src/sap/ui/fl/variants/context/i18n/i18n_id.properties +2 -4
  136. package/src/sap/ui/fl/variants/context/i18n/i18n_it.properties +2 -4
  137. package/src/sap/ui/fl/variants/context/i18n/i18n_iw.properties +2 -4
  138. package/src/sap/ui/fl/variants/context/i18n/i18n_ja.properties +2 -4
  139. package/src/sap/ui/fl/variants/context/i18n/i18n_kk.properties +2 -4
  140. package/src/sap/ui/fl/variants/context/i18n/i18n_ko.properties +2 -4
  141. package/src/sap/ui/fl/variants/context/i18n/i18n_lt.properties +2 -4
  142. package/src/sap/ui/fl/variants/context/i18n/i18n_lv.properties +2 -4
  143. package/src/sap/ui/fl/variants/context/i18n/i18n_ms.properties +2 -4
  144. package/src/sap/ui/fl/variants/context/i18n/i18n_nl.properties +2 -4
  145. package/src/sap/ui/fl/variants/context/i18n/i18n_no.properties +2 -4
  146. package/src/sap/ui/fl/variants/context/i18n/i18n_pl.properties +2 -4
  147. package/src/sap/ui/fl/variants/context/i18n/i18n_pt.properties +2 -4
  148. package/src/sap/ui/fl/variants/context/i18n/i18n_pt_PT.properties +2 -4
  149. package/src/sap/ui/fl/variants/context/i18n/i18n_ro.properties +2 -4
  150. package/src/sap/ui/fl/variants/context/i18n/i18n_ru.properties +2 -4
  151. package/src/sap/ui/fl/variants/context/i18n/i18n_sh.properties +2 -4
  152. package/src/sap/ui/fl/variants/context/i18n/i18n_sk.properties +2 -4
  153. package/src/sap/ui/fl/variants/context/i18n/i18n_sl.properties +2 -4
  154. package/src/sap/ui/fl/variants/context/i18n/i18n_sv.properties +2 -4
  155. package/src/sap/ui/fl/variants/context/i18n/i18n_th.properties +2 -4
  156. package/src/sap/ui/fl/variants/context/i18n/i18n_tr.properties +2 -4
  157. package/src/sap/ui/fl/variants/context/i18n/i18n_uk.properties +2 -4
  158. package/src/sap/ui/fl/variants/context/i18n/i18n_vi.properties +2 -4
  159. package/src/sap/ui/fl/variants/context/i18n/i18n_zh_CN.properties +2 -4
  160. package/src/sap/ui/fl/variants/context/i18n/i18n_zh_TW.properties +2 -4
  161. package/src/sap/ui/fl/variants/context/view/ContextVisibility.view.xml +7 -6
  162. package/src/sap/ui/fl/write/_internal/Storage.js +7 -1
  163. package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +1 -1
  164. package/src/sap/ui/fl/write/_internal/Versions.js +85 -36
  165. package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +5 -1
  166. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +4 -2
  167. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +1 -1
  168. package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +1 -1
  169. package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +14 -12
  170. package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +5 -3
  171. package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +1 -1
  172. package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +2 -2
  173. package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +78 -12
  174. package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +1 -1
  175. package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +1 -1
  176. package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +1 -1
  177. package/src/sap/ui/fl/write/_internal/connectors/Utils.js +1 -1
  178. package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +1 -1
  179. package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +1 -1
  180. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +1 -1
  181. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -1
  182. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
  183. package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +1 -1
  184. package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -1
  185. package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +1 -1
  186. package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
  187. package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +1 -1
  188. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
  189. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +1 -1
  190. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
  191. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +1 -1
  192. package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +1 -1
  193. package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +28 -7
  194. package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +98 -41
  195. package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +13 -2
  196. package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +7 -4
  197. package/src/sap/ui/fl/write/_internal/transport/Transports.js +1 -1
  198. package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +13 -4
  199. package/src/sap/ui/fl/write/api/FeaturesAPI.js +2 -2
  200. package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
  201. package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +49 -4
  202. package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +18 -11
  203. package/src/sap/ui/fl/write/api/TranslationAPI.js +54 -17
  204. package/src/sap/ui/fl/write/api/Version.js +22 -0
  205. package/src/sap/ui/fl/write/api/VersionsAPI.js +90 -74
package/THIRDPARTY.txt CHANGED
@@ -400,7 +400,7 @@ Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperato
400
400
 
401
401
  Library: sap.ui.webc.common:
402
402
 
403
- Component: UI5 Web Components, version: 1.0.0-rc.12
403
+ Component: UI5 Web Components, version: 1.1.2
404
404
  Copyright: SAP
405
405
  License: Apache-2.0
406
406
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -411,7 +411,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
411
411
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
412
412
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
413
413
 
414
- Component: lit-html, version: 1.4.1
414
+ Component: lit-html, version: 2.0.1
415
415
  Copyright: Google LLC
416
416
  License: BSD-3-Clause
417
417
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -420,7 +420,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/
420
420
 
421
421
  Library: sap.ui.webc.fiori:
422
422
 
423
- Component: UI5 Web Components, version: 1.0.0-rc.12
423
+ Component: UI5 Web Components, version: 1.1.2
424
424
  Copyright: SAP
425
425
  License: Apache-2.0
426
426
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -429,7 +429,7 @@ Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
429
429
 
430
430
  Library: sap.ui.webc.main:
431
431
 
432
- Component: UI5 Web Components, version: 1.0.0-rc.12
432
+ Component: UI5 Web Components, version: 1.1.2
433
433
  Copyright: SAP
434
434
  License: Apache-2.0
435
435
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -450,7 +450,7 @@ License: Apache-2.0
450
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
451
  Contained in: lib/jsdoc/ui5/plugin.js
452
452
 
453
- Component: SAP Theming Base Content, version: 11.1.34
453
+ Component: SAP Theming Base Content, version: 11.1.39
454
454
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.fl",
3
- "version": "1.99.1",
3
+ "version": "1.102.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.99.1",
18
- "@openui5/sap.ui.core": "1.99.1"
17
+ "@openui5/sap.m": "1.102.0",
18
+ "@openui5/sap.ui.core": "1.102.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.99.1</version>
9
+ <version>1.102.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.99.1
27
+ * @version 1.102.0
28
28
  *
29
29
  * @private
30
30
  * @ui5-restricted sap.ui.fl
@@ -87,9 +87,11 @@ sap.ui.define([
87
87
  Change.applyState = {
88
88
  INITIAL: 0,
89
89
  APPLYING: 1,
90
- APPLY_FINISHED: 2,
90
+ APPLY_FINISHED: 2, // Deprecated
91
91
  REVERTING: 3,
92
- REVERT_FINISHED: 4
92
+ REVERT_FINISHED: 4,
93
+ APPLY_SUCCESSFUL: 5,
94
+ APPLY_FAILED: 6
93
95
  };
94
96
 
95
97
  Change.operations = {
@@ -154,10 +156,22 @@ sap.ui.define([
154
156
  this.setApplyState(Change.applyState.APPLYING);
155
157
  };
156
158
 
157
- Change.prototype.markFinished = function(oResult) {
159
+ // Deprecated, use markSuccessful or markFailed instead
160
+ Change.prototype.markFinished = function(oResult, bApplySuccessful) {
158
161
  this._aQueuedProcesses.pop();
159
162
  this._resolveChangeProcessingPromiseWithError(Change.operations.APPLY, oResult);
160
- this.setApplyState(Change.applyState.APPLY_FINISHED);
163
+ var sNewApplyState = bApplySuccessful !== false
164
+ ? Change.applyState.APPLY_SUCCESSFUL
165
+ : Change.applyState.APPLY_FAILED;
166
+ this.setApplyState(sNewApplyState);
167
+ };
168
+
169
+ Change.prototype.markSuccessful = function(oResult) {
170
+ this.markFinished(oResult, true);
171
+ };
172
+
173
+ Change.prototype.markFailed = function(oResult) {
174
+ this.markFinished(oResult, false);
161
175
  };
162
176
 
163
177
  Change.prototype.startReverting = function() {
@@ -174,8 +188,16 @@ sap.ui.define([
174
188
  return this.getApplyState() === Change.applyState.APPLYING;
175
189
  };
176
190
 
191
+ Change.prototype.isSuccessfullyApplied = function() {
192
+ return this.getApplyState() === Change.applyState.APPLY_SUCCESSFUL;
193
+ };
194
+
195
+ Change.prototype.hasApplyProcessFailed = function() {
196
+ return this.getApplyState() === Change.applyState.APPLY_FAILED;
197
+ };
198
+
177
199
  Change.prototype.isApplyProcessFinished = function() {
178
- return this.getApplyState() === Change.applyState.APPLY_FINISHED;
200
+ return this.isSuccessfullyApplied() || this.hasApplyProcessFailed();
179
201
  };
180
202
 
181
203
  Change.prototype.hasRevertProcessStarted = function() {
@@ -5,53 +5,57 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler",
9
- "sap/ui/fl/initial/_internal/StorageUtils",
10
- "sap/ui/fl/Change",
11
- "sap/ui/fl/Layer",
12
- "sap/ui/fl/Variant",
13
- "sap/ui/fl/Utils",
14
- "sap/ui/fl/LayerUtils",
15
- "sap/ui/fl/Cache",
16
- "sap/ui/fl/registry/Settings",
17
- "sap/ui/fl/apply/_internal/changes/Applier",
18
- "sap/ui/fl/write/_internal/Storage",
19
- "sap/ui/core/util/reflection/JsControlTreeModifier",
20
- "sap/ui/core/Component",
21
- "sap/ui/model/json/JSONModel",
22
- "sap/ui/performance/Measurement",
8
+ "sap/base/util/restricted/_union",
23
9
  "sap/base/util/includes",
24
10
  "sap/base/util/merge",
25
- "sap/base/util/restricted/_union",
26
11
  "sap/base/util/UriParameters",
27
12
  "sap/base/Log",
13
+ "sap/ui/core/util/reflection/JsControlTreeModifier",
14
+ "sap/ui/core/Component",
15
+ "sap/ui/fl/apply/_internal/changes/Applier",
16
+ "sap/ui/fl/apply/_internal/changes/Utils",
17
+ "sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler",
28
18
  "sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState",
29
19
  "sap/ui/fl/apply/_internal/flexState/FlexState",
30
- "sap/ui/fl/write/_internal/condenser/Condenser"
20
+ "sap/ui/fl/initial/_internal/StorageUtils",
21
+ "sap/ui/fl/registry/Settings",
22
+ "sap/ui/fl/write/_internal/condenser/Condenser",
23
+ "sap/ui/fl/write/_internal/Storage",
24
+ "sap/ui/fl/write/api/Version",
25
+ "sap/ui/fl/Cache",
26
+ "sap/ui/fl/Change",
27
+ "sap/ui/fl/LayerUtils",
28
+ "sap/ui/fl/Layer",
29
+ "sap/ui/fl/Utils",
30
+ "sap/ui/fl/Variant",
31
+ "sap/ui/model/json/JSONModel",
32
+ "sap/ui/performance/Measurement"
31
33
  ], function(
32
- DependencyHandler,
33
- StorageUtils,
34
- Change,
35
- Layer,
36
- Variant,
37
- Utils,
38
- LayerUtils,
39
- Cache,
40
- Settings,
41
- Applier,
42
- Storage,
43
- JsControlTreeModifier,
44
- Component,
45
- JSONModel,
46
- Measurement,
34
+ union,
47
35
  includes,
48
36
  merge,
49
- union,
50
37
  UriParameters,
51
38
  Log,
39
+ JsControlTreeModifier,
40
+ Component,
41
+ Applier,
42
+ ChangesUtils,
43
+ DependencyHandler,
52
44
  VariantManagementState,
53
45
  FlexState,
54
- Condenser
46
+ StorageUtils,
47
+ Settings,
48
+ Condenser,
49
+ Storage,
50
+ Version,
51
+ Cache,
52
+ Change,
53
+ LayerUtils,
54
+ Layer,
55
+ Utils,
56
+ Variant,
57
+ JSONModel,
58
+ Measurement
55
59
  ) {
56
60
  "use strict";
57
61
 
@@ -60,10 +64,10 @@ sap.ui.define([
60
64
  *
61
65
  * @constructor
62
66
  * @author SAP SE
63
- * @version 1.37.0-SNAPSHOT
67
+ * @version 1.102.0
64
68
  * @experimental Since 1.25.0
65
- * @param {object} mComponent Component data to initiate <code>ChangePersistence</code> instance
66
- * @param {string} mComponent.name Name of the component this instance is responsible for
69
+ * @param {object} mComponent - Component data to initiate <code>ChangePersistence</code> instance
70
+ * @param {string} mComponent.name - Name of the component this instance is responsible for
67
71
  */
68
72
  var ChangePersistence = function(mComponent) {
69
73
  this._mComponent = mComponent;
@@ -133,19 +137,17 @@ sap.ui.define([
133
137
  * @param {object} oChangeOrChangeContent Change instance or content of the change
134
138
  *
135
139
  * @returns {boolean} <code>true</code> if all the preconditions are fulfilled
136
- * @public
137
140
  */
138
- ChangePersistence.prototype._preconditionsFulfilled = function(oChangeOrChangeContent) {
141
+ function preconditionsFulfilled(oChangeOrChangeContent) {
139
142
  var oChangeContent = oChangeOrChangeContent instanceof Change ? oChangeOrChangeContent.getDefinition() : oChangeOrChangeContent;
140
143
 
141
- function isControlVariantChange() {
142
- if ((oChangeContent.fileType === "ctrl_variant") || (oChangeContent.fileType === "ctrl_variant_change") || (oChangeContent.fileType === "ctrl_variant_management_change")) {
143
- return oChangeContent.variantManagementReference || oChangeContent.variantReference || (oChangeContent.selector && oChangeContent.selector.id);
144
- }
144
+ var bControlVariantChange = false;
145
+ if ((oChangeContent.fileType === "ctrl_variant") || (oChangeContent.fileType === "ctrl_variant_change") || (oChangeContent.fileType === "ctrl_variant_management_change")) {
146
+ bControlVariantChange = oChangeContent.variantManagementReference || oChangeContent.variantReference || (oChangeContent.selector && oChangeContent.selector.id);
145
147
  }
146
148
 
147
- return oChangeContent.fileType === "change" || isControlVariantChange();
148
- };
149
+ return oChangeContent.fileType === "change" || bControlVariantChange;
150
+ }
149
151
 
150
152
  /**
151
153
  * Calls the back end asynchronously and fetches all changes for the component
@@ -201,7 +203,7 @@ sap.ui.define([
201
203
  if (sCurrentLayer) {
202
204
  aChanges = LayerUtils.filterChangeOrChangeDefinitionsByCurrentLayer(aChanges, sCurrentLayer);
203
205
  } else if (LayerUtils.isLayerFilteringRequired(this._oUShellURLParsingService) && bFilterMaxLayer) {
204
- fnFilter = this._filterChangeForMaxLayer.bind(this);
206
+ fnFilter = filterChangeForMaxLayer.bind(this);
205
207
  //If layer filtering required, excludes changes in higher layer than the max layer
206
208
  aChanges = aChanges.filter(fnFilter);
207
209
  } else if (this._bHasChangesOverMaxLayer && !bFilterMaxLayer) {
@@ -222,21 +224,21 @@ sap.ui.define([
222
224
 
223
225
  ChangePersistence.prototype._checkAndGetChangeInstances = function(aChanges, oChangeFileContent) {
224
226
  return aChanges
225
- .filter(this._preconditionsFulfilled)
227
+ .filter(preconditionsFulfilled)
226
228
  .map(getChangeInstance.bind(this, oChangeFileContent));
227
229
  };
228
230
 
229
- ChangePersistence.prototype._filterChangeForMaxLayer = function(oChangeOrChangeContent) {
230
- if (LayerUtils.isOverMaxLayer(this._getLayerFromChangeOrChangeContent(oChangeOrChangeContent), this._oUShellURLParsingService)) {
231
+ function filterChangeForMaxLayer(oChangeOrChangeContent) {
232
+ if (LayerUtils.isOverMaxLayer(getLayerFromChangeOrChangeContent(oChangeOrChangeContent), this._oUShellURLParsingService)) {
231
233
  if (!this._bHasChangesOverMaxLayer) {
232
234
  this._bHasChangesOverMaxLayer = true;
233
235
  }
234
236
  return false;
235
237
  }
236
238
  return true;
237
- };
239
+ }
238
240
 
239
- ChangePersistence.prototype._getLayerFromChangeOrChangeContent = function(oChangeOrChangeContent) {
241
+ function getLayerFromChangeOrChangeContent(oChangeOrChangeContent) {
240
242
  var sChangeLayer;
241
243
  if (oChangeOrChangeContent instanceof Variant || oChangeOrChangeContent instanceof Change) {
242
244
  sChangeLayer = oChangeOrChangeContent.getLayer();
@@ -244,7 +246,7 @@ sap.ui.define([
244
246
  sChangeLayer = oChangeOrChangeContent.layer;
245
247
  }
246
248
  return sChangeLayer;
247
- };
249
+ }
248
250
 
249
251
  ChangePersistence.prototype._getAllCtrlVariantChanges = function(oChangeFileContent, bIncludeCtrlVariants, fnFilter) {
250
252
  if (!bIncludeCtrlVariants) {
@@ -445,40 +447,6 @@ sap.ui.define([
445
447
  return this._bChangesMapCreated;
446
448
  };
447
449
 
448
- ChangePersistence.prototype.changesHavingCorrectViewPrefix = function(mPropertyBag, oChange) {
449
- var oModifier = mPropertyBag.modifier;
450
- var oAppComponent = mPropertyBag.appComponent;
451
- var oSelector = oChange.getSelector();
452
- if (!oSelector || !mPropertyBag) {
453
- return false;
454
- }
455
- if (oSelector.viewSelector) {
456
- var sSelectorViewId = oModifier.getControlIdBySelector(oSelector.viewSelector, oAppComponent);
457
- return sSelectorViewId === mPropertyBag.viewId;
458
- }
459
- var sSelectorId = oSelector.id;
460
- if (sSelectorId) {
461
- var sViewId;
462
- if (oChange.getSelector().idIsLocal) {
463
- if (oAppComponent) {
464
- sViewId = oAppComponent.getLocalId(mPropertyBag.viewId);
465
- }
466
- } else {
467
- sViewId = mPropertyBag.viewId;
468
- }
469
- var iIndex = 0;
470
- var sSelectorIdViewPrefix;
471
- do {
472
- iIndex = sSelectorId.indexOf("--", iIndex);
473
- sSelectorIdViewPrefix = sSelectorId.slice(0, iIndex);
474
- iIndex++;
475
- } while (sSelectorIdViewPrefix !== sViewId && iIndex > 0);
476
-
477
- return sSelectorIdViewPrefix === sViewId;
478
- }
479
- return false;
480
- };
481
-
482
450
  /**
483
451
  * Gets the changes for the given view id. The complete view prefix has to match.
484
452
  *
@@ -504,8 +472,8 @@ sap.ui.define([
504
472
  */
505
473
  ChangePersistence.prototype.getChangesForView = function(mPropertyBag) {
506
474
  return this.getChangesForComponent(mPropertyBag).then(function(aChanges) {
507
- return aChanges.filter(this.changesHavingCorrectViewPrefix.bind(this, mPropertyBag));
508
- }.bind(this));
475
+ return aChanges.filter(ChangesUtils.filterChangeByView.bind(undefined, mPropertyBag));
476
+ });
509
477
  };
510
478
 
511
479
  /**
@@ -672,8 +640,8 @@ sap.ui.define([
672
640
  var aAllChanges = bIsCondensingEnabled ? aRelevantChangesForCondensing : aDirtyChanges;
673
641
  var aChangesClone = aAllChanges.slice(0);
674
642
  var aDirtyChangesClone = aDirtyChanges.slice(0);
675
- var aRequests = this._getRequests(aDirtyChanges);
676
- var aStates = this._getStates(aDirtyChanges);
643
+ var aRequests = getRequests(aDirtyChanges);
644
+ var aStates = getStates(aDirtyChanges);
677
645
 
678
646
  if (aStates.length === 1 && aRequests.length === 1 && aStates[0] === Change.states.NEW) {
679
647
  var oCondensedChangesPromise = Promise.resolve(aChangesClone);
@@ -699,7 +667,7 @@ sap.ui.define([
699
667
  if (aCondensedChanges.length) {
700
668
  return Storage.write({
701
669
  layer: sLayer,
702
- flexObjects: this._prepareDirtyChanges(aCondensedChanges),
670
+ flexObjects: prepareDirtyChanges(aCondensedChanges),
703
671
  transport: sRequest,
704
672
  isLegacyVariant: false,
705
673
  parentVersion: sParentVersion
@@ -739,33 +707,33 @@ sap.ui.define([
739
707
 
740
708
  return aDirtyChanges.reduce(function(oPreviousPromise, oDirtyChange) {
741
709
  return oPreviousPromise
742
- .then(this._performSingleSaveAction(oDirtyChange, oFirstNewChange, sParentVersion))
710
+ .then(performSingleSaveAction.bind(undefined, oDirtyChange, oFirstNewChange, sParentVersion))
743
711
  .then(this._updateCacheAndDirtyState.bind(this, oDirtyChange, bSkipUpdateCache));
744
712
  }.bind(this), Promise.resolve());
745
713
  };
746
714
 
747
- ChangePersistence.prototype._performSingleSaveAction = function(oDirtyChange, oFirstChange, sParentVersion) {
748
- return function() {
749
- switch (oDirtyChange.getState()) {
750
- case Change.states.NEW:
751
- if (sParentVersion !== undefined) {
752
- sParentVersion = oDirtyChange === oFirstChange ? sParentVersion : sap.ui.fl.Versions.Draft;
753
- }
754
- return Storage.write({
755
- layer: oDirtyChange.getLayer(),
756
- flexObjects: [oDirtyChange.getDefinition()],
757
- transport: oDirtyChange.getRequest(),
758
- parentVersion: sParentVersion
759
- });
760
- case Change.states.DELETED:
761
- return Storage.remove({
762
- flexObject: oDirtyChange.getDefinition(),
763
- layer: oDirtyChange.getLayer(),
764
- transport: oDirtyChange.getRequest()
765
- });
766
- }
767
- };
768
- };
715
+ function performSingleSaveAction(oDirtyChange, oFirstChange, sParentVersion) {
716
+ switch (oDirtyChange.getState()) {
717
+ case Change.states.NEW:
718
+ if (sParentVersion !== undefined) {
719
+ sParentVersion = oDirtyChange === oFirstChange ? sParentVersion : Version.Number.Draft;
720
+ }
721
+ return Storage.write({
722
+ layer: oDirtyChange.getLayer(),
723
+ flexObjects: [oDirtyChange.getDefinition()],
724
+ transport: oDirtyChange.getRequest(),
725
+ parentVersion: sParentVersion
726
+ });
727
+ case Change.states.DELETED:
728
+ return Storage.remove({
729
+ flexObject: oDirtyChange.getDefinition(),
730
+ layer: oDirtyChange.getLayer(),
731
+ transport: oDirtyChange.getRequest(),
732
+ parentVersion: sParentVersion
733
+ });
734
+ default:
735
+ }
736
+ }
769
737
 
770
738
  /**
771
739
  * Updates the cache with the dirty change passed and removes it from the array of dirty changes if present.
@@ -774,6 +742,10 @@ sap.ui.define([
774
742
  * therefore, the cache update of the current app is skipped
775
743
  */
776
744
  ChangePersistence.prototype._updateCacheAndDirtyState = function(oDirtyChange, bSkipUpdateCache) {
745
+ this._aDirtyChanges = this._aDirtyChanges.filter(function(oExistingDirtyChange) {
746
+ return oDirtyChange.getId() !== oExistingDirtyChange.getId();
747
+ });
748
+
777
749
  if (!bSkipUpdateCache) {
778
750
  if (Utils.isChangeRelatedToVariants(oDirtyChange)) {
779
751
  VariantManagementState.updateVariantsState({
@@ -796,10 +768,6 @@ sap.ui.define([
796
768
  }
797
769
  }
798
770
  }
799
-
800
- this._aDirtyChanges = this._aDirtyChanges.filter(function(oExistingDirtyChange) {
801
- return oDirtyChange.getId() !== oExistingDirtyChange.getId();
802
- });
803
771
  };
804
772
 
805
773
  /**
@@ -813,7 +781,7 @@ sap.ui.define([
813
781
  }, this);
814
782
  };
815
783
 
816
- ChangePersistence.prototype._getRequests = function(aDirtyChanges) {
784
+ function getRequests(aDirtyChanges) {
817
785
  var aRequests = [];
818
786
 
819
787
  aDirtyChanges.forEach(function(oChange) {
@@ -824,9 +792,9 @@ sap.ui.define([
824
792
  });
825
793
 
826
794
  return aRequests;
827
- };
795
+ }
828
796
 
829
- ChangePersistence.prototype._getStates = function(aDirtyChanges) {
797
+ function getStates(aDirtyChanges) {
830
798
  var aStates = [];
831
799
 
832
800
  aDirtyChanges.forEach(function(oChange) {
@@ -837,9 +805,9 @@ sap.ui.define([
837
805
  });
838
806
 
839
807
  return aStates;
840
- };
808
+ }
841
809
 
842
- ChangePersistence.prototype._prepareDirtyChanges = function(aDirtyChanges) {
810
+ function prepareDirtyChanges(aDirtyChanges) {
843
811
  var aChanges = [];
844
812
 
845
813
  aDirtyChanges.forEach(function(oChange) {
@@ -847,7 +815,7 @@ sap.ui.define([
847
815
  });
848
816
 
849
817
  return aChanges;
850
- };
818
+ }
851
819
 
852
820
  ChangePersistence.prototype.getDirtyChanges = function() {
853
821
  return this._aDirtyChanges;
@@ -909,6 +877,20 @@ sap.ui.define([
909
877
  return (oObject.getRequest() === "$TMP" || oObject.getRequest() === "") && oObject.getLayer() === sLayer;
910
878
  }
911
879
 
880
+ function isPersistedAndInLayer(sLayer, oObject) {
881
+ return oObject.getState() === Change.states.PERSISTED && oObject.getLayer() === sLayer;
882
+ }
883
+
884
+ function getAllCompVariantsEntities() {
885
+ var aCompVariantEntities = [];
886
+ var mCompVariantsMap = FlexState.getCompVariantsMap(this.getComponentName());
887
+ for (var sPersistencyKey in mCompVariantsMap) {
888
+ for (var sId in mCompVariantsMap[sPersistencyKey].byId) {
889
+ aCompVariantEntities.push(mCompVariantsMap[sPersistencyKey].byId[sId]);
890
+ }
891
+ }
892
+ return aCompVariantEntities;
893
+ }
912
894
  /**
913
895
  * Transports all the UI changes and app variant descriptor (if exists) to the target system
914
896
  *
@@ -919,18 +901,8 @@ sap.ui.define([
919
901
  * @returns {Promise} promise that resolves when all the artifacts are successfully transported
920
902
  */
921
903
  ChangePersistence.prototype.transportAllUIChanges = function(oRootControl, sStyleClass, sLayer, aAppVariantDescriptors) {
922
- return Promise.all([
923
- this.getChangesForComponent({currentLayer: sLayer, includeCtrlVariants: true}),
924
- FlexState.getCompVariantsMap(this.getComponentName())// FIXME: also transport comp changes via compState
925
- ]).then(function(aResponses) {
926
- var aLocalChanges = aResponses[0];
927
- var mCompVariantsMap = aResponses[1];
928
- var aCompVariantEntities = [];
929
- for (var sPersistencyKey in mCompVariantsMap) {
930
- for (var sId in mCompVariantsMap[sPersistencyKey].byId) {
931
- aCompVariantEntities.push(mCompVariantsMap[sPersistencyKey].byId[sId]);
932
- }
933
- }
904
+ return this.getChangesForComponent({currentLayer: sLayer, includeCtrlVariants: true}).then(function(aLocalChanges) {
905
+ var aCompVariantEntities = getAllCompVariantsEntities.call(this);
934
906
 
935
907
  aLocalChanges = aLocalChanges.concat(
936
908
  aCompVariantEntities.filter(isLocalAndInLayer.bind(this, sLayer)));
@@ -1024,10 +996,16 @@ sap.ui.define([
1024
996
  var bSelectorIdsProvided = aSelectorIds && aSelectorIds.length > 0;
1025
997
  var bChangeTypesProvided = aChangeTypes && aChangeTypes.length > 0;
1026
998
 
1027
- return this.getChangesForComponent({
1028
- currentLayer: sLayer,
1029
- includeCtrlVariants: true
1030
- }).then(function(aChanges) {
999
+ //In case of application reset and PUBLIC layer available, also includes comp variant entities
1000
+ var isPublicLayerAvailable = Settings.getInstanceOrUndef() && Settings.getInstanceOrUndef().isPublicLayerAvailable();
1001
+ var isApplicationReset = sGenerator === undefined && aSelectorIds === undefined && aChangeTypes === undefined;
1002
+ var aCompVariantsEntries = [];
1003
+ if (isPublicLayerAvailable && isApplicationReset) {
1004
+ aCompVariantsEntries = getAllCompVariantsEntities.call(this).filter(isPersistedAndInLayer.bind(this, sLayer));
1005
+ }
1006
+
1007
+ return this.getChangesForComponent({ currentLayer: sLayer, includeCtrlVariants: true}).then(function(aChanges) {
1008
+ aChanges = aChanges.concat(aCompVariantsEntries);
1031
1009
  var mParams = {
1032
1010
  reference: this.getComponentName(),
1033
1011
  layer: sLayer,
@@ -1062,18 +1040,5 @@ sap.ui.define([
1062
1040
  }.bind(this));
1063
1041
  };
1064
1042
 
1065
- /**
1066
- * Send a flex/info request to the backend.
1067
- *
1068
- * @param {object} mPropertyBag Contains additional data needed for checking flex/info
1069
- * @param {sap.ui.fl.Selector} mPropertyBag.selector Selector
1070
- * @param {string} mPropertyBag.layer Layer on which the request is sent to the backend
1071
- *
1072
- * @returns {Promise<boolean>} Resolves the information if the application has content that can be reset and/or published
1073
- */
1074
- ChangePersistence.prototype.getResetAndPublishInfo = function(mPropertyBag) {
1075
- return Storage.getFlexInfo(mPropertyBag);
1076
- };
1077
-
1078
1043
  return ChangePersistence;
1079
1044
  });
@@ -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.99.1
33
+ * @version 1.102.0
34
34
  * @private
35
35
  * @ui5-restricted sap.ui.fl
36
36
  */
@@ -15,15 +15,14 @@ function(
15
15
  "use strict";
16
16
 
17
17
  /**
18
- * Class for storing changes in local storage
18
+ * Utility for storing changes in local storage.
19
19
  *
20
- * @class
20
+ * @namespace
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.1
23
+ * @version 1.102.0
24
24
  *
25
25
  * @private
26
- * @static
27
26
  * @since 1.48
28
27
  * @alias sap.ui.fl.FakeLrepConnectorLocalStorage
29
28
  */
@@ -15,15 +15,14 @@ function(
15
15
  "use strict";
16
16
 
17
17
  /**
18
- * Class for storing changes in session storage
18
+ * Utility for storing changes in session storage.
19
19
  *
20
- * @class
20
+ * @namespace
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.1
23
+ * @version 1.102.0
24
24
  *
25
25
  * @private
26
- * @static
27
26
  * @since 1.58
28
27
  * @alias sap.ui.fl.FakeLrepConnectorSessionStorage
29
28
  */
@@ -10,16 +10,16 @@ sap.ui.define([
10
10
  FakeLrepConnectorLocalStorage
11
11
  ) {
12
12
  /**
13
- * Class handling the Fake Lrep storage for local storage;
13
+ * Utility handling the Fake Lrep storage for local storage;
14
+ *
14
15
  * This class stays since some tests are still using this internal; We will remove this in the near future.
15
16
  *
16
- * @class
17
+ * @namespace
17
18
  *
18
19
  * @author SAP SE
19
- * @version 1.99.1
20
+ * @version 1.102.0
20
21
  *
21
22
  * @private
22
- * @static
23
23
  * @since 1.48
24
24
  * @alias sap.ui.fl.FakeLrepLocalStorage
25
25
  */