@openui5/sap.ui.integration 1.143.1 → 1.144.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/THIRDPARTY.txt +1 -1
- package/package.json +6 -6
- package/src/sap/ui/integration/.library +2 -2
- package/src/sap/ui/integration/ActionDefinition.js +2 -2
- package/src/sap/ui/integration/Designtime.js +2 -2
- package/src/sap/ui/integration/Extension.js +2 -2
- package/src/sap/ui/integration/Host.js +2 -2
- package/src/sap/ui/integration/bindingFeatures/DateRange.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +2 -2
- package/src/sap/ui/integration/cards/AnalyticalContent.js +86 -13
- package/src/sap/ui/integration/cards/AnalyticalContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +2 -2
- package/src/sap/ui/integration/cards/AnalyticsCloudContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +26 -5
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +2 -2
- package/src/sap/ui/integration/cards/BaseListContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/CalendarContent.js +2 -2
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +2 -2
- package/src/sap/ui/integration/cards/ComponentContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +2 -2
- package/src/sap/ui/integration/cards/Header.js +2 -2
- package/src/sap/ui/integration/cards/ListContent.js +3 -3
- package/src/sap/ui/integration/cards/ListContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/NumericHeader.js +2 -2
- package/src/sap/ui/integration/cards/ObjectContent.js +68 -7
- package/src/sap/ui/integration/cards/ObjectContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +4 -2
- package/src/sap/ui/integration/cards/TableContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +2 -2
- package/src/sap/ui/integration/cards/TimelineContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +2 -2
- package/src/sap/ui/integration/cards/WebPageContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/actions/BaseAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/CardActions.js +22 -7
- package/src/sap/ui/integration/cards/actions/CustomAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/DateChangeAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/HideCardAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/MonthChangeAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/NavigationAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/ShowCardAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/SubmitAction.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputTime.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/hostConfig.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/overwrites/ActionRender.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/overwrites/inputsGeneralOverwrites.js +1 -1
- package/src/sap/ui/integration/cards/data/CsrfToken.js +1 -1
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/FilterBar.js +2 -2
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +2 -2
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +2 -2
- package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +2 -2
- package/src/sap/ui/integration/controls/ActionsStrip.js +2 -2
- package/src/sap/ui/integration/controls/ActionsToolbar.js +3 -3
- package/src/sap/ui/integration/controls/ActionsToolbarRenderer.js +1 -1
- package/src/sap/ui/integration/controls/BlockingMessage.js +2 -2
- package/src/sap/ui/integration/controls/ComboBox.js +2 -2
- package/src/sap/ui/integration/controls/HeaderInfoSectionColumn.js +2 -2
- package/src/sap/ui/integration/controls/HeaderInfoSectionColumnRenderer.js +1 -1
- package/src/sap/ui/integration/controls/HeaderInfoSectionRow.js +2 -2
- package/src/sap/ui/integration/controls/HeaderInfoSectionRowRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ImageWithOverlay.js +2 -2
- package/src/sap/ui/integration/controls/ImageWithOverlayRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +2 -2
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +1 -1
- package/src/sap/ui/integration/controls/Microchart.js +2 -2
- package/src/sap/ui/integration/controls/MicrochartLegend.js +2 -2
- package/src/sap/ui/integration/controls/MicrochartLegendRenderer.js +1 -1
- package/src/sap/ui/integration/controls/MicrochartRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ObjectStatus.js +3 -3
- package/src/sap/ui/integration/customElements/CustomElementBase.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementCard.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementCardEditor.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementEditor.js +1 -1
- package/src/sap/ui/integration/delegate/OverflowHandler.js +2 -2
- package/src/sap/ui/integration/delegate/Paginator.js +18 -16
- package/src/sap/ui/integration/delegate/PreventKeyboardScrolling.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +3 -3
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/layout/Form.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/util/BaseDefaultValidatorModules.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/EvalUtils.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/StylesheetManager.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/resolveBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/cleanupDesigntimeMetadata.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/createPromise.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/escapeParameter.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/findClosestInstance.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/hasTag.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/isTemplate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/isValidBindingString.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsPatternMatch.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/BASEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/CardEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/PropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/PropertyEditors.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/AppConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/FooterConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/HeaderConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/ListCardConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/ObjectCardConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/TableCardConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateActionConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateDataConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateFooterActionsStripConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/index.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr.properties +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/util/CommonPatterns.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/validator/IsPatternMatchList.js +1 -1
- package/src/sap/ui/integration/designtime/editor/Card.js +2 -2
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +78 -22
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +18 -11
- package/src/sap/ui/integration/designtime/editor/CardRenderer.js +1 -1
- package/src/sap/ui/integration/editor/Constants.js +1 -1
- package/src/sap/ui/integration/editor/Editor.js +630 -169
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +2 -2
- package/src/sap/ui/integration/editor/Extension.js +2 -2
- package/src/sap/ui/integration/editor/Manifest.js +2 -2
- package/src/sap/ui/integration/editor/Merger.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +7 -7
- package/src/sap/ui/integration/editor/css/Editor.css +28 -0
- package/src/sap/ui/integration/editor/fields/BaseField.js +12 -12
- package/src/sap/ui/integration/editor/fields/BooleanField.js +2 -2
- package/src/sap/ui/integration/editor/fields/DateField.js +2 -2
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +2 -2
- package/src/sap/ui/integration/editor/fields/DestinationField.js +2 -2
- package/src/sap/ui/integration/editor/fields/GroupField.js +19 -5
- package/src/sap/ui/integration/editor/fields/IntegerField.js +2 -2
- package/src/sap/ui/integration/editor/fields/NumberField.js +2 -2
- package/src/sap/ui/integration/editor/fields/ObjectField.js +26 -11
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +2 -2
- package/src/sap/ui/integration/editor/fields/StringField.js +22 -15
- package/src/sap/ui/integration/editor/fields/StringListField.js +2 -2
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +3 -3
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/VizBase.js +2 -2
- package/src/sap/ui/integration/extensions/OAuth3LO.js +2 -2
- package/src/sap/ui/integration/formatters/DateTimeFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/IconFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/InitialsFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/NumberFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/TextFormatter.js +1 -1
- package/src/sap/ui/integration/library-bootstrap.js +1 -1
- package/src/sap/ui/integration/library.js +3 -3
- package/src/sap/ui/integration/messagebundle.properties +3 -0
- package/src/sap/ui/integration/model/ContextModel.js +2 -2
- package/src/sap/ui/integration/model/ObservableModel.js +2 -2
- package/src/sap/ui/integration/sap-ui-integration-config.js +1 -1
- package/src/sap/ui/integration/sap-ui-integration-define-nojQuery.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +14 -1
- package/src/sap/ui/integration/services/Data.js +1 -1
- package/src/sap/ui/integration/services/Navigation.js +1 -1
- package/src/sap/ui/integration/services/Service.js +1 -1
- package/src/sap/ui/integration/themes/base/ObjectContent.less +4 -0
- package/src/sap/ui/integration/themes/base/library.source.less +1 -1
- package/src/sap/ui/integration/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/integration/types/HeaderInfoSectionJustifyContent.js +1 -1
- package/src/sap/ui/integration/util/AnalyticsCloudHelper.js +2 -2
- package/src/sap/ui/integration/util/BaseFactory.js +2 -2
- package/src/sap/ui/integration/util/BindingHelper.js +2 -2
- package/src/sap/ui/integration/util/BindingResolver.js +2 -2
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +1 -1
- package/src/sap/ui/integration/util/CardMerger.js +1 -1
- package/src/sap/ui/integration/util/CardObserver.js +2 -2
- package/src/sap/ui/integration/util/ComboBoxHelper.js +2 -2
- package/src/sap/ui/integration/util/ContentFactory.js +2 -2
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +2 -2
- package/src/sap/ui/integration/util/DataProvider.js +2 -2
- package/src/sap/ui/integration/util/DataProviderFactory.js +2 -2
- package/src/sap/ui/integration/util/DateRangeHelper.js +15 -6
- package/src/sap/ui/integration/util/Destinations.js +2 -2
- package/src/sap/ui/integration/util/DisplayVariants.js +2 -2
- package/src/sap/ui/integration/util/Duration.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +2 -2
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +2 -2
- package/src/sap/ui/integration/util/Form.js +50 -21
- package/src/sap/ui/integration/util/HeaderFactory.js +2 -2
- package/src/sap/ui/integration/util/JSONBindingHelper.js +2 -2
- package/src/sap/ui/integration/util/LoadingProvider.js +2 -2
- package/src/sap/ui/integration/util/Manifest.js +2 -2
- package/src/sap/ui/integration/util/ManifestResolver.js +1 -1
- package/src/sap/ui/integration/util/Measurement.js +1 -1
- package/src/sap/ui/integration/util/OAuth3LOHelper.js +2 -2
- package/src/sap/ui/integration/util/ObjectStatusFactory.js +2 -2
- package/src/sap/ui/integration/util/ParameterMap.js +1 -1
- package/src/sap/ui/integration/util/RadioButtonHelper.js +71 -0
- package/src/sap/ui/integration/util/RequestDataProvider.js +2 -2
- package/src/sap/ui/integration/util/ServiceDataProvider.js +2 -2
- package/src/sap/ui/integration/util/ServiceManager.js +2 -2
- package/src/sap/ui/integration/util/SkeletonCard.js +2 -2
- package/src/sap/ui/integration/util/SorterHelper.js +2 -2
- package/src/sap/ui/integration/util/Utils.js +2 -2
- package/src/sap/ui/integration/util/Validators.js +8 -2
- package/src/sap/ui/integration/util/loadCardEditor.js +1 -1
- package/src/sap/ui/integration/util/openCardDialog.js +1 -1
- package/src/sap/ui/integration/util/openCardShowMore.js +1 -1
- package/src/sap/ui/integration/util/subtitleToSubTitle.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +23 -8
- package/src/sap/ui/integration/widgets/CardRenderer.js +1 -1
- package/src/sap-ui-integration-card-editor.js +1 -1
- package/src/sap-ui-integration-editor.js +1 -1
- package/src/sap-ui-integration.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* @alias sap.ui.integration.editor.EditorResourceBundles
|
|
19
19
|
* @author SAP SE
|
|
20
20
|
* @since 1.94.0
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.144.0
|
|
22
22
|
* @private
|
|
23
23
|
*/
|
|
24
24
|
var EditorResourceBundles = ManagedObject.extend("sap.ui.integration.editor.EditorResourceBundles", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @extends sap.ui.integration.Extension
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.144.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @extends sap.ui.integration.util.Manifest
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.144.0
|
|
21
21
|
*
|
|
22
22
|
* @constructor
|
|
23
23
|
* @since 1.94
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -82,7 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
* @alias sap.ui.integration.editor.Settings
|
|
83
83
|
* @author SAP SE
|
|
84
84
|
* @since 1.83.0
|
|
85
|
-
* @version 1.
|
|
85
|
+
* @version 1.144.0
|
|
86
86
|
* @private
|
|
87
87
|
* @experimental since 1.83.0
|
|
88
88
|
* @ui5-restricted
|
|
@@ -114,7 +114,7 @@ sap.ui.define([
|
|
|
114
114
|
iOffsetMaxHeight = 450,
|
|
115
115
|
iOffsetMaxWidth = 360;
|
|
116
116
|
Settings.prototype.setConfiguration = function (oConfig) {
|
|
117
|
-
this.
|
|
117
|
+
this._oOriginalConfig = oConfig;
|
|
118
118
|
oConfig = merge({}, oConfig);
|
|
119
119
|
var oModel = new JSONModel(oConfig);
|
|
120
120
|
this.setModel(oModel, "currentSettings");
|
|
@@ -192,7 +192,7 @@ sap.ui.define([
|
|
|
192
192
|
};
|
|
193
193
|
|
|
194
194
|
Settings.prototype._cancelCurrentSettings = function () {
|
|
195
|
-
this.fnCancel(this.
|
|
195
|
+
this.fnCancel(this._oOriginalConfig);
|
|
196
196
|
};
|
|
197
197
|
|
|
198
198
|
Settings.prototype.destroy = function () {
|
|
@@ -391,7 +391,7 @@ sap.ui.define([
|
|
|
391
391
|
oResetToDefaultButton = new Button(sParameterId + "_settings_popover_reset_btn", {
|
|
392
392
|
type: "Transparent",
|
|
393
393
|
text: oResourceBundle.getText("EDITOR_MORE_RESET"),
|
|
394
|
-
enabled: "{= ${currentSettings>_next/visible} === (typeof(${currentSettings>visibleToUser}) === 'undefined' ? false : !${currentSettings>visibleToUser}) || ${currentSettings>_next/editable} === (typeof(${currentSettings>editableToUser}) === 'undefined' ? false : !${currentSettings>editableToUser}) || ${currentSettings>_next/allowDynamicValues} === (typeof(${currentSettings>allowDynamicValues}) === 'undefined' ? false : !${currentSettings>allowDynamicValues}) || ${currentSettings>
|
|
394
|
+
enabled: "{= ${currentSettings>_next/visible} === (typeof(${currentSettings>visibleToUser}) === 'undefined' ? false : !${currentSettings>visibleToUser}) || ${currentSettings>_next/editable} === (typeof(${currentSettings>editableToUser}) === 'undefined' ? false : !${currentSettings>editableToUser}) || ${currentSettings>_next/allowDynamicValues} === (typeof(${currentSettings>allowDynamicValues}) === 'undefined' ? false : !${currentSettings>allowDynamicValues}) || ${currentSettings>_beforeLayerValue} !== ${currentSettings>value} || ${currentSettings>type} === 'destination'}",
|
|
395
395
|
tooltip: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_RESET"),
|
|
396
396
|
press: function () {
|
|
397
397
|
if (oData.type === "destination") {
|
|
@@ -413,9 +413,9 @@ sap.ui.define([
|
|
|
413
413
|
}
|
|
414
414
|
oCurrentModel.setProperty("/_changed", false);
|
|
415
415
|
} else {
|
|
416
|
-
oCurrentModel.setProperty("/value", oCurrentModel.getProperty("/
|
|
416
|
+
oCurrentModel.setProperty("/value", oCurrentModel.getProperty("/_beforeLayerValue"));
|
|
417
417
|
if (oData.type.indexOf("object") > -1) {
|
|
418
|
-
oField.setValue(oCurrentModel.getProperty("/
|
|
418
|
+
oField.setValue(oCurrentModel.getProperty("/_beforeLayerValue"));
|
|
419
419
|
oField.resetControl();
|
|
420
420
|
}
|
|
421
421
|
}
|
|
@@ -3,6 +3,34 @@
|
|
|
3
3
|
padding: 1rem 1rem 1rem 0.5rem;
|
|
4
4
|
display: flex;
|
|
5
5
|
box-sizing: border-box;
|
|
6
|
+
background-color: var(--sapShellColor);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.sapUiIntegrationEditor .sapMTreeItemBaseChildren {
|
|
10
|
+
background-color: var(--sapShellColor);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.sapUiIntegrationEditor .childsTreeContainer {
|
|
14
|
+
width: 20rem;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
margin: 0 0 0 10px;
|
|
17
|
+
padding: 6px;
|
|
18
|
+
background-color: rgba(222, 222, 222, 0.3) !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.childsTreeContainer .sapMList {
|
|
22
|
+
margin: -0.3rem 0 0 0
|
|
23
|
+
}
|
|
24
|
+
.childsTreeContainer .sapMListUl {
|
|
25
|
+
border-right: 1px solid var(--sapList_BorderColor);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.sapUiIntegrationEditorChildTreeItem .sapMLIBContent {
|
|
29
|
+
width: 100%;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
display: inline-block;
|
|
33
|
+
white-space: nowrap;
|
|
6
34
|
}
|
|
7
35
|
|
|
8
36
|
.sapUiIntegrationEditor .sapUiIntegrationEditorForm {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
* @alias sap.ui.integration.editor.fields.BaseField
|
|
57
57
|
* @author SAP SE
|
|
58
58
|
* @since 1.83.0
|
|
59
|
-
* @version 1.
|
|
59
|
+
* @version 1.144.0
|
|
60
60
|
* @private
|
|
61
61
|
* @ui5-restricted
|
|
62
62
|
* @experimental since 1.83.0
|
|
@@ -184,7 +184,7 @@ sap.ui.define([
|
|
|
184
184
|
|
|
185
185
|
BaseField.prototype.init = function () {
|
|
186
186
|
this._readyPromise = new Promise(function (resolve) {
|
|
187
|
-
this.
|
|
187
|
+
this._fnFieldResolver = resolve;
|
|
188
188
|
}.bind(this));
|
|
189
189
|
};
|
|
190
190
|
|
|
@@ -252,7 +252,7 @@ sap.ui.define([
|
|
|
252
252
|
var that = this;
|
|
253
253
|
var oConfig = that.getConfiguration();
|
|
254
254
|
var sTranslationPath = "/texts";
|
|
255
|
-
var oData = this.
|
|
255
|
+
var oData = this._oSettingsModel.getData();
|
|
256
256
|
if (!oData || !oData.texts) {
|
|
257
257
|
return;
|
|
258
258
|
}
|
|
@@ -265,9 +265,9 @@ sap.ui.define([
|
|
|
265
265
|
}
|
|
266
266
|
if (deepEqual(oTexts, {})) {
|
|
267
267
|
delete oData.texts;
|
|
268
|
-
this.
|
|
268
|
+
this._oSettingsModel.setData(oData);
|
|
269
269
|
} else {
|
|
270
|
-
this.
|
|
270
|
+
this._oSettingsModel.setProperty(sTranslationPath, oTexts);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
} else {
|
|
@@ -567,7 +567,7 @@ sap.ui.define([
|
|
|
567
567
|
|
|
568
568
|
BaseField.prototype.initEditor = function (oConfig) {
|
|
569
569
|
var oControl;
|
|
570
|
-
this.
|
|
570
|
+
this._oSettingsModel = this.getModel("currentSettings");
|
|
571
571
|
this.initVisualization && this.initVisualization(oConfig);
|
|
572
572
|
if (this._visualization.editor) {
|
|
573
573
|
oControl = this._visualization.editor;
|
|
@@ -654,7 +654,7 @@ sap.ui.define([
|
|
|
654
654
|
this._triggerValidation(value);
|
|
655
655
|
}.bind(this));
|
|
656
656
|
}*/
|
|
657
|
-
var oBinding = this.
|
|
657
|
+
var oBinding = this._oSettingsModel.bindProperty("value", this.getBindingContext("currentSettings"));
|
|
658
658
|
oBinding.attachChange(function () {
|
|
659
659
|
this._triggerValidation(oConfig.value);
|
|
660
660
|
}.bind(this));
|
|
@@ -761,12 +761,12 @@ sap.ui.define([
|
|
|
761
761
|
BaseField.prototype._setCurrentProperty = function (sProperty, vValue) {
|
|
762
762
|
//avoid fire binding changes in the model
|
|
763
763
|
if (this._getCurrentProperty(sProperty) !== vValue) {
|
|
764
|
-
this.
|
|
764
|
+
this._oSettingsModel.setProperty(sProperty, vValue, this.getBindingContext("currentSettings"));
|
|
765
765
|
}
|
|
766
766
|
};
|
|
767
767
|
|
|
768
768
|
BaseField.prototype._getCurrentProperty = function (sProperty) {
|
|
769
|
-
return this.
|
|
769
|
+
return this._oSettingsModel.getProperty(sProperty, this.getBindingContext("currentSettings"));
|
|
770
770
|
};
|
|
771
771
|
|
|
772
772
|
BaseField.prototype._applySettings = function (oData) {
|
|
@@ -819,8 +819,8 @@ sap.ui.define([
|
|
|
819
819
|
} else {
|
|
820
820
|
this._showDynamicField();
|
|
821
821
|
}
|
|
822
|
-
this.
|
|
823
|
-
this.
|
|
822
|
+
this._fnFieldResolver && this._fnFieldResolver();
|
|
823
|
+
this._fnFieldResolver = null;
|
|
824
824
|
};
|
|
825
825
|
|
|
826
826
|
BaseField.prototype._cancelSettings = function () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @alias sap.ui.integration.editor.fields.BooleanField
|
|
18
18
|
* @author SAP SE
|
|
19
19
|
* @since 1.83.0
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.144.0
|
|
21
21
|
* @private
|
|
22
22
|
* @experimental since 1.83.0
|
|
23
23
|
* @ui5-restricted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @alias sap.ui.integration.editor.fields.DateField
|
|
20
20
|
* @author SAP SE
|
|
21
21
|
* @since 1.83.0
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.144.0
|
|
23
23
|
* @private
|
|
24
24
|
* @experimental since 1.83.0
|
|
25
25
|
* @ui5-restricted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @alias sap.ui.integration.editor.fields.DateTimeField
|
|
20
20
|
* @author SAP SE
|
|
21
21
|
* @since 1.83.0
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.144.0
|
|
23
23
|
* @private
|
|
24
24
|
* @experimental since 1.83.0
|
|
25
25
|
* @ui5-restricted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @alias sap.ui.integration.editor.fields.DestinationField
|
|
21
21
|
* @author SAP SE
|
|
22
22
|
* @since 1.83.0
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.144.0
|
|
24
24
|
* @private
|
|
25
25
|
* @experimental since 1.83.0
|
|
26
26
|
* @ui5-restricted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @alias sap.ui.integration.editor.fields.GroupField
|
|
29
29
|
* @author SAP SE
|
|
30
30
|
* @since 1.106.0
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.144.0
|
|
32
32
|
* @private
|
|
33
33
|
* @experimental since 1.106.0
|
|
34
34
|
* @ui5-restricted
|
|
@@ -142,7 +142,7 @@ sap.ui.define([
|
|
|
142
142
|
}
|
|
143
143
|
});
|
|
144
144
|
if (oConfig.level !== "1") {
|
|
145
|
-
oMessageStripOfPanel.setModel(this.
|
|
145
|
+
oMessageStripOfPanel.setModel(this._oSettingsModel, "currentSettings");
|
|
146
146
|
}
|
|
147
147
|
oMessageStripOfPanel.addStyleClass("sapUiIntegrationEditorPanelMessageStrip");
|
|
148
148
|
oControl._messageStrip = oMessageStripOfPanel;
|
|
@@ -159,7 +159,7 @@ sap.ui.define([
|
|
|
159
159
|
ePanel.setAttribute("aria-label", oConfig.label);
|
|
160
160
|
// handle error message for panel
|
|
161
161
|
if (oControl._subItems && oControl._subItems.length > 0) {
|
|
162
|
-
this.checkErrorsInSubItems(this.
|
|
162
|
+
this.checkErrorsInSubItems(this._oSettingsModel, oControl);
|
|
163
163
|
}
|
|
164
164
|
var oMessageStrip = oControl._messageStrip;
|
|
165
165
|
if (oControl._level !== "1" && oMessageStrip) {
|
|
@@ -172,7 +172,7 @@ sap.ui.define([
|
|
|
172
172
|
if (oItem.isA("sap.ui.integration.editor.fields.GroupField")) {
|
|
173
173
|
var oItemControl = oItem.getAggregation("_field");
|
|
174
174
|
if (oItemControl instanceof Panel && oItemControl._subItems && oItemControl._subItems.length > 0) {
|
|
175
|
-
oItem.checkErrorsInSubItems(oItem.
|
|
175
|
+
oItem.checkErrorsInSubItems(oItem._oSettingsModel, oItemControl);
|
|
176
176
|
} else if (oItemControl instanceof IconTabBar && oItemControl.getItems().length > 0) {
|
|
177
177
|
oItem.checkErrorsInIconTabBar();
|
|
178
178
|
}
|
|
@@ -348,5 +348,19 @@ sap.ui.define([
|
|
|
348
348
|
}, 50);
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
+
GroupField.prototype.exit = function () {
|
|
352
|
+
if (BaseField.prototype.exit) {
|
|
353
|
+
BaseField.prototype.exit.call(this);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// destroy MessageStrip
|
|
357
|
+
var oControl = this.getAggregation("_field");
|
|
358
|
+
if ((oControl instanceof Panel || oControl instanceof IconTabBar) && oControl._messageStrip) {
|
|
359
|
+
oControl._messageStrip.destroy();
|
|
360
|
+
delete oControl._messageStrip;
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
|
|
351
365
|
return GroupField;
|
|
352
366
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* @alias sap.ui.integration.editor.fields.IntegerField
|
|
19
19
|
* @author SAP SE
|
|
20
20
|
* @since 1.83.0
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.144.0
|
|
22
22
|
* @private
|
|
23
23
|
* @experimental since 1.83.0
|
|
24
24
|
* @ui5-restricted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* @alias sap.ui.integration.editor.fields.NumberField
|
|
19
19
|
* @author SAP SE
|
|
20
20
|
* @since 1.83.0
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.144.0
|
|
22
22
|
* @private
|
|
23
23
|
* @experimental since 1.83.0
|
|
24
24
|
* @ui5-restricted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -91,7 +91,7 @@ sap.ui.define([
|
|
|
91
91
|
* @alias sap.ui.integration.editor.fields.ObjectField
|
|
92
92
|
* @author SAP SE
|
|
93
93
|
* @since 1.100.0
|
|
94
|
-
* @version 1.
|
|
94
|
+
* @version 1.144.0
|
|
95
95
|
* @private
|
|
96
96
|
* @experimental since 1.100.0
|
|
97
97
|
* @ui5-restricted
|
|
@@ -2004,6 +2004,21 @@ sap.ui.define([
|
|
|
2004
2004
|
that._oTranslationPopover.openBy(oControl._oValueHelpIcon);
|
|
2005
2005
|
};
|
|
2006
2006
|
|
|
2007
|
+
ObjectField.prototype.exit = function () {
|
|
2008
|
+
if (this._oTranslationPopover) {
|
|
2009
|
+
this._oTranslationPopover.destroy();
|
|
2010
|
+
this._oTranslationPopover = null;
|
|
2011
|
+
}
|
|
2012
|
+
if (this._oObjectDetailsPopover) {
|
|
2013
|
+
this._oObjectDetailsPopover.destroy();
|
|
2014
|
+
this._oObjectDetailsPopover = null;
|
|
2015
|
+
}
|
|
2016
|
+
if (this._oObjectPropertyDetailsPopover) {
|
|
2017
|
+
this._oObjectPropertyDetailsPopover.destroy();
|
|
2018
|
+
this._oObjectPropertyDetailsPopover = null;
|
|
2019
|
+
}
|
|
2020
|
+
};
|
|
2021
|
+
|
|
2007
2022
|
ObjectField.prototype.navToTranslationListPage = function (sProperty, oEvent) {
|
|
2008
2023
|
var that = this;
|
|
2009
2024
|
if (!that._oEditorResourceBundles.isReady()) {
|
|
@@ -2245,7 +2260,7 @@ sap.ui.define([
|
|
|
2245
2260
|
var that = this;
|
|
2246
2261
|
var oConfig = that.getConfiguration();
|
|
2247
2262
|
var sTranslationPath = "/texts/" + sLanguage;
|
|
2248
|
-
var oProperty = this.
|
|
2263
|
+
var oProperty = this._oSettingsModel.getProperty(sTranslationPath) || {};
|
|
2249
2264
|
var oValue = oProperty[oConfig.manifestpath];
|
|
2250
2265
|
var sValue;
|
|
2251
2266
|
if (oValue && oValue[sUUID]) {
|
|
@@ -2259,7 +2274,7 @@ sap.ui.define([
|
|
|
2259
2274
|
var that = this;
|
|
2260
2275
|
var oConfig = that.getConfiguration();
|
|
2261
2276
|
var sDesigntimePath = "/:designtime";
|
|
2262
|
-
var oData = this.
|
|
2277
|
+
var oData = this._oSettingsModel.getData();
|
|
2263
2278
|
if (!oData) {
|
|
2264
2279
|
return;
|
|
2265
2280
|
}
|
|
@@ -2279,7 +2294,7 @@ sap.ui.define([
|
|
|
2279
2294
|
oDesigntime[oConfig.manifestpath][sUUID][sProperty] = {};
|
|
2280
2295
|
}
|
|
2281
2296
|
oDesigntime[oConfig.manifestpath][sUUID][sProperty][sConfigName] = vConfigValue;
|
|
2282
|
-
this.
|
|
2297
|
+
this._oSettingsModel.setProperty(sDesigntimePath, oDesigntime);
|
|
2283
2298
|
};
|
|
2284
2299
|
|
|
2285
2300
|
// get the config value of the property in designtime
|
|
@@ -2287,7 +2302,7 @@ sap.ui.define([
|
|
|
2287
2302
|
var that = this;
|
|
2288
2303
|
var vConfigValue;
|
|
2289
2304
|
var oConfig = that.getConfiguration();
|
|
2290
|
-
var oData = this.
|
|
2305
|
+
var oData = this._oSettingsModel.getData();
|
|
2291
2306
|
if (oData && oData[":designtime"]
|
|
2292
2307
|
&& oData[":designtime"][oConfig.manifestpath]
|
|
2293
2308
|
&& oData[":designtime"][oConfig.manifestpath][sUUID]
|
|
@@ -2303,7 +2318,7 @@ sap.ui.define([
|
|
|
2303
2318
|
var that = this;
|
|
2304
2319
|
var oConfig = that.getConfiguration();
|
|
2305
2320
|
var sTranslationPath = "/texts";
|
|
2306
|
-
var oData = this.
|
|
2321
|
+
var oData = this._oSettingsModel.getData();
|
|
2307
2322
|
if (!oData) {
|
|
2308
2323
|
return;
|
|
2309
2324
|
}
|
|
@@ -2323,13 +2338,13 @@ sap.ui.define([
|
|
|
2323
2338
|
oTexts[sLanguage][oConfig.manifestpath][sUUID] = {};
|
|
2324
2339
|
}
|
|
2325
2340
|
oTexts[sLanguage][oConfig.manifestpath][sUUID][sProperty] = sValue;
|
|
2326
|
-
this.
|
|
2341
|
+
this._oSettingsModel.setProperty(sTranslationPath, oTexts);
|
|
2327
2342
|
};
|
|
2328
2343
|
|
|
2329
2344
|
// delete the translation text
|
|
2330
2345
|
ObjectField.prototype.deleteTranslationValueInTexts = function (sLanguage, sUUID, sProperty) {
|
|
2331
2346
|
var that = this;
|
|
2332
|
-
var oData = that.
|
|
2347
|
+
var oData = that._oSettingsModel.getData();
|
|
2333
2348
|
if (!oData || !oData.texts || !sUUID) {
|
|
2334
2349
|
return;
|
|
2335
2350
|
}
|
|
@@ -2346,7 +2361,7 @@ sap.ui.define([
|
|
|
2346
2361
|
if (deepEqual(oTexts[sLanguage][oConfig.manifestpath][sUUID], {})) {
|
|
2347
2362
|
delete oTexts[sLanguage][oConfig.manifestpath][sUUID];
|
|
2348
2363
|
}
|
|
2349
|
-
this.
|
|
2364
|
+
this._oSettingsModel.setProperty(sTranslationPath, oTexts);
|
|
2350
2365
|
}
|
|
2351
2366
|
} else {
|
|
2352
2367
|
delete oTexts[sLanguage][oConfig.manifestpath][sUUID];
|
|
@@ -2356,7 +2371,7 @@ sap.ui.define([
|
|
|
2356
2371
|
delete oTexts[sLanguage];
|
|
2357
2372
|
}
|
|
2358
2373
|
}
|
|
2359
|
-
this.
|
|
2374
|
+
this._oSettingsModel.setProperty(sTranslationPath, oTexts);
|
|
2360
2375
|
}
|
|
2361
2376
|
}
|
|
2362
2377
|
} else {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @alias sap.ui.integration.editor.fields.ObjectListField
|
|
34
34
|
* @author SAP SE
|
|
35
35
|
* @since 1.100.0
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.144.0
|
|
37
37
|
* @private
|
|
38
38
|
* @experimental since 1.100.0
|
|
39
39
|
* @ui5-restricted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
* @alias sap.ui.integration.editor.fields.StringField
|
|
58
58
|
* @author SAP SE
|
|
59
59
|
* @since 1.83.0
|
|
60
|
-
* @version 1.
|
|
60
|
+
* @version 1.144.0
|
|
61
61
|
* @private
|
|
62
62
|
* @experimental since 1.83.0
|
|
63
63
|
* @ui5-restricted
|
|
@@ -119,9 +119,9 @@ sap.ui.define([
|
|
|
119
119
|
var sValue = oEvent.getSource().getValue();
|
|
120
120
|
var sSettingspath = this.getBindingContext("currentSettings").sPath;
|
|
121
121
|
//clean the value in data model
|
|
122
|
-
this.
|
|
122
|
+
this._oSettingsModel.setProperty(sSettingspath + "/value", sValue);
|
|
123
123
|
//update the dependent fields via bindings
|
|
124
|
-
var aBindings = this.
|
|
124
|
+
var aBindings = this._oSettingsModel.getBindings();
|
|
125
125
|
var sParameter = sSettingspath.substring(sSettingspath.lastIndexOf("/") + 1);
|
|
126
126
|
each(aBindings, function(iIndex, oBinding) {
|
|
127
127
|
if (oBinding.sPath === "/form/items/" + sParameter + "/value") {
|
|
@@ -327,7 +327,7 @@ sap.ui.define([
|
|
|
327
327
|
var oSelectedItem = oEvent.getParameter("selectedItem") || {};
|
|
328
328
|
var sKey = oSelectedItem.getKey();
|
|
329
329
|
var sSettingspath = this.getBindingContext("currentSettings").sPath;
|
|
330
|
-
this.
|
|
330
|
+
this._oSettingsModel.setProperty(sSettingspath + "/value", sKey);
|
|
331
331
|
//oSettingsModel.setProperty(sSettingspath + "/suggestValue", "");
|
|
332
332
|
};
|
|
333
333
|
|
|
@@ -336,12 +336,12 @@ sap.ui.define([
|
|
|
336
336
|
var sTerm = oEvent.target.value;
|
|
337
337
|
var sSettingspath = this.getBindingContext("currentSettings").sPath;
|
|
338
338
|
//set the suggestion value into data model property "suggestValue" for filter backend
|
|
339
|
-
this.
|
|
340
|
-
this.
|
|
339
|
+
this._oSettingsModel.setProperty(sSettingspath + "/suggestValue", sTerm.replaceAll("'", "\'\'"));
|
|
340
|
+
this._oSettingsModel.setProperty(sSettingspath + "/_loading", true);
|
|
341
341
|
//clean the value in data model
|
|
342
|
-
this.
|
|
342
|
+
this._oSettingsModel.setProperty(sSettingspath + "/value", "");
|
|
343
343
|
//update the dependent fields via bindings
|
|
344
|
-
var aBindings = this.
|
|
344
|
+
var aBindings = this._oSettingsModel.getBindings();
|
|
345
345
|
var sParameter = sSettingspath.substring(sSettingspath.lastIndexOf("/") + 1);
|
|
346
346
|
each(aBindings, function(iIndex, oBinding) {
|
|
347
347
|
if (oBinding.sPath === "/form/items/" + sParameter + "/value") {
|
|
@@ -402,14 +402,14 @@ sap.ui.define([
|
|
|
402
402
|
|
|
403
403
|
StringField.prototype.getTranslationValueInTexts = function (sLanguage, sManifestPath) {
|
|
404
404
|
var sTranslationPath = "/texts/" + sLanguage;
|
|
405
|
-
var oProperty = this.
|
|
405
|
+
var oProperty = this._oSettingsModel.getProperty(sTranslationPath) || {};
|
|
406
406
|
return oProperty[sManifestPath];
|
|
407
407
|
};
|
|
408
408
|
|
|
409
409
|
StringField.prototype.setTranslationValueInTexts = function (sLanguage, sValue) {
|
|
410
410
|
var sManifestPath = this.getConfiguration().manifestpath;
|
|
411
411
|
var sTranslationPath = "/texts";
|
|
412
|
-
var oData = this.
|
|
412
|
+
var oData = this._oSettingsModel.getData();
|
|
413
413
|
if (!oData) {
|
|
414
414
|
return;
|
|
415
415
|
}
|
|
@@ -417,7 +417,7 @@ sap.ui.define([
|
|
|
417
417
|
var oTexts = {};
|
|
418
418
|
oTexts[sLanguage] = {};
|
|
419
419
|
oTexts[sLanguage][sManifestPath] = sValue;
|
|
420
|
-
this.
|
|
420
|
+
this._oSettingsModel.setProperty(sTranslationPath, oTexts);
|
|
421
421
|
} else {
|
|
422
422
|
sTranslationPath = "/texts/" + sLanguage;
|
|
423
423
|
var oLanguage;
|
|
@@ -427,13 +427,13 @@ sap.ui.define([
|
|
|
427
427
|
oLanguage = oData.texts[sLanguage];
|
|
428
428
|
}
|
|
429
429
|
oLanguage[sManifestPath] = sValue;
|
|
430
|
-
this.
|
|
430
|
+
this._oSettingsModel.setProperty(sTranslationPath, oLanguage);
|
|
431
431
|
}
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
StringField.prototype.deleteTranslationValueInTexts = function (sLanguage) {
|
|
435
435
|
var sManifestPath = this.getConfiguration().manifestpath;
|
|
436
|
-
var oData = this.
|
|
436
|
+
var oData = this._oSettingsModel.getData();
|
|
437
437
|
if (oData && oData.texts && oData.texts[sLanguage]) {
|
|
438
438
|
delete oData.texts[sLanguage][sManifestPath];
|
|
439
439
|
}
|
|
@@ -443,7 +443,7 @@ sap.ui.define([
|
|
|
443
443
|
if (deepEqual(oData.texts, {})) {
|
|
444
444
|
delete oData.texts;
|
|
445
445
|
}
|
|
446
|
-
this.
|
|
446
|
+
this._oSettingsModel.setData(oData);
|
|
447
447
|
};
|
|
448
448
|
|
|
449
449
|
//open the translation popup
|
|
@@ -545,6 +545,13 @@ sap.ui.define([
|
|
|
545
545
|
that._oTranslationPopover.openBy(oControl._oValueHelpIcon);
|
|
546
546
|
};
|
|
547
547
|
|
|
548
|
+
StringField.prototype.exit = function () {
|
|
549
|
+
if (this._oTranslationPopover) {
|
|
550
|
+
this._oTranslationPopover.destroy();
|
|
551
|
+
this._oTranslationPopover = null;
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
|
|
548
555
|
StringField.prototype.buildTranslationsData = function(oControl) {
|
|
549
556
|
var that = this;
|
|
550
557
|
var oConfig = that.getConfiguration();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @alias sap.ui.integration.editor.fields.StringListField
|
|
45
45
|
* @author SAP SE
|
|
46
46
|
* @since 1.83.0
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.144.0
|
|
48
48
|
* @private
|
|
49
49
|
* @experimental since 1.83.0
|
|
50
50
|
* @ui5-restricted
|