@openui5/sap.ui.integration 1.117.1 → 1.119.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.
Files changed (184) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +6 -6
  3. package/src/sap/ui/integration/.library +2 -2
  4. package/src/sap/ui/integration/ActionDefinition.js +1 -1
  5. package/src/sap/ui/integration/Designtime.js +1 -1
  6. package/src/sap/ui/integration/Extension.js +1 -1
  7. package/src/sap/ui/integration/Host.js +32 -33
  8. package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
  9. package/src/sap/ui/integration/cards/AnalyticalContent.js +13 -9
  10. package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
  11. package/src/sap/ui/integration/cards/BaseContent.js +2 -1
  12. package/src/sap/ui/integration/cards/BaseListContent.js +10 -7
  13. package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
  14. package/src/sap/ui/integration/cards/ComponentContent.js +1 -1
  15. package/src/sap/ui/integration/cards/Footer.js +1 -1
  16. package/src/sap/ui/integration/cards/Header.js +18 -1
  17. package/src/sap/ui/integration/cards/ListContent.js +9 -2
  18. package/src/sap/ui/integration/cards/ListContentRenderer.js +1 -1
  19. package/src/sap/ui/integration/cards/NumericHeader.js +52 -4
  20. package/src/sap/ui/integration/cards/ObjectContent.js +5 -1
  21. package/src/sap/ui/integration/cards/TableContent.js +9 -2
  22. package/src/sap/ui/integration/cards/TimelineContent.js +8 -1
  23. package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
  24. package/src/sap/ui/integration/cards/actions/CardActions.js +1 -1
  25. package/src/sap/ui/integration/cards/actions/ShowCardAction.js +18 -8
  26. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +5 -3
  27. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +1 -1
  28. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +1 -1
  29. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +1 -1
  30. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +1 -1
  31. package/src/sap/ui/integration/cards/filters/BaseFilter.js +1 -1
  32. package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +1 -1
  33. package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
  34. package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +1 -1
  35. package/src/sap/ui/integration/cards/filters/SearchFilter.js +1 -1
  36. package/src/sap/ui/integration/cards/filters/SelectFilter.js +1 -1
  37. package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +1 -1
  38. package/src/sap/ui/integration/controls/ActionsStrip.js +4 -2
  39. package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
  40. package/src/sap/ui/integration/controls/BlockingMessage.js +1 -1
  41. package/src/sap/ui/integration/controls/LinkWithIcon.js +1 -1
  42. package/src/sap/ui/integration/controls/ListContentItem.js +24 -12
  43. package/src/sap/ui/integration/controls/Microchart.js +1 -1
  44. package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
  45. package/src/sap/ui/integration/controls/ObjectStatus.js +1 -1
  46. package/src/sap/ui/integration/controls/Paginator.js +16 -25
  47. package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
  48. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -1
  49. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
  50. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
  51. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
  52. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
  53. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
  54. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +1 -1
  55. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
  56. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
  57. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
  58. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
  59. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
  60. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
  61. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
  62. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
  63. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
  64. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
  65. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +1 -1
  66. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
  67. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +1 -1
  68. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
  69. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
  70. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
  71. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
  72. package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
  73. package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
  74. package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
  75. package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
  76. package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
  77. package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
  78. package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
  79. package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
  80. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
  81. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
  82. package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
  83. package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
  84. package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
  85. package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
  86. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
  87. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
  88. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +1 -1
  89. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
  90. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
  91. package/src/sap/ui/integration/designtime/editor/Card.js +1 -1
  92. package/src/sap/ui/integration/designtime/editor/CardEditor.js +1 -1
  93. package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -2
  94. package/src/sap/ui/integration/editor/Editor.js +163 -97
  95. package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
  96. package/src/sap/ui/integration/editor/Extension.js +1 -1
  97. package/src/sap/ui/integration/editor/Manifest.js +1 -1
  98. package/src/sap/ui/integration/editor/Settings.js +347 -79
  99. package/src/sap/ui/integration/editor/css/Editor.css +7 -0
  100. package/src/sap/ui/integration/editor/fields/BaseField.js +98 -5
  101. package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
  102. package/src/sap/ui/integration/editor/fields/DateField.js +1 -1
  103. package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -1
  104. package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
  105. package/src/sap/ui/integration/editor/fields/GroupField.js +1 -1
  106. package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -1
  107. package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
  108. package/src/sap/ui/integration/editor/fields/ObjectField.js +171 -105
  109. package/src/sap/ui/integration/editor/fields/ObjectListField.js +18 -12
  110. package/src/sap/ui/integration/editor/fields/StringField.js +60 -123
  111. package/src/sap/ui/integration/editor/fields/StringListField.js +1 -1
  112. package/src/sap/ui/integration/editor/fields/fragment/Controller.js +1 -1
  113. package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +1 -1
  114. package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +100 -42
  115. package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +40 -0
  116. package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -1
  117. package/src/sap/ui/integration/editor/fields/viz/VizBase.js +1 -9
  118. package/src/sap/ui/integration/library-bootstrap.js +5 -4
  119. package/src/sap/ui/integration/library.js +46 -5
  120. package/src/sap/ui/integration/messagebundle.properties +12 -0
  121. package/src/sap/ui/integration/messagebundle_bg.properties +1 -1
  122. package/src/sap/ui/integration/messagebundle_ca.properties +1 -1
  123. package/src/sap/ui/integration/messagebundle_da.properties +1 -1
  124. package/src/sap/ui/integration/messagebundle_el.properties +1 -1
  125. package/src/sap/ui/integration/messagebundle_en.properties +9 -1
  126. package/src/sap/ui/integration/messagebundle_es.properties +1 -1
  127. package/src/sap/ui/integration/messagebundle_es_MX.properties +1 -1
  128. package/src/sap/ui/integration/messagebundle_et.properties +1 -1
  129. package/src/sap/ui/integration/messagebundle_fr.properties +1 -1
  130. package/src/sap/ui/integration/messagebundle_fr_CA.properties +1 -1
  131. package/src/sap/ui/integration/messagebundle_hi.properties +1 -1
  132. package/src/sap/ui/integration/messagebundle_hr.properties +1 -1
  133. package/src/sap/ui/integration/messagebundle_hu.properties +1 -1
  134. package/src/sap/ui/integration/messagebundle_it.properties +1 -1
  135. package/src/sap/ui/integration/messagebundle_iw.properties +1 -1
  136. package/src/sap/ui/integration/messagebundle_ja.properties +1 -1
  137. package/src/sap/ui/integration/messagebundle_kk.properties +1 -1
  138. package/src/sap/ui/integration/messagebundle_lt.properties +1 -1
  139. package/src/sap/ui/integration/messagebundle_lv.properties +1 -1
  140. package/src/sap/ui/integration/messagebundle_nl.properties +1 -1
  141. package/src/sap/ui/integration/messagebundle_no.properties +1 -1
  142. package/src/sap/ui/integration/messagebundle_pl.properties +1 -1
  143. package/src/sap/ui/integration/messagebundle_pt_PT.properties +1 -1
  144. package/src/sap/ui/integration/messagebundle_ro.properties +1 -1
  145. package/src/sap/ui/integration/messagebundle_ru.properties +1 -1
  146. package/src/sap/ui/integration/messagebundle_sh.properties +1 -1
  147. package/src/sap/ui/integration/messagebundle_sl.properties +1 -1
  148. package/src/sap/ui/integration/messagebundle_th.properties +2 -2
  149. package/src/sap/ui/integration/messagebundle_tr.properties +1 -1
  150. package/src/sap/ui/integration/messagebundle_uk.properties +4 -4
  151. package/src/sap/ui/integration/model/ContextModel.js +1 -1
  152. package/src/sap/ui/integration/model/ObservableModel.js +1 -1
  153. package/src/sap/ui/integration/model/PagingModelListBinding.js +1 -1
  154. package/src/sap/ui/integration/schemas/sap-card.json +449 -332
  155. package/src/sap/ui/integration/themes/base/Card.less +141 -1
  156. package/src/sap/ui/integration/thirdparty/markdown-it.js +42 -26
  157. package/src/sap/ui/integration/util/BaseFactory.js +1 -1
  158. package/src/sap/ui/integration/util/BindingHelper.js +1 -1
  159. package/src/sap/ui/integration/util/BindingResolver.js +1 -1
  160. package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +25 -10
  161. package/src/sap/ui/integration/util/CardObserver.js +1 -1
  162. package/src/sap/ui/integration/util/ContentFactory.js +1 -1
  163. package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
  164. package/src/sap/ui/integration/util/DataProvider.js +1 -1
  165. package/src/sap/ui/integration/util/DataProviderFactory.js +1 -1
  166. package/src/sap/ui/integration/util/Destinations.js +1 -1
  167. package/src/sap/ui/integration/util/ErrorHandler.js +1 -1
  168. package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
  169. package/src/sap/ui/integration/util/Form.js +1 -1
  170. package/src/sap/ui/integration/util/HeaderFactory.js +39 -4
  171. package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
  172. package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
  173. package/src/sap/ui/integration/util/Manifest.js +1 -1
  174. package/src/sap/ui/integration/util/Measurement.js +7 -3
  175. package/src/sap/ui/integration/util/RequestDataProvider.js +31 -13
  176. package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
  177. package/src/sap/ui/integration/util/ServiceManager.js +1 -1
  178. package/src/sap/ui/integration/util/SkeletonCard.js +1 -1
  179. package/src/sap/ui/integration/util/Utils.js +4 -4
  180. package/src/sap/ui/integration/util/Validators.js +1 -1
  181. package/src/sap/ui/integration/util/loadCardEditor.js +1 -1
  182. package/src/sap/ui/integration/widgets/Card.js +79 -48
  183. package/src/sap/ui/integration/widgets/CardRenderer.js +2 -0
  184. package/src/sap-ui-integration.js +5 -5
