@openui5/sap.ui.fl 1.115.1 → 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.
- package/.eslintrc.json +33 -2
- package/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- package/package.json +3 -3
- package/src/sap/ui/fl/.library +1 -1
- package/src/sap/ui/fl/Cache.js +29 -29
- package/src/sap/ui/fl/ChangePersistence.js +69 -71
- package/src/sap/ui/fl/ChangePersistenceFactory.js +1 -1
- package/src/sap/ui/fl/FakeLrepConnector.js +7 -7
- package/src/sap/ui/fl/FakeLrepConnectorLocalStorage.js +7 -7
- package/src/sap/ui/fl/FakeLrepConnectorSessionStorage.js +5 -5
- package/src/sap/ui/fl/FakeLrepLocalStorage.js +1 -1
- package/src/sap/ui/fl/FlexController.js +157 -130
- package/src/sap/ui/fl/FlexControllerFactory.js +1 -1
- package/src/sap/ui/fl/Layer.js +1 -1
- package/src/sap/ui/fl/LayerUtils.js +11 -11
- package/src/sap/ui/fl/Utils.js +16 -17
- package/src/sap/ui/fl/apply/_internal/DelegateMediator.js +41 -38
- package/src/sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Applier.js +114 -94
- package/src/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/Reverter.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/Utils.js +2 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Applier.js +19 -19
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory.js +4 -5
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ApplyUtil.js +1 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/Registration.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData.js +15 -15
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound.js +8 -8
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeInbound.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/RemoveAllInboundsExceptOne.js +6 -6
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/app/SetTitle.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetAbstract.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/fiori/SetRegistrationIds.js +1 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/AddNewCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/ChangeCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard.js +1 -1
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddComponentUsages.js +3 -5
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddLibrary.js +4 -6
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModel.js +10 -10
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/AddNewModelEnhanceWith.js +1 -3
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetFlexExtensionPointEnabled.js +1 -2
- package/src/sap/ui/fl/apply/_internal/changes/descriptor/ui5/SetMinUI5Version.js +2 -4
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageConnector.js +4 -5
- package/src/sap/ui/fl/apply/_internal/connectors/ObjectStorageUtils.js +29 -29
- package/src/sap/ui/fl/apply/_internal/controlVariants/URLHandler.js +1 -2
- package/src/sap/ui/fl/apply/_internal/controlVariants/Utils.js +6 -4
- package/src/sap/ui/fl/apply/_internal/extensionPoint/Processor.js +44 -44
- package/src/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +3 -3
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariant.js +15 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlVariant.js +1 -14
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObject.js +3 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory.js +6 -5
- package/src/sap/ui/fl/apply/_internal/flexObjects/RevertData.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/States.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/UIChange.js +12 -4
- package/src/sap/ui/fl/apply/_internal/flexObjects/UpdatableChange.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexObjects/Variant.js +23 -5
- package/src/sap/ui/fl/apply/_internal/flexState/FlexState.js +183 -64
- package/src/sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions.js +27 -17
- package/src/sap/ui/fl/apply/_internal/flexState/Loader.js +5 -5
- package/src/sap/ui/fl/apply/_internal/flexState/ManifestUtils.js +5 -5
- package/src/sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState.js +2 -2
- package/src/sap/ui/fl/apply/_internal/flexState/appDescriptorChanges/prepareAppDescriptorMap.js +1 -1
- package/src/sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler.js +4 -4
- package/src/sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState.js +50 -50
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger.js +27 -13
- package/src/sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap.js +5 -5
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher.js +5 -5
- package/src/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +55 -37
- package/src/sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks.js +12 -12
- package/src/sap/ui/fl/apply/_internal/preprocessors/ControllerExtension.js +5 -5
- package/src/sap/ui/fl/apply/_internal/preprocessors/EventHistory.js +6 -6
- package/src/sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator.js +1 -2
- package/src/sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor.js +4 -4
- package/src/sap/ui/fl/apply/api/ControlVariantApplyAPI.js +5 -5
- package/src/sap/ui/fl/apply/api/DelegateMediatorAPI.js +10 -4
- package/src/sap/ui/fl/apply/api/FlexRuntimeInfoAPI.js +5 -5
- package/src/sap/ui/fl/apply/api/SmartVariantManagementApplyAPI.js +6 -6
- package/src/sap/ui/fl/changeHandler/AddIFrame.js +21 -21
- package/src/sap/ui/fl/changeHandler/AddXML.js +1 -1
- package/src/sap/ui/fl/changeHandler/AddXMLAtExtensionPoint.js +34 -34
- package/src/sap/ui/fl/changeHandler/Base.js +7 -7
- package/src/sap/ui/fl/changeHandler/BaseAddViaDelegate.js +107 -107
- package/src/sap/ui/fl/changeHandler/BaseAddXml.js +45 -45
- package/src/sap/ui/fl/changeHandler/BaseRename.js +26 -26
- package/src/sap/ui/fl/changeHandler/BaseTreeModifier.js +1 -1
- package/src/sap/ui/fl/changeHandler/HideControl.js +15 -16
- package/src/sap/ui/fl/changeHandler/MoveControls.js +190 -191
- package/src/sap/ui/fl/changeHandler/MoveElements.js +36 -36
- package/src/sap/ui/fl/changeHandler/PropertyBindingChange.js +7 -7
- package/src/sap/ui/fl/changeHandler/PropertyChange.js +7 -7
- package/src/sap/ui/fl/changeHandler/StashControl.js +35 -35
- package/src/sap/ui/fl/changeHandler/UnhideControl.js +7 -7
- package/src/sap/ui/fl/changeHandler/UnstashControl.js +21 -21
- package/src/sap/ui/fl/changeHandler/UpdateIFrame.js +39 -39
- package/src/sap/ui/fl/changeHandler/common/ChangeCategories.js +1 -1
- package/src/sap/ui/fl/changeHandler/common/createIFrame.js +5 -5
- package/src/sap/ui/fl/changeHandler/common/getTargetAggregationIndex.js +5 -5
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory.js +12 -12
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory.js +7 -9
- package/src/sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory.js +1 -1
- package/src/sap/ui/fl/descriptorRelated/internal/Utils.js +12 -12
- package/src/sap/ui/fl/designtime/util/IFrame.designtime.js +60 -60
- package/src/sap/ui/fl/designtime/variants/VariantManagement.designtime.js +2 -5
- package/src/sap/ui/fl/initial/_internal/Storage.js +18 -19
- package/src/sap/ui/fl/initial/_internal/StorageResultMerger.js +4 -4
- package/src/sap/ui/fl/initial/_internal/StorageUtils.js +20 -21
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +6 -6
- package/src/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/BackendConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/KeyUserConnector.js +1 -1
- package/src/sap/ui/fl/initial/_internal/connectors/LrepConnector.js +4 -4
- package/src/sap/ui/fl/initial/_internal/connectors/StaticFileConnector.js +2 -2
- package/src/sap/ui/fl/initial/_internal/connectors/Utils.js +18 -18
- package/src/sap/ui/fl/initial/_internal/storageResultDisassemble.js +4 -4
- package/src/sap/ui/fl/interfaces/BaseLoadConnector.js +2 -2
- package/src/sap/ui/fl/interfaces/Delegate.js +7 -9
- package/src/sap/ui/fl/library.js +44 -45
- package/src/sap/ui/fl/library.support.js +59 -59
- package/src/sap/ui/fl/messagebundle.properties +4 -119
- package/src/sap/ui/fl/messagebundle_ar.properties +2 -79
- package/src/sap/ui/fl/messagebundle_bg.properties +2 -79
- package/src/sap/ui/fl/messagebundle_ca.properties +2 -79
- package/src/sap/ui/fl/messagebundle_cs.properties +2 -79
- package/src/sap/ui/fl/messagebundle_cy.properties +2 -79
- package/src/sap/ui/fl/messagebundle_da.properties +2 -79
- package/src/sap/ui/fl/messagebundle_de.properties +2 -79
- package/src/sap/ui/fl/messagebundle_el.properties +2 -79
- package/src/sap/ui/fl/messagebundle_en.properties +2 -79
- package/src/sap/ui/fl/messagebundle_en_GB.properties +2 -79
- package/src/sap/ui/fl/messagebundle_en_US_sappsd.properties +2 -79
- package/src/sap/ui/fl/messagebundle_en_US_saprigi.properties +2 -79
- package/src/sap/ui/fl/messagebundle_en_US_saptrc.properties +2 -79
- package/src/sap/ui/fl/messagebundle_es.properties +2 -79
- package/src/sap/ui/fl/messagebundle_es_MX.properties +2 -79
- package/src/sap/ui/fl/messagebundle_et.properties +2 -79
- package/src/sap/ui/fl/messagebundle_fi.properties +2 -79
- package/src/sap/ui/fl/messagebundle_fr.properties +2 -79
- package/src/sap/ui/fl/messagebundle_fr_CA.properties +2 -79
- package/src/sap/ui/fl/messagebundle_hi.properties +2 -79
- package/src/sap/ui/fl/messagebundle_hr.properties +2 -79
- package/src/sap/ui/fl/messagebundle_hu.properties +2 -79
- package/src/sap/ui/fl/messagebundle_id.properties +2 -79
- package/src/sap/ui/fl/messagebundle_it.properties +2 -79
- package/src/sap/ui/fl/messagebundle_iw.properties +2 -79
- package/src/sap/ui/fl/messagebundle_ja.properties +2 -79
- package/src/sap/ui/fl/messagebundle_kk.properties +2 -79
- package/src/sap/ui/fl/messagebundle_ko.properties +2 -79
- package/src/sap/ui/fl/messagebundle_lt.properties +2 -79
- package/src/sap/ui/fl/messagebundle_lv.properties +2 -79
- package/src/sap/ui/fl/messagebundle_ms.properties +2 -79
- package/src/sap/ui/fl/messagebundle_nl.properties +2 -79
- package/src/sap/ui/fl/messagebundle_no.properties +2 -79
- package/src/sap/ui/fl/messagebundle_pl.properties +2 -79
- package/src/sap/ui/fl/messagebundle_pt.properties +2 -79
- package/src/sap/ui/fl/messagebundle_pt_PT.properties +2 -79
- package/src/sap/ui/fl/messagebundle_ro.properties +2 -79
- package/src/sap/ui/fl/messagebundle_ru.properties +2 -79
- package/src/sap/ui/fl/messagebundle_sh.properties +2 -79
- package/src/sap/ui/fl/messagebundle_sk.properties +2 -79
- package/src/sap/ui/fl/messagebundle_sl.properties +2 -79
- package/src/sap/ui/fl/messagebundle_sv.properties +2 -79
- package/src/sap/ui/fl/messagebundle_th.properties +2 -79
- package/src/sap/ui/fl/messagebundle_tr.properties +2 -79
- package/src/sap/ui/fl/messagebundle_uk.properties +3 -80
- package/src/sap/ui/fl/messagebundle_vi.properties +2 -79
- package/src/sap/ui/fl/messagebundle_zh_CN.properties +2 -79
- package/src/sap/ui/fl/messagebundle_zh_TW.properties +2 -79
- package/src/sap/ui/fl/registry/Settings.js +41 -43
- package/src/sap/ui/fl/requireAsync.js +7 -1
- package/src/sap/ui/fl/support/_internal/extractChangeDependencies.js +8 -8
- package/src/sap/ui/fl/support/_internal/getChangeDependencies.js +22 -22
- package/src/sap/ui/fl/support/_internal/getFlexSettings.js +3 -3
- package/src/sap/ui/fl/support/api/SupportAPI.js +1 -1
- package/src/sap/ui/fl/support/apps/contentbrowser/Component.js +3 -5
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetails.controller.js +27 -27
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/ContentDetailsEdit.controller.js +20 -20
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js +17 -17
- package/src/sap/ui/fl/support/apps/contentbrowser/controller/Layers.controller.js +4 -4
- package/src/sap/ui/fl/support/apps/contentbrowser/lrepConnector/LRepConnector.js +34 -34
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/DataUtils.js +10 -10
- package/src/sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils.js +5 -5
- package/src/sap/ui/fl/transport/TransportSelection.js +1 -1
- package/src/sap/ui/fl/util/DescriptorChangeCheck.js +2 -2
- package/src/sap/ui/fl/util/IFrame.js +18 -18
- package/src/sap/ui/fl/util/IFrameRenderer.js +1 -1
- package/src/sap/ui/fl/util/ManagedObjectModel.js +7 -7
- package/src/sap/ui/fl/util/changePropertyValueByPath.js +2 -2
- package/src/sap/ui/fl/util/getContainerUserInfo.js +25 -25
- package/src/sap/ui/fl/util/resolveBinding.js +3 -3
- package/src/sap/ui/fl/variants/VariantManagement.js +8 -32
- package/src/sap/ui/fl/variants/VariantModel.js +182 -124
- package/src/sap/ui/fl/variants/context/Component.js +1 -2
- package/src/sap/ui/fl/variants/context/controller/ContextVisibility.controller.js +2 -5
- package/src/sap/ui/fl/write/_internal/SaveAs.js +143 -143
- package/src/sap/ui/fl/write/_internal/Storage.js +46 -49
- package/src/sap/ui/fl/write/_internal/StorageFeaturesMerger.js +4 -4
- package/src/sap/ui/fl/write/_internal/Versions.js +104 -94
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariant.js +9 -9
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantFactory.js +7 -7
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChange.js +2 -2
- package/src/sap/ui/fl/write/_internal/appVariant/AppVariantInlineChangeFactory.js +3 -5
- package/src/sap/ui/fl/write/_internal/condenser/Condenser.js +15 -10
- package/src/sap/ui/fl/write/_internal/condenser/UIReconstruction.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Create.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Destroy.js +1 -1
- package/src/sap/ui/fl/write/_internal/condenser/classifications/Move.js +1 -1
- package/src/sap/ui/fl/write/_internal/connectors/BackendConnector.js +10 -10
- package/src/sap/ui/fl/write/_internal/connectors/KeyUserConnector.js +23 -24
- package/src/sap/ui/fl/write/_internal/connectors/LrepConnector.js +60 -61
- package/src/sap/ui/fl/write/_internal/connectors/NeoLrepConnector.js +4 -4
- package/src/sap/ui/fl/write/_internal/connectors/ObjectPathConnector.js +6 -6
- package/src/sap/ui/fl/write/_internal/connectors/PersonalizationConnector.js +2 -2
- package/src/sap/ui/fl/write/_internal/connectors/Utils.js +14 -14
- package/src/sap/ui/fl/write/_internal/extensionPoint/Processor.js +3 -3
- package/src/sap/ui/fl/write/_internal/extensionPoint/Registry.js +15 -7
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPAccess.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariantFactory.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/MultiTenantABAPExtensibilityVariant.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/ServiceValidation.js +1 -3
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/UriParser.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/Utils.js +3 -3
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/CAPAccess.js +1 -1
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/dialog/CustomFieldCAPDialog.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/getEditorConfig.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/rangeEditor/RangeEditor.js +3 -3
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/propertyEditor/timeEditor/TimeEditor.js +4 -4
- package/src/sap/ui/fl/write/_internal/fieldExtensibility/cap/editor/validators/IsRequired.js +2 -2
- package/src/sap/ui/fl/write/_internal/flexState/FlexObjectState.js +26 -26
- package/src/sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState.js +78 -57
- package/src/sap/ui/fl/write/_internal/transport/TransportDialog.js +12 -13
- package/src/sap/ui/fl/write/_internal/transport/TransportSelection.js +12 -12
- package/src/sap/ui/fl/write/_internal/transport/Transports.js +7 -7
- package/src/sap/ui/fl/write/api/AppVariantWriteAPI.js +7 -7
- package/src/sap/ui/fl/write/api/ChangesWriteAPI.js +9 -9
- package/src/sap/ui/fl/write/api/ContextBasedAdaptationsAPI.js +546 -110
- package/src/sap/ui/fl/write/api/ControlPersonalizationWriteAPI.js +109 -67
- package/src/sap/ui/fl/write/api/ExtensionPointRegistryAPI.js +3 -3
- package/src/sap/ui/fl/write/api/FeaturesAPI.js +19 -20
- package/src/sap/ui/fl/write/api/FieldExtensibility.js +1 -1
- package/src/sap/ui/fl/write/api/LocalResetAPI.js +19 -19
- package/src/sap/ui/fl/write/api/PersistenceWriteAPI.js +59 -54
- package/src/sap/ui/fl/write/api/ReloadInfoAPI.js +8 -8
- package/src/sap/ui/fl/write/api/SmartBusinessWriteAPI.js +6 -6
- package/src/sap/ui/fl/write/api/SmartVariantManagementWriteAPI.js +14 -13
- package/src/sap/ui/fl/write/api/TranslationAPI.js +13 -13
- package/src/sap/ui/fl/write/api/UI2PersonalizationWriteAPI.js +1 -1
- package/src/sap/ui/fl/write/api/VersionsAPI.js +14 -14
- package/src/sap/ui/fl/write/api/connectors/FileListBaseConnector.js +1 -1
- package/src/sap/ui/fl/write/api/connectors/ObjectStorageConnector.js +7 -7
- package/src/sap/ui/fl/write/connectors/BaseConnector.js +17 -17
|
@@ -21,87 +21,8 @@ TRANSPORT_DIALOG_LOCAL_OBJECT=\u672C\u5730\u5BF9\u8C61
|
|
|
21
21
|
|
|
22
22
|
TRANSPORT_DIALOG_NO_TRANSPORTS=\u6240\u9009\u5305\u65E0\u53EF\u7528\u4F20\u8F93
|
|
23
23
|
|
|
24
|
-
VARIANT_MANAGEMENT_SAVE=\u4FDD\u5B58
|
|
25
|
-
|
|
26
|
-
VARIANT_MANAGEMENT_SAVEAS=\u53E6\u5B58\u4E3A
|
|
27
|
-
|
|
28
|
-
VARIANT_MANAGEMENT_OK=\u786E\u5B9A
|
|
29
|
-
|
|
30
|
-
VARIANT_MANAGEMENT_CANCEL=\u53D6\u6D88
|
|
31
|
-
|
|
32
|
-
VARIANT_MANAGEMENT_MANAGE=\u7BA1\u7406
|
|
33
|
-
|
|
34
|
-
VARIANT_MANAGEMENT_NAME=\u89C6\u56FE
|
|
35
|
-
|
|
36
|
-
VARIANT_MANAGEMENT_KEY=\u952E\u503C\uFF1A
|
|
37
|
-
|
|
38
|
-
VARIANT_MANAGEMENT_SETASDEFAULT=\u8BBE\u7F6E\u4E3A\u7F3A\u7701\u503C
|
|
39
|
-
|
|
40
|
-
VARIANT_MANAGEMENT_SETASPUBLIC=\u516C\u5171
|
|
41
|
-
|
|
42
|
-
VARIANT_MANAGEMENT_VARIANTTYPE=\u5171\u4EAB
|
|
43
|
-
|
|
44
|
-
VARIANT_MANAGEMENT_PUBLIC=\u516C\u5171
|
|
45
|
-
|
|
46
|
-
VARIANT_MANAGEMENT_PRIVATE=\u79C1\u6709
|
|
47
|
-
|
|
48
|
-
VARIANT_MANAGEMENT_SAVEDIALOG=\u4FDD\u5B58\u89C6\u56FE
|
|
49
|
-
|
|
50
|
-
VARIANT_MANAGEMENT_MANAGEDIALOG=\u7BA1\u7406\u89C6\u56FE
|
|
51
|
-
|
|
52
|
-
VARIANT_MANAGEMENT_NODATA=\u9009\u62E9\u201C\u4FDD\u5B58\u201D\u4EE5\u5B58\u50A8\u65B0\u53D8\u5F0F
|
|
53
|
-
|
|
54
|
-
VARIANT_MANAGEMENT_DEFAULT=\u7F3A\u7701\u503C
|
|
55
|
-
|
|
56
|
-
VARIANT_MANAGEMENT_EXECUTEONSELECT=\u81EA\u52A8\u5E94\u7528
|
|
57
|
-
|
|
58
|
-
VARIANT_MANAGEMENT_AUTHOR=\u521B\u5EFA\u8005
|
|
59
|
-
|
|
60
|
-
VARIANT_MANAGEMENT_ACTION_COLUMN=\u64CD\u4F5C
|
|
61
|
-
|
|
62
|
-
VARIANT_MANAGEMENT_SEL_VARIANT=\u89C6\u56FE {0}\u3002\u8981\u9009\u62E9\u89C6\u56FE\uFF0C\u8BF7\u6309\u7A7A\u683C\u952E\u3002
|
|
63
|
-
|
|
64
|
-
VARIANT_MANAGEMENT_SEL_VARIANT_MOD=\u5DF2\u4FEE\u6539\u89C6\u56FE {0}\u3002\u8981\u9009\u62E9\u89C6\u56FE\uFF0C\u8BF7\u6309\u7A7A\u683C\u952E\u3002
|
|
65
|
-
|
|
66
24
|
VARIANT_MANAGEMENT_VARIANTS=\u6211\u7684\u89C6\u56FE
|
|
67
25
|
|
|
68
|
-
VARIANT_MANAGEMENT_ERROR_DUPLICATE=\u89C6\u56FE\u540D\u79F0\u5DF2\u5B58\u5728\u3002\u8BF7\u8F93\u5165\u53E6\u4E00\u4E0D\u540C\u540D\u79F0\u3002
|
|
69
|
-
|
|
70
|
-
VARIANT_MANAGEMENT_ERROR_EMPTY=\u8BF7\u8F93\u5165\u540D\u79F0\u3002
|
|
71
|
-
|
|
72
|
-
VARIANT_MANAGEMENT_NOT_ALLOWED_CHAR=\u4E0D\u5141\u8BB8\u5BF9\u89C6\u56FE\u540D\u79F0\u4F7F\u7528\u5B57\u7B26 {0}
|
|
73
|
-
|
|
74
|
-
VARIANT_MANAGEMENT_MAX_LEN=\u89C6\u56FE\u540D\u79F0\u9650\u5236\u4E3A {0} \u4E2A\u5B57\u7B26
|
|
75
|
-
|
|
76
|
-
VARIANT_MANAGEMENT_TRIGGER_TT=\u9009\u62E9\u89C6\u56FE
|
|
77
|
-
|
|
78
|
-
VARIANT_MANAGEMENT_DELETE=\u5220\u9664\u89C6\u56FE
|
|
79
|
-
|
|
80
|
-
VARIANT_MANAGEMENT_FAV_ADD_ACC=\u6536\u85CF\u5939\u56FE\u6807\u672A\u9009\u4E2D
|
|
81
|
-
|
|
82
|
-
VARIANT_MANAGEMENT_FAV_DEL_ACC=\u6536\u85CF\u5939\u56FE\u6807\u5DF2\u9009\u4E2D
|
|
83
|
-
|
|
84
|
-
VARIANT_MANAGEMENT_FAV_DEL_TOOLTIP=\u5DF2\u9009\u62E9\u4E3A\u6536\u85CF\u5939
|
|
85
|
-
|
|
86
|
-
VARIANT_MANAGEMENT_FAV_ADD_TOOLTIP=\u672A\u9009\u62E9\u4E3A\u6536\u85CF\u5939
|
|
87
|
-
|
|
88
|
-
VARIANT_MANAGEMENT_ERROR_TEXT1=\u65E0\u6CD5\u52A0\u8F7D\u6570\u636E\u3002
|
|
89
|
-
|
|
90
|
-
VARIANT_MANAGEMENT_ERROR_TEXT2=\u5982\u679C\u672A\u8FDE\u63A5\u5230 Internet \u6216\u662F\u5E95\u5C42\u7CFB\u7EDF\u6216\u7EC4\u4EF6\u4E0D\u53EF\u7528\uFF0C\u4FBF\u53EF\u80FD\u4F1A\u53D1\u751F\u8FD9\u79CD\u60C5\u51B5\u3002
|
|
91
|
-
|
|
92
|
-
VARIANT_MANAGEMENT_VISIBILITY=\u53EF\u89C1\u6027
|
|
93
|
-
|
|
94
|
-
VARIANT_MANAGEMENT_CHANGE_VISIBILITY=\u66F4\u6539 {0} \u7684\u53EF\u89C1\u6027
|
|
95
|
-
|
|
96
|
-
VARIANT_MANAGEMENT_VISIBILITY_NON_RESTRICTED=\u6240\u6709\u7528\u6237
|
|
97
|
-
|
|
98
|
-
VARIANT_MANAGEMENT_VISIBILITY_RESTRICTED=\u53D7\u9650\u5236
|
|
99
|
-
|
|
100
|
-
VARIANT_MANAGEMENT_VISIBILITY_ICON_TT=\u8981\u66F4\u6539\u53EF\u89C1\u6027\uFF0C\u8BF7\u6309\u7A7A\u683C\u952E\u3002
|
|
101
|
-
|
|
102
|
-
VARIANT_MANAGEMENT_SELECTROLES_DIALOG=\u9009\u62E9\u89D2\u8272
|
|
103
|
-
|
|
104
|
-
|
|
105
26
|
STANDARD_VARIANT_ORIGINAL_TITLE=\u6807\u51C6
|
|
106
27
|
|
|
107
28
|
STANDARD_VARIANT_TITLE=\u6807\u51C6
|
|
@@ -153,3 +74,5 @@ CAP_ERR_WHITESPACE=\u540D\u79F0\u4E0D\u5F97\u5305\u542B\u7A7A\u767D
|
|
|
153
74
|
BUSINESS_OBJECT_NODE_TITLE=\u53EF\u7528\u7684\u4E1A\u52A1\u5BF9\u8C61\u8282\u70B9\uFF1A
|
|
154
75
|
|
|
155
76
|
MSG_DEPENDENT_CHANGE_ERROR=\u65E0\u6CD5\u5E94\u7528\u4EE5\u4E0B\u66F4\u6539\uFF1A{0}\u3002\n\u8FD9\u662F\u7531\u4EE5\u4E0B\u672A\u51B3\u76F8\u5173\u6027\u9020\u6210\u7684\uFF1A{1}
|
|
77
|
+
|
|
78
|
+
CBA_MIGRATED_ADAPTATION_TITLE={0}\uFF08\u8FC1\u79FB\u81EA\u53D7\u9650\u89C6\u56FE\uFF09
|
|
@@ -21,87 +21,8 @@ TRANSPORT_DIALOG_LOCAL_OBJECT=\u672C\u6A5F\u7269\u4EF6
|
|
|
21
21
|
|
|
22
22
|
TRANSPORT_DIALOG_NO_TRANSPORTS=\u6240\u9078\u5957\u4EF6\u6C92\u6709\u50B3\u8F38
|
|
23
23
|
|
|
24
|
-
VARIANT_MANAGEMENT_SAVE=\u5132\u5B58
|
|
25
|
-
|
|
26
|
-
VARIANT_MANAGEMENT_SAVEAS=\u53E6\u5B58\u65B0\u6A94
|
|
27
|
-
|
|
28
|
-
VARIANT_MANAGEMENT_OK=\u78BA\u5B9A
|
|
29
|
-
|
|
30
|
-
VARIANT_MANAGEMENT_CANCEL=\u53D6\u6D88
|
|
31
|
-
|
|
32
|
-
VARIANT_MANAGEMENT_MANAGE=\u7BA1\u7406
|
|
33
|
-
|
|
34
|
-
VARIANT_MANAGEMENT_NAME=\u6AA2\u8996
|
|
35
|
-
|
|
36
|
-
VARIANT_MANAGEMENT_KEY=\u9375\u503C\uFF1A
|
|
37
|
-
|
|
38
|
-
VARIANT_MANAGEMENT_SETASDEFAULT=\u8A2D\u70BA\u9810\u8A2D
|
|
39
|
-
|
|
40
|
-
VARIANT_MANAGEMENT_SETASPUBLIC=\u516C\u958B
|
|
41
|
-
|
|
42
|
-
VARIANT_MANAGEMENT_VARIANTTYPE=\u5171\u7528
|
|
43
|
-
|
|
44
|
-
VARIANT_MANAGEMENT_PUBLIC=\u516C\u958B
|
|
45
|
-
|
|
46
|
-
VARIANT_MANAGEMENT_PRIVATE=\u79C1\u4EBA
|
|
47
|
-
|
|
48
|
-
VARIANT_MANAGEMENT_SAVEDIALOG=\u5132\u5B58\u6AA2\u8996
|
|
49
|
-
|
|
50
|
-
VARIANT_MANAGEMENT_MANAGEDIALOG=\u7BA1\u7406\u6AA2\u8996
|
|
51
|
-
|
|
52
|
-
VARIANT_MANAGEMENT_NODATA=\u9078\u64C7 [\u5132\u5B58] \u4EE5\u5132\u5B58\u65B0\u8B8A\u5F0F
|
|
53
|
-
|
|
54
|
-
VARIANT_MANAGEMENT_DEFAULT=\u9810\u8A2D
|
|
55
|
-
|
|
56
|
-
VARIANT_MANAGEMENT_EXECUTEONSELECT=\u81EA\u52D5\u5957\u7528
|
|
57
|
-
|
|
58
|
-
VARIANT_MANAGEMENT_AUTHOR=\u5EFA\u7ACB\u8005
|
|
59
|
-
|
|
60
|
-
VARIANT_MANAGEMENT_ACTION_COLUMN=\u52D5\u4F5C
|
|
61
|
-
|
|
62
|
-
VARIANT_MANAGEMENT_SEL_VARIANT=\u6AA2\u8996 {0}\u3002\u82E5\u8981\u958B\u555F\uFF0C\u8ACB\u6309\u7A7A\u767D\u9375\u3002
|
|
63
|
-
|
|
64
|
-
VARIANT_MANAGEMENT_SEL_VARIANT_MOD=\u4FEE\u6539\u7684\u6AA2\u8996 {0}\u3002\u82E5\u8981\u9078\u64C7\u6AA2\u8996\uFF0C\u8ACB\u6309\u7A7A\u767D\u9375\u3002
|
|
65
|
-
|
|
66
24
|
VARIANT_MANAGEMENT_VARIANTS=\u6211\u7684\u6AA2\u8996
|
|
67
25
|
|
|
68
|
-
VARIANT_MANAGEMENT_ERROR_DUPLICATE=\u6AA2\u8996\u540D\u7A31\u5DF2\u5B58\u5728\uFF0C\u8ACB\u8F38\u5165\u4E0D\u540C\u7684\u540D\u7A31\u3002
|
|
69
|
-
|
|
70
|
-
VARIANT_MANAGEMENT_ERROR_EMPTY=\u8ACB\u8F38\u5165\u540D\u7A31\u3002
|
|
71
|
-
|
|
72
|
-
VARIANT_MANAGEMENT_NOT_ALLOWED_CHAR=\u6AA2\u8996\u540D\u7A31\u4E0D\u5141\u8A31\u5B57\u5143 {0}
|
|
73
|
-
|
|
74
|
-
VARIANT_MANAGEMENT_MAX_LEN=\u6AA2\u8996\u540D\u7A31\u7684\u9650\u5236\u70BA {0} \u500B\u5B57\u5143
|
|
75
|
-
|
|
76
|
-
VARIANT_MANAGEMENT_TRIGGER_TT=\u9078\u64C7\u6AA2\u8996
|
|
77
|
-
|
|
78
|
-
VARIANT_MANAGEMENT_DELETE=\u522A\u9664\u6AA2\u8996
|
|
79
|
-
|
|
80
|
-
VARIANT_MANAGEMENT_FAV_ADD_ACC=\u672A\u52FE\u9078\u6700\u611B\u5716\u793A
|
|
81
|
-
|
|
82
|
-
VARIANT_MANAGEMENT_FAV_DEL_ACC=\u5DF2\u52FE\u9078\u6700\u611B\u5716\u793A
|
|
83
|
-
|
|
84
|
-
VARIANT_MANAGEMENT_FAV_DEL_TOOLTIP=\u5DF2\u9078\u64C7\u4F5C\u70BA\u6700\u611B
|
|
85
|
-
|
|
86
|
-
VARIANT_MANAGEMENT_FAV_ADD_TOOLTIP=\u672A\u9078\u64C7\u4F5C\u70BA\u6700\u611B
|
|
87
|
-
|
|
88
|
-
VARIANT_MANAGEMENT_ERROR_TEXT1=\u7121\u6CD5\u8F09\u5165\u8CC7\u6599\u3002
|
|
89
|
-
|
|
90
|
-
VARIANT_MANAGEMENT_ERROR_TEXT2=\u6B64\u60C5\u6CC1\u53EF\u80FD\u6703\u5728\u60A8\u672A\u9023\u7DDA\u81F3\u7DB2\u969B\u7DB2\u8DEF\uFF0C\u6216\u6C92\u6709\u57FA\u790E\u7CFB\u7D71\u6216\u5143\u4EF6\u6642\u767C\u751F
|
|
91
|
-
|
|
92
|
-
VARIANT_MANAGEMENT_VISIBILITY=\u53EF\u898B\u5EA6
|
|
93
|
-
|
|
94
|
-
VARIANT_MANAGEMENT_CHANGE_VISIBILITY=\u66F4\u6539 {0} \u7684\u53EF\u898B\u5EA6
|
|
95
|
-
|
|
96
|
-
VARIANT_MANAGEMENT_VISIBILITY_NON_RESTRICTED=\u6240\u6709\u4F7F\u7528\u8005
|
|
97
|
-
|
|
98
|
-
VARIANT_MANAGEMENT_VISIBILITY_RESTRICTED=\u9650\u5236
|
|
99
|
-
|
|
100
|
-
VARIANT_MANAGEMENT_VISIBILITY_ICON_TT=\u82E5\u8981\u66F4\u6539\u53EF\u898B\u5EA6\uFF0C\u8ACB\u6309\u7A7A\u767D\u9375\u3002
|
|
101
|
-
|
|
102
|
-
VARIANT_MANAGEMENT_SELECTROLES_DIALOG=\u9078\u64C7\u89D2\u8272
|
|
103
|
-
|
|
104
|
-
|
|
105
26
|
STANDARD_VARIANT_ORIGINAL_TITLE=\u6A19\u6E96
|
|
106
27
|
|
|
107
28
|
STANDARD_VARIANT_TITLE=\u6A19\u6E96
|
|
@@ -153,3 +74,5 @@ CAP_ERR_WHITESPACE=\u540D\u7A31\u4E0D\u53EF\u5305\u542B\u7A7A\u683C
|
|
|
153
74
|
BUSINESS_OBJECT_NODE_TITLE=\u53EF\u7528\u7684\u4F01\u696D\u7269\u4EF6\u7BC0\u9EDE\uFF1A
|
|
154
75
|
|
|
155
76
|
MSG_DEPENDENT_CHANGE_ERROR=\u7121\u6CD5\u5957\u7528\u4E0B\u5217\u66F4\u6539\uFF1A{0}\u3002\n\u9019\u662F\u7531\u4E0B\u5217\u958B\u653E\u5F0F\u76F8\u95DC\u6027\u6240\u5C0E\u81F4\uFF1A{1}
|
|
77
|
+
|
|
78
|
+
CBA_MIGRATED_ADAPTATION_TITLE={0} (\u5DF2\u81EA\u9650\u5236\u7684\u6AA2\u8996\u79FB\u8F49)
|
|
@@ -24,13 +24,13 @@ sap.ui.define([
|
|
|
24
24
|
var oUShellContainer = Utils.getUshellContainer();
|
|
25
25
|
if (oUShellContainer) {
|
|
26
26
|
return Utils.getUShellService("UserInfo")
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
.then(function(oUserInfoService) {
|
|
28
|
+
var oUser = oUserInfoService.getUser();
|
|
29
|
+
return oUser && oUser.getId();
|
|
30
|
+
})
|
|
31
|
+
.catch(function(oError) {
|
|
32
|
+
Log.error("Error getting service from Unified Shell: " + oError.message);
|
|
33
|
+
});
|
|
34
34
|
}
|
|
35
35
|
return Promise.resolve();
|
|
36
36
|
}
|
|
@@ -95,37 +95,37 @@ sap.ui.define([
|
|
|
95
95
|
Settings._loadSettings = function() {
|
|
96
96
|
var oSettings;
|
|
97
97
|
var oLoadingPromise = Storage.loadFeatures()
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
98
|
+
.then(function(oLoadedSettings) {
|
|
99
|
+
oSettings = oLoadedSettings;
|
|
100
|
+
return retrieveUserId(oSettings);
|
|
101
|
+
})
|
|
102
|
+
.then(function(sUserId) {
|
|
103
|
+
if (!oSettings) {
|
|
104
|
+
Log.error("The request for flexibility settings failed; A default response is generated and returned to consuming APIs");
|
|
105
|
+
// in case the back end cannot respond resolve with a default response
|
|
106
|
+
oSettings = {
|
|
107
|
+
isKeyUser: false,
|
|
108
|
+
isKeyUserTranslationEnabled: false,
|
|
109
|
+
isVariantSharingEnabled: false,
|
|
110
|
+
isVariantPersonalizationEnabled: true,
|
|
111
|
+
isAtoAvailable: false,
|
|
112
|
+
isAtoEnabled: false,
|
|
113
|
+
isAppVariantSaveAsEnabled: false,
|
|
114
|
+
isContextSharingEnabled: true,
|
|
115
|
+
isContextBasedAdaptationEnabled: false,
|
|
116
|
+
isCondensingEnabled: false,
|
|
117
|
+
isProductiveSystem: true,
|
|
118
|
+
isPublicLayerAvailable: false,
|
|
119
|
+
isLocalResetEnabled: false,
|
|
120
|
+
isVariantAdaptationEnabled: false,
|
|
121
|
+
versioning: {},
|
|
122
|
+
_bFlexChangeMode: false,
|
|
123
|
+
_bFlexibilityAdaptationButtonAllowed: false
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
oSettings.userId = sUserId;
|
|
127
|
+
return Settings._storeInstance(oSettings);
|
|
128
|
+
});
|
|
129
129
|
Settings._oLoadSettingsPromise = oLoadingPromise;
|
|
130
130
|
return oLoadingPromise;
|
|
131
131
|
};
|
|
@@ -256,7 +256,7 @@ sap.ui.define([
|
|
|
256
256
|
*/
|
|
257
257
|
Settings.prototype.isVersioningEnabled = function(sLayer) {
|
|
258
258
|
// there may be a versioning information for all layers
|
|
259
|
-
return !!(this._oSettings.versioning[sLayer] || this._oSettings.versioning
|
|
259
|
+
return !!(this._oSettings.versioning[sLayer] || this._oSettings.versioning.ALL);
|
|
260
260
|
};
|
|
261
261
|
|
|
262
262
|
/**
|
|
@@ -313,7 +313,6 @@ sap.ui.define([
|
|
|
313
313
|
return this._getBooleanProperty("isPublicFlVariantEnabled");
|
|
314
314
|
};
|
|
315
315
|
|
|
316
|
-
|
|
317
316
|
/**
|
|
318
317
|
* Checks whether sharing of <code>sap.ui.fl</code> variants can be based on contexts.
|
|
319
318
|
*
|
|
@@ -323,7 +322,6 @@ sap.ui.define([
|
|
|
323
322
|
return this._getBooleanProperty("isContextSharingEnabled");
|
|
324
323
|
};
|
|
325
324
|
|
|
326
|
-
|
|
327
325
|
/**
|
|
328
326
|
* Checks whether personalization of variants is enabled or not.
|
|
329
327
|
*
|
|
@@ -410,7 +408,7 @@ sap.ui.define([
|
|
|
410
408
|
};
|
|
411
409
|
|
|
412
410
|
// Used for stubbing in tests
|
|
413
|
-
Settings.prototype._getHostname = function
|
|
411
|
+
Settings.prototype._getHostname = function() {
|
|
414
412
|
return document.location.hostname;
|
|
415
413
|
};
|
|
416
414
|
|
|
@@ -421,7 +419,7 @@ sap.ui.define([
|
|
|
421
419
|
*
|
|
422
420
|
* @returns {boolean} <code>true</code> if it is a customer system
|
|
423
421
|
*/
|
|
424
|
-
Settings.prototype.isCustomerSystem = function
|
|
422
|
+
Settings.prototype.isCustomerSystem = function() {
|
|
425
423
|
var sSystemType = this._oSettings.systemType;
|
|
426
424
|
var bIsCustomerSystem = {
|
|
427
425
|
CUSTOMER: true,
|
|
@@ -23,7 +23,13 @@ sap.ui.define([
|
|
|
23
23
|
* @alias module:sap/ui/fl/requireAsync
|
|
24
24
|
*/
|
|
25
25
|
return function(sModuleName) {
|
|
26
|
-
//
|
|
26
|
+
// shortcut needed because the requireAsync does a setTimeout if the module is already loaded
|
|
27
|
+
// this setTimeout will affect our promise chains in a bad way
|
|
28
|
+
var oAlreadyLoadedModule = sap.ui.require(sModuleName);
|
|
29
|
+
if (oAlreadyLoadedModule) {
|
|
30
|
+
return Promise.resolve(oAlreadyLoadedModule);
|
|
31
|
+
}
|
|
32
|
+
// TODO: get rid of require async as soon as sap.ui.require has learned Promises as return value
|
|
27
33
|
return new Promise(function(fnResolve, fnReject) {
|
|
28
34
|
sap.ui.require([sModuleName], function(oModule) {
|
|
29
35
|
fnResolve(oModule);
|
|
@@ -54,7 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
if (oChange._aDependentSelectorList) {
|
|
57
|
-
oChange._aDependentSelectorList.forEach(function
|
|
57
|
+
oChange._aDependentSelectorList.forEach(function(oSelector) {
|
|
58
58
|
var mControlData = {
|
|
59
59
|
bPresent: !!JsControlTreeModifier.bySelector(oSelector, oAppComponent),
|
|
60
60
|
aAppliedChanges: [],
|
|
@@ -79,8 +79,8 @@ sap.ui.define([
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
function enhanceExportWithVariantChangeData
|
|
83
|
-
jQuery.each(oChangePersistence._mVariantsChanges, function
|
|
82
|
+
function enhanceExportWithVariantChangeData(oChangePersistence, oExport) {
|
|
83
|
+
jQuery.each(oChangePersistence._mVariantsChanges, function(sChangeId, oChange) {
|
|
84
84
|
oExport.mVariantsChanges[sChangeId] = {
|
|
85
85
|
mDefinition: oChange._oDefinition
|
|
86
86
|
};
|
|
@@ -90,7 +90,7 @@ sap.ui.define([
|
|
|
90
90
|
function enhanceWithChangetypeSpecificData(oExport, sExportParameterName, mControlData, sControlDataParameterName, aCustomDataChanges) {
|
|
91
91
|
if (aCustomDataChanges) {
|
|
92
92
|
mControlData[sControlDataParameterName] = aCustomDataChanges;
|
|
93
|
-
mControlData[sControlDataParameterName].map(function
|
|
93
|
+
mControlData[sControlDataParameterName].map(function(sChangeId) {
|
|
94
94
|
if (!(sChangeId in oExport[sExportParameterName])) {
|
|
95
95
|
oExport[sExportParameterName].push(sChangeId);
|
|
96
96
|
}
|
|
@@ -98,10 +98,10 @@ sap.ui.define([
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
function getChangesForControlFromCustomData
|
|
101
|
+
function getChangesForControlFromCustomData(oControl, sIdentifier) {
|
|
102
102
|
var aCustomData = oControl.getCustomData();
|
|
103
103
|
var aChangeIds = [];
|
|
104
|
-
aCustomData.forEach(function
|
|
104
|
+
aCustomData.forEach(function(oCustomData) {
|
|
105
105
|
var sKey = oCustomData.getKey();
|
|
106
106
|
if (sKey.startsWith(sIdentifier)) {
|
|
107
107
|
aChangeIds.push(sKey.replace(sIdentifier, ""));
|
|
@@ -110,7 +110,7 @@ sap.ui.define([
|
|
|
110
110
|
return aChangeIds;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
function enhanceExportWithControlData
|
|
113
|
+
function enhanceExportWithControlData(oChangePersistence, oExport) {
|
|
114
114
|
// collect applied changes
|
|
115
115
|
|
|
116
116
|
for (var sControlId in oChangePersistence._mChanges.mChanges) {
|
|
@@ -135,7 +135,7 @@ sap.ui.define([
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
return function
|
|
138
|
+
return function(oChangePersistence) {
|
|
139
139
|
if (!oChangePersistence) {
|
|
140
140
|
return;
|
|
141
141
|
}
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
*
|
|
28
28
|
* @namespace sap.ui.fl.support._internal.getChangeDependencies
|
|
29
29
|
* @since 1.98
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.116.0
|
|
31
31
|
* @private
|
|
32
32
|
* @ui5-restricted sap.ui.fl.support.api.SupportAPI
|
|
33
33
|
*/
|
|
@@ -40,8 +40,8 @@ sap.ui.define([
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
return function
|
|
44
|
-
return Utils.getUShellService("AppLifeCycle").then(function
|
|
43
|
+
return function() {
|
|
44
|
+
return Utils.getUShellService("AppLifeCycle").then(function(oAppLifeCycleService) {
|
|
45
45
|
if (oAppLifeCycleService) {
|
|
46
46
|
var oCurrentApp = oAppLifeCycleService.getCurrentApplication();
|
|
47
47
|
if (oCurrentApp.componentInstance) {
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
// potential cFLP scenario with the instance running in an iFrame where the top has no access to the componentInstance
|
|
52
|
-
return oCurrentApp.getIntent().then(function
|
|
52
|
+
return oCurrentApp.getIntent().then(function(oIntent) {
|
|
53
53
|
// The iFrame ID is not public API and may change in the future. Until there is an API, this is the way how to get any hold on the app at all
|
|
54
54
|
var iFrame = document.getElementById("application-" + oIntent.semanticObject + "-" + oIntent.action);
|
|
55
55
|
if (!iFrame) {
|
|
@@ -58,32 +58,32 @@ sap.ui.define([
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// to use the iFrame scope, the code has to be called via eval
|
|
61
|
-
return iFrame.contentWindow.eval(
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
return iFrame.contentWindow.eval("" +
|
|
62
|
+
" new Promise(function (resolve) {" +
|
|
63
|
+
" sap.ui.require([" +
|
|
64
64
|
' "sap/ui/fl/ChangePersistenceFactory",' +
|
|
65
65
|
' "sap/ui/fl/Utils",' +
|
|
66
66
|
' "sap/ui/fl/support/_internal/extractChangeDependencies"' +
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
" ], function (" +
|
|
68
|
+
" ChangePersistenceFactory," +
|
|
69
|
+
" Utils," +
|
|
70
|
+
" extractChangeDependencies" +
|
|
71
|
+
" ) {" +
|
|
72
72
|
' Utils.getUShellService("AppLifeCycle").then(function (oAppLifeCycleService) {' +
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
" return oAppLifeCycleService.getCurrentApplication().componentInstance;" +
|
|
74
|
+
" }).then(function (oCurrentAppContainerObject) {" +
|
|
75
|
+
" if (oCurrentAppContainerObject) {" +
|
|
76
|
+
" var oAppComponent = oCurrentAppContainerObject.oContainer.getComponentInstance();" +
|
|
77
|
+
" resolve(extractChangeDependencies(ChangePersistenceFactory.getChangePersistenceForControl(oAppComponent)));" +
|
|
78
|
+
" };" +
|
|
79
|
+
" });" +
|
|
80
|
+
" });" +
|
|
81
|
+
" });");
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
// standalone case
|
|
86
|
-
var aApplications = Component.registry.filter(function
|
|
86
|
+
var aApplications = Component.registry.filter(function(oComponent) {
|
|
87
87
|
return oComponent.getManifestObject().getRawJson()["sap.app"].type === "application";
|
|
88
88
|
});
|
|
89
89
|
|
|
@@ -16,13 +16,13 @@ sap.ui.define([
|
|
|
16
16
|
*
|
|
17
17
|
* @namespace sap.ui.fl.support._internal.getFlexSettings
|
|
18
18
|
* @since 1.99
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.116.0
|
|
20
20
|
* @private
|
|
21
21
|
* @ui5-restricted sap.ui.fl.support.api.SupportAPI
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
return function
|
|
25
|
-
return Settings.getInstance().then(function
|
|
24
|
+
return function() {
|
|
25
|
+
return Settings.getInstance().then(function(oSettings) {
|
|
26
26
|
return Object.keys(oSettings._oSettings).map(function(sKey) {
|
|
27
27
|
var value = oSettings._oSettings[sKey];
|
|
28
28
|
|
|
@@ -9,7 +9,7 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/fl/Layer",
|
|
10
10
|
"sap/ui/model/resource/ResourceModel",
|
|
11
11
|
"sap/ui/model/json/JSONModel"
|
|
12
|
-
], function
|
|
12
|
+
], function(
|
|
13
13
|
UIComponent,
|
|
14
14
|
Layer,
|
|
15
15
|
ResourceModel,
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
"use strict";
|
|
19
19
|
|
|
20
20
|
var Component = UIComponent.extend("sap.ui.fl.support.apps.contentbrowser.Component", {
|
|
21
|
-
init: function
|
|
21
|
+
init: function() {
|
|
22
22
|
var that = this;
|
|
23
23
|
// call the init function of the parent
|
|
24
24
|
UIComponent.prototype.init.apply(this, arguments);
|
|
@@ -32,11 +32,10 @@ sap.ui.define([
|
|
|
32
32
|
var sMessages = [];
|
|
33
33
|
var oMessagesModel = new JSONModel(sMessages);
|
|
34
34
|
this.setModel(oMessagesModel, "messages");
|
|
35
|
-
sap.ui.require(["sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils"], function
|
|
35
|
+
sap.ui.require(["sap/ui/fl/support/apps/contentbrowser/utils/ErrorUtils"], function(ErrorUtils) {
|
|
36
36
|
ErrorUtils.setMessagesModel(that, oMessagesModel);
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
|
|
40
39
|
var oContentJson = {};
|
|
41
40
|
var oContentJsonModel = new JSONModel(oContentJson);
|
|
42
41
|
this.setModel(oContentJsonModel, "content");
|
|
@@ -86,6 +85,5 @@ sap.ui.define([
|
|
|
86
85
|
}
|
|
87
86
|
});
|
|
88
87
|
|
|
89
|
-
|
|
90
88
|
return Component;
|
|
91
89
|
});
|