@openui5/sap.ui.integration 1.120.10 → 1.121.1
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 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +6 -6
- package/src/sap/ui/integration/.library +1 -1
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +1 -1
- package/src/sap/ui/integration/Host.js +14 -12
- package/src/sap/ui/integration/cards/AdaptiveContent.js +16 -16
- package/src/sap/ui/integration/cards/AnalyticalContent.js +37 -11
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +13 -4
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +1 -1
- package/src/sap/ui/integration/cards/CalendarContent.js +9 -9
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +10 -7
- package/src/sap/ui/integration/cards/ComponentContent.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +11 -5
- package/src/sap/ui/integration/cards/Header.js +4 -4
- package/src/sap/ui/integration/cards/ListContent.js +8 -2
- package/src/sap/ui/integration/cards/ListContentRenderer.js +5 -3
- package/src/sap/ui/integration/cards/NumericHeader.js +4 -4
- package/src/sap/ui/integration/cards/ObjectContent.js +42 -5
- package/src/sap/ui/integration/cards/TableContent.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +4 -4
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/actions/BaseAction.js +4 -4
- package/src/sap/ui/integration/cards/actions/CardActions.js +1 -1
- package/src/sap/ui/integration/cards/actions/ShowCardAction.js +3 -3
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/overwrites/inputsGeneralOverwrites.js +3 -3
- package/src/sap/ui/integration/cards/data/CsrfToken.js +61 -0
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +33 -32
- package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +254 -0
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +9 -3
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +16 -3
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +1 -1
- package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +1 -1
- package/src/sap/ui/integration/controls/ActionsStrip.js +189 -84
- package/src/sap/ui/integration/controls/ActionsToolbar.js +12 -9
- package/src/sap/ui/integration/controls/BlockingMessage.js +93 -44
- package/src/sap/ui/integration/controls/ImageWithOverlay.js +199 -0
- package/src/sap/ui/integration/controls/ImageWithOverlayRenderer.js +36 -0
- package/src/sap/ui/integration/controls/LinkWithIcon.js +2 -2
- package/src/sap/ui/integration/controls/ListContentItem.js +10 -7
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +5 -4
- package/src/sap/ui/integration/controls/Microchart.js +4 -4
- package/src/sap/ui/integration/controls/MicrochartLegend.js +4 -4
- package/src/sap/ui/integration/controls/MicrochartLegendRenderer.js +3 -3
- package/src/sap/ui/integration/controls/ObjectStatus.js +3 -1
- package/src/sap/ui/integration/controls/Paginator.js +19 -11
- package/src/sap/ui/integration/controls/PaginatorRenderer.js +4 -4
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +6 -4
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +8 -6
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/index.js +5 -16
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_mk.properties +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +5 -3
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/Card.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +14 -6
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +27 -11
- package/src/sap/ui/integration/designtime/editor/css/CardPreview.css +30 -17
- package/src/sap/ui/integration/editor/Editor.js +23 -25
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
- package/src/sap/ui/integration/editor/Extension.js +1 -1
- package/src/sap/ui/integration/editor/Manifest.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +21 -18
- package/src/sap/ui/integration/editor/css/Editor.css +9 -7
- package/src/sap/ui/integration/editor/fields/BaseField.js +27 -7
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +5 -5
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +5 -5
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/editor/fields/GroupField.js +11 -13
- package/src/sap/ui/integration/editor/fields/IntegerField.js +5 -5
- package/src/sap/ui/integration/editor/fields/NumberField.js +5 -5
- package/src/sap/ui/integration/editor/fields/ObjectField.js +171 -13
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +2 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +4 -4
- package/src/sap/ui/integration/editor/fields/StringListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +5 -5
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +2 -3
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +12 -8
- package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/VizBase.js +1 -1
- package/src/sap/ui/integration/formatters/IconFormatter.js +5 -5
- package/src/sap/ui/integration/library-bootstrap.js +21 -20
- package/src/sap/ui/integration/library.js +23 -8
- package/src/sap/ui/integration/messagebundle.properties +3 -3
- 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_cnr.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 +157 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +154 -152
- 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_mk.properties +4 -2
- 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_sr.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 +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +1 -1
- package/src/sap/ui/integration/model/PagingModelListBinding.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +198 -22
- package/src/sap/ui/integration/themes/base/ActionsStrip.less +6 -0
- package/src/sap/ui/integration/themes/base/AnalyticsCloudContent.less +2 -2
- package/src/sap/ui/integration/themes/base/Card.less +5 -0
- package/src/sap/ui/integration/themes/base/ImageWithOverlay.less +47 -0
- package/src/sap/ui/integration/themes/base/ListContentItem.less +12 -0
- package/src/sap/ui/integration/themes/base/ObjectContent.less +20 -2
- package/src/sap/ui/integration/themes/base/{ObjectStatusIcons.less → ObjectStatus.less} +12 -8
- package/src/sap/ui/integration/themes/base/library.source.less +2 -1
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +1 -1
- package/src/sap/ui/integration/util/BindingResolver.js +1 -1
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +4 -4
- package/src/sap/ui/integration/util/CardMerger.js +4 -4
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ComboBoxHelper.js +59 -0
- package/src/sap/ui/integration/util/ContentFactory.js +1 -1
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +130 -148
- package/src/sap/ui/integration/util/DataProvider.js +22 -9
- package/src/sap/ui/integration/util/DataProviderFactory.js +32 -12
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +3 -2
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/Form.js +9 -34
- package/src/sap/ui/integration/util/HeaderFactory.js +6 -4
- package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
- package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
- package/src/sap/ui/integration/util/Manifest.js +22 -7
- package/src/sap/ui/integration/util/ManifestResolver.js +3 -3
- package/src/sap/ui/integration/util/ParameterMap.js +5 -3
- package/src/sap/ui/integration/util/RequestDataProvider.js +27 -22
- package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceManager.js +1 -1
- package/src/sap/ui/integration/util/SkeletonCard.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +1 -1
- package/src/sap/ui/integration/util/Validators.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +47 -33
- package/src/sap/ui/integration/widgets/CardRenderer.js +6 -1
- package/src/sap-ui-integration.js +19 -17
- package/ui5.yaml +4 -0
- package/LICENSES/BSD-2-Clause.txt +0 -22
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Provides control sap.ui.integration.controls.ImageWithOverlay
|
|
8
|
+
sap.ui.define([
|
|
9
|
+
"./ImageWithOverlayRenderer",
|
|
10
|
+
"sap/m/Text",
|
|
11
|
+
"sap/ui/core/Control",
|
|
12
|
+
"sap/m/VBox",
|
|
13
|
+
"sap/m/library"
|
|
14
|
+
], function (
|
|
15
|
+
ImageWithOverlayRenderer,
|
|
16
|
+
Text,
|
|
17
|
+
Control,
|
|
18
|
+
VBox,
|
|
19
|
+
mLibrary
|
|
20
|
+
) {
|
|
21
|
+
"use strict";
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
var FlexJustifyContent = mLibrary.FlexJustifyContent;
|
|
25
|
+
var FlexAlignItems = mLibrary.FlexAlignItems;
|
|
26
|
+
var FlexDirection = mLibrary.FlexDirection;
|
|
27
|
+
var FlexRendertype = mLibrary.FlexRendertype;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Constructor for a new ImageWithOverlay.
|
|
31
|
+
*
|
|
32
|
+
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
33
|
+
* @param {object} [mSettings] Initial settings for the new control
|
|
34
|
+
*
|
|
35
|
+
* @class
|
|
36
|
+
*
|
|
37
|
+
* @extends sap.ui.core.Control
|
|
38
|
+
*
|
|
39
|
+
* @author SAP SE
|
|
40
|
+
* @version 1.121.1
|
|
41
|
+
*
|
|
42
|
+
* @constructor
|
|
43
|
+
* @private
|
|
44
|
+
* @alias sap.ui.integration.controls.ImageWithOverlay
|
|
45
|
+
*/
|
|
46
|
+
var ImageWithOverlay = Control.extend("sap.ui.integration.controls.ImageWithOverlay", {
|
|
47
|
+
metadata: {
|
|
48
|
+
library: "sap.ui.integration",
|
|
49
|
+
properties: {
|
|
50
|
+
/**
|
|
51
|
+
* Defines the text that will be displayed before the title.
|
|
52
|
+
*/
|
|
53
|
+
supertitle: {type : "string", group: "Misc", defaultValue: "" },
|
|
54
|
+
/**
|
|
55
|
+
* Defines the title.
|
|
56
|
+
*/
|
|
57
|
+
title: {type: "string", group: "Misc", defaultValue: "" },
|
|
58
|
+
/**
|
|
59
|
+
* Defines the text that will be displayed after the title.
|
|
60
|
+
*/
|
|
61
|
+
subTitle: {type: "string", group: "Misc", defaultValue: "" },
|
|
62
|
+
/**
|
|
63
|
+
* Defines vertical position of the texts.
|
|
64
|
+
*/
|
|
65
|
+
verticalPosition: {type: "sap.m.FlexJustifyContent", group: "Appearance", defaultValue: FlexJustifyContent.Start},
|
|
66
|
+
/**
|
|
67
|
+
* Defines horizontal position of the texts.
|
|
68
|
+
*/
|
|
69
|
+
horizontalPosition: {type: "sap.m.FlexAlignItems", group: "Appearance", defaultValue: FlexAlignItems.Start},
|
|
70
|
+
/**
|
|
71
|
+
* Defines the color of the text.
|
|
72
|
+
* Note: If set, the text color would not be themeable (will stay the same as provided with this property and won't change with the theme).
|
|
73
|
+
* Note: The card developer is responsible for the contrast ratio - right text color and overlay background effect should be set
|
|
74
|
+
*/
|
|
75
|
+
textColor: {type: "string", group: "Misc", defaultValue: "" },
|
|
76
|
+
/**
|
|
77
|
+
* Defines the CSS filter for the text.
|
|
78
|
+
* Note: The card developer is responsible for the contrast ratio - right text color and overlay background effect should be set
|
|
79
|
+
*/
|
|
80
|
+
textFilter: {type: "string", group: "Misc", defaultValue: "" },
|
|
81
|
+
/**
|
|
82
|
+
* Defines the color of the background, which is placed under the texts and over the image.
|
|
83
|
+
* Note: If set, the text background color would not be themeable (will stay the same as provided with this property and won't change with the theme).
|
|
84
|
+
* Note: The card developer is responsible for the contrast ratio - right text color and overlay background effect should be set
|
|
85
|
+
*/
|
|
86
|
+
background: {type: "string", group: "Misc", defaultValue: "" },
|
|
87
|
+
/**
|
|
88
|
+
* Set to <code>MediumStart</code> to have medium size inline padding at the start of the overlay.
|
|
89
|
+
*/
|
|
90
|
+
padding: {type: "string", group: "Misc", defaultValue: "" }
|
|
91
|
+
},
|
|
92
|
+
aggregations: {
|
|
93
|
+
image: { type: "sap.m.Image", multiple: false },
|
|
94
|
+
_textsLayout: { type: "sap.m.VBox", multiple: false, visibility: "hidden" }
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
|
|
98
|
+
renderer: ImageWithOverlayRenderer
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Called before the control is rendered.
|
|
103
|
+
* @private
|
|
104
|
+
*/
|
|
105
|
+
ImageWithOverlay.prototype.onBeforeRendering = function () {
|
|
106
|
+
Control.prototype.onBeforeRendering.apply(this, arguments);
|
|
107
|
+
|
|
108
|
+
this._getSupertitleText().setText(this.getSupertitle());
|
|
109
|
+
this._getTitleText().setText(this.getTitle());
|
|
110
|
+
this._getSubTitleText().setText(this.getSubTitle());
|
|
111
|
+
|
|
112
|
+
this._getTextsLayout().setJustifyContent(this.getVerticalPosition())
|
|
113
|
+
.setAlignItems(this.getHorizontalPosition());
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Called after the control is rendered.
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
ImageWithOverlay.prototype.onAfterRendering = function () {
|
|
121
|
+
Control.prototype.onAfterRendering.apply(this, arguments);
|
|
122
|
+
|
|
123
|
+
var sTextColor = this.getTextColor(),
|
|
124
|
+
sTextFilter = this.getTextFilter(),
|
|
125
|
+
sBackground = this.getBackground(),
|
|
126
|
+
aOverlayTexts;
|
|
127
|
+
|
|
128
|
+
if (sTextColor || sTextFilter) {
|
|
129
|
+
aOverlayTexts = this.getDomRef().getElementsByClassName("sapMText");
|
|
130
|
+
|
|
131
|
+
for (let i = 0; i < aOverlayTexts.length; i++) {
|
|
132
|
+
const text = aOverlayTexts[i];
|
|
133
|
+
if (sTextColor) {
|
|
134
|
+
text.style.color = sTextColor;
|
|
135
|
+
}
|
|
136
|
+
if (sTextFilter) {
|
|
137
|
+
text.style.filter = sTextFilter;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
if (sBackground) {
|
|
143
|
+
this.getDomRef().getElementsByClassName("sapUiIntImgWithOverlayLayout")[0].style.background = sBackground;
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
ImageWithOverlay.prototype._getSupertitleText = function () {
|
|
148
|
+
if (!this._oSupertitleText) {
|
|
149
|
+
this._oSupertitleText = new Text({
|
|
150
|
+
text: this.getSupertitle()
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
return this._oSupertitleText;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
ImageWithOverlay.prototype._getTitleText = function () {
|
|
158
|
+
if (!this._oTitleText) {
|
|
159
|
+
this._oTitleText = new Text({
|
|
160
|
+
text: this.getTitle()
|
|
161
|
+
}).addStyleClass("sapUiIntImgWithOverlayTitle");
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
return this._oTitleText;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
ImageWithOverlay.prototype._getSubTitleText = function () {
|
|
168
|
+
if (!this._oSubTitleText) {
|
|
169
|
+
this._oSubTitleText = new Text({
|
|
170
|
+
text: this.getSubTitle()
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
return this._oSubTitleText;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
ImageWithOverlay.prototype._getTextsLayout = function () {
|
|
178
|
+
var oTextsLayout = this.getAggregation("_textsLayout");
|
|
179
|
+
if (!oTextsLayout) {
|
|
180
|
+
oTextsLayout = new VBox({
|
|
181
|
+
direction: FlexDirection.Column,
|
|
182
|
+
renderType: FlexRendertype.Bare,
|
|
183
|
+
justifyContent: this.getVerticalPosition(),
|
|
184
|
+
alignItems: this.getHorizontalPosition(),
|
|
185
|
+
items: [
|
|
186
|
+
this._getSupertitleText(),
|
|
187
|
+
this._getTitleText(),
|
|
188
|
+
this._getSubTitleText()
|
|
189
|
+
]
|
|
190
|
+
}).addStyleClass("sapUiIntImgWithOverlayLayout");
|
|
191
|
+
|
|
192
|
+
this.setAggregation("_textsLayout", oTextsLayout);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
return oTextsLayout;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
return ImageWithOverlay;
|
|
199
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"sap/ui/core/Renderer"
|
|
9
|
+
], function(Renderer) {
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* ImageWithOverlayRenderer renderer.
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
16
|
+
var ImageWithOverlayRenderer = {
|
|
17
|
+
apiVersion: 2
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
ImageWithOverlayRenderer.render = function(oRm, oControl) {
|
|
21
|
+
oRm.openStart("div", oControl)
|
|
22
|
+
.class("sapUiIntImageWithOverlay");
|
|
23
|
+
|
|
24
|
+
if (oControl.getPadding() === "MediumStart") {
|
|
25
|
+
oRm.class("sapUiIntImageWithOverlayPaddingMediumStart");
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
oRm.openEnd();
|
|
29
|
+
oRm.renderControl(oControl.getAggregation("image"));
|
|
30
|
+
oRm.renderControl(oControl._getTextsLayout());
|
|
31
|
+
oRm.close("div");
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
return ImageWithOverlayRenderer;
|
|
35
|
+
|
|
36
|
+
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
// Provides control sap.ui.integration.controls.
|
|
7
|
+
// Provides control sap.ui.integration.controls.LinkWithIcon
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"./LinkWithIconRenderer",
|
|
10
10
|
"sap/ui/integration/library",
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.m.Link
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.121.1
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
@@ -5,27 +5,29 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
+
"sap/ui/core/Lib",
|
|
8
9
|
"sap/ui/integration/library",
|
|
9
10
|
"./ListContentItemRenderer",
|
|
11
|
+
"./ActionsStrip",
|
|
10
12
|
"sap/ui/integration/controls/ObjectStatus",
|
|
11
13
|
"sap/m/library",
|
|
12
14
|
"sap/m/Avatar",
|
|
13
15
|
"sap/m/AvatarShape",
|
|
14
16
|
"sap/m/AvatarSize",
|
|
15
17
|
"sap/m/ListItemBase",
|
|
16
|
-
"sap/ui/core/Core",
|
|
17
18
|
"sap/ui/core/library",
|
|
18
19
|
"sap/ui/integration/util/BindingResolver"
|
|
19
20
|
], function (
|
|
21
|
+
Library,
|
|
20
22
|
library,
|
|
21
23
|
ListContentItemRenderer,
|
|
24
|
+
ActionsStrip,
|
|
22
25
|
ObjectStatus,
|
|
23
26
|
mLibrary,
|
|
24
27
|
Avatar,
|
|
25
28
|
AvatarShape,
|
|
26
29
|
AvatarSize,
|
|
27
30
|
ListItemBase,
|
|
28
|
-
Core,
|
|
29
31
|
coreLibrary,
|
|
30
32
|
BindingResolver
|
|
31
33
|
) {
|
|
@@ -47,7 +49,7 @@ sap.ui.define([
|
|
|
47
49
|
* @extends sap.m.ListItemBase
|
|
48
50
|
*
|
|
49
51
|
* @author SAP SE
|
|
50
|
-
* @version 1.
|
|
52
|
+
* @version 1.121.1
|
|
51
53
|
*
|
|
52
54
|
* @constructor
|
|
53
55
|
* @private
|
|
@@ -165,18 +167,19 @@ sap.ui.define([
|
|
|
165
167
|
renderer: ListContentItemRenderer
|
|
166
168
|
});
|
|
167
169
|
|
|
168
|
-
ListContentItem.getPlaceholderInfo
|
|
170
|
+
ListContentItem.getPlaceholderInfo = function (oResolvedConfigItem, oContent) {
|
|
169
171
|
const aVisibleAttributes = oResolvedConfigItem?.attributes?.filter(function (oAttribute) {
|
|
170
172
|
return oAttribute.hasOwnProperty("visible") ? oAttribute.visible : true;
|
|
171
173
|
});
|
|
172
174
|
|
|
173
175
|
const bVisibleIcon = oResolvedConfigItem?.icon?.hasOwnProperty("visible") ? oResolvedConfigItem?.icon.visible : !!oResolvedConfigItem?.icon;
|
|
176
|
+
const bHasVisibleActionsStrip = oResolvedConfigItem?.actionsStrip ? ActionsStrip.hasVisibleTemplateItems(oResolvedConfigItem.actionsStrip, oContent) : false;
|
|
174
177
|
|
|
175
178
|
return {
|
|
176
179
|
hasIcon: bVisibleIcon,
|
|
177
180
|
attributesLength: aVisibleAttributes ? aVisibleAttributes.length : 0,
|
|
178
181
|
hasChart: !!oResolvedConfigItem?.chart,
|
|
179
|
-
hasActionsStrip:
|
|
182
|
+
hasActionsStrip: bHasVisibleActionsStrip,
|
|
180
183
|
hasDescription: !!oResolvedConfigItem?.description
|
|
181
184
|
};
|
|
182
185
|
};
|
|
@@ -184,7 +187,7 @@ sap.ui.define([
|
|
|
184
187
|
ListContentItem.getLinesCount = function (oConfiguration, oContent) {
|
|
185
188
|
let iLines = 1; // at least 1 line for the mandatory title
|
|
186
189
|
const oResolvedConfig = BindingResolver.resolveValue(oConfiguration, oContent);
|
|
187
|
-
const oPlaceholderInfo = ListContentItem.getPlaceholderInfo(oResolvedConfig);
|
|
190
|
+
const oPlaceholderInfo = ListContentItem.getPlaceholderInfo(oResolvedConfig, oContent);
|
|
188
191
|
|
|
189
192
|
const bDescriptionVisible = oResolvedConfig.description?.hasOwnProperty("visible") ? oResolvedConfig.description?.visible : true;
|
|
190
193
|
if (oResolvedConfig.description && bDescriptionVisible) {
|
|
@@ -254,7 +257,7 @@ sap.ui.define([
|
|
|
254
257
|
sDescription = this.getDescription(),
|
|
255
258
|
aOutput = [],
|
|
256
259
|
sInfo = this.getInfo(),
|
|
257
|
-
oMBundle =
|
|
260
|
+
oMBundle = Library.getResourceBundleFor("sap.m");
|
|
258
261
|
|
|
259
262
|
if (sTitle) {
|
|
260
263
|
aOutput.push(sTitle);
|
|
@@ -34,12 +34,13 @@ sap.ui.define([
|
|
|
34
34
|
rm.class("sapUiIntLCI");
|
|
35
35
|
|
|
36
36
|
var iLines = oLI.getLinesCount(),
|
|
37
|
-
sIcon = oLI.getIcon()
|
|
37
|
+
sIcon = oLI.getIcon(),
|
|
38
|
+
vActionsStrip = oLI.getActionsStrip();
|
|
38
39
|
|
|
39
40
|
if (iLines === 1) {
|
|
40
41
|
rm.class("sapUiIntLCIOneLine");
|
|
41
42
|
|
|
42
|
-
if (sIcon && !IconPool.isIconURI(sIcon)) {
|
|
43
|
+
if (sIcon && sIcon.trim() && !IconPool.isIconURI(sIcon)) {
|
|
43
44
|
rm.class("sapUiIntLCIThumbnail");
|
|
44
45
|
}
|
|
45
46
|
} else if (iLines === 2) {
|
|
@@ -48,7 +49,7 @@ sap.ui.define([
|
|
|
48
49
|
rm.class("sapUiIntLCIMultipleLines");
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
if (
|
|
52
|
+
if (vActionsStrip && vActionsStrip.hasVisibleItems()) {
|
|
52
53
|
rm.class("sapUiIntLCIWithActionsStrip");
|
|
53
54
|
}
|
|
54
55
|
};
|
|
@@ -92,7 +93,7 @@ sap.ui.define([
|
|
|
92
93
|
rm.close("div");
|
|
93
94
|
rm.close("div");
|
|
94
95
|
|
|
95
|
-
if (oActionsStrip) {
|
|
96
|
+
if (oActionsStrip && oActionsStrip.hasVisibleItems()) {
|
|
96
97
|
rm.renderControl(oActionsStrip);
|
|
97
98
|
}
|
|
98
99
|
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/m/library",
|
|
9
9
|
"sap/ui/core/Control",
|
|
10
|
-
"sap/ui/core/
|
|
10
|
+
"sap/ui/core/Lib",
|
|
11
11
|
"sap/ui/base/DataType",
|
|
12
12
|
"sap/base/Log"
|
|
13
13
|
], function (
|
|
14
14
|
mLibrary,
|
|
15
15
|
Control,
|
|
16
|
-
|
|
16
|
+
Lib,
|
|
17
17
|
DataType,
|
|
18
18
|
Log
|
|
19
19
|
) {
|
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
* @extends sap.ui.core.Control
|
|
59
59
|
*
|
|
60
60
|
* @author SAP SE
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.121.1
|
|
62
62
|
*
|
|
63
63
|
* @constructor
|
|
64
64
|
* @private
|
|
@@ -121,7 +121,7 @@ sap.ui.define([
|
|
|
121
121
|
|
|
122
122
|
Microchart.loadDependencies = function () {
|
|
123
123
|
return new Promise(function (resolve, reject) {
|
|
124
|
-
|
|
124
|
+
Lib.load({ name: "sap.suite.ui.microchart" })
|
|
125
125
|
.then(function () {
|
|
126
126
|
sap.ui.require([
|
|
127
127
|
"sap/suite/ui/microchart/BulletMicroChart",
|
|
@@ -8,14 +8,14 @@ sap.ui.define([
|
|
|
8
8
|
"./MicrochartLegendRenderer",
|
|
9
9
|
"sap/m/Text",
|
|
10
10
|
"sap/ui/core/Control",
|
|
11
|
-
"sap/ui/core/
|
|
11
|
+
"sap/ui/core/Element",
|
|
12
12
|
"sap/ui/core/theming/Parameters",
|
|
13
13
|
"sap/ui/integration/util/BindingHelper"
|
|
14
14
|
], function (
|
|
15
15
|
MicrochartLegendRenderer,
|
|
16
16
|
Text,
|
|
17
17
|
Control,
|
|
18
|
-
|
|
18
|
+
Element,
|
|
19
19
|
Parameters,
|
|
20
20
|
BindingHelper
|
|
21
21
|
) {
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.core.Control
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.121.1
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -115,7 +115,7 @@ sap.ui.define([
|
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
MicrochartLegend.prototype._loadLegendColors = function () {
|
|
118
|
-
var oChart =
|
|
118
|
+
var oChart = Element.getElementById(this.getChart()),
|
|
119
119
|
aNames = [],
|
|
120
120
|
vParams;
|
|
121
121
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/m/library",
|
|
9
|
-
"sap/ui/core/
|
|
10
|
-
], function(mLibrary,
|
|
9
|
+
"sap/ui/core/Element"
|
|
10
|
+
], function(mLibrary, Element) {
|
|
11
11
|
"use strict";
|
|
12
12
|
|
|
13
13
|
var ValueColor = mLibrary.ValueColor;
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
MicrochartLegendRenderer.render = function (oRm, oMicrochartLegend) {
|
|
24
|
-
var oChart =
|
|
24
|
+
var oChart = Element.getElementById(oMicrochartLegend.getChart()),
|
|
25
25
|
aLegendColors = [],
|
|
26
26
|
aTexts = oMicrochartLegend.getAggregation("_titles");
|
|
27
27
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.m.ObjectStatus
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.121.1
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
@@ -49,6 +49,8 @@ sap.ui.define([
|
|
|
49
49
|
this.addStyleClass("sapMObjStatusShowCustomIcon");
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
+
|
|
53
|
+
this.addStyleClass("sapUiIntObjStatus");
|
|
52
54
|
};
|
|
53
55
|
|
|
54
56
|
return ObjectStatus;
|
|
@@ -7,26 +7,28 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"../library",
|
|
9
9
|
"sap/ui/base/EventProvider",
|
|
10
|
-
"sap/ui/core/
|
|
10
|
+
"sap/ui/core/ControlBehavior",
|
|
11
11
|
"sap/ui/core/Control",
|
|
12
12
|
"sap/ui/core/Configuration",
|
|
13
13
|
"sap/ui/core/Icon",
|
|
14
|
+
"sap/ui/core/Lib",
|
|
14
15
|
"./PaginatorRenderer"
|
|
15
|
-
], function
|
|
16
|
+
], function(
|
|
16
17
|
library,
|
|
17
18
|
EventProvider,
|
|
18
|
-
|
|
19
|
+
ControlBehavior,
|
|
19
20
|
Control,
|
|
20
21
|
Configuration,
|
|
21
22
|
Icon,
|
|
23
|
+
Library,
|
|
22
24
|
PaginatorRenderer
|
|
23
25
|
) {
|
|
24
26
|
"use strict";
|
|
25
27
|
|
|
26
|
-
var sAnimationMode =
|
|
28
|
+
var sAnimationMode = ControlBehavior.getAnimationMode(),
|
|
27
29
|
bHasAnimations = sAnimationMode !== Configuration.AnimationMode.none && sAnimationMode !== Configuration.AnimationMode.minimal,
|
|
28
30
|
iServerSideAfterTransitionDelay = 200,
|
|
29
|
-
oResourceBundle =
|
|
31
|
+
oResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
30
32
|
|
|
31
33
|
/**
|
|
32
34
|
* Constructor for a new Paginator.
|
|
@@ -39,7 +41,7 @@ sap.ui.define([
|
|
|
39
41
|
* @extends sap.ui.core.Control
|
|
40
42
|
*
|
|
41
43
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
44
|
+
* @version 1.121.1
|
|
43
45
|
*
|
|
44
46
|
* @constructor
|
|
45
47
|
* @ui5-restricted
|
|
@@ -73,10 +75,16 @@ sap.ui.define([
|
|
|
73
75
|
return null;
|
|
74
76
|
}
|
|
75
77
|
|
|
78
|
+
let vPageSize = oConfig.pageSize;
|
|
79
|
+
if (oCard.isSkeleton() && !oConfig.totalCount) {
|
|
80
|
+
// client side pagination for resolved manifest should directly show all items
|
|
81
|
+
vPageSize = oCard.getModelSizeLimit();
|
|
82
|
+
}
|
|
83
|
+
|
|
76
84
|
return new Paginator({
|
|
77
85
|
card: oCard,
|
|
78
86
|
totalCount: oConfig.totalCount,
|
|
79
|
-
pageSize:
|
|
87
|
+
pageSize: vPageSize,
|
|
80
88
|
skip: oConfig.skip,
|
|
81
89
|
visible: oConfig.visible
|
|
82
90
|
});
|
|
@@ -233,7 +241,7 @@ sap.ui.define([
|
|
|
233
241
|
};
|
|
234
242
|
|
|
235
243
|
Paginator.prototype._prepareAnimation = function (iStartIndex) {
|
|
236
|
-
if (!this._hasAnimation()
|
|
244
|
+
if (!this._hasAnimation()) {
|
|
237
245
|
return;
|
|
238
246
|
}
|
|
239
247
|
|
|
@@ -268,7 +276,7 @@ sap.ui.define([
|
|
|
268
276
|
};
|
|
269
277
|
|
|
270
278
|
Paginator.prototype._clearAnimation = function () {
|
|
271
|
-
if (!this._hasAnimation() || !this._bActiveAnimation
|
|
279
|
+
if (!this._hasAnimation() || !this._bActiveAnimation) {
|
|
272
280
|
return;
|
|
273
281
|
}
|
|
274
282
|
|
|
@@ -303,7 +311,7 @@ sap.ui.define([
|
|
|
303
311
|
};
|
|
304
312
|
|
|
305
313
|
Paginator.prototype._listUpdateFinished = function () {
|
|
306
|
-
if (!this._bActiveAnimation || this.isServerSide()
|
|
314
|
+
if (!this._bActiveAnimation || this.isServerSide()) {
|
|
307
315
|
return;
|
|
308
316
|
}
|
|
309
317
|
|
|
@@ -367,7 +375,7 @@ sap.ui.define([
|
|
|
367
375
|
};
|
|
368
376
|
|
|
369
377
|
Paginator.prototype._hasAnimation = function () {
|
|
370
|
-
return bHasAnimations && this.getCard().getCardContent().isA("sap.ui.integration.cards.ListContent");
|
|
378
|
+
return bHasAnimations && this.getCard().getCardContent().isA("sap.ui.integration.cards.ListContent") && !this._isSkeletonCard();
|
|
371
379
|
};
|
|
372
380
|
|
|
373
381
|
Paginator.prototype._hasActiveLoadingProvider = function () {
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/m/library",
|
|
9
|
-
"sap/ui/core/Core",
|
|
10
9
|
"sap/base/strings/capitalize",
|
|
11
|
-
"sap/ui/core/InvisibleRenderer"
|
|
12
|
-
|
|
10
|
+
"sap/ui/core/InvisibleRenderer",
|
|
11
|
+
"sap/ui/core/Lib"
|
|
12
|
+
], function(mLibrary, capitalize, InvisibleRenderer, Library) {
|
|
13
13
|
"use strict";
|
|
14
14
|
|
|
15
|
-
var oResourceBundle =
|
|
15
|
+
var oResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
16
16
|
|
|
17
17
|
var _BULLETS_TO_NUMBERS_THRESHOLD = 5;
|
|
18
18
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/core/Control",
|
|
8
|
+
"sap/ui/core/Element",
|
|
8
9
|
"sap/ui/integration/designtime/baseEditor/util/findClosestInstance",
|
|
9
10
|
"sap/ui/integration/designtime/baseEditor/util/createPromise",
|
|
10
11
|
"sap/ui/integration/designtime/baseEditor/util/escapeParameter",
|
|
@@ -12,8 +13,9 @@ sap.ui.define([
|
|
|
12
13
|
"sap/base/util/restricted/_merge",
|
|
13
14
|
"sap/base/util/restricted/_omit",
|
|
14
15
|
"sap/base/util/deepEqual"
|
|
15
|
-
], function
|
|
16
|
+
], function(
|
|
16
17
|
Control,
|
|
18
|
+
Element,
|
|
17
19
|
findClosestInstance,
|
|
18
20
|
createPromise,
|
|
19
21
|
escapeParameter,
|
|
@@ -35,7 +37,7 @@ sap.ui.define([
|
|
|
35
37
|
* @alias sap.ui.integration.designtime.baseEditor.PropertyEditor
|
|
36
38
|
* @author SAP SE
|
|
37
39
|
* @since 1.73.0
|
|
38
|
-
* @version 1.
|
|
40
|
+
* @version 1.121.1
|
|
39
41
|
* @private
|
|
40
42
|
* @experimental since 1.73.0
|
|
41
43
|
* @ui5-restricted
|
|
@@ -327,7 +329,7 @@ sap.ui.define([
|
|
|
327
329
|
};
|
|
328
330
|
|
|
329
331
|
PropertyEditor.prototype.getEditor = function () {
|
|
330
|
-
return
|
|
332
|
+
return Element.getElementById(this.getAssociation("editor"));
|
|
331
333
|
};
|
|
332
334
|
|
|
333
335
|
PropertyEditor.prototype._prepareConfig = function(oConfig) {
|
|
@@ -372,7 +374,7 @@ sap.ui.define([
|
|
|
372
374
|
|
|
373
375
|
PropertyEditor.prototype.setEditor = function (vEditor) {
|
|
374
376
|
var oPreviousEditor = this.getEditor();
|
|
375
|
-
var oEditor = typeof vEditor === "string" ?
|
|
377
|
+
var oEditor = typeof vEditor === "string" ? Element.getElementById(vEditor) : vEditor;
|
|
376
378
|
if (oPreviousEditor !== oEditor) {
|
|
377
379
|
this.setAssociation("editor", vEditor);
|
|
378
380
|
var oEditor = this.getEditor();
|