@openui5/sap.ui.integration 1.108.2 → 1.110.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/.reuse/dep5 +16 -16
- package/THIRDPARTY.txt +2 -2
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +3 -3
- 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 +30 -6
- package/src/sap/ui/integration/Host.js +52 -14
- package/src/sap/ui/integration/bindingFeatures/DateRange.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +13 -10
- package/src/sap/ui/integration/cards/AnalyticalContent.js +2 -2
- 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 +74 -25
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +56 -3
- package/src/sap/ui/integration/cards/CalendarContent.js +4 -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 +3 -3
- package/src/sap/ui/integration/cards/ListContent.js +50 -48
- package/src/sap/ui/integration/cards/ListContentRenderer.js +26 -38
- package/src/sap/ui/integration/cards/NumericHeader.js +4 -3
- package/src/sap/ui/integration/cards/ObjectContent.js +5 -4
- package/src/sap/ui/integration/cards/ObjectContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +30 -3
- package/src/sap/ui/integration/cards/TableContentRenderer.js +8 -4
- package/src/sap/ui/integration/cards/TimelineContent.js +2 -2
- package/src/sap/ui/integration/cards/TimelineContentRenderer.js +8 -4
- 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 +2 -2
- 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/filters/BaseFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/FilterBar.js +68 -2
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +4 -3
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +3 -2
- package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +126 -0
- package/src/sap/ui/integration/controls/ActionsStrip.js +2 -2
- package/src/sap/ui/integration/controls/ActionsToolbar.js +2 -2
- package/src/sap/ui/integration/controls/ActionsToolbarRenderer.js +1 -1
- package/src/sap/ui/integration/controls/LinkWithIcon.js +2 -2
- package/src/sap/ui/integration/controls/LinkWithIconRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +118 -10
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +94 -121
- 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/ObjectStatus.js +51 -0
- package/src/sap/ui/integration/controls/Paginator.js +26 -22
- package/src/sap/ui/integration/controls/PaginatorRenderer.js +1 -1
- 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/designtime/baseEditor/BaseEditor.js +6 -10
- 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 +3 -5
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +4 -9
- 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/codeEditor/CodeEditorDialog.fragment.xml +1 -0
- 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/jsonEditor/JsonEditorDialog.fragment.xml +1 -0
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +6 -8
- 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/StylesheetManager.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +3 -5
- 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 +3 -5
- 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 +5 -15
- 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 +3 -5
- package/src/sap/ui/integration/designtime/cardEditor/config/index.js +1 -1
- 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 +4 -6
- 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/CardEditor.js +13 -5
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +71 -27
- package/src/sap/ui/integration/designtime/editor/css/CardPreview.css +12 -12
- package/src/sap/ui/integration/editor/Editor.js +18 -18
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +5 -6
- 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 +2 -2
- package/src/sap/ui/integration/editor/fields/BaseField.js +2 -2
- 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 +2 -2
- 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 +5 -7
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +2 -2
- package/src/sap/ui/integration/editor/fields/StringField.js +7 -9
- package/src/sap/ui/integration/editor/fields/StringListField.js +8 -10
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +2 -2
- 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/ShapeSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/VizBase.js +2 -2
- package/src/sap/ui/integration/formatters/DateTimeFormatter.js +12 -7
- 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 +28 -5
- package/src/sap/ui/integration/messagebundle.properties +3 -0
- package/src/sap/ui/integration/messagebundle_ar.properties +2 -0
- package/src/sap/ui/integration/messagebundle_bg.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ca.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cs.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cy.properties +2 -0
- package/src/sap/ui/integration/messagebundle_da.properties +2 -0
- package/src/sap/ui/integration/messagebundle_de.properties +2 -0
- package/src/sap/ui/integration/messagebundle_el.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/ui/integration/messagebundle_es.properties +2 -0
- package/src/sap/ui/integration/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/integration/messagebundle_et.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hu.properties +2 -0
- package/src/sap/ui/integration/messagebundle_id.properties +2 -0
- package/src/sap/ui/integration/messagebundle_it.properties +2 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +2 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ko.properties +2 -0
- package/src/sap/ui/integration/messagebundle_lt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_lv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ms.properties +2 -0
- package/src/sap/ui/integration/messagebundle_nl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_no.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sh.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_th.properties +2 -0
- package/src/sap/ui/integration/messagebundle_tr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_uk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_vi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +2 -0
- package/src/sap/ui/integration/model/ContextModel.js +3 -3
- package/src/sap/ui/integration/model/ObservableModel.js +2 -2
- package/src/sap/ui/integration/model/PagingModelListBinding.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 +115 -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/ListContentItem.less +134 -126
- package/src/sap/ui/integration/themes/base/Microchart.less +0 -2
- package/src/sap/ui/integration/themes/base/ObjectStatusIcons.less +41 -0
- package/src/sap/ui/integration/themes/base/library.source.less +2 -1
- package/src/sap/ui/integration/themes/sap_hcb/library.source.less +1 -1
- 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 +4 -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 +40 -10
- package/src/sap/ui/integration/util/ContentFactory.js +44 -45
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +10 -7
- 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/Destinations.js +2 -2
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +2 -2
- package/src/sap/ui/integration/util/Forms.js +2 -2
- 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 +45 -19
- package/src/sap/ui/integration/util/Manifest.js +10 -3
- package/src/sap/ui/integration/util/ManifestResolver.js +5 -1
- package/src/sap/ui/integration/util/Measurement.js +65 -0
- package/src/sap/ui/integration/util/ParameterMap.js +1 -1
- 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/Utils.js +9 -10
- package/src/sap/ui/integration/util/Validators.js +2 -2
- package/src/sap/ui/integration/util/loadCardEditor.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +138 -162
- package/src/sap/ui/integration/widgets/CardRenderer.js +9 -3
- 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,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
+
"sap/ui/integration/library",
|
|
8
9
|
"sap/ui/core/Control",
|
|
9
10
|
"sap/m/HBox",
|
|
10
11
|
"sap/m/Image",
|
|
@@ -14,10 +15,12 @@ sap.ui.define([
|
|
|
14
15
|
"sap/ui/dom/includeStylesheet",
|
|
15
16
|
"sap/ui/integration/util/CardMerger"
|
|
16
17
|
], function (
|
|
17
|
-
Control, HBox, Image, ToggleButton, Card, Core, includeStylesheet, CardMerger
|
|
18
|
+
library, Control, HBox, Image, ToggleButton, Card, Core, includeStylesheet, CardMerger
|
|
18
19
|
) {
|
|
19
20
|
"use strict";
|
|
20
21
|
|
|
22
|
+
var CardDataMode = library.CardDataMode;
|
|
23
|
+
|
|
21
24
|
/**
|
|
22
25
|
* Constructor for a new <code>Preview</code> that show a image, abstract live preview
|
|
23
26
|
*
|
|
@@ -26,7 +29,7 @@ sap.ui.define([
|
|
|
26
29
|
* @alias sap.ui.integration.designtime.editor.CardPreview
|
|
27
30
|
* @author SAP SE
|
|
28
31
|
* @since 1.83.0
|
|
29
|
-
* @version 1.
|
|
32
|
+
* @version 1.110.0
|
|
30
33
|
* @private
|
|
31
34
|
* @experimental since 1.83.0
|
|
32
35
|
* @ui5-restricted
|
|
@@ -56,6 +59,7 @@ sap.ui.define([
|
|
|
56
59
|
if (oControl._getCurrentMode() === "None") {
|
|
57
60
|
oRm.openStart("div", oControl);
|
|
58
61
|
oRm.openEnd();
|
|
62
|
+
oRm.close("div");
|
|
59
63
|
return;
|
|
60
64
|
}
|
|
61
65
|
oRm.openStart("div", oControl);
|
|
@@ -74,9 +78,11 @@ sap.ui.define([
|
|
|
74
78
|
}
|
|
75
79
|
oRm.openEnd();
|
|
76
80
|
oRm.openStart("div", oControl.getId() + "-before");
|
|
77
|
-
oRm.class("before");
|
|
78
81
|
oRm.attr("tabindex", "-1");
|
|
79
|
-
|
|
82
|
+
if (!oControl.getSettings().preview.interactive) {
|
|
83
|
+
oRm.class("before");
|
|
84
|
+
oRm.style("z-index", oControl.getParent()._iZIndex + 1);
|
|
85
|
+
}
|
|
80
86
|
oRm.openEnd();
|
|
81
87
|
oRm.close("div");
|
|
82
88
|
oRm.renderControl(oControl._getCardPreview());
|
|
@@ -85,9 +91,11 @@ sap.ui.define([
|
|
|
85
91
|
oRm.openEnd();
|
|
86
92
|
oRm.close("div");
|
|
87
93
|
// TODO unsupported DOM structure: button is not a child of the root element
|
|
88
|
-
if (oControl._getModes().indexOf("Live") > -1 && oControl._getModes().indexOf("Abstract") > -1)
|
|
94
|
+
if ((oControl._getModes().indexOf("Live") > -1 && oControl._getModes().indexOf("Abstract") > -1)
|
|
95
|
+
|| (oControl._getModes().indexOf("Mock") > -1 && oControl._getModes().indexOf("Abstract") > -1)) {
|
|
89
96
|
oRm.renderControl(oControl._getModeToggleButton());
|
|
90
97
|
}
|
|
98
|
+
oRm.close("div");
|
|
91
99
|
}
|
|
92
100
|
}
|
|
93
101
|
});
|
|
@@ -134,7 +142,7 @@ sap.ui.define([
|
|
|
134
142
|
CardPreview.prototype.onAfterRendering = function () {
|
|
135
143
|
var oPreview = this.getAggregation("cardPreview"),
|
|
136
144
|
sModes = this._getModes();
|
|
137
|
-
if (sModes.indexOf("Live") > -1 && oPreview && oPreview.getDomRef() && oPreview.getDomRef().getElementsByClassName("sapVizFrame")) {
|
|
145
|
+
if ((sModes.indexOf("Live") > -1 || sModes.indexOf("Mock") > -1) && oPreview && oPreview.getDomRef() && oPreview.getDomRef().getElementsByClassName("sapVizFrame")) {
|
|
138
146
|
window.setTimeout(function() {
|
|
139
147
|
try {
|
|
140
148
|
var vizFrameId = oPreview.getDomRef().getElementsByClassName("sapVizFrame")[0].id;
|
|
@@ -160,7 +168,7 @@ sap.ui.define([
|
|
|
160
168
|
} else {
|
|
161
169
|
oPreview = this._getCardPlaceholderPreview();
|
|
162
170
|
}
|
|
163
|
-
} else if (this._getCurrentMode() === "Live") {
|
|
171
|
+
} else if (this._getCurrentMode() === "Live" || this._getCurrentMode() === "Mock") {
|
|
164
172
|
oPreview = this._getCardRealPreview();
|
|
165
173
|
}
|
|
166
174
|
if (oPreview) {
|
|
@@ -260,7 +268,7 @@ sap.ui.define([
|
|
|
260
268
|
};
|
|
261
269
|
|
|
262
270
|
if (!this._oCardPlaceholder) {
|
|
263
|
-
this._oCardPlaceholder = new Card();
|
|
271
|
+
this._oCardPlaceholder = new Card({dataMode: CardDataMode.Active});
|
|
264
272
|
this._oCardPlaceholder._setPreviewMode(true);
|
|
265
273
|
}
|
|
266
274
|
this._oCardPlaceholder.setManifest(placeholder);
|
|
@@ -274,11 +282,11 @@ sap.ui.define([
|
|
|
274
282
|
*/
|
|
275
283
|
CardPreview.prototype.getTransformContentInfo = function () {
|
|
276
284
|
return {
|
|
277
|
-
transformStyle: "scale3d(0.
|
|
278
|
-
transformFactor: 0.
|
|
285
|
+
transformStyle: "scale3d(0.45, 0.45, 1)",
|
|
286
|
+
transformFactor: 0.45,
|
|
279
287
|
transformOriginStyle: "0 0",
|
|
280
|
-
widthStyle: "
|
|
281
|
-
heightStyle: "
|
|
288
|
+
widthStyle: "400px + 10rem",
|
|
289
|
+
heightStyle: "700px - 1.5rem",
|
|
282
290
|
zIndex: this.getParent()._iZIndex
|
|
283
291
|
};
|
|
284
292
|
};
|
|
@@ -288,8 +296,11 @@ sap.ui.define([
|
|
|
288
296
|
*/
|
|
289
297
|
CardPreview.prototype._getCardRealPreview = function () {
|
|
290
298
|
if (!this._oCardPreview) {
|
|
291
|
-
this._oCardPreview = new Card();
|
|
299
|
+
this._oCardPreview = new Card({dataMode: CardDataMode.Active});
|
|
292
300
|
this._oCardPreview.setBaseUrl(this.getCard().getBaseUrl());
|
|
301
|
+
if (this._currentMode === "Mock") {
|
|
302
|
+
this._oCardPreview.setProperty("useMockData", true);
|
|
303
|
+
}
|
|
293
304
|
}
|
|
294
305
|
this._initalChanges = this._initalChanges || this._oCardPreview.getManifestChanges() || [];
|
|
295
306
|
var aChanges = this._initalChanges.concat([this.getParent().getCurrentSettings()]);
|
|
@@ -334,25 +345,34 @@ sap.ui.define([
|
|
|
334
345
|
*/
|
|
335
346
|
CardPreview.prototype._getModes = function () {
|
|
336
347
|
var mSettings = this.getSettings();
|
|
337
|
-
//default setting -
|
|
348
|
+
//default setting - abstract preview
|
|
338
349
|
mSettings.preview = mSettings.preview || {};
|
|
339
350
|
mSettings.preview.modes = mSettings.preview.modes || "Abstract";
|
|
351
|
+
// Mock mode is only used for Component Card now, replace it with "Live" for other Cards
|
|
352
|
+
var sType = this.getCard().getManifestEntry("/sap.card/type");
|
|
353
|
+
if (sType !== "Component") {
|
|
354
|
+
mSettings.preview.modes = mSettings.preview.modes.replace("Mock", "Live");
|
|
355
|
+
}
|
|
340
356
|
return mSettings.preview.modes;
|
|
341
357
|
};
|
|
342
358
|
|
|
343
359
|
/**
|
|
344
|
-
* returns the current mode of the preview, "Abstract" or "Live"
|
|
360
|
+
* returns the current mode of the preview, "Abstract" or "Live" or "Mock"
|
|
345
361
|
*/
|
|
346
362
|
CardPreview.prototype._getCurrentMode = function () {
|
|
347
363
|
var sModes = this._getModes();
|
|
348
364
|
if (!this._currentMode) {
|
|
349
365
|
switch (sModes) {
|
|
350
|
-
case "AbstractLive":
|
|
351
366
|
case "Abstract":
|
|
367
|
+
case "AbstractLive":
|
|
368
|
+
case "AbstractMock":
|
|
352
369
|
this._currentMode = "Abstract"; break;
|
|
353
|
-
case "LiveAbstract":
|
|
354
370
|
case "Live":
|
|
371
|
+
case "LiveAbstract":
|
|
355
372
|
this._currentMode = "Live"; break;
|
|
373
|
+
case "Mock":
|
|
374
|
+
case "MockAbstract":
|
|
375
|
+
this._currentMode = "Mock"; break;
|
|
356
376
|
default: this._currentMode = "None";
|
|
357
377
|
}
|
|
358
378
|
}
|
|
@@ -360,17 +380,19 @@ sap.ui.define([
|
|
|
360
380
|
};
|
|
361
381
|
|
|
362
382
|
/**
|
|
363
|
-
* toggles the current mode from "Abstract" to "Live" and vice versa
|
|
383
|
+
* toggles the current mode from "Abstract" to "Live" or "Mock" and vice versa
|
|
364
384
|
*/
|
|
365
385
|
CardPreview.prototype._toggleCurrentMode = function () {
|
|
366
386
|
var sModes = this._getModes();
|
|
367
387
|
if (sModes.indexOf("Live") > -1 && sModes.indexOf("Abstract") > -1) {
|
|
368
388
|
this._currentMode = this._getCurrentMode() === "Abstract" ? "Live" : "Abstract";
|
|
389
|
+
} else if (sModes.indexOf("Mock") > -1 && sModes.indexOf("Abstract") > -1) {
|
|
390
|
+
this._currentMode = this._getCurrentMode() === "Abstract" ? "Mock" : "Abstract";
|
|
369
391
|
}
|
|
370
392
|
};
|
|
371
393
|
|
|
372
394
|
/**
|
|
373
|
-
* toggles the current mode from "Abstract" to "Live" and vice versa
|
|
395
|
+
* toggles the current mode from "Abstract" to "Live" or "Mock" and vice versa
|
|
374
396
|
* @returns {sap.m.ToggleButton}
|
|
375
397
|
*/
|
|
376
398
|
CardPreview.prototype._getModeToggleButton = function () {
|
|
@@ -401,9 +423,12 @@ sap.ui.define([
|
|
|
401
423
|
if (currentMode === "Abstract") {
|
|
402
424
|
tb.setIcon("sap-icon://media-play");
|
|
403
425
|
tb.setPressed(false);
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
426
|
+
if (this._getModes().indexOf("Mock") > -1) {
|
|
427
|
+
tb.setTooltip(oBundle.getText("CARDEDITOR_PREVIEW_BTN_MOCKPREVIEW"));
|
|
428
|
+
} else {
|
|
429
|
+
tb.setTooltip(oBundle.getText("CARDEDITOR_PREVIEW_BTN_LIVEPREVIEW"));
|
|
430
|
+
}
|
|
431
|
+
} else if (currentMode === "Live" || currentMode === "Mock") {
|
|
407
432
|
tb.setIcon("sap-icon://media-pause");
|
|
408
433
|
tb.setPressed(true);
|
|
409
434
|
tb.setTooltip(oBundle.getText("CARDEDITOR_PREVIEW_BTN_SAMPLEPREVIEW"));
|
|
@@ -430,15 +455,34 @@ sap.ui.define([
|
|
|
430
455
|
yiq = (r * 299 + g * 587 + b * 114) / 1000;
|
|
431
456
|
return (yiq <= 128);
|
|
432
457
|
}
|
|
458
|
+
|
|
459
|
+
CardPreview.prototype.onfocusin = function (oEvent) {
|
|
460
|
+
if (!this.getSettings().preview.interactive) {
|
|
461
|
+
if (!this._focusinByTabPrevious && oEvent.srcControl !== this._oModeToggleButton) {
|
|
462
|
+
if (this._oModeToggleButton) {
|
|
463
|
+
this._oModeToggleButton.focus();
|
|
464
|
+
} else {
|
|
465
|
+
this.getDomRef("after").focus();
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
this._focusinByTabPrevious = false;
|
|
469
|
+
}
|
|
470
|
+
};
|
|
471
|
+
|
|
433
472
|
CardPreview.prototype.onsaptabnext = function (oEvent) {
|
|
434
|
-
if (
|
|
435
|
-
this.
|
|
473
|
+
if (!this.getSettings().preview.interactive) {
|
|
474
|
+
if (oEvent.srcControl !== this._oModeToggleButton) {
|
|
475
|
+
this.getDomRef("after").focus();
|
|
476
|
+
}
|
|
436
477
|
}
|
|
437
478
|
};
|
|
438
479
|
|
|
439
480
|
CardPreview.prototype.onsaptabprevious = function (oEvent) {
|
|
440
|
-
if (
|
|
441
|
-
this.
|
|
481
|
+
if (!this.getSettings().preview.interactive) {
|
|
482
|
+
this._focusinByTabPrevious = true;
|
|
483
|
+
if (!this._oModeToggleButton || oEvent.srcControl === this._oModeToggleButton) {
|
|
484
|
+
this.getDomRef("before").focus();
|
|
485
|
+
}
|
|
442
486
|
}
|
|
443
487
|
};
|
|
444
488
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.sapUiIntegrationDTPreview {
|
|
2
|
-
padding:
|
|
2
|
+
padding: 0.5rem;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
min-width: calc(190px + 5rem);
|
|
5
5
|
width: calc(190px + 5rem);
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
.sapUiIntegrationDTPreview>.before {
|
|
25
25
|
position: absolute;
|
|
26
26
|
min-width: calc(190px + 5rem);
|
|
27
|
-
height: calc(350px -
|
|
27
|
+
height: calc(350px - 2.2rem);
|
|
28
28
|
background-color: rgba(222, 222, 222, 0.5); /* background-color needed for blocking */
|
|
29
29
|
opacity: 0.01;
|
|
30
|
-
margin: -
|
|
30
|
+
margin: -0.5rem;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.sapUiIntegrationDTPreview.sapUiIntegrationDTPreviewDark {
|
|
@@ -44,27 +44,27 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.sapUiIntegrationDTPreview .sapFCard.sapUiIntegrationDTPreviewScale {
|
|
47
|
-
transform: scale3d(0.
|
|
47
|
+
transform: scale3d(0.45, 0.45, 1);
|
|
48
48
|
transform-origin: 0 0;
|
|
49
|
-
width:
|
|
50
|
-
height:
|
|
51
|
-
position: absolute
|
|
49
|
+
width: calc(400px + 10rem) !important;
|
|
50
|
+
height: calc(700px - 1.5rem) !important;
|
|
51
|
+
position: absolute;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.sapUiIntegrationDTPreview .sapFCard.sapUiIntegrationDTPreviewScaleSpec {
|
|
55
|
-
transform: scale3d(0.
|
|
55
|
+
transform: scale3d(0.45, 0.45, 1);
|
|
56
56
|
transform-origin: 100% 0;
|
|
57
|
-
width:
|
|
58
|
-
height:
|
|
57
|
+
width: calc(400px + 10rem) !important;
|
|
58
|
+
height: calc(700px - 1.5rem) !important;
|
|
59
59
|
position: absolute
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewButton {
|
|
63
63
|
position: absolute !important;
|
|
64
|
-
margin: calc(
|
|
64
|
+
margin: calc(350px - 2.8rem) 0 0 calc(95px + 1rem) !important;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewButtonSpec {
|
|
68
68
|
position: absolute !important;
|
|
69
|
-
margin:
|
|
69
|
+
margin:calc(350px - 2.8rem) calc(95px + 1rem) 0 0 !important
|
|
70
70
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -37,7 +37,6 @@ sap.ui.define([
|
|
|
37
37
|
"sap/m/FormattedText",
|
|
38
38
|
"sap/m/MessageStrip",
|
|
39
39
|
"sap/m/ToolbarSpacer",
|
|
40
|
-
"sap/base/util/includes",
|
|
41
40
|
"sap/ui/model/resource/ResourceModel",
|
|
42
41
|
"./Manifest",
|
|
43
42
|
"./Merger",
|
|
@@ -81,7 +80,6 @@ sap.ui.define([
|
|
|
81
80
|
FormattedText,
|
|
82
81
|
MessageStrip,
|
|
83
82
|
Separator,
|
|
84
|
-
includes,
|
|
85
83
|
ResourceModel,
|
|
86
84
|
EditorManifest,
|
|
87
85
|
Merger,
|
|
@@ -139,7 +137,7 @@ sap.ui.define([
|
|
|
139
137
|
* @extends sap.ui.core.Control
|
|
140
138
|
*
|
|
141
139
|
* @author SAP SE
|
|
142
|
-
* @version 1.
|
|
140
|
+
* @version 1.110.0
|
|
143
141
|
* @constructor
|
|
144
142
|
* @since 1.94
|
|
145
143
|
* @private
|
|
@@ -237,14 +235,12 @@ sap.ui.define([
|
|
|
237
235
|
var oPreview = oControl.getAggregation("_preview");
|
|
238
236
|
var bShowPreview = oControl.getMode() !== "translation" && oControl.hasPreview();
|
|
239
237
|
var sPreviewPosition = oControl.getPreviewPosition();
|
|
240
|
-
if (bShowPreview
|
|
241
|
-
&& (sPreviewPosition === "top" || sPreviewPosition === "bottom")) {
|
|
238
|
+
if (bShowPreview && (sPreviewPosition === "top" || sPreviewPosition === "bottom")) {
|
|
242
239
|
oRm.openStart("div", oControl);
|
|
243
240
|
oRm.openEnd();
|
|
244
241
|
//render the additional content if alignment of it is "top"
|
|
245
242
|
if (oControl.isReady() && sPreviewPosition === "top") {
|
|
246
243
|
oRm.renderControl(oPreview);
|
|
247
|
-
oRm.close("div");
|
|
248
244
|
}
|
|
249
245
|
}
|
|
250
246
|
if (bShowPreview && sPreviewPosition === "left") {
|
|
@@ -253,10 +249,8 @@ sap.ui.define([
|
|
|
253
249
|
oRm.openEnd();
|
|
254
250
|
if (oControl.isReady()){
|
|
255
251
|
oRm.renderControl(oPreview);
|
|
256
|
-
oRm.close("div");
|
|
257
252
|
}
|
|
258
|
-
} else if (bShowPreview
|
|
259
|
-
&& (sPreviewPosition === "bottom" || sPreviewPosition === "top")) {
|
|
253
|
+
} else if (bShowPreview && (sPreviewPosition === "top" || sPreviewPosition === "bottom")) {
|
|
260
254
|
oRm.openStart("div");
|
|
261
255
|
oRm.class("sapUiIntegrationEditor");
|
|
262
256
|
oRm.openEnd();
|
|
@@ -861,9 +855,11 @@ sap.ui.define([
|
|
|
861
855
|
}
|
|
862
856
|
}
|
|
863
857
|
oRm.close("div");
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
858
|
+
if (bShowPreview && (sPreviewPosition === "top" || sPreviewPosition === "bottom")) {
|
|
859
|
+
//render the additional content if alignment of it is "bottom"
|
|
860
|
+
if (sPreviewPosition === "bottom") {
|
|
861
|
+
oRm.renderControl(oPreview);
|
|
862
|
+
}
|
|
867
863
|
oRm.close("div");
|
|
868
864
|
}
|
|
869
865
|
}
|
|
@@ -893,7 +889,7 @@ sap.ui.define([
|
|
|
893
889
|
* @experimental since 1.94
|
|
894
890
|
* @public
|
|
895
891
|
* @author SAP SE
|
|
896
|
-
* @version 1.
|
|
892
|
+
* @version 1.110.0
|
|
897
893
|
* @borrows sap.ui.integration.editor.Editor#getParameters as getParameters
|
|
898
894
|
* @borrows sap.ui.integration.editor.Editor#resolveDestination as resolveDestination
|
|
899
895
|
* @borrows sap.ui.integration.editor.Editor#request as request
|
|
@@ -1499,6 +1495,10 @@ sap.ui.define([
|
|
|
1499
1495
|
case "group":
|
|
1500
1496
|
break;
|
|
1501
1497
|
case "object":
|
|
1498
|
+
if (oItem.value && oItem.value !== "" && typeof oItem.value === "object") {
|
|
1499
|
+
mResult[oItem.manifestpath] = oItem.value;
|
|
1500
|
+
}
|
|
1501
|
+
break;
|
|
1502
1502
|
case "object[]":
|
|
1503
1503
|
if (Array.isArray(oItem.value)) {
|
|
1504
1504
|
var aValue = deepClone(oItem.value, 500);
|
|
@@ -1570,7 +1570,7 @@ sap.ui.define([
|
|
|
1570
1570
|
});
|
|
1571
1571
|
// delete translation texts if uuid not included in value list
|
|
1572
1572
|
for (var uuid in mResult.texts[language][key]) {
|
|
1573
|
-
if (!includes(
|
|
1573
|
+
if (!aUUIDs.includes(uuid)) {
|
|
1574
1574
|
delete mResult.texts[language][key][uuid];
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
@@ -2219,7 +2219,7 @@ sap.ui.define([
|
|
|
2219
2219
|
if (Array.isArray(oResult)) {
|
|
2220
2220
|
for (var n in oResult) {
|
|
2221
2221
|
var sKey = oField.getKeyFromItem(oResult[n]);
|
|
2222
|
-
if (Array.isArray(oFieldConfig.value) && oFieldConfig.value.length > 0 &&
|
|
2222
|
+
if (Array.isArray(oFieldConfig.value) && oFieldConfig.value.length > 0 && oFieldConfig.value.includes(sKey)) {
|
|
2223
2223
|
oResult[n].Selected = this._oResourceBundle.getText("EDITOR_ITEM_SELECTED");
|
|
2224
2224
|
} else {
|
|
2225
2225
|
oResult[n].Selected = this._oResourceBundle.getText("EDITOR_ITEM_UNSELECTED");
|
|
@@ -2230,7 +2230,7 @@ sap.ui.define([
|
|
|
2230
2230
|
} else if (Array.isArray(oData)) {
|
|
2231
2231
|
for (var n in oData) {
|
|
2232
2232
|
var sKey = oField.getKeyFromItem(oData[n]);
|
|
2233
|
-
if (Array.isArray(oFieldConfig.value) && oFieldConfig.value.length > 0 &&
|
|
2233
|
+
if (Array.isArray(oFieldConfig.value) && oFieldConfig.value.length > 0 && oFieldConfig.value.includes(sKey)) {
|
|
2234
2234
|
oData[n].Selected = this._oResourceBundle.getText("EDITOR_ITEM_SELECTED");
|
|
2235
2235
|
} else {
|
|
2236
2236
|
oData[n].Selected = this._oResourceBundle.getText("EDITOR_ITEM_UNSELECTED");
|
|
@@ -2714,7 +2714,7 @@ sap.ui.define([
|
|
|
2714
2714
|
aFallbacks.push(sLanguage.substring(0, sLanguage.indexOf("-")));
|
|
2715
2715
|
}
|
|
2716
2716
|
//add en into fallbacks
|
|
2717
|
-
if (!includes(
|
|
2717
|
+
if (!aFallbacks.includes("en")) {
|
|
2718
2718
|
aFallbacks.push("en");
|
|
2719
2719
|
}
|
|
2720
2720
|
// load the ResourceBundle relative to the manifest
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/util/LoaderExtensions",
|
|
9
|
-
"sap/base/i18n/ResourceBundle"
|
|
10
|
-
|
|
11
|
-
], function (LoaderExtensions, ResourceBundle, includes) {
|
|
9
|
+
"sap/base/i18n/ResourceBundle"
|
|
10
|
+
], function (LoaderExtensions, ResourceBundle) {
|
|
12
11
|
"use strict";
|
|
13
12
|
|
|
14
13
|
/**
|
|
@@ -16,7 +15,7 @@ sap.ui.define([
|
|
|
16
15
|
* @alias sap.ui.integration.editor.EditorResourceBundles
|
|
17
16
|
* @author SAP SE
|
|
18
17
|
* @since 1.94.0
|
|
19
|
-
* @version 1.
|
|
18
|
+
* @version 1.110.0
|
|
20
19
|
* @private
|
|
21
20
|
* @experimental since 1.94.0
|
|
22
21
|
* @ui5-restricted
|
|
@@ -45,7 +44,7 @@ sap.ui.define([
|
|
|
45
44
|
aFallbacks.push(p.substring(0, p.indexOf("-")));
|
|
46
45
|
}
|
|
47
46
|
//add en into fallbacks
|
|
48
|
-
if (!includes(
|
|
47
|
+
if (!aFallbacks.includes("en")) {
|
|
49
48
|
aFallbacks.push("en");
|
|
50
49
|
}
|
|
51
50
|
oResourceBundleTemp = ResourceBundle.create({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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([
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @extends sap.ui.integration.Extension
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.110.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.110.0
|
|
21
21
|
*
|
|
22
22
|
* @constructor
|
|
23
23
|
* @since 1.94
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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([
|
|
@@ -70,7 +70,7 @@ sap.ui.define([
|
|
|
70
70
|
* @alias sap.ui.integration.editor.Settings
|
|
71
71
|
* @author SAP SE
|
|
72
72
|
* @since 1.83.0
|
|
73
|
-
* @version 1.
|
|
73
|
+
* @version 1.110.0
|
|
74
74
|
* @private
|
|
75
75
|
* @experimental since 1.83.0
|
|
76
76
|
* @ui5-restricted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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([
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @alias sap.ui.integration.editor.fields.BaseField
|
|
39
39
|
* @author SAP SE
|
|
40
40
|
* @since 1.83.0
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.110.0
|
|
42
42
|
* @private
|
|
43
43
|
* @ui5-restricted
|
|
44
44
|
* @experimental since 1.83.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.110.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 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.DateField
|
|
18
18
|
* @author SAP SE
|
|
19
19
|
* @since 1.83.0
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.110.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 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.DateTimeField
|
|
18
18
|
* @author SAP SE
|
|
19
19
|
* @since 1.83.0
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.110.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 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.DestinationField
|
|
20
20
|
* @author SAP SE
|
|
21
21
|
* @since 1.83.0
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.110.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 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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([
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @alias sap.ui.integration.editor.fields.GroupField
|
|
27
27
|
* @author SAP SE
|
|
28
28
|
* @since 1.106.0
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.110.0
|
|
30
30
|
* @private
|
|
31
31
|
* @experimental since 1.106.0
|
|
32
32
|
* @ui5-restricted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.IntegerField
|
|
18
18
|
* @author SAP SE
|
|
19
19
|
* @since 1.83.0
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.110.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 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.NumberField
|
|
18
18
|
* @author SAP SE
|
|
19
19
|
* @since 1.83.0
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.110.0
|
|
21
21
|
* @private
|
|
22
22
|
* @experimental since 1.83.0
|
|
23
23
|
* @ui5-restricted
|