@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.
- package/THIRDPARTY.txt +1 -1
- package/package.json +7 -7
- package/src/sap/ui/integration/.library +1 -1
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +13 -1
- package/src/sap/ui/integration/Host.js +13 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticalContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +1 -1
- package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +1 -1
- package/src/sap/ui/integration/cards/Header.js +1 -1
- package/src/sap/ui/integration/cards/ListContent.js +2 -1
- package/src/sap/ui/integration/cards/NumericHeader.js +1 -1
- package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/actions/CardActions.js +6 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +1 -1
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +8 -4
- package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +14 -4
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +1 -1
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +5 -1
- package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +1 -1
- package/src/sap/ui/integration/controls/ActionsStrip.js +1 -1
- package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
- package/src/sap/ui/integration/controls/BlockingMessage.js +1 -1
- package/src/sap/ui/integration/controls/ComboBox.js +47 -0
- package/src/sap/ui/integration/controls/ImageWithOverlay.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +7 -4
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +4 -4
- package/src/sap/ui/integration/controls/Microchart.js +1 -1
- package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
- package/src/sap/ui/integration/controls/ObjectStatus.js +26 -1
- package/src/sap/ui/integration/controls/Paginator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/Card.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -1
- package/src/sap/ui/integration/editor/Editor.js +104 -82
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
- package/src/sap/ui/integration/editor/Extension.js +1 -1
- package/src/sap/ui/integration/editor/Manifest.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +1 -1
- package/src/sap/ui/integration/editor/fields/BaseField.js +1 -1
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/editor/fields/GroupField.js +1 -1
- package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -1
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/VizBase.js +1 -1
- package/src/sap/ui/integration/extensions/OAuth3LO.js +1 -1
- package/src/sap/ui/integration/library.js +2 -2
- package/src/sap/ui/integration/model/ContextModel.js +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +1 -1
- package/src/sap/ui/integration/model/PagingModelListBinding.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +12 -0
- package/src/sap/ui/integration/util/AnalyticsCloudHelper.js +1 -1
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +1 -1
- package/src/sap/ui/integration/util/BindingResolver.js +1 -1
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ComboBoxHelper.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +1 -1
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +6 -2
- package/src/sap/ui/integration/util/DataProviderFactory.js +6 -6
- package/src/sap/ui/integration/util/Destinations.js +3 -2
- package/src/sap/ui/integration/util/DisplayVariants.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +1 -1
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/Form.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +1 -1
- package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
- package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
- package/src/sap/ui/integration/util/Manifest.js +1 -1
- package/src/sap/ui/integration/util/OAuth3LOHelper.js +1 -1
- package/src/sap/ui/integration/util/RequestDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceManager.js +1 -1
- package/src/sap/ui/integration/util/SkeletonCard.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +1 -1
- package/src/sap/ui/integration/util/Validators.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +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.
|
|
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.
|
|
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
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
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
|
-
|
|
1567
|
-
|
|
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
|
-
//
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
if
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
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
|
-
|
|
1634
|
-
|
|
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
|
|
1643
|
-
delete mResult.texts
|
|
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.
|
|
20
|
+
* @version 1.129.0
|
|
21
21
|
* @private
|
|
22
22
|
*/
|
|
23
23
|
var EditorResourceBundles = ManagedObject.extend("sap.ui.integration.editor.EditorResourceBundles", {
|
|
@@ -25,14 +25,14 @@ sap.ui.define([
|
|
|
25
25
|
* @namespace
|
|
26
26
|
* @alias sap.ui.integration
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
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.
|
|
35
|
+
version: "1.129.0",
|
|
36
36
|
dependencies: [
|
|
37
37
|
"sap.ui.core",
|
|
38
38
|
"sap.f",
|
|
@@ -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
|
},
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.ui.base.ManagedObject
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
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
|
-
|
|
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);
|