You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

@sapui5/sap.ui.comp

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sapui5/sap.ui.comp - npm Package Compare versions

Comparing version

to
1.84.1

{
"name": "@sapui5/sap.ui.comp",
"version": "1.84.0",
"version": "1.84.1",
"description": "SAPUI5 Library sap.ui.comp",

@@ -5,0 +5,0 @@ "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",

@@ -28,3 +28,3 @@ /*

name: "sap.ui.comp",
version: "1.84.0",
version: "1.84.1",
dependencies: [

@@ -31,0 +31,0 @@ "sap.ui.core",

@@ -10,3 +10,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -13,0 +13,0 @@ * @since 1.36.0

@@ -15,3 +15,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -18,0 +18,0 @@ * @since 1.58.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.44.0

@@ -10,3 +10,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -13,0 +13,0 @@ * @since 1.25.0

@@ -29,3 +29,3 @@ /*

* @param {string} oFormatOptions.calendarType format options.
* @version 1.84.0
* @version 1.84.1
* @experimental This module is only for internal/experimental use!

@@ -32,0 +32,0 @@ * @private

@@ -16,3 +16,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -19,0 +19,0 @@ * @experimental This module is only for internal/experimental use!

@@ -17,3 +17,3 @@ /*

* @experimental to be productized soon
* @version 1.84.0
* @version 1.84.1
* @since 1.31.0

@@ -20,0 +20,0 @@ * @alias sap.ui.comp.odata.SideEffects

@@ -22,3 +22,3 @@ /*

* @param {object} oSettings Settings.
* @version 1.84.0
* @version 1.84.1
* @experimental

@@ -25,0 +25,0 @@ * @private

@@ -26,3 +26,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental

@@ -29,0 +29,0 @@ * @since 1.54.0

@@ -19,3 +19,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @constructor

@@ -22,0 +22,0 @@ * @experimental This module is only for internal/experimental use!

@@ -29,3 +29,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -32,0 +32,0 @@ * @since 1.26.0

@@ -30,3 +30,3 @@ /* eslint-disable strict */

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @constructor

@@ -33,0 +33,0 @@ * @experimental This module is only for internal/experimental use!

@@ -20,3 +20,3 @@ /* eslint-disable strict */

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -23,0 +23,0 @@ * @since 1.34.0

@@ -16,3 +16,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -19,0 +19,0 @@ * @since 1.34.0

@@ -10,3 +10,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -13,0 +13,0 @@ * @since 1.25.0

@@ -10,3 +10,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -13,0 +13,0 @@ * @since 1.48.0

@@ -239,52 +239,28 @@ /*!

switch (oField.type) {
if (oField.type === "Edm.String"){
case "Edm.Date":
sTimeUnitType = "Date";
break;
if (oField.isCalendarDate) {
sTimeUnitType = "yearmonthday";
}
case "Edm.DateTime":
case "Edm.DateTimeOffset":
if (CalendarMetadata.isYearWeek(oField)) {
sTimeUnitType = "yearweek";
}
if (oField.displayFormat === "Date") {
sTimeUnitType = "Date";
}
if (CalendarMetadata.isYearMonth(oField)) {
sTimeUnitType = "yearmonth";
}
break;
if (CalendarMetadata.isYearQuarter(oField)) {
sTimeUnitType = "yearquarter";
}
case "Edm.String":
if (FiscalMetadata.isFiscalYear(oField)) {
sTimeUnitType = "fiscalyear";
}
if (oField.isCalendarDate) {
sTimeUnitType = "yearmonthday";
break;
}
if (FiscalMetadata.isFiscalYearPeriod(oField)) {
sTimeUnitType = "fiscalyearperiod";
}
if (CalendarMetadata.isYearWeek(oField)) {
sTimeUnitType = "yearweek";
break;
}
if (CalendarMetadata.isYearMonth(oField)) {
sTimeUnitType = "yearmonth";
break;
}
if (CalendarMetadata.isYearQuarter(oField)) {
sTimeUnitType = "yearquarter";
break;
}
if (FiscalMetadata.isFiscalYear(oField)) {
sTimeUnitType = "fiscalyear";
break;
}
if (FiscalMetadata.isFiscalYearPeriod(oField)) {
sTimeUnitType = "fiscalyearperiod";
break;
}
break;
// no default
}

@@ -291,0 +267,0 @@

@@ -320,3 +320,3 @@ /*

this._updateLabel(oFieldViewMetadata);
oFieldViewMetadata.importance = this._getFieldImportance(oFieldViewMetadata);
oFieldViewMetadata.importance = this._getFieldImportance(oFieldViewMetadata) || oFieldViewMetadata.importance;
oFieldViewMetadata.isInitiallyVisible = this._isInitiallyVisible(oFieldViewMetadata);

@@ -323,0 +323,0 @@ oFieldViewMetadata.index = this._getIndex(oFieldViewMetadata, iCurrentIndex);

@@ -1192,4 +1192,2 @@ /*

this._updateModelHistoryData(aData);
if (this.oControl.isA("sap.m.Input")) {

@@ -1202,6 +1200,9 @@ // close the suggestions popover

setTimeout(function () {
this.oControl._oSuggPopover._oPopover.close();
this._updateModelHistoryData(aData);
this.oControl && this.oControl._oSuggPopover._oPopover.close();
}.bind(this));
return;
}
this._updateModelHistoryData(aData);
if (this.oControl.isA("sap.m.ComboBox")) {

@@ -1214,3 +1215,3 @@ // close the suggestions popover

setTimeout(function () {
this.oControl._oSuggestionPopover._oPopover.close();
this.oControl && this.oControl._oSuggestionPopover._oPopover.close();
}.bind(this));

@@ -1221,2 +1222,7 @@ }

ValueListProvider.prototype._updateModelHistoryData = function (aData) {
if (!this.oControl) {
// the ValueListProvider was destroyed and no model update of the history data is needed
return;
}
var aDataToSet = [],

@@ -1223,0 +1229,0 @@ aRecentlyUsed = this._addSuggestionsToGroup(aData, HEADER_GROUPS.RecentlyUsed),

@@ -12,3 +12,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -15,0 +15,0 @@ * @since 1.29.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -27,3 +27,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
*

@@ -30,0 +30,0 @@ * @constructor

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -12,3 +12,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @since 1.28.0

@@ -15,0 +15,0 @@ * @returns {sap.ui.comp.smartfield.ODataControlSelector} new control selector instance.

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -65,3 +65,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
*

@@ -68,0 +68,0 @@ * @constructor

@@ -14,3 +14,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -17,0 +17,0 @@ * @since 1.31.0

@@ -289,3 +289,3 @@ /*!

if (oInputField) {
if (oInputField && sValue) {
oInputField.setBusyIndicatorDelay(300);

@@ -292,0 +292,0 @@ oInputField.setBusy(true);

@@ -18,3 +18,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -21,0 +21,0 @@ * @since 1.28.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.31.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.28.0

@@ -157,11 +157,14 @@ /*

if (aIDsLength === 0 && !this.bValueListNoValidation) {
fnReject(new ValidateException(this.getResourceBundleText("SMARTFIELD_NOT_FOUND")));
return;
}
// TODO: We should move the validation logic to the validate method.
if (!this.bValueListNoValidation) {
if (aIDsLength === 0) {
fnReject(new ValidateException(this.getResourceBundleText("SMARTFIELD_NOT_FOUND")));
return;
}
// duplicate IDs were found
if (aIDsLength > 1) {
fnReject(new ValidateException(this.getResourceBundleText("SMARTFIELD_DUPLICATE_VALUES")));
return;
// duplicate IDs were found
if (aIDsLength > 1) {
fnReject(new ValidateException(this.getResourceBundleText("SMARTFIELD_DUPLICATE_VALUES")));
return;
}
}

@@ -168,0 +171,0 @@

@@ -11,3 +11,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @private

@@ -14,0 +14,0 @@ * @since 1.34.0

@@ -29,3 +29,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
*

@@ -32,0 +32,0 @@ * @constructor

@@ -23,3 +23,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.27.0

@@ -26,0 +26,0 @@ */

@@ -84,3 +84,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.33.0

@@ -87,0 +87,0 @@ */

@@ -17,3 +17,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.27.0

@@ -20,0 +20,0 @@ */

@@ -20,3 +20,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.46

@@ -23,0 +23,0 @@ */

@@ -17,3 +17,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.27.0

@@ -20,0 +20,0 @@ */

@@ -17,3 +17,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.27.0

@@ -20,0 +20,0 @@ */

@@ -13,3 +13,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.27.0

@@ -16,0 +16,0 @@ */

@@ -14,3 +14,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.27.0

@@ -17,0 +17,0 @@ */

@@ -24,3 +24,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.27.0

@@ -27,0 +27,0 @@ */

@@ -18,3 +18,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.27.0

@@ -21,0 +21,0 @@ */

@@ -14,3 +14,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.46

@@ -17,0 +17,0 @@ */

@@ -15,3 +15,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.46

@@ -18,0 +18,0 @@ */

@@ -13,3 +13,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @experimental Since 1.44.0

@@ -16,0 +16,0 @@ */

@@ -48,3 +48,3 @@ /*

* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase
* @version 1.84.0
* @version 1.84.1
* @since 1.38

@@ -51,0 +51,0 @@ * @constructor

@@ -36,3 +36,3 @@ /*

* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase
* @version 1.84.0
* @version 1.84.1
* @since 1.38

@@ -39,0 +39,0 @@ * @constructor

@@ -37,3 +37,3 @@ /*

* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase
* @version 1.84.0
* @version 1.84.1
* @since 1.60

@@ -40,0 +40,0 @@ * @constructor

@@ -38,3 +38,3 @@ /*

* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase
* @version 1.84.0
* @version 1.84.1
* @since 1.58

@@ -41,0 +41,0 @@ * @constructor

@@ -34,3 +34,3 @@ /*

* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase
* @version 1.84.0
* @version 1.84.1
* @since 1.61

@@ -37,0 +37,0 @@ * @constructor

@@ -34,3 +34,3 @@ /*

* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase
* @version 1.84.0
* @version 1.84.1
* @constructor

@@ -37,0 +37,0 @@ * @public

@@ -37,3 +37,3 @@ /*

* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase
* @version 1.84.0
* @version 1.84.1
* @since 1.60

@@ -40,0 +40,0 @@ * @constructor

@@ -35,3 +35,3 @@ /*

* @extends sap.ui.core.Control
* @version 1.84.0
* @version 1.84.1
* @since 1.38

@@ -38,0 +38,0 @@ * @constructor

@@ -10,3 +10,3 @@ /*!

* @static
* @version 1.84.0
* @version 1.84.1
* @since 1.38.0

@@ -13,0 +13,0 @@ */

@@ -32,3 +32,3 @@ /*

* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase
* @version 1.84.0
* @version 1.84.1
* @constructor

@@ -35,0 +35,0 @@ * @public

@@ -35,3 +35,3 @@ /*

* @extends sap.ui.comp.smartmicrochart.SmartMicroChartBase
* @version 1.84.0
* @version 1.84.1
* @since 1.58

@@ -38,0 +38,0 @@ * @constructor

@@ -26,3 +26,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
*

@@ -29,0 +29,0 @@ * @public

@@ -112,3 +112,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
*

@@ -115,0 +115,0 @@ * @public

@@ -19,3 +19,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
*/

@@ -22,0 +22,0 @@ var AddMultiEditFields = {};

@@ -98,3 +98,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
*

@@ -249,8 +249,8 @@ * @public

return this._oTokenizer.getTokens();
} else if (this._oMultiComboBox) {
} else if (this._oMultiComboBox && this._oMultiComboBox.getAggregation("tokenizer")) {
return this._oMultiComboBox.getAggregation("tokenizer").getTokens();
} else if (this._oMultiInput){
} else if (this._oMultiInput) {
return this._oMultiInput.getTokens();
}
return [];
};

