@openui5/sap.ui.layout
Advanced tools
Comparing version 1.56.12 to 1.56.13
{ | ||
"name": "@openui5/sap.ui.layout", | ||
"version": "1.56.12", | ||
"version": "1.56.13", | ||
"description": "OpenUI5 UI Library sap.ui.layout", | ||
@@ -17,4 +17,4 @@ "author": "SAP SE (https://www.sap.com)", | ||
"dependencies": { | ||
"@openui5/sap.ui.core": "1.56.12" | ||
"@openui5/sap.ui.core": "1.56.13" | ||
} | ||
} |
@@ -33,3 +33,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -36,0 +36,0 @@ * @constructor |
@@ -23,3 +23,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -26,0 +26,0 @@ * @constructor |
@@ -67,3 +67,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -70,0 +70,0 @@ * @constructor |
@@ -23,3 +23,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -26,0 +26,0 @@ * @constructor |
@@ -21,3 +21,3 @@ /*! | ||
* @extends sap.ui.core.LayoutData | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* @constructor | ||
@@ -24,0 +24,0 @@ * @public |
@@ -39,3 +39,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -42,0 +42,0 @@ * @constructor |
@@ -16,3 +16,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* @experimental Since 1.48.0 | ||
@@ -23,8 +23,10 @@ */ | ||
/** | ||
* Adds a form group. | ||
* Adds a form group | ||
* | ||
* @param {sap.ui.fl.Change} oChange Change object with instructions to be applied on the control map | ||
* @param {sap.ui.fl.Change} oChange Change object with instructions to be applied to the control map | ||
* @param {sap.ui.layout.form.Form} oForm Form control that matches the change selector for applying the change | ||
* @param {object} mPropertyBag | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @public | ||
@@ -45,2 +47,3 @@ */ | ||
mNewTitleSelector.id = mNewTitleSelector.id + "--title"; //same as FormRenderer does it | ||
oChange.setRevertData({newGroupSelector: mNewGroupSelector}); | ||
@@ -53,3 +56,2 @@ var oTitle = oModifier.createControl("sap.ui.core.Title", oAppComponent, oView, mNewTitleSelector), | ||
oModifier.insertAggregation(oForm, "formContainers", oGroup, iInsertIndex, oView); | ||
} else { | ||
@@ -66,4 +68,6 @@ FlexUtils.log.error("Change does not contain sufficient information to be applied: [" + oChangeDefinition.layer + "]" + oChangeDefinition.namespace + "/" + oChangeDefinition.fileName + "." + oChangeDefinition.fileType); | ||
* @param {object} oSpecificChangeInfo with attributes "groupLabel", the group label to be included in the change and "newControlId", the control ID for the control to be added | ||
* @param {object} mPropertyBag | ||
* @param {sap.ui.core.UIComponent} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @public | ||
@@ -100,4 +104,27 @@ */ | ||
/** | ||
* Reverts the applied change | ||
* | ||
* @param {sap.ui.fl.Change} oChange Change object with instructions to be applied to the control map | ||
* @param {sap.ui.layout.form.Form} oForm Form control that matches the change selector for applying the change | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @public | ||
*/ | ||
AddGroup.revertChange = function (oChange, oForm, mPropertyBag) { | ||
var oAppComponent = mPropertyBag.appComponent; | ||
var oView = mPropertyBag.view; | ||
var oModifier = mPropertyBag.modifier; | ||
var mNewGroupSelector = oChange.getRevertData().newGroupSelector; | ||
var oGroup = oModifier.bySelector(mNewGroupSelector, oAppComponent, oView); | ||
oModifier.removeAggregation(oForm, "formContainers", oGroup); | ||
oModifier.destroy(oGroup); | ||
oChange.resetRevertData(); | ||
}; | ||
return AddGroup; | ||
}, | ||
/* bExport= */true); |
@@ -22,3 +22,3 @@ /*! | ||
* | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -33,6 +33,7 @@ * @experimental Since 1.50.0 This class is experimental and provides only limited functionality. Also the API might be | ||
* | ||
* @param {sap.ui.fl.Change} oChange Change wrapper object with instructions to be applied on the control map | ||
* @param {sap.ui.fl.Change} oChange Change wrapper object with instructions to be applied to the control map | ||
* @param {sap.ui.layout.form.FormContainer} oFormContainer FormContainer that matches the change selector for applying the change | ||
* @param {object} mPropertyBag Property bag containing the modifier and the view | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
@@ -79,2 +80,3 @@ * @return {boolean} True if successful | ||
var sBindingPath = oChangeContent.bindingPath; | ||
oChange.setRevertData({newFieldSelector: mFieldSelector}); | ||
@@ -162,4 +164,30 @@ var mCreateProperties = { | ||
/** | ||
* Reverts the applied change | ||
* | ||
* @param {sap.ui.fl.Change} oChange Change wrapper object with instructions to be applied to the control map | ||
* @param {sap.ui.layout.form.FormContainer} oFormContainer FormContainer that matches the change selector for applying the change | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @return {boolean} True if successful | ||
* @public | ||
*/ | ||
AddFormField.revertChange = function (oChange, oFormContainer, mPropertyBag) { | ||
var oAppComponent = mPropertyBag.appComponent; | ||
var oView = mPropertyBag.view; | ||
var oModifier = mPropertyBag.modifier; | ||
var mFieldSelector = oChange.getRevertData().newFieldSelector; | ||
var oFormElement = oModifier.bySelector(mFieldSelector, oAppComponent, oView); | ||
oModifier.removeAggregation(oFormContainer, "formElements", oFormElement); | ||
oModifier.destroy(oFormElement); | ||
oChange.resetRevertData(); | ||
return true; | ||
}; | ||
return AddFormField; | ||
}, | ||
/* bExport= */true); |
@@ -22,3 +22,3 @@ /*! | ||
* | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -38,7 +38,8 @@ * @experimental Since 1.49.0 This class is experimental and provides only limited functionality. Also the API might be | ||
* | ||
* @param {sap.ui.fl.Change} oChange change wrapper object with instructions to be applied on the control map | ||
* @param {sap.ui.fl.Change} oChange Change wrapper object with instructions to be applied on the control map | ||
* @param {sap.ui.layout.form.SimpleForm} oSimpleForm - Simple Form that matches the change selector for applying the change | ||
* @param {object} mPropertyBag - Property bag containing the modifier and the view | ||
* @param {object} mPropertyBag.modifier - modifier for the controls | ||
* @param {object} mPropertyBag.view - application view | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @return {boolean} True if successful | ||
@@ -79,3 +80,3 @@ * @public | ||
var sFieldSelector = oChangeContent.newFieldSelector; | ||
var oFieldSelector = oChangeContent.newFieldSelector; | ||
var sBindingPath = oChangeContent.bindingPath; | ||
@@ -125,3 +126,3 @@ var insertIndex = oChangeContent.newFieldIndex; | ||
"view" : mPropertyBag.view, | ||
"fieldSelector" : sFieldSelector, | ||
"fieldSelector" : oFieldSelector, | ||
"bindingPath" : sBindingPath | ||
@@ -131,2 +132,8 @@ }; | ||
var oCreatedControls = fnChangeHandlerCreateFunction(oModifier, mCreateProperties); | ||
var mCreatedControlSelectors = {}; | ||
if (oCreatedControls.label && oCreatedControls.control) { | ||
mCreatedControlSelectors.label = oModifier.getSelector(oCreatedControls.label, mPropertyBag.appComponent); | ||
} | ||
mCreatedControlSelectors.control = oModifier.getSelector(oCreatedControls.control, mPropertyBag.appComponent); | ||
oChange.setRevertData(mCreatedControlSelectors); | ||
@@ -153,3 +160,3 @@ aContentClone.splice(iNewIndex, 0, oCreatedControls.label, oCreatedControls.control); | ||
* | ||
* @param {sap.ui.fl.Change} oChange change wrapper object to be completed | ||
* @param {sap.ui.fl.Change} oChange Change wrapper object to be completed | ||
* @param {Object} oSpecificChangeInfo - information specific to this change | ||
@@ -206,4 +213,35 @@ * @param {string} oSpecificChangeInfo.newControlId - the control ID for the control to be added, | ||
/** | ||
* Reverts the applied change | ||
* | ||
* @param {sap.ui.fl.Change} oChange Change wrapper object with instructions to be applied on the control map | ||
* @param {sap.ui.layout.form.SimpleForm} oSimpleForm - Simple Form that matches the change selector for applying the change | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @return {boolean} True if successful | ||
* @public | ||
*/ | ||
AddSimpleFormField.revertChange = function (oChange, oSimpleForm, mPropertyBag) { | ||
var oAppComponent = mPropertyBag.appComponent; | ||
var oView = mPropertyBag.view; | ||
var oModifier = mPropertyBag.modifier; | ||
var mCreatedControlSelectors = oChange.getRevertData(); | ||
var oField = oModifier.bySelector(mCreatedControlSelectors.control, oAppComponent, oView); | ||
if (mCreatedControlSelectors.label) { | ||
var oLabel = oModifier.bySelector(mCreatedControlSelectors.label, oAppComponent, oView); | ||
oModifier.removeAggregation(oSimpleForm, "content", oLabel); | ||
oModifier.destroy(oLabel); | ||
} | ||
oModifier.removeAggregation(oSimpleForm, "content", oField); | ||
oModifier.destroy(oField); | ||
oChange.resetRevertData(); | ||
return true; | ||
}; | ||
return AddSimpleFormField; | ||
}, | ||
/* bExport= */true); |
@@ -16,3 +16,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* @experimental Since 1.27.0 | ||
@@ -64,8 +64,11 @@ */ | ||
/** | ||
* Adds a smart form group. | ||
* Adds a smart form group | ||
* | ||
* @param {sap.ui.fl.Change} oChangeWrapper change wrapper object with instructions to be applied on the control map | ||
* @param {sap.ui.layout.SimpleForm} oForm smart form control that matches the change selector for applying the change | ||
* @param {object} mPropertyBag | ||
* @param {sap.ui.core.UIComponent} mPropertyBag.appComponent component in which the change should be applied | ||
* @param {sap.ui.fl.Change} oChangeWrapper Change wrapper object with instructions to be applied to the control map | ||
* @param {sap.ui.layout.SimpleForm} oForm Smart form control that matches the change selector for applying the change | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @return {boolean} True if successful | ||
* @public | ||
@@ -93,2 +96,3 @@ */ | ||
} | ||
oChangeWrapper.setRevertData({groupId: sGroupId}); | ||
var sLabelText = oChange.texts.groupLabel.value; | ||
@@ -127,6 +131,8 @@ | ||
* | ||
* @param {sap.ui.fl.Change} oChangeWrapper change wrapper object to be completed | ||
* @param {sap.ui.fl.Change} oChangeWrapper Change wrapper object to be completed | ||
* @param {object} oSpecificChangeInfo with attributes "groupLabel", the group label to be included in the change and "newControlId", the control ID for the control to be added | ||
* @param {object} mPropertyBag | ||
* @param {sap.ui.core.UIComponent} mPropertyBag.appComponent component in which the change should be applied | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @public | ||
@@ -179,3 +185,30 @@ */ | ||
/** | ||
* Reverts the applied change | ||
* | ||
* @param {sap.ui.fl.Change} oChangeWrapper Change wrapper object with instructions to be applied to the control map | ||
* @param {sap.ui.layout.SimpleForm} oForm Smart form control that matches the change selector for applying the change | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @return {boolean} True if successful | ||
* @public | ||
*/ | ||
AddSimpleFormGroup.revertChange = function (oChangeWrapper, oForm, mPropertyBag) { | ||
var oAppComponent = mPropertyBag.appComponent; | ||
var oView = mPropertyBag.view; | ||
var oModifier = mPropertyBag.modifier; | ||
var sGroupId = oChangeWrapper.getRevertData().groupId; | ||
var oGroupSelector = oModifier.getSelector(sGroupId, oAppComponent); | ||
var oGroup = oModifier.bySelector(oGroupSelector, oAppComponent, oView); | ||
oModifier.removeAggregation(oForm, AddSimpleFormGroup.CONTENT_AGGREGATION, oGroup); | ||
oModifier.destroy(oGroup); | ||
oChangeWrapper.resetRevertData(); | ||
return true; | ||
}; | ||
return AddSimpleFormGroup; | ||
}, /* bExport= */true); |
@@ -16,3 +16,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* @experimental Since 1.27.0 | ||
@@ -19,0 +19,0 @@ */ |
@@ -16,3 +16,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* @experimental Since 1.34.0 | ||
@@ -207,6 +207,6 @@ */ | ||
/** | ||
* Moves an element from one aggregation to another. | ||
* Moves an element from one aggregation to another | ||
* | ||
* @param {sap.ui.fl.Change} oChangeWrapper | ||
* change object with instructions to be applied on the control map | ||
* Change object with instructions to be applied to the control map | ||
* @param {sap.ui.core.Control} oSimpleForm | ||
@@ -216,3 +216,3 @@ * oSourceParent control that matches the change selector for applying the change, which is the source of | ||
* @param {object} mPropertyBag | ||
* map containing the control modifier object (either sap.ui.core.util.reflection.JsControlTreeModifier or | ||
* Map containing the control modifier object (either sap.ui.core.util.reflection.JsControlTreeModifier or | ||
* sap.ui.core.util.reflection.XmlTreeModifier), the view object where the controls are embedded and the application component | ||
@@ -232,2 +232,8 @@ * @returns {boolean} true - if change could be applied | ||
var aContentSelectors = aContent.map(function(oContentControl) { | ||
return oModifier.getSelector(oContentControl, oAppComponent); | ||
}); | ||
var mState = {content: aContentSelectors}; | ||
oChangeWrapper.setRevertData(mState); | ||
if (oChangeWrapper.getChangeType() === MoveSimpleForm.CHANGE_TYPE_MOVE_FIELD) { | ||
@@ -370,4 +376,34 @@ // !important : element was used in 1.40, do not remove for compatibility! | ||
/** | ||
* Reverts the applied change | ||
* | ||
* @param {sap.ui.fl.Change} oChangeWrapper | ||
* Change object with instructions to be applied to the control map | ||
* @param {sap.ui.core.Control} oSimpleForm | ||
* oSourceParent control that matches the change selector for applying the change, which is the source of | ||
* the move | ||
* @param {object} mPropertyBag | ||
* Map containing the control modifier object (either sap.ui.core.util.reflection.JsControlTreeModifier or | ||
* sap.ui.core.util.reflection.XmlTreeModifier), the view object where the controls are embedded and the application component | ||
* @returns {boolean} true - if change could be reverted | ||
* @public | ||
*/ | ||
MoveSimpleForm.revertChange = function(oChangeWrapper, oSimpleForm, mPropertyBag) { | ||
var oModifier = mPropertyBag.modifier; | ||
var oAppComponent = mPropertyBag.appComponent; | ||
var oView = mPropertyBag.view; | ||
var aContentSelectors = oChangeWrapper.getRevertData().content; | ||
var aContent = aContentSelectors.map(function(oSelector) { | ||
return oModifier.bySelector(oSelector, oAppComponent, oView); | ||
}); | ||
fnRemoveAndInsertAggregation(oModifier, oSimpleForm, MoveSimpleForm, aContent, oView); | ||
oChangeWrapper.resetRevertData(); | ||
return true; | ||
}; | ||
return MoveSimpleForm; | ||
}, | ||
/* bExport= */true); |
@@ -19,3 +19,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* @since 1.48 | ||
@@ -52,4 +52,6 @@ * @private | ||
if (typeof oTitle === "string") { | ||
oChangeWrapper.setRevertData(oModifier.getProperty(oRenamedElement, "title")); | ||
oModifier.setProperty(oRenamedElement, "title", sValue); | ||
} else { | ||
oChangeWrapper.setRevertData(oModifier.getProperty(oTitle, "text")); | ||
oModifier.setProperty(oTitle, "text", sValue); | ||
@@ -89,2 +91,30 @@ } | ||
/** | ||
* Reverts the applied change | ||
* | ||
* @param {sap.ui.fl.Change} oChangeWrapper Change wrapper object with instructions to be applied to the control map | ||
* @param {sap.ui.core.Control} oControl Control that matches the change selector for applying the change | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @returns {boolean} True if successful | ||
* @public | ||
*/ | ||
RenameFormContainer.revertChange = function(oChangeWrapper, oControl, mPropertyBag) { | ||
var sOldText = oChangeWrapper.getRevertData(), | ||
oModifier = mPropertyBag.modifier, | ||
oRenamedElement = oChangeWrapper.getDependentControl(_CONSTANTS.TARGET_ALIAS, mPropertyBag), | ||
oTitle = oModifier.getAggregation(oRenamedElement, "title"); | ||
if (typeof oTitle === "string") { | ||
oModifier.setProperty(oRenamedElement, "title", sOldText); | ||
} else { | ||
oModifier.setProperty(oTitle, "text", sOldText); | ||
} | ||
oChangeWrapper.resetRevertData(); | ||
return true; | ||
}; | ||
RenameFormContainer._isProvided = function(sString){ | ||
@@ -91,0 +121,0 @@ return typeof (sString) === "string"; |
@@ -24,3 +24,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* @since 1.40 | ||
@@ -27,0 +27,0 @@ * @private |
@@ -16,3 +16,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* @experimental Since 1.27.0 | ||
@@ -23,3 +23,3 @@ */ | ||
/** | ||
* Unhides a control. | ||
* Unhides a control | ||
* | ||
@@ -30,2 +30,3 @@ * @param {sap.ui.fl.Change} oChangeWrapper - change object with instructions to be applied on the control map | ||
* sap.ui.core.util.reflection.XmlTreeModifier), the view object where the controls are embedded and the application component | ||
* @returns {boolean} True if successful | ||
* @public | ||
@@ -40,3 +41,3 @@ */ | ||
// !important : sUnhideId was used in 1.40, do not remove for compatibility! | ||
// !important : sUnhideId was used in 1.40, do not remove for compatibility reasons! | ||
var oControlToUnhide = oModifier.bySelector(oChangeDefinition.content.elementSelector || oChangeDefinition.content.sUnhideId, oAppComponent, oView); | ||
@@ -47,2 +48,3 @@ var aContent = oModifier.getAggregation(oControl, "content"); | ||
if (oChangeDefinition.changeType === "unhideSimpleFormField") { | ||
oChangeWrapper.setRevertData(true); | ||
aContent.some(function (oField, index) { | ||
@@ -97,4 +99,53 @@ if (oField === oControlToUnhide) { | ||
/** | ||
* Reverts the applied change | ||
* | ||
* @param {sap.ui.fl.Change} oChangeWrapper - Change object with instructions to be applied to the control map | ||
* @param {sap.ui.core.Control} oControl - Control that matches the change selector for applying the change | ||
* @param {object} mPropertyBag Property bag containing the modifier, the appComponent and the view | ||
* @param {object} mPropertyBag.modifier Modifier for the controls | ||
* @param {object} mPropertyBag.appComponent Component in which the change should be applied | ||
* @param {object} mPropertyBag.view Application view | ||
* @returns {boolean} True if successful | ||
* @public | ||
*/ | ||
UnhideForm.revertChange = function(oChangeWrapper, oControl, mPropertyBag) { | ||
var oModifier = mPropertyBag.modifier; | ||
var oView = mPropertyBag.view; | ||
var oAppComponent = mPropertyBag.appComponent; | ||
var oChangeDefinition = oChangeWrapper.getDefinition(); | ||
// !important : sUnhideId was used in 1.40, do not remove for compatibility reasons! | ||
var oControlToRevertUnhide = oModifier.bySelector(oChangeDefinition.content.elementSelector || oChangeDefinition.content.sUnhideId, oAppComponent, oView); | ||
var aContent = oModifier.getAggregation(oControl, "content"); | ||
var iStart = -1; | ||
if (oChangeDefinition.changeType === "unhideSimpleFormField") { | ||
aContent.some(function (oField, index) { | ||
if (oField === oControlToRevertUnhide) { | ||
iStart = index; | ||
oModifier.setVisible(oField, false); | ||
} | ||
if (iStart >= 0 && index > iStart) { | ||
if ((oModifier.getControlType(oField) === "sap.m.Label") | ||
|| (oModifier.getControlType(oField) === "sap.ui.comp.smartfield.SmartLabel") | ||
|| (oModifier.getControlType(oField) === "sap.ui.core.Title") | ||
|| (oModifier.getControlType(oField) === "sap.m.Title") | ||
|| (oModifier.getControlType(oField) === "sap.m.Toolbar") | ||
|| (oModifier.getControlType(oField) === "sap.m.OverflowToolbar")) { | ||
return true; | ||
} else { | ||
oModifier.setVisible(oField, false); | ||
} | ||
} | ||
}); | ||
oChangeWrapper.resetRevertData(); | ||
} | ||
return true; | ||
}; | ||
return UnhideForm; | ||
}, | ||
/* bExport= */true); |
@@ -92,3 +92,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -95,0 +95,0 @@ * @constructor |
@@ -60,3 +60,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -63,0 +63,0 @@ * @constructor |
@@ -27,3 +27,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -30,0 +30,0 @@ * @constructor |
@@ -27,3 +27,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -30,0 +30,0 @@ * @constructor |
@@ -55,3 +55,3 @@ /*! | ||
* @extends sap.ui.layout.form.FormLayout | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -58,0 +58,0 @@ * @constructor |
@@ -43,3 +43,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -46,0 +46,0 @@ * @constructor |
@@ -26,3 +26,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -29,0 +29,0 @@ * @constructor |
@@ -24,3 +24,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -27,0 +27,0 @@ * @constructor |
@@ -30,3 +30,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -33,0 +33,0 @@ * @constructor |
@@ -23,3 +23,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -26,0 +26,0 @@ * @constructor |
@@ -23,3 +23,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -26,0 +26,0 @@ * @constructor |
@@ -32,3 +32,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -35,0 +35,0 @@ * @constructor |
@@ -36,3 +36,3 @@ /*! | ||
* @extends sap.ui.layout.form.FormLayout | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -39,0 +39,0 @@ * @constructor |
@@ -36,3 +36,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -39,0 +39,0 @@ * @constructor |
@@ -49,3 +49,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -52,0 +52,0 @@ * @constructor |
@@ -29,3 +29,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -32,0 +32,0 @@ * @constructor |
@@ -18,3 +18,3 @@ /*! | ||
* @version | ||
* 1.56.12 | ||
* 1.56.13 | ||
* @namespace | ||
@@ -21,0 +21,0 @@ */ |
@@ -25,3 +25,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -28,0 +28,0 @@ * @constructor |
@@ -23,3 +23,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* @public | ||
@@ -31,3 +31,3 @@ */ | ||
name : "sap.ui.layout", | ||
version: "1.56.12", | ||
version: "1.56.13", | ||
dependencies: ["sap.ui.core"], | ||
@@ -34,0 +34,0 @@ designtime: "sap/ui/layout/designtime/library.designtime", |
@@ -28,3 +28,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -31,0 +31,0 @@ * @constructor |
@@ -41,3 +41,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -44,0 +44,0 @@ * @constructor |
@@ -25,3 +25,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -28,0 +28,0 @@ * @constructor |
@@ -69,3 +69,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -72,0 +72,0 @@ * @constructor |
@@ -24,3 +24,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -27,0 +27,0 @@ * @constructor |
@@ -30,3 +30,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -33,0 +33,0 @@ * @constructor |
@@ -43,3 +43,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -46,0 +46,0 @@ * @constructor |
@@ -27,3 +27,3 @@ /*! | ||
* @extends sap.ui.core.LayoutData | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -30,0 +30,0 @@ * @constructor |
@@ -28,3 +28,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.56.12 | ||
* @version 1.56.13 | ||
* | ||
@@ -31,0 +31,0 @@ * @constructor |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
995135
18352
+ Added@openui5/sap.ui.core@1.56.13(transitive)
- Removed@openui5/sap.ui.core@1.56.12(transitive)
Updated@openui5/sap.ui.core@1.56.13