@@ -31,7 +31,12 @@ sap.ui.define([
31
31
  "sap/m/ColumnListItem",
32
32
  "sap/m/ScrollContainer",
33
33
  "sap/base/util/ObjectPath",
34
- "sap/ui/integration/util/BindingHelper"
34
+ "sap/ui/integration/util/BindingHelper",
35
+ "sap/ui/integration/editor/fields/ObjectListField",
36
+ "sap/ui/layout/form/SimpleForm",
37
+ "sap/ui/integration/util/Utils",
38
+ "sap/base/util/deepClone",
39
+ "sap/base/util/deepEqual"
35
40
  ], function (
36
41
  Control,
37
42
  Popover,
@@ -60,7 +65,12 @@ sap.ui.define([
60
65
  ColumnListItem,
61
66
  ScrollContainer,
62
67
  ObjectPath,
63
- BindingHelper
68
+ BindingHelper,
69
+ ObjectListField,
70
+ SimpleForm,
71
+ Utils,
72
+ deepClone,
73
+ deepEqual
64
74
  ) {
65
75
  "use strict";
66
76
 
@@ -70,7 +80,7 @@ sap.ui.define([
70
80
  * @alias sap.ui.integration.editor.Settings
71
81
  * @author SAP SE
72
82
  * @since 1.83.0
73
- * @version 1.117.1
83
+ * @version 1.119.0
74
84
  * @private
75
85
  * @experimental since 1.83.0
76
86
  * @ui5-restricted
@@ -88,6 +98,7 @@ sap.ui.define([
88
98
  oCurrentInstance = null,
89
99
  oDynamicPanel,
90
100
  oSettingsPanel,
101
+ oTransformPanel,
91
102
  oDescriptionLabel,
92
103
  oDynamicValueField,
93
104
  oMenu,
@@ -97,7 +108,9 @@ sap.ui.define([
97
108
  oSettingsButton,
98
109
  oSegmentedButton,
99
110
  oResetToDefaultButton,
100
- oPopover;
111
+ oPopover,
112
+ iOffsetMaxHeight = 450,
113
+ iOffsetMaxWidth = 360;
101
114
  Settings.prototype.setConfiguration = function (oConfig) {
102
115
  this._originalConfig = oConfig;
103
116
  oConfig = merge({}, oConfig);
@@ -108,11 +121,11 @@ sap.ui.define([
108
121
  });
109
122
  };
110
123
 
111
- Settings.prototype.open = function (oField, oReferrer, oPreview, oHost, oParent, fnApply, fnCancel) {
124
+ Settings.prototype.open = function (oControl, oReferrer, oEditor, oHost, oParent, fnApply, fnCancel) {
112
125
  var oCurrentData = this.getModel("currentSettings").getData(),
113
126
  sParameterId = oParent.getParameterId();
114
127
  //prepare fields in key
115
- if (oCurrentData.values) {
128
+ if (oCurrentData.values && oCurrentData.values.item) {
116
129
  this.prepareFieldsInKey(oCurrentData);
117
130
  }
118
131
  oCurrentInstance = this;
@@ -123,33 +136,42 @@ sap.ui.define([
123
136
  this.fnCancel = fnCancel;
124
137
  this._oOpener = oParent;
125
138
  bCancel = true;
126
- oField.addDependent(this);
139
+ oControl.addDependent(this);
127
140
  //adjust page admin values table height
128
- if (!oCurrentData.allowDynamicValues && oCurrentData.values) {
141
+ if (!oCurrentData.allowDynamicValues && oCurrentData.values && oCurrentData.values.item) {
129
142
  Core.byId(sParameterId + "_settings_popover_scroll_container").setHeight("155px");
130
143
  }
131
144
  //force update of all bindings
132
145
  this.getModel("currentSettings").checkUpdate(true, true);
133
146
  applyVariableDescription(oResourceBundle.getText("EDITOR_SELECT_FROM_LIST"), []);
134
147
  if (oReferrer) {
135
- var iOffsetWidth = (!oPreview || oPreview.getDomRef() === null || oPreview.getDomRef().offsetWidth === 0) ? 270 : oPreview.getDomRef().offsetWidth;
136
- var iOffsetHeight = (!oPreview || oPreview.getDomRef() === null || oPreview.getDomRef().offsetHeight === 0) ? 350 : oPreview.getDomRef().offsetHeight;
137
- oPopover.setContentWidth(iOffsetWidth + "px");
148
+ var iOffsetHeight = oEditor.getDomRef().offsetHeight;
149
+ iOffsetHeight = iOffsetHeight > iOffsetMaxHeight ? iOffsetMaxHeight : iOffsetHeight;
138
150
  oPopover.setContentHeight((iOffsetHeight - 50) + "px");
151
+ var iOffsetWidth;
139
152
  var sPlacement = "Right";
140
- var iX = oField.getDomRef().getBoundingClientRect().x;
141
- var iWidth = document.body.offsetWidth;
142
- if ( 2 * iX > iWidth) {
153
+ var oEditorBoundingClientRect = oEditor.getDomRef().getBoundingClientRect();
154
+ var oControlBoundingClientRect = oControl.getDomRef().getBoundingClientRect();
155
+ var iXofControl = oControlBoundingClientRect.x + oControlBoundingClientRect.width / 2 - oEditorBoundingClientRect.x;
156
+ var iEditorWidth = oEditorBoundingClientRect.width;
157
+ if ( 2 * iXofControl > iEditorWidth) {
143
158
  sPlacement = "Left";
159
+ iOffsetWidth = iXofControl - oControlBoundingClientRect.width * 1.5;
160
+ } else {
161
+ iOffsetWidth = iEditorWidth - iXofControl - oControlBoundingClientRect.width;
144
162
  }
163
+ iOffsetWidth = iOffsetWidth > iOffsetMaxWidth ? iOffsetMaxWidth : iOffsetWidth;
164
+ oPopover.setContentWidth(iOffsetWidth + "px");
145
165
  oPopover.setPlacement(sPlacement);
146
- oDynamicValueField.setValue(oField._label);
147
- oPopover.openBy(oField);
166
+ oDynamicValueField.setValue(oControl._label);
167
+ oPopover.openBy(oControl);
148
168
  } else {
149
169
  oPopover.open();
150
170
  }
151
171
  oCurrentModel = this.getModel("currentSettings");
152
- if (oCurrentModel.getProperty("/_hasDynamicValue")) {
172
+ if (oCurrentModel.getProperty("/type") === "destination") {
173
+ selectTransform(sParameterId);
174
+ } else if (oCurrentModel.getProperty("/_hasDynamicValue")) {
153
175
  selectDynamic(sParameterId);
154
176
  } else if (oCurrentModel.getProperty("/_hasSettings")) {
155
177
  selectSettings(sParameterId);
@@ -175,11 +197,12 @@ sap.ui.define([
175
197
 
176
198
  function createPopover(oData, oField) {
177
199
  var sParameterId = oField.getParameterId(),
178
- oHeader = createHeader(sParameterId),
179
- oResetToDefaultButton = createResetBtn(oData, sParameterId),
200
+ oHeader = createHeader(oData, sParameterId),
201
+ oResetToDefaultButton = createResetBtn(oData, sParameterId, oField),
180
202
  oDynamicPanel = createDynamicPanel(sParameterId),
181
203
  oCurrentValue = createCurrentValuesBox(sParameterId),
182
204
  oSettingsPanel = createSettingPanel(oData, oField),
205
+ oTransformPanel = createTransformPanel(oData, oField),
183
206
  oPopover = new Popover({
184
207
  id: sParameterId + "_settings_popover",
185
208
  showArrow: true,
@@ -196,22 +219,42 @@ sap.ui.define([
196
219
  text: oResourceBundle.getText("EDITOR_MORE_OK"),
197
220
  type: "Emphasized",
198
221
  press: function () {
199
- //handle page admin values
200
- if (oData.values) {
201
- var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
202
- selectedContexts = oTable.getSelectedContexts(),
203
- selectedKeys = [];
204
- if (oCurrentModel.getProperty("/selectedValues") === "Partion") {
205
- for (var i = 0; i < selectedContexts.length; i++) {
206
- var selectedKey = oCurrentInstance.getKeyFromItem(selectedContexts[i].getObject());
207
- selectedKeys.push(selectedKey);
222
+ if (oData.type === "destination") {
223
+ if (oField._oNewParameter) {
224
+ var newParameter = Object.assign({}, oField._oNewParameter);
225
+ var aValues = deepClone(Object.assign([], oField._oValue.value));
226
+ aValues = aValues.sort(function (a, b) {
227
+ // if _position property not exists, do nothing
228
+ if (!a._dt || !a._dt._position || !b._dt || !b._dt._position) {
229
+ return 0;
230
+ }
231
+ return a._dt._position - b._dt._position;
232
+ });
233
+ aValues.forEach(function (value) {
234
+ delete value._dt;
235
+ });
236
+ newParameter.configuration.values.data.json = {
237
+ "values": aValues
238
+ };
239
+ setNextSetting("pageAdminNewDestinationParameter", newParameter);
240
+ }
241
+ } else {
242
+ //handle page admin values
243
+ if (oData.values && oData.values.item) {
244
+ var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
245
+ selectedContexts = oTable.getSelectedContexts(),
246
+ selectedKeys = [];
247
+ if (oCurrentModel.getProperty("/selectedValues") === "Partion") {
248
+ for (var i = 0; i < selectedContexts.length; i++) {
249
+ var selectedKey = oCurrentInstance.getKeyFromItem(selectedContexts[i].getObject());
250
+ selectedKeys.push(selectedKey);
251
+ }
252
+ setNextSetting("pageAdminValues", selectedKeys);
253
+ } else {
254
+ setNextSetting("pageAdminValues", []);
208
255
  }
209
- setNextSetting("pageAdminValues", selectedKeys);
210
- } else {
211
- setNextSetting("pageAdminValues", []);
212
256
  }
213
257
  }
214
-
215
258
  oCurrentInstance._applyCurrentSettings();
216
259
  bCancel = false;
217
260
  oPopover.close();
@@ -238,7 +281,7 @@ sap.ui.define([
238
281
  });
239
282
 
240
283
  //handle page admin values selection
241
- if (oData.values) {
284
+ if (oData.values && oData.values.item) {
242
285
  var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
243
286
  paValues = oCurrentModel.getProperty("/_next/pageAdminValues");
244
287
  if (paValues !== undefined && paValues.length > 0) {
@@ -266,6 +309,7 @@ sap.ui.define([
266
309
  oPopover.addContent(oDynamicPanel);
267
310
  oPopover.addContent(oCurrentValue);
268
311
  oPopover.addContent(oSettingsPanel);
312
+ oPopover.addContent(oTransformPanel);
269
313
 
270
314
  oPopover.addStyleClass("sapUiIntegrationFieldSettings");
271
315
 
@@ -310,78 +354,92 @@ sap.ui.define([
310
354
  return oSegmentedButton;
311
355
  }
312
356
 
313
- function createHeader(sParameterId) {
357
+ function createHeader(oData, sParameterId) {
314
358
  oSegmentedButton = createSegmentedButton(sParameterId);
315
359
  var oDynamicValueText = new Text(sParameterId + "_settings_popover_dynamicvalue_txt", {
316
360
  text: oResourceBundle.getText("EDITOR_MORE_DYNAMICVALUES"),
317
361
  tooltip: oResourceBundle.getText("EDITOR_MORE_DYNAMICVALUES"),
318
- visible: "{= ${currentSettings>allowDynamicValues} && !${currentSettings>allowSettings}}"
362
+ visible: oData.type !== "destination" && oData.allowDynamicValues && !oData.allowSettings
319
363
  }).addStyleClass("sapUiTinyMagin");
320
364
  var oSettingsText = new Text(sParameterId + "_settings_popover_settings_txt", {
321
365
  text: oResourceBundle.getText("EDITOR_MORE_SETTINGS"),
322
- visible: "{= !${currentSettings>allowDynamicValues} && ${currentSettings>allowSettings}}"
366
+ visible: oData.type !== "destination" && !oData.allowDynamicValues && oData.allowSettings
367
+ }).addStyleClass("sapUiTinyMagin");
368
+ var oTransformText = new Text(sParameterId + "_settings_popover_transform_txt", {
369
+ text: oResourceBundle.getText("EDITOR_MORE_TRANSFORM"),
370
+ visible: oData.type === "destination"
323
371
  }).addStyleClass("sapUiTinyMagin");
324
372
 
325
373
  var oTitle = new OverflowToolbar({
326
374
  content: [
327
375
  oSegmentedButton,
328
376
  oDynamicValueText,
329
- oSettingsText
377
+ oSettingsText,
378
+ oTransformText
330
379
  ]
331
380
  }).addStyleClass("headertitle");
332
381
  return oTitle;
333
382
  }
334
383
 
335
- function createResetBtn(oData, sParameterId) {
384
+ function createResetBtn(oData, sParameterId, oField) {
336
385
  oResetToDefaultButton = new Button(sParameterId + "_settings_popover_reset_btn", {
337
386
  type: "Transparent",
338
387
  text: oResourceBundle.getText("EDITOR_MORE_RESET"),
339
- enabled: "{= ${currentSettings>_next/visible} === (typeof(${currentSettings>visibleToUser}) === 'undefined' ? false : !${currentSettings>visibleToUser}) || ${currentSettings>_next/editable} === (typeof(${currentSettings>editableToUser}) === 'undefined' ? false : !${currentSettings>editableToUser}) || ${currentSettings>_next/allowDynamicValues} === (typeof(${currentSettings>allowDynamicValues}) === 'undefined' ? false : !${currentSettings>allowDynamicValues}) || ${currentSettings>_beforeValue} !== ${currentSettings>value}}",
388
+ enabled: "{= ${currentSettings>_next/visible} === (typeof(${currentSettings>visibleToUser}) === 'undefined' ? false : !${currentSettings>visibleToUser}) || ${currentSettings>_next/editable} === (typeof(${currentSettings>editableToUser}) === 'undefined' ? false : !${currentSettings>editableToUser}) || ${currentSettings>_next/allowDynamicValues} === (typeof(${currentSettings>allowDynamicValues}) === 'undefined' ? false : !${currentSettings>allowDynamicValues}) || ${currentSettings>_beforeValue} !== ${currentSettings>value} || ${currentSettings>type} === 'destination'}",
340
389
  tooltip: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_RESET"),
341
390
  press: function () {
342
- var bVisibleDefault = typeof (oCurrentModel.getProperty("/visibleToUser")) === 'undefined' ? true : oCurrentModel.getProperty("/visibleToUser");
343
- var bEditableDefault = typeof (oCurrentModel.getProperty("/editableToUser")) === 'undefined' ? true : oCurrentModel.getProperty("/editableToUser");
344
- var bAllowDynamicValuesDefault = typeof (oCurrentModel.getProperty("/allowDynamicValues")) === 'undefined' ? true : oCurrentModel.getProperty("/allowDynamicValues");
345
- var oPopover = Core.byId(sParameterId + "_settings_popover");
346
- setNextSetting("visible", bVisibleDefault);
347
- setNextSetting("editable", bEditableDefault);
348
- setNextSetting("allowDynamicValues", bAllowDynamicValuesDefault);
349
- if (oCurrentModel.getProperty("/translatable")) {
350
- if (oCurrentModel.getProperty("/_translatedDefaultValue") && oCurrentModel.getProperty("/_translatedDefaultValue") !== "") {
351
- oCurrentModel.setProperty("/value", oCurrentModel.getProperty("/_translatedDefaultValue"));
352
- } else if (oCurrentModel.getProperty("/_translatedDefaultPlaceholder") && oCurrentModel.getProperty("/_translatedDefaultPlaceholder") !== "") {
353
- oCurrentModel.setProperty("/value", oCurrentModel.getProperty("/_translatedDefaultPlaceholder"));
354
- }
355
- oCurrentModel.setProperty("/_changed", false);
391
+ if (oData.type === "destination") {
392
+ setNextSetting("pageAdminNewDestinationParameter", undefined);
393
+ oField._oValue = undefined;
394
+ oField._oNewParameter = undefined;
356
395
  } else {
357
- oCurrentModel.setProperty("/value", oCurrentModel.getProperty("/_beforeValue"));
358
- }
396
+ var bVisibleDefault = typeof (oCurrentModel.getProperty("/visibleToUser")) === 'undefined' ? true : oCurrentModel.getProperty("/visibleToUser");
397
+ var bEditableDefault = typeof (oCurrentModel.getProperty("/editableToUser")) === 'undefined' ? true : oCurrentModel.getProperty("/editableToUser");
398
+ var bAllowDynamicValuesDefault = typeof (oCurrentModel.getProperty("/allowDynamicValues")) === 'undefined' ? true : oCurrentModel.getProperty("/allowDynamicValues");
399
+ setNextSetting("visible", bVisibleDefault);
400
+ setNextSetting("editable", bEditableDefault);
401
+ setNextSetting("allowDynamicValues", bAllowDynamicValuesDefault);
402
+ if (oCurrentModel.getProperty("/translatable")) {
403
+ if (oCurrentModel.getProperty("/_translatedDefaultValue") && oCurrentModel.getProperty("/_translatedDefaultValue") !== "") {
404
+ oCurrentModel.setProperty("/value", oCurrentModel.getProperty("/_translatedDefaultValue"));
405
+ } else if (oCurrentModel.getProperty("/_translatedDefaultPlaceholder") && oCurrentModel.getProperty("/_translatedDefaultPlaceholder") !== "") {
406
+ oCurrentModel.setProperty("/value", oCurrentModel.getProperty("/_translatedDefaultPlaceholder"));
407
+ }
408
+ oCurrentModel.setProperty("/_changed", false);
409
+ } else {
410
+ oCurrentModel.setProperty("/value", oCurrentModel.getProperty("/_beforeValue"));
411
+ if (oData.type.indexOf("object") > -1) {
412
+ oField.setValue(oCurrentModel.getProperty("/_beforeValue"));
413
+ oField.resetControl();
414
+ }
415
+ }
359
416
 
360
- //reset table selection
361
- if (oData.values) {
362
- var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
363
- sItems = oCurrentModel.getProperty("/_next/pageAdminValues"),
364
- aItems = oTable.getItems();
365
- // pavItemKey = oCurrentModel.getData().values.item.key;
366
- // pavItemKey = pavItemKey.substring(1, pavItemKey.length - 1);
367
- if (sItems !== undefined && sItems.length > 0 && sItems.length < aItems.length) {
368
- oTable.removeSelections();
369
- for (var i = 0; i < sItems.length; i++) {
370
- for (var j = 0; j < aItems.length; j++) {
371
- // var aItemValue = aItems[j].getBindingContext("currentSettings").getObject();
372
- var aItemValue = oCurrentInstance.getKeyFromItem(aItems[j].getBindingContext().getObject());
373
- if (sItems[i] === aItemValue) {
374
- oTable.setSelectedItem(aItems[j]);
417
+ //reset table selection
418
+ if (oData.values && oData.values.item) {
419
+ var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
420
+ sItems = oCurrentModel.getProperty("/_next/pageAdminValues"),
421
+ aItems = oTable.getItems();
422
+ // pavItemKey = oCurrentModel.getData().values.item.key;
423
+ // pavItemKey = pavItemKey.substring(1, pavItemKey.length - 1);
424
+ if (sItems !== undefined && sItems.length > 0 && sItems.length < aItems.length) {
425
+ oTable.removeSelections();
426
+ for (var i = 0; i < sItems.length; i++) {
427
+ for (var j = 0; j < aItems.length; j++) {
428
+ // var aItemValue = aItems[j].getBindingContext("currentSettings").getObject();
429
+ var aItemValue = oCurrentInstance.getKeyFromItem(aItems[j].getBindingContext().getObject());
430
+ if (sItems[i] === aItemValue) {
431
+ oTable.setSelectedItem(aItems[j]);
432
+ }
375
433
  }
376
434
  }
435
+ oCurrentModel.setProperty("/selectedValues", "Partion");
436
+ } else {
437
+ oTable.selectAll();
438
+ oCurrentModel.setProperty("/selectedValues", "All");
377
439
  }
378
- oCurrentModel.setProperty("/selectedValues", "Partion");
379
- } else {
380
- oTable.selectAll();
381
- oCurrentModel.setProperty("/selectedValues", "All");
382
440
  }
383
441
  }
384
-
442
+ var oPopover = Core.byId(sParameterId + "_settings_popover");
385
443
  oPopover.getFooter().getContent()[2].firePress();
386
444
  }
387
445
  }).addStyleClass("resetbutton");
@@ -391,13 +449,23 @@ sap.ui.define([
391
449
  function selectSettings(sParameterId) {
392
450
  oSettingsPanel.setVisible(true);
393
451
  oDynamicPanel.setVisible(false);
452
+ oTransformPanel.setVisible(false);
394
453
  Core.byId(sParameterId + "_settings_popover_segmented_btn").setSelectedKey("settings");
395
454
  var oCurrentValue = Core.byId(sParameterId + "_settings_popover_currentvalue");
396
455
  oCurrentValue.setVisible(false);
397
456
  }
398
457
 
458
+ function selectTransform(sParameterId) {
459
+ oTransformPanel.setVisible(true);
460
+ oSettingsPanel.setVisible(false);
461
+ oDynamicPanel.setVisible(false);
462
+ var oCurrentValue = Core.byId(sParameterId + "_settings_popover_currentvalue");
463
+ oCurrentValue.setVisible(false);
464
+ }
465
+
399
466
  function selectDynamic(sParameterId) {
400
467
  oSettingsPanel.setVisible(false);
468
+ oTransformPanel.setVisible(false);
401
469
  oDynamicPanel.setVisible(true);
402
470
  Core.byId(sParameterId + "_settings_popover_segmented_btn").setSelectedKey("dynamic");
403
471
  var oFlat = oCurrentInstance.getModel("contextflat"),
@@ -589,6 +657,9 @@ sap.ui.define([
589
657
  function createSettingPanel(oData, oField) {
590
658
  var sParameterId = oField.getParameterId();
591
659
  oSettingsPanel = new VBox({ visible: false });
660
+ if (oData.type === "destination") {
661
+ return oSettingsPanel;
662
+ }
592
663
  var oBox = new VBox().addStyleClass("commonSettings");
593
664
  oSettingsPanel.addItem(oBox);
594
665
  oBox.addItem(new Title({
@@ -607,6 +678,8 @@ sap.ui.define([
607
678
  });
608
679
  settingsAdminVisibleCKB.addAriaLabelledBy(settingsAdminVisibleLabel);
609
680
  oBox.addItem(new HBox({
681
+ alignItems: "Start",
682
+ justifyContent: "SpaceBetween",
610
683
  items: [
611
684
  settingsAdminVisibleLabel,
612
685
  settingsAdminVisibleCKB
@@ -625,6 +698,8 @@ sap.ui.define([
625
698
  });
626
699
  settingsAdminEditCKB.addAriaLabelledBy(settingsAdminEditLabel);
627
700
  oBox.addItem(new HBox({
701
+ alignItems: "Start",
702
+ justifyContent: "SpaceBetween",
628
703
  items: [
629
704
  settingsAdminEditLabel,
630
705
  settingsAdminEditCKB
@@ -643,6 +718,8 @@ sap.ui.define([
643
718
  });
644
719
  settingsAdminDYNCKB.addAriaLabelledBy(settingsAdminDYNLabel);
645
720
  oBox.addItem(new HBox({
721
+ alignItems: "Start",
722
+ justifyContent: "SpaceBetween",
646
723
  visible: "{= ${currentSettings>allowDynamicValues}!== false}",
647
724
  items: [
648
725
  settingsAdminDYNLabel,
@@ -651,7 +728,7 @@ sap.ui.define([
651
728
  }).addStyleClass("cbrow"));
652
729
 
653
730
  //Binding page admin data to table
654
- if (oData.values) {
731
+ if (oData.values && oData.values.item) {
655
732
  var vData;
656
733
  if (oData.values.data) {
657
734
  var sPath = oData.values.data.path,
@@ -676,6 +753,8 @@ sap.ui.define([
676
753
  vData = ObjectPath.get([ePath], oField.getModel().getData());
677
754
  }
678
755
  oBox.addItem(new HBox({
756
+ alignItems: "Start",
757
+ justifyContent: "SpaceBetween",
679
758
  visible: "{= ${currentSettings>_next/visible} !== false && ${currentSettings>_next/editable} !== false}",
680
759
  items: [
681
760
  new Label(sParameterId + "_settings_popover_allowselectedvalues_label", {
@@ -717,7 +796,6 @@ sap.ui.define([
717
796
  var pavTable = new Table({
718
797
  id: sParameterId + "_settings_popover_pav_table",
719
798
  mode: "MultiSelect",
720
- width: "84%",
721
799
  select: function (oEvent) {
722
800
  onTableSelection(oEvent, sParameterId);
723
801
  },
@@ -726,7 +804,7 @@ sap.ui.define([
726
804
  ]
727
805
  }).addStyleClass("tableHdr");
728
806
  var pavItemText = oData.values.item.text,
729
- vModel = new JSONModel(vData);
807
+ vModel = new JSONModel(vData);
730
808
  pavTable.setModel(vModel);
731
809
  var oTemplate = new ColumnListItem().addStyleClass("pavlistItem");
732
810
  if (vData) {
@@ -744,7 +822,6 @@ sap.ui.define([
744
822
  var oScrollContainer = new ScrollContainer({
745
823
  id: sParameterId + "_settings_popover_scroll_container",
746
824
  height: "125px",
747
- width: "94%",
748
825
  vertical: true,
749
826
  horizontal: false,
750
827
  visible: "{= ${currentSettings>_next/visible} !== false && ${currentSettings>_next/editable} !== false}",
@@ -756,6 +833,196 @@ sap.ui.define([
756
833
  return oSettingsPanel;
757
834
  }
758
835
 
836
+ function createTransformPanel(oData, oField) {
837
+ oTransformPanel = new VBox({ visible: false });
838
+ if (oData.type !== "destination") {
839
+ return oTransformPanel;
840
+ }
841
+ var oLabel = new Label({
842
+ text: oResourceBundle.getText("EDITOR_MORE_TRANSFORM_P_ADMIN_LABEL"),
843
+ wrapping: true
844
+ });
845
+ var oLabelValue = new Input({
846
+ id: oField.getAssociation("_editor") + "_" + oField.getParameterKey() + ".toParameter_label",
847
+ value: "{/configuration/label}"
848
+ });
849
+ oLabelValue.addAriaLabelledBy(oLabel);
850
+ var valueLabel = new Label({
851
+ text: oResourceBundle.getText("EDITOR_MORE_TRANSFORM_P_ADMIN_MAPPINGS"),
852
+ wrapping: true
853
+ });
854
+
855
+ var iPositionCount = 1,
856
+ oDestinationList = deepClone(oField.getModel("destinations").getData()._values),
857
+ oPageAdminNewDestinationParameter = oData._next ? oData._next.pageAdminNewDestinationParameter : undefined;
858
+ if (!oField._oValue) {
859
+ var oValues = oPageAdminNewDestinationParameter ? oPageAdminNewDestinationParameter.configuration.values.data.json.values : [];
860
+
861
+ if (Array.isArray(oValues) && oValues.length > 0) {
862
+ // add uuid and position for each result in value, and mark them as selected
863
+ oValues.forEach(function (oValueItem) {
864
+ oValueItem.label = oValueItem.label || oValueItem.name;
865
+ oValueItem._dt = {
866
+ _uuid: Utils.generateUuidV4(),
867
+ _position: iPositionCount
868
+ };
869
+ iPositionCount++;
870
+ });
871
+ } else {
872
+ var oSelectedDestinationItem = oField.getAggregation("_field").getSelectedItem();
873
+ var sPath = oSelectedDestinationItem ? oSelectedDestinationItem.getBindingContext("destinations").getPath() : undefined;
874
+ if (sPath) {
875
+ var oDestination = deepClone(oSelectedDestinationItem.getModel("destinations").getProperty(sPath));
876
+ oDestination.label = oDestination.label || oDestination.name;
877
+ oDestination._dt = {
878
+ _uuid: Utils.generateUuidV4(),
879
+ _position: iPositionCount
880
+ };
881
+ oValues = [
882
+ oDestination
883
+ ];
884
+ }
885
+ }
886
+ oField._oValue = {
887
+ value: oValues
888
+ };
889
+ } else {
890
+ // add uuid and position for each result in value, and mark them as selected
891
+ oField._oValue.value.forEach(function (oValueItem) {
892
+ oValueItem._dt = oValueItem._dt || {};
893
+ var oValueCloned = deepClone(oValueItem);
894
+ delete oValueCloned._dt;
895
+ if (typeof oValueCloned === "object" && !deepEqual(oValueCloned, {})) {
896
+ oValueItem.label = oValueCloned.label || oValueCloned.name;
897
+ }
898
+ });
899
+ }
900
+ var oModel = new JSONModel(oField._oValue);
901
+
902
+ oField._oDestinationValueObjectConfig = {
903
+ "label": "Destination Mappings",
904
+ "type": "object[]",
905
+ "values": {
906
+ "data": {
907
+ "path": "/value"
908
+ },
909
+ "allowAdd": true
910
+ },
911
+ "showSelectionColumn": false,
912
+ "properties": {
913
+ "label": {
914
+ "label": "Label",
915
+ "column": {
916
+ "width": "50%"
917
+ },
918
+ "cell": {
919
+ "text": "{label}",
920
+ "editable": true
921
+ }
922
+ },
923
+ "name": {
924
+ "label": "Name",
925
+ "column": {
926
+ "width": "50%"
927
+ },
928
+ "cell": {
929
+ "type": "string",
930
+ "values": {
931
+ "data": {
932
+ "json": oDestinationList,
933
+ "path": "/"
934
+ },
935
+ "item": {
936
+ "text": "{settings>name}",
937
+ "key": "{settings>name}"
938
+ },
939
+ "sorter": "name"
940
+ },
941
+ "change": function(oEvent) {
942
+ var oControl = oEvent.getSource();
943
+ var oObject = oControl.getBindingContext().getObject();
944
+ // if label is undefined, set its value to name value
945
+ if (oObject && !oObject.label && oObject.name) {
946
+ oObject.label = oObject.name;
947
+ }
948
+ }
949
+ }
950
+ }
951
+ },
952
+ "value": oField._oValue.value
953
+ };
954
+ var oValueField = new ObjectListField(oField.getAssociation("_editor") + "_" + oField.getParameterKey() + ".toParameter_field", {
955
+ configuration: oField._oDestinationValueObjectConfig,
956
+ allowPopover: false,
957
+ parameterKey: oField.getParameterKey() + ".toParameter",
958
+ objectBindings: {
959
+ currentSettings: {
960
+ path: "currentSettings>/"
961
+ }
962
+ }
963
+ });
964
+ oValueField.setAssociation("_editor", oField.getAssociation("_editor"));
965
+ oValueField.setModel(oModel);
966
+ oValueField.setModel(new JSONModel(oField._oDestinationValueObjectConfig), "currentSettings");
967
+
968
+ var oForm = new SimpleForm({
969
+ layout: "ResponsiveGridLayout",
970
+ labelSpanXL: 4,
971
+ labelSpanL: 4,
972
+ labelSpanM: 4,
973
+ //labelSpanS: "{= ${/editMode} === 'Properties' ? 4 : 12}",
974
+ labelSpanS: 12,
975
+ emptySpanXL: 1,
976
+ emptySpanL: 1,
977
+ emptySpanM: 1,
978
+ emptySpanS: 0,
979
+ columnsXL: 1,
980
+ columnsL: 1,
981
+ columnsM: 1,
982
+ content: [
983
+ oLabel,
984
+ oLabelValue,
985
+ valueLabel,
986
+ oValueField
987
+ ]
988
+ });
989
+
990
+ /*
991
+ _oRelatedParameterListPage.addContent();
992
+ */
993
+ if (!oField._oNewParameter) {
994
+ oField._oNewParameter = {
995
+ "parameter": oField.getParameterKey() + ".toParameter",
996
+ "configuration": {
997
+ "label": oData.label,
998
+ "manifestpath": oData.manifestpath,
999
+ "type": "string",
1000
+ "visible": true,
1001
+ "editable": true,
1002
+ "values": {
1003
+ "data": {
1004
+ "path": "/values"
1005
+ },
1006
+ "item": {
1007
+ "text": "{label}",
1008
+ "key": "{name}"
1009
+ }
1010
+ },
1011
+ "parameterFromDestination": true
1012
+ }
1013
+ };
1014
+ if (oPageAdminNewDestinationParameter) {
1015
+ delete oPageAdminNewDestinationParameter.configuration.values.data.json;
1016
+ oField._oNewParameter = Object.assign(oField._oNewParameter, oPageAdminNewDestinationParameter);
1017
+ }
1018
+ }
1019
+ var oFormModel = new JSONModel(oField._oNewParameter);
1020
+ oForm.setModel(oFormModel);
1021
+ oTransformPanel.addItem(oForm);
1022
+
1023
+ return oTransformPanel;
1024
+ }
1025
+
759
1026
  function onMultiSelectionClick(sParameterId) {
760
1027
  var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
761
1028
  oResetBtn = Core.byId(sParameterId + "_settings_popover_reset_btn"),
@@ -883,6 +1150,7 @@ sap.ui.define([
883
1150
  oSettingsButton: oSettingsButton,
884
1151
  oDynamicPanel: oDynamicPanel,
885
1152
  oSettingsPanel: oSettingsPanel,
1153
+ oTransformPanel: oTransformPanel,
886
1154
  oCurrentModel: oCurrentModel,
887
1155
  updateCurrentValue: updateCurrentValue,
888
1156
  oCurrentInstance: oCurrentInstance,
@@ -374,6 +374,7 @@
374
374
 
375
375
  .sapUiIntegrationFieldSettings .SettingsPAVTable {
376
376
  margin-left: 1rem;
377
+ width: calc(100% - 2rem) !important;
377
378
  }
378
379
 
379
380
  .tableHdr .sapMListTblHeaderCell {
@@ -436,6 +437,12 @@
436
437
  margin: 0 0.3rem;
437
438
  }
438
439
 
440
+ /* Image Select */
441
+ .sapUiIntegrationImageSelect .image {
442
+ max-height: 30em;
443
+ max-width: 20em;
444
+ }
445
+
439
446
  /* Icon Select */
440
447
  .sapUiIntegrationIconSelectList li[aria-posinset] IMG.sapMSelectListItemIcon {
441
448
  width: 1.1rem;