@openui5/sap.ui.integration 1.92.0 → 1.93.3

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 (172) hide show
  1. package/.reuse/dep5 +5 -0
  2. package/THIRDPARTY.txt +10 -1
  3. package/package.json +3 -3
  4. package/src/sap/ui/integration/.library +1 -1
  5. package/src/sap/ui/integration/ActionDefinition.js +1 -1
  6. package/src/sap/ui/integration/Designtime.js +1 -1
  7. package/src/sap/ui/integration/Extension.js +1 -1
  8. package/src/sap/ui/integration/Host.js +16 -18
  9. package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
  10. package/src/sap/ui/integration/cards/AnalyticalContent.js +1 -1
  11. package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
  12. package/src/sap/ui/integration/cards/BaseContent.js +2 -2
  13. package/src/sap/ui/integration/cards/BaseListContent.js +1 -1
  14. package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
  15. package/src/sap/ui/integration/cards/ComponentContent.js +21 -10
  16. package/src/sap/ui/integration/cards/Filter.js +1 -1
  17. package/src/sap/ui/integration/cards/Footer.js +126 -0
  18. package/src/sap/ui/integration/cards/Header.js +1 -1
  19. package/src/sap/ui/integration/cards/ListContent.js +19 -8
  20. package/src/sap/ui/integration/cards/ListContentRenderer.js +19 -9
  21. package/src/sap/ui/integration/cards/NumericHeader.js +1 -1
  22. package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
  23. package/src/sap/ui/integration/cards/TableContent.js +1 -1
  24. package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
  25. package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
  26. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +1 -1
  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/controls/ActionsStrip.js +184 -0
  32. package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
  33. package/src/sap/ui/integration/controls/ListContentItem.js +3 -1
  34. package/src/sap/ui/integration/controls/ListContentItemRenderer.js +93 -3
  35. package/src/sap/ui/integration/controls/Microchart.js +1 -1
  36. package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
  37. package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +2 -2
  38. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +5 -1
  39. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
  40. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +8 -2
  41. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +5 -3
  42. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +2 -2
  43. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
  44. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
  45. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
  46. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
  47. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
  48. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
  49. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
  50. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
  51. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
  52. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
  53. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
  54. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
  55. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
  56. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
  57. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
  58. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
  59. package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
  60. package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
  61. package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
  62. package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
  63. package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
  64. package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
  65. package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
  66. package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
  67. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
  68. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
  69. package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
  70. package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
  71. package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
  72. package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
  73. package/src/sap/ui/integration/designtime/cardEditor/config/AppConfig.js +0 -69
  74. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
  75. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
  76. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
  77. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
  78. package/src/sap/ui/integration/designtime/editor/CardEditor.js +36 -14
  79. package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -1
  80. package/src/sap/ui/integration/designtime/editor/CardResourceBundles.js +1 -1
  81. package/src/sap/ui/integration/designtime/editor/fields/BaseField.js +27 -15
  82. package/src/sap/ui/integration/designtime/editor/fields/BooleanField.js +1 -1
  83. package/src/sap/ui/integration/designtime/editor/fields/DateField.js +1 -1
  84. package/src/sap/ui/integration/designtime/editor/fields/DateTimeField.js +1 -1
  85. package/src/sap/ui/integration/designtime/editor/fields/DestinationField.js +1 -1
  86. package/src/sap/ui/integration/designtime/editor/fields/IntegerField.js +3 -2
  87. package/src/sap/ui/integration/designtime/editor/fields/ListField.js +60 -60
  88. package/src/sap/ui/integration/designtime/editor/fields/NumberField.js +3 -2
  89. package/src/sap/ui/integration/designtime/editor/fields/Settings.js +1 -1
  90. package/src/sap/ui/integration/designtime/editor/fields/StringField.js +3 -4
  91. package/src/sap/ui/integration/designtime/editor/fields/viz/ColorSelect.js +2 -1
  92. package/src/sap/ui/integration/designtime/editor/fields/viz/IconSelect.js +1 -1
  93. package/src/sap/ui/integration/designtime/editor/fields/viz/ShapeSelect.js +1 -1
  94. package/src/sap/ui/integration/library.js +4 -4
  95. package/src/sap/ui/integration/messagebundle_ar.properties +69 -55
  96. package/src/sap/ui/integration/messagebundle_bg.properties +69 -55
  97. package/src/sap/ui/integration/messagebundle_ca.properties +69 -55
  98. package/src/sap/ui/integration/messagebundle_cs.properties +69 -55
  99. package/src/sap/ui/integration/messagebundle_cy.properties +69 -55
  100. package/src/sap/ui/integration/messagebundle_da.properties +69 -55
  101. package/src/sap/ui/integration/messagebundle_de.properties +69 -55
  102. package/src/sap/ui/integration/messagebundle_el.properties +69 -55
  103. package/src/sap/ui/integration/messagebundle_en.properties +69 -55
  104. package/src/sap/ui/integration/messagebundle_en_GB.properties +69 -55
  105. package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +69 -55
  106. package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +69 -55
  107. package/src/sap/ui/integration/messagebundle_es.properties +69 -55
  108. package/src/sap/ui/integration/messagebundle_es_MX.properties +69 -55
  109. package/src/sap/ui/integration/messagebundle_et.properties +69 -55
  110. package/src/sap/ui/integration/messagebundle_fi.properties +69 -55
  111. package/src/sap/ui/integration/messagebundle_fr.properties +69 -55
  112. package/src/sap/ui/integration/messagebundle_fr_CA.properties +69 -55
  113. package/src/sap/ui/integration/messagebundle_hi.properties +69 -55
  114. package/src/sap/ui/integration/messagebundle_hr.properties +69 -55
  115. package/src/sap/ui/integration/messagebundle_hu.properties +69 -55
  116. package/src/sap/ui/integration/messagebundle_id.properties +69 -55
  117. package/src/sap/ui/integration/messagebundle_it.properties +69 -55
  118. package/src/sap/ui/integration/messagebundle_iw.properties +69 -55
  119. package/src/sap/ui/integration/messagebundle_ja.properties +69 -55
  120. package/src/sap/ui/integration/messagebundle_kk.properties +69 -55
  121. package/src/sap/ui/integration/messagebundle_ko.properties +69 -55
  122. package/src/sap/ui/integration/messagebundle_lt.properties +69 -55
  123. package/src/sap/ui/integration/messagebundle_lv.properties +69 -55
  124. package/src/sap/ui/integration/messagebundle_ms.properties +69 -55
  125. package/src/sap/ui/integration/messagebundle_nl.properties +69 -55
  126. package/src/sap/ui/integration/messagebundle_no.properties +69 -55
  127. package/src/sap/ui/integration/messagebundle_pl.properties +69 -55
  128. package/src/sap/ui/integration/messagebundle_pt.properties +69 -55
  129. package/src/sap/ui/integration/messagebundle_pt_PT.properties +69 -55
  130. package/src/sap/ui/integration/messagebundle_ro.properties +69 -55
  131. package/src/sap/ui/integration/messagebundle_ru.properties +69 -55
  132. package/src/sap/ui/integration/messagebundle_sh.properties +69 -55
  133. package/src/sap/ui/integration/messagebundle_sk.properties +69 -55
  134. package/src/sap/ui/integration/messagebundle_sl.properties +69 -55
  135. package/src/sap/ui/integration/messagebundle_sv.properties +69 -55
  136. package/src/sap/ui/integration/messagebundle_th.properties +69 -55
  137. package/src/sap/ui/integration/messagebundle_tr.properties +69 -55
  138. package/src/sap/ui/integration/messagebundle_uk.properties +69 -55
  139. package/src/sap/ui/integration/messagebundle_vi.properties +69 -55
  140. package/src/sap/ui/integration/messagebundle_zh_CN.properties +69 -55
  141. package/src/sap/ui/integration/messagebundle_zh_TW.properties +69 -55
  142. package/src/sap/ui/integration/model/ContextModel.js +1 -1
  143. package/src/sap/ui/integration/model/ObservableModel.js +1 -1
  144. package/src/sap/ui/integration/schemas/sap-card.json +248 -155
  145. package/src/sap/ui/integration/themes/base/CalendarContent.less +4 -2
  146. package/src/sap/ui/integration/themes/base/ListContentItem.less +92 -19
  147. package/src/sap/ui/integration/themes/base/Microchart.less +1 -1
  148. package/src/sap/ui/integration/thirdparty/webcomponents/bundle.es5.js +1 -1
  149. package/src/sap/ui/integration/thirdparty/webcomponents/bundle.esm.js +1 -1
  150. package/src/sap/ui/integration/util/BaseFactory.js +1 -1
  151. package/src/sap/ui/integration/util/BindingHelper.js +1 -1
  152. package/src/sap/ui/integration/util/BindingResolver.js +2 -2
  153. package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +12 -7
  154. package/src/sap/ui/integration/util/CardActions.js +5 -2
  155. package/src/sap/ui/integration/util/CardObserver.js +1 -1
  156. package/src/sap/ui/integration/util/ContentFactory.js +1 -1
  157. package/src/sap/ui/integration/util/DataProvider.js +1 -1
  158. package/src/sap/ui/integration/util/DataProviderFactory.js +1 -1
  159. package/src/sap/ui/integration/util/Destinations.js +1 -1
  160. package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
  161. package/src/sap/ui/integration/util/FilterBarFactory.js +1 -1
  162. package/src/sap/ui/integration/util/HeaderFactory.js +1 -1
  163. package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
  164. package/src/sap/ui/integration/util/LoadingProvider.js +6 -4
  165. package/src/sap/ui/integration/util/Manifest.js +1 -1
  166. package/src/sap/ui/integration/util/RequestDataProvider.js +1 -1
  167. package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
  168. package/src/sap/ui/integration/util/ServiceManager.js +1 -1
  169. package/src/sap/ui/integration/util/Utils.js +1 -1
  170. package/src/sap/ui/integration/widgets/Card.js +20 -15
  171. package/src/sap/ui/integration/widgets/CardRenderer.js +12 -8
  172. package/src/sap/ui/integration/util/FooterFactory.js +0 -114
