@openui5/sap.ui.integration 1.128.0 → 1.129.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 (150) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +7 -7
  3. package/src/sap/ui/integration/.library +1 -1
  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 +13 -1
  7. package/src/sap/ui/integration/Host.js +13 -1
  8. package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
  9. package/src/sap/ui/integration/cards/AnalyticalContent.js +1 -1
  10. package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
  11. package/src/sap/ui/integration/cards/BaseContent.js +1 -1
  12. package/src/sap/ui/integration/cards/BaseListContent.js +1 -1
  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 +1 -1
  17. package/src/sap/ui/integration/cards/ListContent.js +2 -1
  18. package/src/sap/ui/integration/cards/NumericHeader.js +1 -1
  19. package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
  20. package/src/sap/ui/integration/cards/TableContent.js +1 -1
  21. package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
  22. package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
  23. package/src/sap/ui/integration/cards/actions/CardActions.js +6 -2
  24. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +1 -1
  25. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +1 -1
  26. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +1 -1
  27. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +1 -1
  28. package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +1 -1
  29. package/src/sap/ui/integration/cards/filters/BaseFilter.js +8 -4
  30. package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +14 -4
  31. package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +1 -1
  32. package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
  33. package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +1 -1
  34. package/src/sap/ui/integration/cards/filters/SearchFilter.js +1 -1
  35. package/src/sap/ui/integration/cards/filters/SelectFilter.js +5 -1
  36. package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +1 -1
  37. package/src/sap/ui/integration/controls/ActionsStrip.js +1 -1
  38. package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
  39. package/src/sap/ui/integration/controls/BlockingMessage.js +1 -1
  40. package/src/sap/ui/integration/controls/ComboBox.js +47 -0
  41. package/src/sap/ui/integration/controls/ImageWithOverlay.js +1 -1
  42. package/src/sap/ui/integration/controls/ListContentItem.js +7 -4
  43. package/src/sap/ui/integration/controls/ListContentItemRenderer.js +4 -4
  44. package/src/sap/ui/integration/controls/Microchart.js +1 -1
  45. package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
  46. package/src/sap/ui/integration/controls/ObjectStatus.js +26 -1
  47. package/src/sap/ui/integration/controls/Paginator.js +1 -1
  48. package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
  49. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -1
  50. package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
  51. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
  52. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
  53. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
  54. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
  55. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +1 -1
  56. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
  57. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
  58. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
  59. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
  60. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
  61. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
  62. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
  63. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
  64. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
  65. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
  66. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +1 -1
  67. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
  68. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +1 -1
  69. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
  70. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
  71. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
  72. package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
  73. package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
  74. package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
  75. package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
  76. package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
  77. package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
  78. package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
  79. package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
  80. package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
  81. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
  82. package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
  83. package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
  84. package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
  85. package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
  86. package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
  87. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
  88. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
  89. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +1 -1
  90. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
  91. package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
  92. package/src/sap/ui/integration/designtime/editor/Card.js +1 -1
  93. package/src/sap/ui/integration/designtime/editor/CardEditor.js +1 -1
  94. package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -1
  95. package/src/sap/ui/integration/editor/Editor.js +104 -82
  96. package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
  97. package/src/sap/ui/integration/editor/Extension.js +1 -1
  98. package/src/sap/ui/integration/editor/Manifest.js +1 -1
  99. package/src/sap/ui/integration/editor/Settings.js +1 -1
  100. package/src/sap/ui/integration/editor/fields/BaseField.js +1 -1
  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 +1 -1
  109. package/src/sap/ui/integration/editor/fields/ObjectListField.js +1 -1
  110. package/src/sap/ui/integration/editor/fields/StringField.js +1 -1
  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 +1 -1
  115. package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +1 -1
  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 -1
  118. package/src/sap/ui/integration/extensions/OAuth3LO.js +1 -1
  119. package/src/sap/ui/integration/library.js +2 -2
  120. package/src/sap/ui/integration/model/ContextModel.js +1 -1
  121. package/src/sap/ui/integration/model/ObservableModel.js +1 -1
  122. package/src/sap/ui/integration/model/PagingModelListBinding.js +1 -1
  123. package/src/sap/ui/integration/schemas/sap-card.json +12 -0
  124. package/src/sap/ui/integration/util/AnalyticsCloudHelper.js +1 -1
  125. package/src/sap/ui/integration/util/BaseFactory.js +1 -1
  126. package/src/sap/ui/integration/util/BindingHelper.js +1 -1
  127. package/src/sap/ui/integration/util/BindingResolver.js +1 -1
  128. package/src/sap/ui/integration/util/CardObserver.js +1 -1
  129. package/src/sap/ui/integration/util/ComboBoxHelper.js +1 -1
  130. package/src/sap/ui/integration/util/ContentFactory.js +1 -1
  131. package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
  132. package/src/sap/ui/integration/util/DataProvider.js +6 -2
  133. package/src/sap/ui/integration/util/DataProviderFactory.js +6 -6
  134. package/src/sap/ui/integration/util/Destinations.js +3 -2
  135. package/src/sap/ui/integration/util/DisplayVariants.js +1 -1
  136. package/src/sap/ui/integration/util/ErrorHandler.js +1 -1
  137. package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
  138. package/src/sap/ui/integration/util/Form.js +1 -1
  139. package/src/sap/ui/integration/util/HeaderFactory.js +1 -1
  140. package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
  141. package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
  142. package/src/sap/ui/integration/util/Manifest.js +1 -1
  143. package/src/sap/ui/integration/util/OAuth3LOHelper.js +1 -1
  144. package/src/sap/ui/integration/util/RequestDataProvider.js +1 -1
  145. package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
  146. package/src/sap/ui/integration/util/ServiceManager.js +1 -1
  147. package/src/sap/ui/integration/util/SkeletonCard.js +1 -1
  148. package/src/sap/ui/integration/util/Utils.js +1 -1
  149. package/src/sap/ui/integration/util/Validators.js +1 -1
  150. package/src/sap/ui/integration/widgets/Card.js +20 -3
