@openui5/sap.ui.integration 1.120.6 → 1.121.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 +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 +6 -1
- 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
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
+
"sap/base/i18n/Localization",
|
|
9
|
+
"sap/ui/core/Element",
|
|
10
|
+
"sap/ui/core/Lib",
|
|
8
11
|
"sap/ui/integration/library",
|
|
9
12
|
"sap/ui/core/Control",
|
|
10
13
|
"sap/m/HBox",
|
|
@@ -13,8 +16,18 @@ sap.ui.define([
|
|
|
13
16
|
"./Card",
|
|
14
17
|
"sap/ui/core/Core",
|
|
15
18
|
"sap/ui/dom/includeStylesheet"
|
|
16
|
-
], function
|
|
17
|
-
|
|
19
|
+
], function(
|
|
20
|
+
Localization,
|
|
21
|
+
Element,
|
|
22
|
+
Library,
|
|
23
|
+
library,
|
|
24
|
+
Control,
|
|
25
|
+
HBox,
|
|
26
|
+
Image,
|
|
27
|
+
ToggleButton,
|
|
28
|
+
Card,
|
|
29
|
+
Core,
|
|
30
|
+
includeStylesheet
|
|
18
31
|
) {
|
|
19
32
|
"use strict";
|
|
20
33
|
|
|
@@ -29,7 +42,7 @@ sap.ui.define([
|
|
|
29
42
|
* @alias sap.ui.integration.designtime.editor.CardPreview
|
|
30
43
|
* @author SAP SE
|
|
31
44
|
* @since 1.83.0
|
|
32
|
-
* @version 1.
|
|
45
|
+
* @version 1.121.0
|
|
33
46
|
* @private
|
|
34
47
|
* @experimental since 1.83.0
|
|
35
48
|
* @ui5-restricted
|
|
@@ -77,6 +90,9 @@ sap.ui.define([
|
|
|
77
90
|
}
|
|
78
91
|
oRm.openStart("div", oControl);
|
|
79
92
|
oRm.class("sapUiIntegrationDTPreview");
|
|
93
|
+
if ((!oControl.getSettings().preview || oControl.getSettings().preview.scaled !== false) && oControl._getCurrentSize() !== "Full") {
|
|
94
|
+
oRm.class("sapUiIntegrationDTPreviewScaleBackground");
|
|
95
|
+
}
|
|
80
96
|
if (isDark()) {
|
|
81
97
|
oRm.class("sapUiIntegrationDTPreviewDark");
|
|
82
98
|
}
|
|
@@ -91,7 +107,7 @@ sap.ui.define([
|
|
|
91
107
|
if (!oControl.getSettings().preview || oControl.getSettings().preview.scaled !== false) {
|
|
92
108
|
if (oControl._getCurrentSize() !== "Full") {
|
|
93
109
|
oRm.class("sapUiIntegrationDTPreviewScale");
|
|
94
|
-
var sLanguge =
|
|
110
|
+
var sLanguge = Localization.getLanguage().replaceAll('_', '-');
|
|
95
111
|
if (sLanguge.startsWith("ar") || sLanguge.startsWith("he")) {
|
|
96
112
|
// for the languages "ar-SA"(Arabic) and "he-IL"(Hebrew) which write from right to left, use spec style
|
|
97
113
|
oRm.class("withSpec");
|
|
@@ -138,7 +154,7 @@ sap.ui.define([
|
|
|
138
154
|
*/
|
|
139
155
|
CardPreview.prototype.init = function () {
|
|
140
156
|
//load translations
|
|
141
|
-
this._oResourceBundle =
|
|
157
|
+
this._oResourceBundle = Library.getResourceBundleFor("sap.ui.integration");
|
|
142
158
|
//if the theme changes we should toggle the class
|
|
143
159
|
Core.attachThemeChanged(function () {
|
|
144
160
|
if (this.getDomRef()) {
|
|
@@ -182,7 +198,7 @@ sap.ui.define([
|
|
|
182
198
|
window.setTimeout(function() {
|
|
183
199
|
try {
|
|
184
200
|
var vizFrameId = oPreview.getDomRef().getElementsByClassName("sapVizFrame")[0].id;
|
|
185
|
-
var oVizFrame =
|
|
201
|
+
var oVizFrame = Element.getElementById(vizFrameId);
|
|
186
202
|
if (oVizFrame.getVizProperties() && oVizFrame.getVizProperties().legendGroup.layout.position === "bottom" && oVizFrame.getVizProperties().legendGroup.layout.alignment === "center") {
|
|
187
203
|
oPreview.getDomRef().getElementsByClassName("v-m-legend")[0].transform.baseVal[0].matrix.e = 110;
|
|
188
204
|
}
|
|
@@ -195,7 +211,7 @@ sap.ui.define([
|
|
|
195
211
|
|
|
196
212
|
CardPreview.prototype.getEditor = function () {
|
|
197
213
|
var sEditorId = this.getAssociation("_editor");
|
|
198
|
-
return
|
|
214
|
+
return Element.getElementById(sEditorId);
|
|
199
215
|
};
|
|
200
216
|
|
|
201
217
|
/**
|
|
@@ -396,7 +412,7 @@ sap.ui.define([
|
|
|
396
412
|
* @returns {sap.m.ToggleButton}
|
|
397
413
|
*/
|
|
398
414
|
CardPreview.prototype._getModeToggleButton = function () {
|
|
399
|
-
var oBundle =
|
|
415
|
+
var oBundle = Library.getResourceBundleFor("sap.ui.integration");
|
|
400
416
|
|
|
401
417
|
if (!this._oModeToggleButton) {
|
|
402
418
|
this._oModeToggleButton = new ToggleButton();
|
|
@@ -412,7 +428,7 @@ sap.ui.define([
|
|
|
412
428
|
this._oModeToggleButton.removeStyleClass("sapUiIntegrationDTPreviewModeButtonFullSpec");
|
|
413
429
|
this._oModeToggleButton.removeStyleClass("sapUiIntegrationDTPreviewModeButtonVerticalFull");
|
|
414
430
|
this._oModeToggleButton.removeStyleClass("sapUiIntegrationDTPreviewModeButtonVerticalFullSpec");
|
|
415
|
-
var sLanguge =
|
|
431
|
+
var sLanguge = Localization.getLanguage().replaceAll('_', '-');
|
|
416
432
|
if (this._getCurrentSize() === "Full") {
|
|
417
433
|
var sPreviewPosition = this.getSettings().preview.position;
|
|
418
434
|
if (sLanguge.startsWith("ar") || sLanguge.startsWith("he")) {
|
|
@@ -485,7 +501,7 @@ sap.ui.define([
|
|
|
485
501
|
* @returns {sap.m.ToggleButton}
|
|
486
502
|
*/
|
|
487
503
|
CardPreview.prototype._getResizeToggleButton = function () {
|
|
488
|
-
var oBundle =
|
|
504
|
+
var oBundle = Library.getResourceBundleFor("sap.ui.integration");
|
|
489
505
|
|
|
490
506
|
if (!this._oSizeToggleButton) {
|
|
491
507
|
this._oSizeToggleButton = new ToggleButton();
|
|
@@ -504,7 +520,7 @@ sap.ui.define([
|
|
|
504
520
|
this._oSizeToggleButton.removeStyleClass("sapUiIntegrationDTPreviewResizeButtonOnlySpec");
|
|
505
521
|
this._oSizeToggleButton.removeStyleClass("sapUiIntegrationDTPreviewResizeButtonOnlyFull");
|
|
506
522
|
this._oSizeToggleButton.removeStyleClass("sapUiIntegrationDTPreviewResizeButtonOnlyFullSpec");
|
|
507
|
-
var sLanguge =
|
|
523
|
+
var sLanguge = Localization.getLanguage().replaceAll('_', '-');
|
|
508
524
|
if (this._getModes() === "MockData" || this._getModes() === "Live") {
|
|
509
525
|
if (this._getCurrentSize() === "Full") {
|
|
510
526
|
if (sLanguge.startsWith("ar") || sLanguge.startsWith("he")) {
|
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
max-height: var(--sapUiIntegrationEditorPreviewHeight, 350px) !important;
|
|
8
8
|
box-sizing: border-box;
|
|
9
9
|
display: inline-block;
|
|
10
|
+
border-radius: 2px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.sapUiIntegrationDTPreview.sapUiIntegrationDTPreviewScaleBackground{
|
|
10
14
|
background-color: rgba(222, 222, 222, 0.3) !important;
|
|
11
15
|
border: 1px solid rgba(222, 222, 222, 0.5) !important;
|
|
12
|
-
border-radius: 2px;
|
|
13
16
|
}
|
|
14
17
|
|
|
15
18
|
.sapUiIntegrationDTPreview.sapUiIntegrationDTPreviewSeparate {
|
|
@@ -18,21 +21,6 @@
|
|
|
18
21
|
display: block;
|
|
19
22
|
}
|
|
20
23
|
|
|
21
|
-
.sapUiIntegrationDTPreview::-webkit-scrollbar {
|
|
22
|
-
width: 7px !important;
|
|
23
|
-
background-color: transparent !important ;
|
|
24
|
-
transition: all 0.5s ease-in;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.sapUiIntegrationDTPreview::-webkit-scrollbar-thumb {
|
|
28
|
-
background-color: transparent !important;
|
|
29
|
-
width: 7px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.sapUiIntegrationDTPreview:hover::-webkit-scrollbar-thumb {
|
|
33
|
-
background-color: var(--sapUiChartScrollbarBorderColor, rgba(148, 148, 148, 0.4))!important;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
24
|
.sapUiIntegrationDTPreview.sapUiIntegrationDTPreviewDark {
|
|
37
25
|
background-color: rgba(0, 0, 0, 0.2) !important;
|
|
38
26
|
border: 1px solid rgba(222, 222, 222, 0.15) !important;
|
|
@@ -61,6 +49,7 @@
|
|
|
61
49
|
max-height: calc((var(--sapUiIntegrationEditorPreviewHeight, 350px) - 4rem) / 0.45) !important;
|
|
62
50
|
overflow-y: auto;
|
|
63
51
|
width: calc(400px + 10rem) !important;
|
|
52
|
+
padding: 0.1rem;
|
|
64
53
|
}
|
|
65
54
|
|
|
66
55
|
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewScale.withSpec {
|
|
@@ -75,12 +64,36 @@
|
|
|
75
64
|
overflow: auto;
|
|
76
65
|
min-height: calc(350px - 4rem) !important;
|
|
77
66
|
max-height: calc(var(--sapUiIntegrationEditorPreviewHeight, 350px) - 4rem) !important;
|
|
67
|
+
padding: 0.1rem;
|
|
78
68
|
}
|
|
79
69
|
|
|
80
70
|
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewNoScale .sapUiIntegrationDTPreviewCard {
|
|
81
71
|
min-height: calc(350px - 4rem) !important;
|
|
82
72
|
}
|
|
83
73
|
|
|
74
|
+
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewScale::-webkit-scrollbar {
|
|
75
|
+
width: 12px !important;
|
|
76
|
+
background-color: transparent !important;
|
|
77
|
+
transition: all 0.5s ease-in;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewNoScale::-webkit-scrollbar {
|
|
81
|
+
width: 7px !important;
|
|
82
|
+
background-color: transparent !important;
|
|
83
|
+
transition: all 0.5s ease-in;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewScale::-webkit-scrollbar-thumb,
|
|
87
|
+
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewNoScale::-webkit-scrollbar-thumb {
|
|
88
|
+
background-color: transparent !important;
|
|
89
|
+
width: 7px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewScale:hover::-webkit-scrollbar-thumb,
|
|
93
|
+
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewNoScale:hover::-webkit-scrollbar-thumb {
|
|
94
|
+
background-color: var(--sapUiChartScrollbarBorderColor, rgba(148, 148, 148, 0.4))!important;
|
|
95
|
+
}
|
|
96
|
+
|
|
84
97
|
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewScale .sapUiIntegrationDTPreviewCard {
|
|
85
98
|
min-height: calc((350px - 4rem) / 0.45) !important;
|
|
86
99
|
}
|
|
@@ -88,7 +101,7 @@
|
|
|
88
101
|
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewModeButton {
|
|
89
102
|
position: absolute !important;
|
|
90
103
|
margin: calc(min(var(--sapUiIntegrationEditorPreviewCardHeight, calc(350px - 4rem)), calc(var(--sapUiIntegrationEditorPreviewHeight, 350px) - 4rem)) + 0.5rem) 0 0 calc(var(--sapUiIntegrationEditorPreviewWidth, calc(190px + 15.5rem))/2 - 8rem) !important
|
|
91
|
-
|
|
104
|
+
}
|
|
92
105
|
|
|
93
106
|
.sapUiIntegrationDTPreview .sapUiIntegrationDTPreviewModeButtonSpec {
|
|
94
107
|
position: absolute !important;
|
|
@@ -5,12 +5,15 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
+
"sap/base/i18n/Localization",
|
|
8
9
|
"sap/ui/core/Control",
|
|
9
10
|
"sap/ui/core/Core",
|
|
10
11
|
"sap/base/util/deepClone",
|
|
11
12
|
"sap/base/util/deepEqual",
|
|
12
13
|
"sap/base/util/merge",
|
|
13
14
|
"sap/ui/base/Interface",
|
|
15
|
+
"sap/ui/core/Element",
|
|
16
|
+
"sap/ui/core/Lib",
|
|
14
17
|
"sap/ui/integration/Designtime",
|
|
15
18
|
"sap/ui/model/json/JSONModel",
|
|
16
19
|
"sap/ui/model/odata/v4/ODataModel",
|
|
@@ -42,13 +45,16 @@ sap.ui.define([
|
|
|
42
45
|
"sap/m/FlexItemData",
|
|
43
46
|
"sap/m/FlexBox",
|
|
44
47
|
"sap/m/Button"
|
|
45
|
-
], function
|
|
48
|
+
], function(
|
|
49
|
+
Localization,
|
|
46
50
|
Control,
|
|
47
51
|
Core,
|
|
48
52
|
deepClone,
|
|
49
53
|
deepEqual,
|
|
50
54
|
merge,
|
|
51
55
|
Interface,
|
|
56
|
+
Element,
|
|
57
|
+
Library,
|
|
52
58
|
Designtime,
|
|
53
59
|
JSONModel,
|
|
54
60
|
ODataModel,
|
|
@@ -111,7 +117,7 @@ sap.ui.define([
|
|
|
111
117
|
var REGEXP_TRANSLATABLE = /\{\{(?!parameters.)(?!destinations.)([^\}\}]+)\}\}/g,
|
|
112
118
|
REGEXP_PARAMETERS = /\{\{parameters\.([^\}\}]+)/g,
|
|
113
119
|
CONTEXT_TIMEOUT = 5000,
|
|
114
|
-
oResourceBundle =
|
|
120
|
+
oResourceBundle = Library.getResourceBundleFor("sap.ui.integration"),
|
|
115
121
|
MessageStripId = "_strip",
|
|
116
122
|
MODULE_PREFIX = "module:";
|
|
117
123
|
|
|
@@ -127,7 +133,7 @@ sap.ui.define([
|
|
|
127
133
|
* @extends sap.ui.core.Control
|
|
128
134
|
*
|
|
129
135
|
* @author SAP SE
|
|
130
|
-
* @version 1.
|
|
136
|
+
* @version 1.121.0
|
|
131
137
|
* @constructor
|
|
132
138
|
* @since 1.94
|
|
133
139
|
* @private
|
|
@@ -402,7 +408,6 @@ sap.ui.define([
|
|
|
402
408
|
} else {
|
|
403
409
|
oSubGroup = oGroupControl;
|
|
404
410
|
oSubGroup._subItems = oSubGroup._subItems || [];
|
|
405
|
-
oSubGroup.addStyleClass("sapUiIntegrationEditorSubGroup");
|
|
406
411
|
}
|
|
407
412
|
} else {
|
|
408
413
|
if (oPanel) {
|
|
@@ -498,7 +503,7 @@ sap.ui.define([
|
|
|
498
503
|
aInfoHBox.addItem(oItem._descriptionIcon);
|
|
499
504
|
iInfoHBoxWidth += 0.9;
|
|
500
505
|
}
|
|
501
|
-
var oMessageIcon =
|
|
506
|
+
var oMessageIcon = Element.getElementById(oItem.getAssociation("_messageIcon"));
|
|
502
507
|
if (oItem.getAssociation("_messageIcon") && oMessageIcon) {
|
|
503
508
|
aInfoHBox.addItem(oMessageIcon);
|
|
504
509
|
iInfoHBoxWidth += 1.2;
|
|
@@ -777,7 +782,6 @@ sap.ui.define([
|
|
|
777
782
|
}
|
|
778
783
|
} else {
|
|
779
784
|
oSubGroup = oGroupControl;
|
|
780
|
-
oSubGroup.addStyleClass("sapUiIntegrationEditorSubGroup");
|
|
781
785
|
}
|
|
782
786
|
} else {
|
|
783
787
|
oSubGroup = null;
|
|
@@ -786,7 +790,6 @@ sap.ui.define([
|
|
|
786
790
|
oLanguagePanel.addContent(oPanel.getParent());
|
|
787
791
|
}
|
|
788
792
|
oPanel = oGroupControl;
|
|
789
|
-
oPanel.addStyleClass("sapUiIntegrationEditorSubGroup");
|
|
790
793
|
}
|
|
791
794
|
if (i === oItems.length - 1) {
|
|
792
795
|
//add current col fields to panel, then empty the col fields list
|
|
@@ -864,7 +867,7 @@ sap.ui.define([
|
|
|
864
867
|
Editor.prototype.init = function () {
|
|
865
868
|
this._ready = false;
|
|
866
869
|
this._aFieldReadyPromise = [];
|
|
867
|
-
this._oResourceBundle =
|
|
870
|
+
this._oResourceBundle = Library.getResourceBundleFor("sap.ui.integration");
|
|
868
871
|
this._appliedLayerManifestChanges = [];
|
|
869
872
|
this._currentLayerManifestChanges = {};
|
|
870
873
|
this._mDestinationDataProviders = {};
|
|
@@ -874,7 +877,7 @@ sap.ui.define([
|
|
|
874
877
|
oMessageStrip.addStyleClass("sapUiIntegrationEditorFieldMessageStrip");
|
|
875
878
|
this.setAggregation("_messageStrip", oMessageStrip);
|
|
876
879
|
MessageStripId = oMessageStrip.getId();
|
|
877
|
-
this.setLanguage(
|
|
880
|
+
this.setLanguage(Localization.getLanguage());
|
|
878
881
|
/**
|
|
879
882
|
* Facade of the {@link sap.ui.integration.editor.Editor} control.
|
|
880
883
|
* @interface
|
|
@@ -882,7 +885,7 @@ sap.ui.define([
|
|
|
882
885
|
* @experimental since 1.94
|
|
883
886
|
* @public
|
|
884
887
|
* @author SAP SE
|
|
885
|
-
* @version 1.
|
|
888
|
+
* @version 1.121.0
|
|
886
889
|
* @borrows sap.ui.integration.editor.Editor#getParameters as getParameters
|
|
887
890
|
* @borrows sap.ui.integration.editor.Editor#resolveDestination as resolveDestination
|
|
888
891
|
* @borrows sap.ui.integration.editor.Editor#request as request
|
|
@@ -1103,7 +1106,7 @@ sap.ui.define([
|
|
|
1103
1106
|
return;
|
|
1104
1107
|
}
|
|
1105
1108
|
|
|
1106
|
-
var oResourceBundle =
|
|
1109
|
+
var oResourceBundle = Library.getResourceBundleFor("sap.ui.integration");
|
|
1107
1110
|
var oResourceModel = new ResourceModel({
|
|
1108
1111
|
bundle: oResourceBundle
|
|
1109
1112
|
});
|
|
@@ -1275,7 +1278,7 @@ sap.ui.define([
|
|
|
1275
1278
|
if (!sHost) {
|
|
1276
1279
|
return null;
|
|
1277
1280
|
}
|
|
1278
|
-
return
|
|
1281
|
+
return Element.getElementById(sHost);
|
|
1279
1282
|
};
|
|
1280
1283
|
|
|
1281
1284
|
/**
|
|
@@ -1334,7 +1337,7 @@ sap.ui.define([
|
|
|
1334
1337
|
if (iLayer === Merger.layers["translation"]) {
|
|
1335
1338
|
var sLanguage = that._language;
|
|
1336
1339
|
if (sLanguage === "") {
|
|
1337
|
-
sLanguage =
|
|
1340
|
+
sLanguage = Localization.getLanguage().replaceAll('_', '-');
|
|
1338
1341
|
}
|
|
1339
1342
|
var oTranslationChange = {
|
|
1340
1343
|
"texts": {}
|
|
@@ -2493,10 +2496,7 @@ sap.ui.define([
|
|
|
2493
2496
|
*/
|
|
2494
2497
|
Editor.prototype._addMetadataModel = function (oConfig, oField) {
|
|
2495
2498
|
if (oConfig.values && oConfig.values.metadata) {
|
|
2496
|
-
var oRequestDefaultParameters = {
|
|
2497
|
-
"synchronizationMode": "None"
|
|
2498
|
-
};
|
|
2499
|
-
oRequestDefaultParameters = merge(oRequestDefaultParameters, oConfig.values.metadata.request);
|
|
2499
|
+
var oRequestDefaultParameters = merge({}, oConfig.values.metadata.request);
|
|
2500
2500
|
|
|
2501
2501
|
var oRequest = {
|
|
2502
2502
|
url: oRequestDefaultParameters.serviceUrl
|
|
@@ -2623,7 +2623,7 @@ sap.ui.define([
|
|
|
2623
2623
|
return;
|
|
2624
2624
|
}
|
|
2625
2625
|
var oNewLabel = null;
|
|
2626
|
-
var sLanguage =
|
|
2626
|
+
var sLanguage = Localization.getLanguage().replaceAll('_', '-');
|
|
2627
2627
|
if (sMode === "translation") {
|
|
2628
2628
|
if (oConfig.type !== "string") {
|
|
2629
2629
|
return;
|
|
@@ -2908,7 +2908,7 @@ sap.ui.define([
|
|
|
2908
2908
|
if (oSettings.form && oSettings.form.items) {
|
|
2909
2909
|
oItems = oSettings.form.items;
|
|
2910
2910
|
//get current language
|
|
2911
|
-
var sLanguage = this._language || this.getLanguage() ||
|
|
2911
|
+
var sLanguage = this._language || this.getLanguage() || Localization.getLanguage().replaceAll('_', '-');
|
|
2912
2912
|
if (this.getMode() === "translation") {
|
|
2913
2913
|
//add top panel of translation editor
|
|
2914
2914
|
this._addItem({
|
|
@@ -3122,7 +3122,7 @@ sap.ui.define([
|
|
|
3122
3122
|
if (oPreview && oPreview.destroy) {
|
|
3123
3123
|
oPreview.destroy();
|
|
3124
3124
|
}
|
|
3125
|
-
var oMessageStrip =
|
|
3125
|
+
var oMessageStrip = Element.getElementById(MessageStripId);
|
|
3126
3126
|
if (oMessageStrip) {
|
|
3127
3127
|
oMessageStrip.destroy();
|
|
3128
3128
|
}
|
|
@@ -3563,16 +3563,14 @@ sap.ui.define([
|
|
|
3563
3563
|
|
|
3564
3564
|
var sCssURL = sap.ui.require.toUrl("sap.ui.integration.editor.css.Editor".replace(/\./g, "/") + ".css");
|
|
3565
3565
|
includeStylesheet(sCssURL);
|
|
3566
|
-
LoaderExtensions.loadResource("sap/ui/integration/editor/languages.json", {
|
|
3566
|
+
Editor._oLanguages = LoaderExtensions.loadResource("sap/ui/integration/editor/languages.json", {
|
|
3567
3567
|
dataType: "json",
|
|
3568
3568
|
failOnError: false,
|
|
3569
|
-
async:
|
|
3570
|
-
}).then(function (o) {
|
|
3571
|
-
Editor._oLanguages = o;
|
|
3569
|
+
async: false
|
|
3572
3570
|
});
|
|
3573
3571
|
};
|
|
3574
3572
|
|
|
3575
3573
|
Editor.init();
|
|
3576
3574
|
|
|
3577
3575
|
return Editor;
|
|
3578
|
-
});
|
|
3576
|
+
});
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @alias sap.ui.integration.editor.EditorResourceBundles
|
|
18
18
|
* @author SAP SE
|
|
19
19
|
* @since 1.94.0
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.121.0
|
|
21
21
|
* @private
|
|
22
22
|
*/
|
|
23
23
|
var EditorResourceBundles = ManagedObject.extend("sap.ui.integration.editor.EditorResourceBundles", {
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/core/Control",
|
|
8
8
|
"sap/m/Popover",
|
|
9
|
+
"sap/ui/core/Element",
|
|
10
|
+
"sap/ui/core/Lib",
|
|
9
11
|
"sap/ui/model/json/JSONModel",
|
|
10
12
|
"sap/m/Button",
|
|
11
13
|
"sap/m/SegmentedButton",
|
|
@@ -25,7 +27,6 @@ sap.ui.define([
|
|
|
25
27
|
"sap/m/Input",
|
|
26
28
|
"sap/ui/integration/util/ParameterMap",
|
|
27
29
|
"sap/base/util/merge",
|
|
28
|
-
"sap/ui/core/Core",
|
|
29
30
|
"sap/m/Table",
|
|
30
31
|
"sap/m/Column",
|
|
31
32
|
"sap/m/ColumnListItem",
|
|
@@ -37,9 +38,11 @@ sap.ui.define([
|
|
|
37
38
|
"sap/ui/integration/util/Utils",
|
|
38
39
|
"sap/base/util/deepClone",
|
|
39
40
|
"sap/base/util/deepEqual"
|
|
40
|
-
], function
|
|
41
|
+
], function(
|
|
41
42
|
Control,
|
|
42
43
|
Popover,
|
|
44
|
+
Element,
|
|
45
|
+
Library,
|
|
43
46
|
JSONModel,
|
|
44
47
|
Button,
|
|
45
48
|
SegmentedButton,
|
|
@@ -59,7 +62,6 @@ sap.ui.define([
|
|
|
59
62
|
Input,
|
|
60
63
|
ParameterMap,
|
|
61
64
|
merge,
|
|
62
|
-
Core,
|
|
63
65
|
Table,
|
|
64
66
|
Column,
|
|
65
67
|
ColumnListItem,
|
|
@@ -80,7 +82,7 @@ sap.ui.define([
|
|
|
80
82
|
* @alias sap.ui.integration.editor.Settings
|
|
81
83
|
* @author SAP SE
|
|
82
84
|
* @since 1.83.0
|
|
83
|
-
* @version 1.
|
|
85
|
+
* @version 1.121.0
|
|
84
86
|
* @private
|
|
85
87
|
* @experimental since 1.83.0
|
|
86
88
|
* @ui5-restricted
|
|
@@ -92,7 +94,7 @@ sap.ui.define([
|
|
|
92
94
|
renderer: null // Dialog-like control without renderer
|
|
93
95
|
});
|
|
94
96
|
|
|
95
|
-
var oResourceBundle =
|
|
97
|
+
var oResourceBundle = Library.getResourceBundleFor("sap.ui.integration"),
|
|
96
98
|
oCurrentModel,
|
|
97
99
|
bCancel,
|
|
98
100
|
oCurrentInstance = null,
|
|
@@ -139,7 +141,7 @@ sap.ui.define([
|
|
|
139
141
|
oControl.addDependent(this);
|
|
140
142
|
//adjust page admin values table height
|
|
141
143
|
if (!oCurrentData.allowDynamicValues && oCurrentData.values && oCurrentData.values.item) {
|
|
142
|
-
|
|
144
|
+
Element.getElementById(sParameterId + "_settings_popover_scroll_container").setHeight("155px");
|
|
143
145
|
}
|
|
144
146
|
//force update of all bindings
|
|
145
147
|
this.getModel("currentSettings").checkUpdate(true, true);
|
|
@@ -241,7 +243,7 @@ sap.ui.define([
|
|
|
241
243
|
} else {
|
|
242
244
|
//handle page admin values
|
|
243
245
|
if (oData.values && oData.values.item) {
|
|
244
|
-
var oTable =
|
|
246
|
+
var oTable = Element.getElementById(sParameterId + "_settings_popover_pav_table"),
|
|
245
247
|
selectedContexts = oTable.getSelectedContexts(),
|
|
246
248
|
selectedKeys = [];
|
|
247
249
|
if (oCurrentModel.getProperty("/selectedValues") === "Partion") {
|
|
@@ -282,7 +284,7 @@ sap.ui.define([
|
|
|
282
284
|
|
|
283
285
|
//handle page admin values selection
|
|
284
286
|
if (oData.values && oData.values.item) {
|
|
285
|
-
var oTable =
|
|
287
|
+
var oTable = Element.getElementById(sParameterId + "_settings_popover_pav_table"),
|
|
286
288
|
paValues = oCurrentModel.getProperty("/_next/pageAdminValues");
|
|
287
289
|
if (paValues !== undefined && paValues.length > 0) {
|
|
288
290
|
oTable.removeSelections();
|
|
@@ -416,7 +418,7 @@ sap.ui.define([
|
|
|
416
418
|
|
|
417
419
|
//reset table selection
|
|
418
420
|
if (oData.values && oData.values.item) {
|
|
419
|
-
var oTable =
|
|
421
|
+
var oTable = Element.getElementById(sParameterId + "_settings_popover_pav_table"),
|
|
420
422
|
sItems = oCurrentModel.getProperty("/_next/pageAdminValues"),
|
|
421
423
|
aItems = oTable.getItems();
|
|
422
424
|
// pavItemKey = oCurrentModel.getData().values.item.key;
|
|
@@ -439,7 +441,7 @@ sap.ui.define([
|
|
|
439
441
|
}
|
|
440
442
|
}
|
|
441
443
|
}
|
|
442
|
-
var oPopover =
|
|
444
|
+
var oPopover = Element.getElementById(sParameterId + "_settings_popover");
|
|
443
445
|
oPopover.getFooter().getContent()[2].firePress();
|
|
444
446
|
}
|
|
445
447
|
}).addStyleClass("resetbutton");
|
|
@@ -450,8 +452,8 @@ sap.ui.define([
|
|
|
450
452
|
oSettingsPanel.setVisible(true);
|
|
451
453
|
oDynamicPanel.setVisible(false);
|
|
452
454
|
oTransformPanel.setVisible(false);
|
|
453
|
-
|
|
454
|
-
var oCurrentValue =
|
|
455
|
+
Element.getElementById(sParameterId + "_settings_popover_segmented_btn").setSelectedKey("settings");
|
|
456
|
+
var oCurrentValue = Element.getElementById(sParameterId + "_settings_popover_currentvalue");
|
|
455
457
|
oCurrentValue.setVisible(false);
|
|
456
458
|
}
|
|
457
459
|
|
|
@@ -459,7 +461,7 @@ sap.ui.define([
|
|
|
459
461
|
oTransformPanel.setVisible(true);
|
|
460
462
|
oSettingsPanel.setVisible(false);
|
|
461
463
|
oDynamicPanel.setVisible(false);
|
|
462
|
-
var oCurrentValue =
|
|
464
|
+
var oCurrentValue = Element.getElementById(sParameterId + "_settings_popover_currentvalue");
|
|
463
465
|
oCurrentValue.setVisible(false);
|
|
464
466
|
}
|
|
465
467
|
|
|
@@ -467,7 +469,7 @@ sap.ui.define([
|
|
|
467
469
|
oSettingsPanel.setVisible(false);
|
|
468
470
|
oTransformPanel.setVisible(false);
|
|
469
471
|
oDynamicPanel.setVisible(true);
|
|
470
|
-
|
|
472
|
+
Element.getElementById(sParameterId + "_settings_popover_segmented_btn").setSelectedKey("dynamic");
|
|
471
473
|
var oFlat = oCurrentInstance.getModel("contextflat"),
|
|
472
474
|
o = oFlat._getValueObject(oCurrentModel.getProperty("/value"));
|
|
473
475
|
if (o && o.object.label) {
|
|
@@ -479,7 +481,7 @@ sap.ui.define([
|
|
|
479
481
|
updateCurrentValue(o);
|
|
480
482
|
}
|
|
481
483
|
//visible current value field
|
|
482
|
-
var oCurrentValue =
|
|
484
|
+
var oCurrentValue = Element.getElementById(sParameterId + "_settings_popover_currentvalue");
|
|
483
485
|
oCurrentValue.setVisible(true);
|
|
484
486
|
}
|
|
485
487
|
|
|
@@ -927,6 +929,7 @@ sap.ui.define([
|
|
|
927
929
|
},
|
|
928
930
|
"cell": {
|
|
929
931
|
"type": "string",
|
|
932
|
+
"editable": true,
|
|
930
933
|
"values": {
|
|
931
934
|
"data": {
|
|
932
935
|
"json": oDestinationList,
|
|
@@ -1024,8 +1027,8 @@ sap.ui.define([
|
|
|
1024
1027
|
}
|
|
1025
1028
|
|
|
1026
1029
|
function onMultiSelectionClick(sParameterId) {
|
|
1027
|
-
var oTable =
|
|
1028
|
-
oResetBtn =
|
|
1030
|
+
var oTable = Element.getElementById(sParameterId + "_settings_popover_pav_table"),
|
|
1031
|
+
oResetBtn = Element.getElementById(sParameterId + "_settings_popover_reset_btn"),
|
|
1029
1032
|
selectedValues = oCurrentModel.getProperty("/selectedValues");
|
|
1030
1033
|
if (selectedValues === "All") {
|
|
1031
1034
|
oTable.removeSelections();
|
|
@@ -1043,7 +1046,7 @@ sap.ui.define([
|
|
|
1043
1046
|
var oTable = oEvent.getSource(),
|
|
1044
1047
|
selectedItems = oTable.getSelectedItems(),
|
|
1045
1048
|
allItems = oTable.getItems(),
|
|
1046
|
-
oResetBtn =
|
|
1049
|
+
oResetBtn = Element.getElementById(sParameterId + "_settings_popover_reset_btn");
|
|
1047
1050
|
if (selectedItems.length === allItems.length) {
|
|
1048
1051
|
oCurrentModel.setProperty("/selectedValues", "All");
|
|
1049
1052
|
} else if (selectedItems.length < allItems.length && selectedItems.length > 0) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
height: var(--sapUiIntegrationEditorFormHeight, 350px);;
|
|
10
10
|
width: var(--sapUiIntegrationEditorFormWidth, 100%);
|
|
11
11
|
box-sizing: border-box;
|
|
12
|
-
margin:0 0.5rem
|
|
12
|
+
/* margin:0 0.5rem;*/
|
|
13
13
|
overflow-y: auto;
|
|
14
14
|
overflow-x: hidden;
|
|
15
15
|
padding: 0;
|
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
min-height: 2.1rem;
|
|
21
21
|
}
|
|
22
22
|
.sapUiIntegrationEditor .sapMPanelContent {
|
|
23
|
-
padding
|
|
24
|
-
padding-bottom: 0.625rem;
|
|
23
|
+
padding: 0rem 1.7rem 0.625rem 1.7rem
|
|
25
24
|
}
|
|
26
25
|
.sapUiIntegrationEditor .sapUiIntegrationEditorTranslationPanel .sapMPanelContent {
|
|
27
26
|
padding: 0.625rem 1rem 1.375rem 0rem;
|
|
@@ -31,12 +30,15 @@
|
|
|
31
30
|
margin-top: 0.625rem;
|
|
32
31
|
}
|
|
33
32
|
|
|
34
|
-
.sapUiIntegrationEditor .sapUiIntegrationEditorSubPanel .sapMPanelContent {
|
|
35
|
-
padding: 0.625rem 1rem 0rem 1rem;
|
|
36
|
-
}
|
|
37
33
|
.sapUiIntegrationEditor .sapMPanel > .sapMPanelHdr, .sapUiIntegrationEditor .sapMPanelWrappingDiv, .sapUiIntegrationEditor .sapMPanelWrappingDivTb {
|
|
38
34
|
border: none;
|
|
39
35
|
}
|
|
36
|
+
.sapUiIntegrationEditor .sapMPanel .sapMPanelWrappingDiv .sapMPanelHdr, .sapUiIntegrationEditor .sapMPanel .sapMPanelWrappingDivTb .sapMIBar.sapMTB {
|
|
37
|
+
margin-left: 1.7rem;
|
|
38
|
+
}
|
|
39
|
+
.sapUiIntegrationEditor .sapMPanel .sapMPanelWrappingDiv .sapUiIcon {
|
|
40
|
+
margin-left: -0.3rem;
|
|
41
|
+
}
|
|
40
42
|
|
|
41
43
|
.sapUiIntegrationEditor.sapUiIntegrationEditorTranslation .sapUiIntegrationEditorForm{
|
|
42
44
|
height: 210px;
|
|
@@ -44,7 +46,7 @@
|
|
|
44
46
|
|
|
45
47
|
.sapUiIntegrationEditor .sapUiIntegrationEditorForm::-webkit-scrollbar {
|
|
46
48
|
width: 7px !important;
|
|
47
|
-
background-color: transparent !important
|
|
49
|
+
background-color: transparent !important;
|
|
48
50
|
transition: all 0.5s ease-in;
|
|
49
51
|
}
|
|
50
52
|
|