@@ -16,7 +16,7 @@ sap.ui.define(["sap/ui/integration/thirdparty/adaptivecards"], function (Adaptiv
16
16
  * <code>ui5-input</code> or <code>ui5-textarea<code> UI5 web component.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.92.0
19
+ * @version 1.93.3
20
20
  *
21
21
  * @private
22
22
  * @since 1.74
@@ -16,7 +16,7 @@ sap.ui.define(["sap/ui/integration/thirdparty/adaptivecards"], function (Adaptiv
16
16
  * <code>ui5-checkbox</code> web component.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.92.0
19
+ * @version 1.93.3
20
20
  *
21
21
  * @private
22
22
  * @since 1.74
@@ -0,0 +1,184 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2021 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
+ "../library",
9
+ "sap/m/library",
10
+ "sap/ui/core/Core",
11
+ "sap/ui/core/Control",
12
+ "sap/ui/integration/util/CardActions",
13
+ "sap/ui/integration/util/BindingHelper",
14
+ "sap/m/Button",
15
+ "sap/m/OverflowToolbarButton",
16
+ "sap/m/OverflowToolbar",
17
+ "sap/m/OverflowToolbarLayoutData",
18
+ "sap/m/ToolbarSpacer"
19
+ ], function (
20
+ library,
21
+ mLibrary,
22
+ Core,
23
+ Control,
24
+ CardActions,
25
+ BindingHelper,
26
+ Button,
27
+ OverflowToolbarButton,
28
+ OverflowToolbar,
29
+ OverflowToolbarLayoutData,
30
+ ToolbarSpacer
31
+ ) {
32
+ "use strict";
33
+
34
+ var ToolbarStyle = mLibrary.ToolbarStyle;
35
+
36
+ var ActionArea = library.CardActionArea;
37
+
38
+ /**
39
+ * Constructor for a new ActionsStrip.
40
+ *
41
+ * @param {string} [sId] ID for the new control, generated automatically if no ID is given
42
+ * @param {object} [mSettings] Initial settings for the new control
43
+ *
44
+ * @class
45
+ *
46
+ * @extends sap.ui.core.Control
47
+ *
48
+ * @author SAP SE
49
+ * @version 1.93.3
50
+ *
51
+ * @constructor
52
+ * @private
53
+ * @since 1.93
54
+ * @alias sap.ui.integration.controls.ActionsStrip
55
+ */
56
+ var ActionsStrip = Control.extend("sap.ui.integration.controls.ActionsStrip", {
57
+ metadata: {
58
+ library: "sap.ui.integration",
59
+ properties: {
60
+
61
+ },
62
+ aggregations: {
63
+ /**
64
+ * The toolbar.
65
+ * @private
66
+ */
67
+ _toolbar: {
68
+ type: "sap.m.OverflowToolbar",
69
+ multiple: false
70
+ }
71
+ },
72
+ associations : {
73
+ /**
74
+ * The card.
75
+ */
76
+ card: {
77
+ type : "sap.ui.integration.widgets.Card",
78
+ multiple: false
79
+ }
80
+ }
81
+ },
82
+ renderer: {
83
+ apiVersion: 2,
84
+ render: function (oRm, oControl) {
85
+ oRm.openStart("div", oControl)
86
+ .class("sapUiIntActionsStrip")
87
+ .openEnd();
88
+
89
+ oRm.renderControl(oControl._getToolbar());
90
+
91
+ oRm.close("div");
92
+ }
93
+ }
94
+ });
95
+
96
+ ActionsStrip.prototype._getToolbar = function () {
97
+ var oToolbar = this.getAggregation("_toolbar");
98
+ if (!oToolbar) {
99
+ oToolbar = new OverflowToolbar({
100
+ style: ToolbarStyle.Clear
101
+ });
102
+ this.setAggregation("_toolbar", oToolbar);
103
+ }
104
+
105
+ return oToolbar;
106
+ };
107
+
108
+ ActionsStrip.prototype._initButtons = function (aButtons) {
109
+ if (!aButtons || !aButtons.length) {
110
+ return null;
111
+ }
112
+
113
+ var oToolbar = this._getToolbar(),
114
+ oCard = Core.byId(this.getCard()),
115
+ oActions = new CardActions({
116
+ card: oCard
117
+ }),
118
+ bHasSpacer = false;
119
+
120
+ aButtons = BindingHelper.createBindingInfos(aButtons, oCard.getBindingNamespaces());
121
+
122
+ aButtons.forEach(function (mConfig) {
123
+ if (mConfig.type === "ToolbarSpacer") {
124
+ bHasSpacer = true;
125
+ oToolbar.addContent(new ToolbarSpacer());
126
+ return;
127
+ }
128
+
129
+ var aActions = mConfig.actions,
130
+ oOverflow = new OverflowToolbarLayoutData({
131
+ group: mConfig.overflowGroup,
132
+ priority: mConfig.overflowPriority
133
+ }),
134
+ oButton;
135
+
136
+ if (mConfig.icon) {
137
+ oButton = new OverflowToolbarButton({
138
+ icon: mConfig.icon,
139
+ text: mConfig.text || mConfig.tooltip,
140
+ tooltip: mConfig.tooltip || mConfig.text,
141
+ type: mConfig.buttonType,
142
+ ariaHasPopup: mConfig.ariaHasPopup,
143
+ enabled: mConfig.enabled,
144
+ visible: mConfig.visible
145
+ });
146
+ } else {
147
+ oButton = new Button({
148
+ text: mConfig.text,
149
+ tooltip: mConfig.tooltip,
150
+ type: mConfig.buttonType,
151
+ ariaHasPopup: mConfig.ariaHasPopup,
152
+ enabled: mConfig.enabled,
153
+ visible: mConfig.visible
154
+ });
155
+ }
156
+
157
+ oButton.setLayoutData(oOverflow);
158
+
159
+ oActions.attach({
160
+ area: ActionArea.ActionsStrip,
161
+ control: oButton,
162
+ actions: aActions,
163
+ enabledPropertyName: "enabled"
164
+ });
165
+
166
+ oToolbar.addContent(oButton);
167
+ });
168
+
169
+ if (!bHasSpacer) {
170
+ oToolbar.insertContent(new ToolbarSpacer(), 0);
171
+ }
172
+ };
173
+
174
+ ActionsStrip.create = function (oCard, aButtons) {
175
+ var oActionsStrip = new ActionsStrip({
176
+ card: oCard
177
+ });
178
+ oActionsStrip._initButtons(aButtons);
179
+
180
+ return oActionsStrip;
181
+ };
182
+
183
+ return ActionsStrip;
184
+ });
@@ -76,7 +76,7 @@ sap.ui.define([
76
76
  * @extends sap.ui.core.Control
77
77
  *
78
78
  * @author SAP SE
79
- * @version 1.92.0
79
+ * @version 1.93.3
80
80
  *
81
81
  * @constructor
82
82
  * @private
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.StandardListItem
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.92.0
33
+ * @version 1.93.3
34
34
  *
35
35
  * @constructor
36
36
  * @private
@@ -73,6 +73,8 @@ sap.ui.define([
73
73
  aggregations: {
74
74
  microchart: { type: "sap.ui.integration.controls.Microchart", multiple: false },
75
75
 
76
+ actionsStrip: { type: "sap.ui.integration.controls.ActionsStrip", multiple: false },
77
+
76
78
  /**
77
79
  * Defines the inner avatar control.
78
80
  */
@@ -6,8 +6,13 @@
6
6
 
7
7
  sap.ui.define([
8
8
  "sap/ui/core/Renderer",
9
+ "sap/ui/core/Core",
10
+ "sap/ui/Device",
9
11
  "sap/m/StandardListItemRenderer"
10
- ], function(Renderer, StandardListItemRenderer) {
12
+ ], function(Renderer,
13
+ Core,
14
+ Device,
15
+ StandardListItemRenderer) {
11
16
  "use strict";
12
17
 
13
18
  /**
@@ -69,13 +74,98 @@ sap.ui.define([
69
74
  this.renderInfo(rm, oLI);
70
75
  }
71
76
 
72
- if (oLI.getMicrochart()) {
73
- rm.renderControl(oLI.getMicrochart());
77
+ rm.close("div");
78
+ };
79
+
80
+ /**
81
+ * Renders the HTML for the given control, using the provided.
82
+ *
83
+ * {@link sap.ui.core.RenderManager}.
84
+ *
85
+ * @param {sap.ui.core.RenderManager} rm The RenderManager that can be used for writing to the Render-Output-Buffer.
86
+ * @param {sap.ui.core.Control} oLI an object representation of the control that should be rendered.
87
+ * @public
88
+ */
89
+ ListContentItemRenderer.render = function(rm, oLI) {
90
+ // render invisible placeholder
91
+ if (!oLI.getVisible()) {
92
+ this.renderInvisible(rm, oLI);
93
+ return;
94
+ }
95
+
96
+ // start
97
+ this.openItemTag(rm, oLI);
98
+
99
+ // classes
100
+ rm.class("sapMLIB");
101
+ rm.class("sapMLIB-CTX");
102
+ rm.class("sapMLIBShowSeparator");
103
+ rm.class("sapMLIBType" + oLI.getType());
104
+ rm.class("sapMLIB");
105
+
106
+ if (Device.system.desktop && oLI.isActionable()) {
107
+ rm.class("sapMLIBActionable");
108
+ rm.class("sapMLIBHoverable");
109
+ }
110
+
111
+ if (oLI.getSelected()) {
112
+ rm.class("sapMLIBSelected");
113
+ }
114
+
115
+ if (oLI.getListProperty("showUnread") && oLI.getUnread()) {
116
+ rm.class("sapMLIBUnread");
117
+ }
118
+
119
+ this.addFocusableClasses(rm, oLI);
120
+
121
+ // attributes
122
+ this.renderTooltip(rm, oLI);
123
+ this.renderTabIndex(rm, oLI);
124
+
125
+ // handle accessibility states
126
+ if (Core.getConfiguration().getAccessibility()) {
127
+ rm.accessibilityState(oLI, this.getAccessibilityState(oLI));
128
+ }
129
+
130
+ // item attributes hook
131
+ this.renderLIAttributes(rm, oLI);
132
+
133
+ rm.openEnd();
134
+
135
+ this.renderContentFormer(rm, oLI);
136
+ this.renderLIContentWrapper(rm, oLI);
137
+ this.renderContentLatter(rm, oLI);
138
+
139
+ this.renderFooter(rm, oLI);
140
+
141
+ this.closeItemTag(rm, oLI);
142
+ };
143
+
144
+ ListContentItemRenderer.renderFooter = function(rm, oLI) {
145
+
146
+ var oMicrochart = oLI.getMicrochart(),
147
+ oActionsStrip = oLI.getActionsStrip();
148
+
149
+ if (!oMicrochart && !oActionsStrip) {
150
+ return;
151
+ }
152
+
153
+ rm.openStart("div")
154
+ .class("sapUiIntLCIFooter")
155
+ .openEnd();
156
+
157
+ if (oMicrochart) {
158
+ rm.renderControl(oMicrochart);
159
+ }
160
+
161
+ if (oActionsStrip) {
162
+ rm.renderControl(oActionsStrip);
74
163
  }
75
164
 
76
165
  rm.close("div");
77
166
  };
78
167
 
168
+
79
169
  return ListContentItemRenderer;
80
170
 
81
171
  }, /* bExport= */ true);
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.92.0
35
+ * @version 1.93.3
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.92.0
35
+ * @version 1.93.3
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -128,7 +128,7 @@ sap.ui.define([
128
128
  * @alias sap.ui.integration.designtime.baseEditor.BaseEditor
129
129
  * @author SAP SE
130
130
  * @since 1.70.0
131
- * @version 1.92.0
131
+ * @version 1.93.3
132
132
  * @private
133
133
  * @experimental since 1.70.0
134
134
  * @ui5-restricted
@@ -154,7 +154,7 @@ sap.ui.define([
154
154
  * config.properties.<key>.path {string} that will be changed, relative to the context. Example: If the context is <code>root</code> and the path is <code>header/name</code>, the <code>json.root.header.name</code> field is to be changed
155
155
  * config.properties.<key>.value {string|boolean} (Optional) value of the property. A binding relative to the context (model name) should be used. Example: <code>{context>header/name}</code> will create a binding <code>json.root.header.name</code>
156
156
  * config.properties.<key>.tags {array} Strings to categorize the property
157
- * config.properties.<key>.visible {string|boolean} Should be used as a binding relative to the context to define the conditions under which this property should be changeable, e.g. <code>{= ${context>anotherProperty} === 'someValue'}</code>
157
+ * config.properties.<key>.visible {string|boolean} Should be used as a binding relative to the context to define the conditions under which the editor for this property should be visible, e.g. <code>{= ${context>anotherProperty} === 'someValue'}</code>. Invisible editors won't receive value updates until they are activated again.
158
158
  * config.properties.<key>.<other configurations> {any} It is possible to define additional configurations in this namespace. These configurations will be passed to the dedicated property editor. Binding strings relative to context model are supported as well, e.g. <code>{= ${context>someProperty} + ${context>anotherProperty}}</code>
159
159
  * config.propertyEditors {Object<string,string>} Defines which property editors should be loaded. Key is the property type and value is the editor module path. Example: <code>propertyEditors: {"string": "sap/ui/integration/designtime/controls/propertyEditors/StringEditor"}</code> defines the module responsible for all properties with the type <code>string</code>
160
160
  * config.i18n {string|array} Module path or array of paths for i18n property files. i18n binding, for example, <code>{i18n>key}</code> is available in the <code>/properties<code> section, e.g. for <code>label</code>
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @alias sap.ui.integration.designtime.baseEditor.PropertyEditor
38
38
  * @author SAP SE
39
39
  * @since 1.73.0
40
- * @version 1.92.0
40
+ * @version 1.93.3
41
41
  * @private
42
42
  * @experimental since 1.73.0
43
43
  * @ui5-restricted
@@ -274,6 +274,10 @@ sap.ui.define([
274
274
  this._initPropertyEditor();
275
275
  } else {
276
276
  oNestedEditor.setConfig(oConfig);
277
+ if (oConfig.visible !== false && oPreviousConfig.visible === false) {
278
+ // If editor just got activated, make sure the value is up-to-date
279
+ oNestedEditor.setValue(this.getValue());
280
+ }
277
281
  }
278
282
  });
279
283
 
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @alias sap.ui.integration.designtime.baseEditor.PropertyEditors
68
68
  * @author SAP SE
69
69
  * @since 1.73.0
70
- * @version 1.92.0
70
+ * @version 1.93.3
71
71
  * @private
72
72
  * @experimental since 1.73.0
73
73
  * @ui5-restricted
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.BasePropertyEditor
53
53
  * @author SAP SE
54
54
  * @since 1.70
55
- * @version 1.92.0
55
+ * @version 1.93.3
56
56
  *
57
57
  * @private
58
58
  * @experimental 1.70
@@ -317,6 +317,12 @@ sap.ui.define([
317
317
  var oConfig = this.getConfig() || {};
318
318
  var vNextValue = vValue;
319
319
 
320
+ // If the editor is not visible, don't allow setting new values
321
+ // to avoid unwanted updates and side effects like validation failures
322
+ if (oConfig.visible === false) {
323
+ return;
324
+ }
325
+
320
326
  if (typeof vNextValue === "undefined" && typeof oConfig.defaultValue !== "undefined") {
321
327
  vNextValue = deepClone(oConfig.defaultValue);
322
328
  }
@@ -488,7 +494,7 @@ sap.ui.define([
488
494
  * @param {string} sErrorMessage - Error message
489
495
  */
490
496
  BasePropertyEditor.prototype.setInputState = function (bHasError, sErrorMessage) {
491
- this._sErrorMessage = sErrorMessage;
497
+ this._sErrorMessage = bHasError && sErrorMessage;
492
498
  if (this.isReady()) {
493
499
  this._setInputState();
494
500
  }
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @namespace sap.ui.integration.designtime.baseEditor.propertyEditor.PropertyEditorFactory
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.92.0
22
+ * @version 1.93.3
23
23
  *
24
24
  * @static
25
25
  * @since 1.75
@@ -98,10 +98,12 @@ sap.ui.define([
98
98
  PropertyEditorFactory.create = function (sPropertyType) {
99
99
  return new Promise(function (resolve, reject) {
100
100
  if (!sPropertyType) {
101
- return reject("No editor type was specified in the property configuration.");
101
+ reject("No editor type was specified in the property configuration.");
102
+ return;
102
103
  }
103
104
  if (!oLoadingPromisses[sPropertyType]) {
104
- return reject("Editor type was not registered");
105
+ reject("Editor type was not registered");
106
+ return;
105
107
  }
106
108
  oLoadingPromisses[sPropertyType]
107
109
  .then(function (PropertyEditorClass) {
@@ -82,7 +82,7 @@ sap.ui.define([
82
82
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.arrayEditor.ArrayEditor
83
83
  * @author SAP SE
84
84
  * @since 1.72
85
- * @version 1.92.0
85
+ * @version 1.93.3
86
86
  *
87
87
  * @private
88
88
  * @experimental 1.72
@@ -140,7 +140,7 @@ sap.ui.define([
140
140
  var oConfig = this.getConfig();
141
141
 
142
142
  var aItems = [];
143
- aValue.forEach(function(oValue, iIndex) {
143
+ (aValue || []).forEach(function(oValue, iIndex) {
144
144
  var oValueCopy = deepClone(oValue);
145
145
  var oDesigntimeMetadata = this.getNestedDesigntimeMetadata(iIndex);
146
146
  var mItem = {
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.booleanEditor.BooleanEditor
25
25
  * @author SAP SE
26
26
  * @since 1.72
27
- * @version 1.92.0
27
+ * @version 1.93.3
28
28
  *
29
29
  * @private
30
30
  * @experimental 1.72
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.dateEditor.DateEditor
23
23
  * @author SAP SE
24
24
  * @since 1.76
25
- * @version 1.92.0
25
+ * @version 1.93.3
26
26
  *
27
27
  * @private
28
28
  * @experimental 1.76
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.dateTimeEditor.DateTimeEditor
25
25
  * @author SAP SE
26
26
  * @since 1.76
27
- * @version 1.92.0
27
+ * @version 1.93.3
28
28
  *
29
29
  * @private
30
30
  * @experimental 1.76
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.enumStringEditor.EnumStringEditor
48
48
  * @author SAP SE
49
49
  * @since 1.70
50
- * @version 1.92.0
50
+ * @version 1.93.3
51
51
  *
52
52
  * @private
53
53
  * @experimental 1.70
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.groupEditor.GroupEditor
48
48
  * @author SAP SE
49
49
  * @since 1.85
50
- * @version 1.92.0
50
+ * @version 1.93.3
51
51
  *
52
52
  * @private
53
53
  * @experimental 1.85
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.iconEditor.IconEditor
43
43
  * @author SAP SE
44
44
  * @since 1.70
45
- * @version 1.92.0
45
+ * @version 1.93.3
46
46
  *
47
47
  * @private
48
48
  * @experimental 1.70
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  *
20
20
  * @namespace sap.ui.integration.designtime.baseEditor.propertyEditor.iconEditor.IsInIconPool
21
21
  * @author SAP SE
22
- * @version 1.92.0
22
+ * @version 1.93.3
23
23
  *
24
24
  * @static
25
25
  * @since 1.81
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.integerEditor.IntegerEditor
25
25
  * @author SAP SE
26
26
  * @since 1.76
27
- * @version 1.92.0
27
+ * @version 1.93.3
28
28
  *
29
29
  * @private
30
30
  * @experimental 1.76
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.jsonEditor.JsonEditor
25
25
  * @author SAP SE
26
26
  * @since 1.72
27
- * @version 1.92.0
27
+ * @version 1.93.3
28
28
  *
29
29
  * @private
30
30
  * @experimental 1.72
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.listEditor.ListEditor
23
23
  * @author SAP SE
24
24
  * @since 1.76
25
- * @version 1.92.0
25
+ * @version 1.93.3
26
26
  *
27
27
  * @private
28
28
  * @experimental 1.76
@@ -94,7 +94,7 @@ sap.ui.define([
94
94
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.mapEditor.MapEditor
95
95
  * @author SAP SE
96
96
  * @since 1.74
97
- * @version 1.92.0
97
+ * @version 1.93.3
98
98
  *
99
99
  * @private
100
100
  * @experimental 1.74
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.numberEditor.NumberEditor
29
29
  * @author SAP SE
30
30
  * @since 1.72
31
- * @version 1.92.0
31
+ * @version 1.93.3
32
32
  *
33
33
  * @private
34
34
  * @experimental 1.72
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.selectEditor.SelectEditor
48
48
  * @author SAP SE
49
49
  * @since 1.81
50
- * @version 1.92.0
50
+ * @version 1.93.3
51
51
  *
52
52
  * @private
53
53
  * @experimental 1.81
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.separatorEditor.SeparatorEditor
48
48
  * @author SAP SE
49
49
  * @since 1.91
50
- * @version 1.92.0
50
+ * @version 1.93.3
51
51
  *
52
52
  * @private
53
53
  * @experimental 1.91
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.stringEditor.StringEditor
62
62
  * @author SAP SE
63
63
  * @since 1.70
64
- * @version 1.92.0
64
+ * @version 1.93.3
65
65
  *
66
66
  * @private
67
67
  * @experimental 1.70
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @alias sap.ui.integration.designtime.baseEditor.propertyEditor.textAreaEditor.TextAreaEditor
54
54
  * @author SAP SE
55
55
  * @since 1.85
56
- * @version 1.92.0
56
+ * @version 1.93.3
57
57
  *
58
58
  * @private
59
59
  * @experimental 1.85
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @alias sap.ui.integration.designtime.baseEditor.util.ObjectBinding
32
32
  * @author SAP SE
33
33
  * @since 1.70.0
34
- * @version 1.92.0
34
+ * @version 1.93.3
35
35
  * @private
36
36
  * @experimental since 1.70.0
37
37
  */
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @alias module:sap/ui/integration/designtime/baseEditor/util/unset
60
60
  * @author SAP SE
61
61
  * @since 1.76
62
- * @version 1.92.0
62
+ * @version 1.93.3
63
63
  *
64
64
  * @private
65
65
  * @experimental 1.76