@@ -972,22 +972,29 @@

}
if (this._oHBox.getItems().length > 0) {
//Adjusting the first visible text
oFirstVisibleText = this._oHBox.getItems()[0];
oFirstVisibleText.setText(oFirstVisibleText.getTooltip());
// Display first token even if overflow happens
if (this._oHBox.getItems().length === 0 && this._iHiddenLabelsCount === 1 && !oText.getVisible()) {
this._iHiddenLabelsCount = 0;
oText.setVisible(true);
this._oMoreLink.setVisible(false);
} else {
if (this._oHBox.getItems().length > 0) {
//Adjusting the first visible text
oFirstVisibleText = this._oHBox.getItems()[0];
oFirstVisibleText.setText(oFirstVisibleText.getTooltip());
//Adjusting the existing last text (if any)
if (this._oHBox.getItems().length - 1 > 0) {
oLastVisibleText = this._oHBox.getItems()[(this._oHBox.getItems().length - 1)];
sNewText = "\u00a0" + this.getTextSeparator() + "\u00a0" + oLastVisibleText.getTooltip();
oLastVisibleText.setText(sNewText);
//Adjusting the existing last text (if any)
if (this._oHBox.getItems().length - 1 > 0) {
oLastVisibleText = this._oHBox.getItems()[(this._oHBox.getItems().length - 1)];
sNewText = "\u00a0" + this.getTextSeparator() + "\u00a0" + oLastVisibleText.getTooltip();
oLastVisibleText.setText(sNewText);
}
//Adding new text at the end
oText.setText(oText.getText() + "\u00a0" + this.getTextSeparator() + "\u00a0");
} else {
//Adding the Text with separator if no items are there in HBox
oText.setText(oText.getTooltip() + "\u00a0" + this.getTextSeparator() + "\u00a0");
}
//Adding new text at the end
oText.setText(oText.getText() + "\u00a0" + this.getTextSeparator() + "\u00a0");
} else {
//Adding the Text with separator if no items are there in HBox
oText.setText(oText.getTooltip() + "\u00a0" + this.getTextSeparator() + "\u00a0");
this._oMoreLink.setVisible(true);
this._oMoreLink.setText(this._iHiddenLabelsCount + " " + oBundle.getText("POPOVER_DEFINE_MORE_LINKS"));
}
this._oMoreLink.setVisible(true);
this._oMoreLink.setText(this._iHiddenLabelsCount + " " + oBundle.getText("POPOVER_DEFINE_MORE_LINKS"));
}

@@ -994,0 +1001,0 @@

@@ -17,3 +17,3 @@ /*

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @constructor

@@ -20,0 +20,0 @@ * @public

@@ -33,3 +33,3 @@ /*!

* @author SAP SE
* @version 1.84.0
* @version 1.84.1
* @since 1.63.0

@@ -36,0 +36,0 @@ *

@@ -93,3 +93,3 @@ /*

* @param {object} [mSettings] initial settings for the new control
* @version 1.84.0
* @version 1.84.1
* @experimental

@@ -96,0 +96,0 @@ * @private

@@ -35,3 +35,3 @@ /*

* @param {object} [mSettings] initial settings for the new control
* @version 1.84.0
* @version 1.84.1
* @experimental

@@ -38,0 +38,0 @@ * @private

@@ -19,3 +19,3 @@ /*

* @ui5-restricted sap.ui.comp.valuehelpdialog.P13nFilterPanel
* @version 1.84.0
* @version 1.84.1
* @alias sap.ui.comp.valuehelpdialog.P13nOperationsHelper

@@ -22,0 +22,0 @@ */

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 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

Sorry, the diff of this file is too big to display