@sapui5/sap.ui.comp
Advanced tools
Comparing version 1.120.17 to 1.120.18
{ | ||
"name": "@sapui5/sap.ui.comp", | ||
"version": "1.120.17", | ||
"version": "1.120.18", | ||
"description": "SAPUI5 Library sap.ui.comp", | ||
@@ -5,0 +5,0 @@ "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/", |
@@ -26,3 +26,3 @@ /*! | ||
name: "sap.ui.comp", | ||
version: "1.120.17", | ||
version: "1.120.18", | ||
dependencies: [ | ||
@@ -29,0 +29,0 @@ "sap.ui.core", |
@@ -10,3 +10,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -13,0 +13,0 @@ * @since 1.36.0 |
@@ -15,3 +15,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -18,0 +18,0 @@ * @since 1.58.0 |
@@ -11,3 +11,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.44.0 |
@@ -10,3 +10,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -13,0 +13,0 @@ * @since 1.25.0 |
@@ -22,3 +22,3 @@ /*! | ||
* @experimental This module is only for internal/experimental use! | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -25,0 +25,0 @@ * @extends sap.ui.comp.odata.MetadataAnalyser |
@@ -27,3 +27,3 @@ /*! | ||
* @param {string} oFormatOptions.calendarType format options. | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental This module is only for internal/experimental use! | ||
@@ -30,0 +30,0 @@ * @private |
@@ -26,3 +26,3 @@ /*! | ||
* @param {string} oFormatOptions.calendarType format options. | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental This module is only for internal/experimental use! | ||
@@ -29,0 +29,0 @@ * @private |
@@ -16,3 +16,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -19,0 +19,0 @@ * @experimental This module is only for internal/experimental use! |
@@ -29,3 +29,3 @@ /*! | ||
* @param {string} oFormatOptions.calendarType format options. | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental This module is only for internal/experimental use! | ||
@@ -32,0 +32,0 @@ * @private |
@@ -17,3 +17,3 @@ /* | ||
* @experimental to be productized soon | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.31.0 | ||
@@ -20,0 +20,0 @@ * @alias sap.ui.comp.odata.SideEffects |
@@ -22,3 +22,3 @@ /*! | ||
* @param {object} oSettings Settings. | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental | ||
@@ -25,0 +25,0 @@ * @private |
@@ -22,3 +22,3 @@ /*! | ||
* @param {object} oSettings Settings. | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental | ||
@@ -25,0 +25,0 @@ * @private |
@@ -26,3 +26,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental | ||
@@ -29,0 +29,0 @@ * @since 1.54.0 |
@@ -121,3 +121,3 @@ | ||
* @param {object} [mSettings] initial settings for the new control | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental | ||
@@ -124,0 +124,0 @@ * @private |
@@ -40,3 +40,3 @@ /*! | ||
* @param {object} [mSettings] initial settings for the new control | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental | ||
@@ -43,0 +43,0 @@ * @private |
@@ -20,3 +20,3 @@ /*! | ||
* @ui5-restricted sap.ui.comp.p13n.P13nFilterPanel | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @alias sap.ui.comp.p13n.P13nOperationsHelper | ||
@@ -23,0 +23,0 @@ */ |
@@ -19,3 +19,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @constructor | ||
@@ -22,0 +22,0 @@ * @experimental This module is only for internal/experimental use! |
@@ -31,3 +31,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -34,0 +34,0 @@ * @since 1.26.0 |
@@ -20,3 +20,3 @@ /* eslint-disable strict */ | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -23,0 +23,0 @@ * @since 1.34.0 |
@@ -16,3 +16,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -19,0 +19,0 @@ * @since 1.34.0 |
@@ -10,3 +10,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -13,0 +13,0 @@ * @since 1.25.0 |
@@ -10,3 +10,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -13,0 +13,0 @@ * @since 1.48.0 |
@@ -12,3 +12,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -15,0 +15,0 @@ * @since 1.29.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -32,3 +32,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* | ||
@@ -35,0 +35,0 @@ * @constructor |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -15,3 +15,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -18,0 +18,0 @@ * @since 1.110.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.28.0 | ||
@@ -14,0 +14,0 @@ * @returns {sap.ui.comp.smartfield.ODataControlSelector} new control selector instance. |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -83,3 +83,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* | ||
@@ -86,0 +86,0 @@ * @constructor |
@@ -14,3 +14,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -17,0 +17,0 @@ * @since 1.31.0 |
@@ -13,3 +13,5 @@ /*! | ||
"./SmartField", | ||
"sap/base/strings/capitalize" | ||
"sap/base/strings/capitalize", | ||
"sap/ui/core/Element", | ||
"sap/ui/core/EventBus" | ||
], function( | ||
@@ -22,3 +24,5 @@ Control, | ||
SmartField, | ||
capitalize | ||
capitalize, | ||
Element, | ||
EventBus | ||
) { | ||
@@ -172,4 +176,8 @@ "use strict"; | ||
if (sNewSmartFieldId.length > 0 && sNewSmartFieldId === this._sSmartFieldId) { | ||
//field not changed do nothing | ||
if ( | ||
(this._fChange || this._fInitialized) && | ||
sNewSmartFieldId.length > 0 && | ||
sNewSmartFieldId === this._sSmartFieldId | ||
) { | ||
// field not changed do nothing | ||
return this; | ||
@@ -215,2 +223,22 @@ } | ||
/** | ||
* Attempts to restore link between the SmartLabel and SmartField in cases | ||
* where the label is created before the SmartField instance is available. | ||
* Mostly during cloning. | ||
* @private | ||
*/ | ||
SmartLabel.prototype._lazyLinkRestore = function () { | ||
var oEventBus = EventBus.getInstance(), | ||
fnListener = function (sChannel, sEventId, oData) { | ||
if (oData.id && oData.id === this._sSmartFieldId) { | ||
oEventBus.unsubscribe("sap.ui.comp.smartfield.SmartField", "INSTANCE_CREATED", fnListener); | ||
setTimeout(function () { | ||
this.setLabelFor(this._sSmartFieldId); | ||
}.bind(this)); | ||
} | ||
}.bind(this); | ||
oEventBus.subscribe("sap.ui.comp.smartfield.SmartField", "INSTANCE_CREATED", fnListener); | ||
}; | ||
SmartLabel.prototype._setLabelFor = function() { | ||
@@ -221,33 +249,40 @@ | ||
if (oSmartField && !this._bMetaDataApplied) { | ||
this._bMetaDataApplied = true; | ||
if (!oSmartField) { | ||
this._lazyLinkRestore(); | ||
return; | ||
} | ||
if (oSmartField.getDataProperty) { | ||
oDataProperty = oSmartField.getDataProperty(); | ||
if (this._bMetaDataApplied) { | ||
return; | ||
} | ||
if (oDataProperty) { | ||
this.getLabelInfo(); | ||
} else { | ||
this._bMetaDataApplied = true; | ||
if (!this._fInitialized) { | ||
this._fInitialized = this.getLabelInfo.bind(this); | ||
oSmartField.attachInitialise(this._fInitialized); | ||
} | ||
if (oSmartField.getDataProperty) { | ||
oDataProperty = oSmartField.getDataProperty(); | ||
if (!this._fChange) { | ||
this._fChange = function(oEvent) { | ||
if (oDataProperty) { | ||
this.getLabelInfo(); | ||
} else { | ||
if (oEvent.getParameter("name") === "textLabel") { | ||
this.getLabelInfo(); | ||
} else if (oEvent.getParameter("name") === "mandatory") { | ||
this.invalidate(); // as Label gets the required information from field via isRequired of LabelEnablement | ||
} | ||
}.bind(this); | ||
if (!this._fInitialized) { | ||
this._fInitialized = this.getLabelInfo.bind(this); | ||
oSmartField.attachInitialise(this._fInitialized); | ||
} | ||
oSmartField.attachEvent("_change", this._fChange); | ||
} | ||
if (!this._fChange) { | ||
this._fChange = function(oEvent) { | ||
if (oEvent.getParameter("name") === "textLabel") { | ||
this.getLabelInfo(); | ||
} else if (oEvent.getParameter("name") === "mandatory") { | ||
this.invalidate(); // as Label gets the required information from field via isRequired of LabelEnablement | ||
} | ||
}.bind(this); | ||
oSmartField.attachEvent("_change", this._fChange); | ||
} | ||
} | ||
this._lateUpdateLabelFor(oSmartField); | ||
} | ||
this._lateUpdateLabelFor(oSmartField); | ||
} | ||
@@ -254,0 +289,0 @@ }; |
@@ -32,3 +32,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* | ||
@@ -35,0 +35,0 @@ * @constructor |
@@ -18,3 +18,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -21,0 +21,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.31.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.28.0 |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental | ||
@@ -14,0 +14,0 @@ * @private |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.34.0 |
@@ -12,3 +12,3 @@ /*! | ||
* @class UoMValidateException is used to indicate that the ValueState target control is the UoM control. | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental | ||
@@ -15,0 +15,0 @@ * @private |
@@ -29,3 +29,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -32,0 +32,0 @@ * @since 1.107.0 |
@@ -31,3 +31,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* | ||
@@ -34,0 +34,0 @@ * @constructor |
@@ -11,3 +11,3 @@ /* | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -14,0 +14,0 @@ * @since 1.85.0 |
@@ -22,3 +22,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.27.0 | ||
@@ -25,0 +25,0 @@ */ |
@@ -85,3 +85,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.33.0 | ||
@@ -88,0 +88,0 @@ */ |
@@ -15,3 +15,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.27.0 | ||
@@ -18,0 +18,0 @@ */ |
@@ -20,3 +20,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.46 | ||
@@ -23,0 +23,0 @@ */ |
@@ -17,3 +17,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.27.0 | ||
@@ -20,0 +20,0 @@ */ |
@@ -16,3 +16,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.27.0 | ||
@@ -19,0 +19,0 @@ */ |
@@ -13,3 +13,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.27.0 | ||
@@ -16,0 +16,0 @@ */ |
@@ -14,3 +14,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.27.0 | ||
@@ -17,0 +17,0 @@ */ |
@@ -26,3 +26,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.27.0 | ||
@@ -29,0 +29,0 @@ */ |
@@ -18,3 +18,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.27.0 | ||
@@ -21,0 +21,0 @@ */ |
@@ -14,3 +14,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.46 | ||
@@ -17,0 +17,0 @@ */ |
@@ -15,3 +15,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.46 | ||
@@ -18,0 +18,0 @@ */ |
@@ -17,3 +17,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @experimental Since 1.44.0 | ||
@@ -20,0 +20,0 @@ */ |
@@ -49,3 +49,3 @@ /*! | ||
* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.38 | ||
@@ -52,0 +52,0 @@ * @constructor |
@@ -36,3 +36,3 @@ /*! | ||
* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.38 | ||
@@ -39,0 +39,0 @@ * @constructor |
@@ -37,3 +37,3 @@ /*! | ||
* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.60 | ||
@@ -40,0 +40,0 @@ * @constructor |
@@ -38,3 +38,3 @@ /*! | ||
* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.58 | ||
@@ -41,0 +41,0 @@ * @constructor |
@@ -34,3 +34,3 @@ /*! | ||
* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.61 | ||
@@ -37,0 +37,0 @@ * @constructor |
@@ -34,3 +34,3 @@ /*! | ||
* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @constructor | ||
@@ -37,0 +37,0 @@ * @public |
@@ -37,3 +37,3 @@ /*! | ||
* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.60 | ||
@@ -40,0 +40,0 @@ * @constructor |
@@ -35,3 +35,3 @@ /*! | ||
* @extends sap.ui.core.Control | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.38 | ||
@@ -38,0 +38,0 @@ * @constructor |
@@ -10,3 +10,3 @@ /*! | ||
* @namespace | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.38.0 | ||
@@ -13,0 +13,0 @@ */ |
@@ -32,3 +32,3 @@ /*! | ||
* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @constructor | ||
@@ -35,0 +35,0 @@ * @public |
@@ -35,3 +35,3 @@ /*! | ||
* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.58 | ||
@@ -38,0 +38,0 @@ * @constructor |
@@ -26,3 +26,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* | ||
@@ -29,0 +29,0 @@ * @public |
@@ -114,3 +114,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* | ||
@@ -117,0 +117,0 @@ * @public |
@@ -18,3 +18,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
*/ | ||
@@ -21,0 +21,0 @@ var AddMultiEditFields = {}; |
@@ -17,3 +17,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @private | ||
@@ -20,0 +20,0 @@ * @since 1.104.0 |
@@ -29,3 +29,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @constructor | ||
@@ -32,0 +32,0 @@ * @public |
@@ -33,3 +33,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.17 | ||
* @version 1.120.18 | ||
* @since 1.63.0 | ||
@@ -36,0 +36,0 @@ * |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
7197130
443
121491