@@ -133,7 +133,7 @@ sap.ui.define([
133
133
  * @extends sap.ui.core.Control
134
134
  *
135
135
  * @author SAP SE
136
- * @version 1.128.0
136
+ * @version 1.129.0
137
137
  * @constructor
138
138
  * @since 1.94
139
139
  * @private
@@ -890,7 +890,7 @@ sap.ui.define([
890
890
  * @experimental since 1.94
891
891
  * @public
892
892
  * @author SAP SE
893
- * @version 1.128.0
893
+ * @version 1.129.0
894
894
  * @borrows sap.ui.integration.editor.Editor#getParameters as getParameters
895
895
  * @borrows sap.ui.integration.editor.Editor#resolveDestination as resolveDestination
896
896
  * @borrows sap.ui.integration.editor.Editor#request as request
@@ -1512,59 +1512,66 @@ sap.ui.define([
1512
1512
  //but we need to save the setting changes for the next layer, so remove the continue sentence.
1513
1513
  //continue;
1514
1514
  } else {
1515
- if (oItem.valueItems) {
1515
+ if (oItem.valueItems && !deepEqual(this._beforeLayerManifestChanges[oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueItems"], oItem.valueItems)) {
1516
1516
  mResult[oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueItems"] = oItem.valueItems;
1517
1517
  }
1518
- if (oItem.valueTokens) {
1518
+ if (oItem.valueTokens && !deepEqual(this._beforeLayerManifestChanges[oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueTokens"], oItem.valueTokens)) {
1519
1519
  mResult[oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueTokens"] = oItem.valueTokens;
1520
1520
  }
1521
- switch (oItem.type) {
1522
- case "string":
1523
- if (!oItem.translatable) {
1524
- mResult[oItem.manifestpath] = oItem.value;
1525
- } else if (oItem._hasDynamicValue) {
1526
- // if value is dynamic value of a translatable parameter, save it and delete all the current translations
1527
- mResult[oItem.manifestpath] = oItem.value;
1528
- this.deleteAllTranslationValuesInTexts(oItem.manifestpath);
1529
- } else if (oItem._beforeValue && (oItem._beforeValue.indexOf("{context>") === 0 || oItem._beforeValue.indexOf("{{parameters") === 0)) {
1530
- // if before value is dynamic value of a translatable parameter, save it
1531
- mResult[oItem.manifestpath] = oItem.value;
1532
- }
1533
- break;
1534
- case "group":
1535
- break;
1536
- case "object":
1537
- if (oItem.value && oItem.value !== "" && typeof oItem.value === "object") {
1538
- mResult[oItem.manifestpath] = oItem.value;
1539
- }
1540
- break;
1541
- case "object[]":
1542
- if (Array.isArray(oItem.value)) {
1543
- var aValue = deepClone(oItem.value, 500);
1544
- // sort the value list according by the position value
1545
- aValue = aValue.sort(function (a, b) {
1546
- // if _position property not exists, do nothing
1547
- if (!a._dt || !a._dt._position || !b._dt || !b._dt._position) {
1548
- return 0;
1521
+ if (typeof oItem.value !== "undefined" && !deepEqual(this._beforeLayerManifestChanges[oItem.manifestpath], oItem.value)) {
1522
+ switch (oItem.type) {
1523
+ case "string":
1524
+ if (!oItem.translatable) {
1525
+ mResult[oItem.manifestpath] = oItem.value;
1526
+ } else if (oItem._hasDynamicValue) {
1527
+ // if value is dynamic value of a translatable parameter, save it and delete all the current translations
1528
+ mResult[oItem.manifestpath] = oItem.value;
1529
+ this.deleteAllTranslationValuesInTexts(oItem.manifestpath);
1530
+ } else if (oItem._beforeValue && (oItem._beforeValue.indexOf("{context>") === 0 || oItem._beforeValue.indexOf("{{parameters") === 0)) {
1531
+ // if before value is dynamic value of a translatable parameter, save it
1532
+ mResult[oItem.manifestpath] = oItem.value;
1533
+ }
1534
+ break;
1535
+ case "group":
1536
+ break;
1537
+ case "object":
1538
+ if (oItem.value && oItem.value !== "" && typeof oItem.value === "object") {
1539
+ mResult[oItem.manifestpath] = oItem.value;
1540
+ }
1541
+ break;
1542
+ case "object[]":
1543
+ if (Array.isArray(oItem.value)) {
1544
+ var aValue = deepClone(oItem.value, 500);
1545
+ // sort the value list according by the position value
1546
+ aValue = aValue.sort(function (a, b) {
1547
+ // if _position property not exists, do nothing
1548
+ if (!a._dt || !a._dt._position || !b._dt || !b._dt._position) {
1549
+ return 0;
1550
+ }
1551
+ return a._dt._position - b._dt._position;
1552
+ });
1553
+ // recount the position value
1554
+ for (var i = 0; i < aValue.length; i++) {
1555
+ var oValue = aValue[i];
1556
+ oValue._dt = oValue._dt || {};
1557
+ oValue._dt._position = i + 1;
1549
1558
  }
1550
- return a._dt._position - b._dt._position;
1551
- });
1552
- // recount the position value
1553
- for (var i = 0; i < aValue.length; i++) {
1554
- var oValue = aValue[i];
1555
- oValue._dt = oValue._dt || {};
1556
- oValue._dt._position = i + 1;
1559
+ mResult[oItem.manifestpath] = aValue;
1557
1560
  }
1558
- mResult[oItem.manifestpath] = aValue;
1559
- }
1560
- break;
1561
- default:
1562
- mResult[oItem.manifestpath] = oItem.value;
1561
+ break;
1562
+ default:
1563
+ mResult[oItem.manifestpath] = oItem.value;
1564
+ }
1563
1565
  }
1564
1566
  }
1565
1567
  } else if (oItem.translatable && oItem.value) {
1566
- //in translation mode create an entry if there is a value
1567
- mResult[oItem.manifestpath] = oItem.value;
1568
+ if (oItem._changed) {
1569
+ //in translation mode create an entry if value changes
1570
+ mResult[oItem.manifestpath] = oItem.value;
1571
+ } else if (this._currentLayerManifestChanges && this._currentLayerManifestChanges.texts && this._currentLayerManifestChanges.texts[this._language] && this._currentLayerManifestChanges.texts[this._language][oItem.manifestpath]) {
1572
+ //if translation layer has changed value before, save it again
1573
+ mResult[oItem.manifestpath] = this._currentLayerManifestChanges.texts[this._language][oItem.manifestpath];
1574
+ }
1568
1575
  }
1569
1576
  if (oItem._next && (this.getAllowSettings())) {
1570
1577
  if (oItem.type === "destination") {
@@ -1602,50 +1609,65 @@ sap.ui.define([
1602
1609
  delete mResult.texts;
1603
1610
  } else if (oSettings.texts) {
1604
1611
  mResult.texts = deepClone(oSettings.texts, 500) || {};
1605
- // Clean the translations of object or object list field :
1606
- // - remove the translations if the object is not exist in value
1607
- for (var language in mResult.texts){
1608
- for (var key in mResult.texts[language]) {
1609
- if (typeof mResult.texts[language][key] === "object") {
1610
- var vValue = mResult[key];
1611
- if (!vValue || typeof vValue !== "object" || deepEqual(vValue, {}) || deepEqual(vValue, [])) {
1612
- delete mResult.texts[language][key];
1613
- } else if (Array.isArray(vValue)) {
1614
- // get all the uuids in value list of object list field
1615
- var aUUIDs = vValue.map(function (oObject) {
1616
- return oObject._dt ? oObject._dt._uuid || "" : "";
1617
- });
1618
- // delete translation texts if uuid not included in value list
1619
- for (var uuid in mResult.texts[language][key]) {
1620
- if (!aUUIDs.includes(uuid)) {
1621
- delete mResult.texts[language][key][uuid];
1622
- }
1623
- }
1624
- } else {
1625
- // get the uuid in the object value of object field
1626
- var sUUID = vValue._dt ? vValue._dt._uuid || "" : "";
1627
- if (sUUID !== "") {
1628
- // only save the translation texts of current uuid
1629
- var oTranslation = mResult.texts[language][key][sUUID];
1630
- if (!oTranslation) {
1612
+ // get the before layer translation texts
1613
+ var beforeLayerTexts = merge({}, this._beforeLayerManifestChanges.texts);
1614
+ if (deepEqual(beforeLayerTexts, mResult.texts)) {
1615
+ // if no change, DO NOT return the transtalion texts
1616
+ delete mResult.texts;
1617
+ } else {
1618
+ // Clean the translations of object or object list field :
1619
+ // - remove the translations if the object is not exist in value
1620
+ for (var language in mResult.texts){
1621
+ if (deepEqual(beforeLayerTexts[language], mResult.texts[language])) {
1622
+ // if no change, DO NOT return the transtalion texts of current language
1623
+ delete mResult.texts[language];
1624
+ } else {
1625
+ for (var key in mResult.texts[language]) {
1626
+ if (beforeLayerTexts[language] && deepEqual(beforeLayerTexts[language][key], mResult.texts[language][key])) {
1627
+ // if no change, DO NOT return the transtalion texts of the manifest path of current language
1628
+ delete mResult.texts[language][key];
1629
+ } else if (typeof mResult.texts[language][key] === "object") {
1630
+ var vValue = mResult[key];
1631
+ if (!vValue || typeof vValue !== "object" || deepEqual(vValue, {}) || deepEqual(vValue, [])) {
1631
1632
  delete mResult.texts[language][key];
1633
+ } else if (Array.isArray(vValue)) {
1634
+ // get all the uuids in value list of object list field
1635
+ var aUUIDs = vValue.map(function (oObject) {
1636
+ return oObject._dt ? oObject._dt._uuid || "" : "";
1637
+ });
1638
+ // delete translation texts if uuid not included in value list
1639
+ for (var uuid in mResult.texts[language][key]) {
1640
+ if (!aUUIDs.includes(uuid)) {
1641
+ delete mResult.texts[language][key][uuid];
1642
+ }
1643
+ }
1632
1644
  } else {
1633
- mResult.texts[language][key] = {};
1634
- mResult.texts[language][key][sUUID] = oTranslation;
1645
+ // get the uuid in the object value of object field
1646
+ var sUUID = vValue._dt ? vValue._dt._uuid || "" : "";
1647
+ if (sUUID !== "") {
1648
+ // only save the translation texts of current uuid
1649
+ var oTranslation = mResult.texts[language][key][sUUID];
1650
+ if (!oTranslation) {
1651
+ delete mResult.texts[language][key];
1652
+ } else {
1653
+ mResult.texts[language][key] = {};
1654
+ mResult.texts[language][key][sUUID] = oTranslation;
1655
+ }
1656
+ } else {
1657
+ delete mResult.texts[language][key];
1658
+ }
1635
1659
  }
1636
- } else {
1637
- delete mResult.texts[language][key];
1638
1660
  }
1639
1661
  }
1662
+ if (deepEqual(mResult.texts[language], {})) {
1663
+ delete mResult.texts[language];
1664
+ }
1640
1665
  }
1641
1666
  }
1642
- if (deepEqual(mResult.texts[language], {})) {
1643
- delete mResult.texts[language];
1667
+ if (deepEqual(mResult.texts, {})) {
1668
+ delete mResult.texts;
1644
1669
  }
1645
1670
  }
1646
- if (deepEqual(mResult.texts, {})) {
1647
- delete mResult.texts;
1648
- }
1649
1671
  }
1650
1672
  mResult[":layer"] = Merger.layers[this.getMode()];
1651
1673
  mResult[":errors"] = this.checkCurrentSettings()[":errors"];
@@ -2214,7 +2236,7 @@ sap.ui.define([
2214
2236
  if (this.getMode() === "content" && oConfig.pageAdminValues && oConfig.pageAdminValues.length > 0) {
2215
2237
  var paValues = oConfig.pageAdminValues,
2216
2238
  selValues = oConfig.value,
2217
- selValueItems = oConfig.valueItems,
2239
+ selValueItems = oConfig.valueItems || [],
2218
2240
  results = [],
2219
2241
  selResults = [],
2220
2242
  selItemsResults = [];
@@ -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.128.0
20
+ * @version 1.129.0
21
21
  * @private
22
22
  */
23
23
  var EditorResourceBundles = ManagedObject.extend("sap.ui.integration.editor.EditorResourceBundles", {
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.integration.Extension
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.128.0
24
+ * @version 1.129.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.integration.util.Manifest
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.128.0
20
+ * @version 1.129.0
21
21
  *
22
22
  * @constructor
23
23
  * @since 1.94
@@ -82,7 +82,7 @@ sap.ui.define([
82
82
  * @alias sap.ui.integration.editor.Settings
83
83
  * @author SAP SE
84
84
  * @since 1.83.0
85
- * @version 1.128.0
85
+ * @version 1.129.0
86
86
  * @private
87
87
  * @experimental since 1.83.0
88
88
  * @ui5-restricted
@@ -54,7 +54,7 @@ sap.ui.define([
54
54
  * @alias sap.ui.integration.editor.fields.BaseField
55
55
  * @author SAP SE
56
56
  * @since 1.83.0
57
- * @version 1.128.0
57
+ * @version 1.129.0
58
58
  * @private
59
59
  * @ui5-restricted
60
60
  * @experimental since 1.83.0
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @alias sap.ui.integration.editor.fields.BooleanField
18
18
  * @author SAP SE
19
19
  * @since 1.83.0
20
- * @version 1.128.0
20
+ * @version 1.129.0
21
21
  * @private
22
22
  * @experimental since 1.83.0
23
23
  * @ui5-restricted
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @alias sap.ui.integration.editor.fields.DateField
20
20
  * @author SAP SE
21
21
  * @since 1.83.0
22
- * @version 1.128.0
22
+ * @version 1.129.0
23
23
  * @private
24
24
  * @experimental since 1.83.0
25
25
  * @ui5-restricted
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @alias sap.ui.integration.editor.fields.DateTimeField
20
20
  * @author SAP SE
21
21
  * @since 1.83.0
22
- * @version 1.128.0
22
+ * @version 1.129.0
23
23
  * @private
24
24
  * @experimental since 1.83.0
25
25
  * @ui5-restricted
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @alias sap.ui.integration.editor.fields.DestinationField
21
21
  * @author SAP SE
22
22
  * @since 1.83.0
23
- * @version 1.128.0
23
+ * @version 1.129.0
24
24
  * @private
25
25
  * @experimental since 1.83.0
26
26
  * @ui5-restricted
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @alias sap.ui.integration.editor.fields.GroupField
27
27
  * @author SAP SE
28
28
  * @since 1.106.0
29
- * @version 1.128.0
29
+ * @version 1.129.0
30
30
  * @private
31
31
  * @experimental since 1.106.0
32
32
  * @ui5-restricted
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @alias sap.ui.integration.editor.fields.IntegerField
19
19
  * @author SAP SE
20
20
  * @since 1.83.0
21
- * @version 1.128.0
21
+ * @version 1.129.0
22
22
  * @private
23
23
  * @experimental since 1.83.0
24
24
  * @ui5-restricted
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @alias sap.ui.integration.editor.fields.NumberField
19
19
  * @author SAP SE
20
20
  * @since 1.83.0
21
- * @version 1.128.0
21
+ * @version 1.129.0
22
22
  * @private
23
23
  * @experimental since 1.83.0
24
24
  * @ui5-restricted
@@ -88,7 +88,7 @@ sap.ui.define([
88
88
  * @alias sap.ui.integration.editor.fields.ObjectField
89
89
  * @author SAP SE
90
90
  * @since 1.100.0
91
- * @version 1.128.0
91
+ * @version 1.129.0
92
92
  * @private
93
93
  * @experimental since 1.100.0
94
94
  * @ui5-restricted
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @alias sap.ui.integration.editor.fields.ObjectListField
32
32
  * @author SAP SE
33
33
  * @since 1.100.0
34
- * @version 1.128.0
34
+ * @version 1.129.0
35
35
  * @private
36
36
  * @experimental since 1.100.0
37
37
  * @ui5-restricted
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @alias sap.ui.integration.editor.fields.StringField
56
56
  * @author SAP SE
57
57
  * @since 1.83.0
58
- * @version 1.128.0
58
+ * @version 1.129.0
59
59
  * @private
60
60
  * @experimental since 1.83.0
61
61
  * @ui5-restricted
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @alias sap.ui.integration.editor.fields.StringListField
45
45
  * @author SAP SE
46
46
  * @since 1.83.0
47
- * @version 1.128.0
47
+ * @version 1.129.0
48
48
  * @private
49
49
  * @experimental since 1.83.0
50
50
  * @ui5-restricted
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @alias sap.ui.integration.editor.fields.fragment.Controller
19
19
  * @author SAP SE
20
20
  * @since 1.105.0
21
- * @version 1.128.0
21
+ * @version 1.129.0
22
22
  * @private
23
23
  * @experimental since 1.105.0
24
24
  * @ui5-restricted
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @alias sap.ui.integration.editor.fields.viz.ColorSelect
22
22
  * @author SAP SE
23
23
  * @since 1.84.0
24
- * @version 1.128.0
24
+ * @version 1.129.0
25
25
  * @private
26
26
  * @experimental since 1.84.0
27
27
  * @ui5-restricted
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @alias sap.ui.integration.editor.fields.viz.IconSelect
63
63
  * @author SAP SE
64
64
  * @since 1.84.0
65
- * @version 1.128.0
65
+ * @version 1.129.0
66
66
  * @private
67
67
  * @experimental since 1.84.0
68
68
  * @ui5-restricted
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @alias sap.ui.integration.editor.fields.viz.ImageSelect
17
17
  * @author SAP SE
18
18
  * @since 1.119.0
19
- * @version 1.128.0
19
+ * @version 1.129.0
20
20
  * @private
21
21
  * @experimental since 1.119.0
22
22
  * @ui5-restricted
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @alias sap.ui.integration.editor.fields.viz.ShapeSelect
20
20
  * @author SAP SE
21
21
  * @since 1.84.0
22
- * @version 1.128.0
22
+ * @version 1.129.0
23
23
  * @private
24
24
  * @experimental since 1.84.0
25
25
  * @ui5-restricted
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @alias sap.ui.integration.editor.fields.viz.VizBase
20
20
  * @author SAP SE
21
21
  * @since 1.105.0
22
- * @version 1.128.0
22
+ * @version 1.129.0
23
23
  * @private
24
24
  * @experimental since 1.105.0
25
25
  * @ui5-restricted
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * Extension for OAuth 3LO.
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.128.0
28
+ * @version 1.129.0
29
29
  *
30
30
  * @private
31
31
  * @since 1.124
@@ -25,14 +25,14 @@ sap.ui.define([
25
25
  * @namespace
26
26
  * @alias sap.ui.integration
27
27
  * @author SAP SE
28
- * @version 1.128.0
28
+ * @version 1.129.0
29
29
  * @since 1.62
30
30
  * @public
31
31
  */
32
32
  var thisLib = Library.init({
33
33
  apiVersion: 2,
34
34
  name: "sap.ui.integration",
35
- version: "1.128.0",
35
+ version: "1.129.0",
36
36
  dependencies: [
37
37
  "sap.ui.core",
38
38
  "sap.f",
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.model.json.JSONModel
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.128.0
28
+ * @version 1.129.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @alias sap.ui.integration.model.ContextModel
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.model.json.JSONModel
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.128.0
28
+ * @version 1.129.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @alias sap.ui.integration.model.ObservableModel
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.model.json.JSONListBinding
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.128.0
24
+ * @version 1.129.0
25
25
  * @constructor
26
26
  * @private
27
27
  * @alias sap.ui.integration.model.PagingModelListBinding
@@ -1921,6 +1921,18 @@
1921
1921
  "key": {
1922
1922
  "description": "The unique key of the option. Mapped to the input's value",
1923
1923
  "type": "string"
1924
+ },
1925
+ "selectedIndex": {
1926
+ "description": "Specifies the index of the selected item. Index value for no selection is -1.",
1927
+ "oneOf": [
1928
+ {
1929
+ "type": "number",
1930
+ "default": -1
1931
+ },
1932
+ {
1933
+ "$ref": "#/definitions/simpleBinding"
1934
+ }
1935
+ ]
1924
1936
  }
1925
1937
  }
1926
1938
  },
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * Utility class helping with analytics cloud widget.
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.128.0
24
+ * @version 1.129.0
25
25
  *
26
26
  * @private
27
27
  * @alias sap.ui.integration.util.AnalyticsCloudHelper
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.base.Object
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.128.0
25
+ * @version 1.129.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * Helper class for working with bindings.
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.128.0
58
+ * @version 1.129.0
59
59
  *
60
60
  * @private
61
61
  * @alias sap.ui.integration.util.BindingHelper
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * Resolves a binding syntax based on a provided model and path.
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.128.0
36
+ * @version 1.129.0
37
37
  *
38
38
  * @private
39
39
  * @ui5-restricted sap.ushell
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.ui.base.Object
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.128.0
21
+ * @version 1.129.0
22
22
  *
23
23
  * @constructor
24
24
  * @private
@@ -11,7 +11,7 @@ sap.ui.define([], function () {
11
11
  * Utility class helping with sap.m.ComboBox control.
12
12
  *
13
13
  * @author SAP SE
14
- * @version 1.128.0
14
+ * @version 1.129.0
15
15
  *
16
16
  * @private
17
17
  * @alias sap.ui.integration.util.ComboBoxHelper
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.integration.util.BaseFactory
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.128.0
47
+ * @version 1.129.0
48
48
  *
49
49
  * @constructor
50
50
  * @private
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.base.Object
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.128.0
35
+ * @version 1.129.0
36
36
  *
37
37
  * @constructor
38
38
  * @param {object} mSettings Token handler settings
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.base.ManagedObject
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.128.0
32
+ * @version 1.129.0
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -320,7 +320,11 @@ sap.ui.define([
320
320
  const aPromises = [];
321
321
 
322
322
  this._oDependencies.forEach((oDependency) => {
323
- aPromises.push(oDependency.load());
323
+ if (oDependency instanceof Promise) {
324
+ aPromises.push(oDependency);
325
+ } else {
326
+ aPromises.push(oDependency.load());
327
+ }
324
328
  });
325
329
 
326
330
  return Promise.all(aPromises);