Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@openui5/sap.ui.unified

Package Overview
Dependencies
Maintainers
0
Versions
583
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openui5/sap.ui.unified - npm Package Compare versions

Comparing version 1.96.35 to 1.96.36

4

package.json
{
"name": "@openui5/sap.ui.unified",
"version": "1.96.35",
"version": "1.96.36",
"description": "OpenUI5 UI Library sap.ui.unified",

@@ -17,4 +17,4 @@ "author": "SAP SE (https://www.sap.com)",

"dependencies": {
"@openui5/sap.ui.core": "1.96.35"
"@openui5/sap.ui.core": "1.96.36"
}
}

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

* @extends sap.ui.unified.calendar.Month
* @version 1.96.35
* @version 1.96.36
*

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

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

* @extends sap.ui.core.Control
* @version 1.96.35
* @version 1.96.36
*

@@ -33,0 +33,0 @@ * @constructor

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

* @extends sap.ui.core.Control
* @version 1.96.35
* @version 1.96.36
*

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

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

* @extends sap.ui.core.Control
* @version 1.96.35
* @version 1.96.36
*

@@ -57,0 +57,0 @@ * @constructor

@@ -382,4 +382,3 @@ /*!

sAriaType = "",
oLegend = oHelper.oLegend,
sNonWorkingDayText;
oLegend = oHelper.oLegend;

@@ -393,2 +392,6 @@ var sYyyymmdd = oMonth._oFormatYyyymmdd.format(oDay.toUTCJSDate(), true);

var bShouldBeMarkedAsSpecialDate = oMonth._isSpecialDateMarkerEnabled(oDay);
var rb = sap.ui.getCore().getLibraryResourceBundle("sap.ui.unified");
var sNonWorkingDayText = rb.getText("LEGEND_NON_WORKING_DAY");
var aTooltipTexts = [];
// Days before 0001.01.01 should be disabled.

@@ -420,3 +423,3 @@ if (bBeforeFirstYear) {

oRm.class("sapUiCalItemNow");
mAccProps["label"] = oHelper.sToday + " ";
aTooltipTexts.push(rb.getText("LEGEND_TODAY"));
}

@@ -449,28 +452,33 @@

if (oDayType.type === CalendarDayType.NonWorking) {
aTooltipTexts.push(sNonWorkingDayText);
oRm.class("sapUiCalItemWeekEnd");
sNonWorkingDayText = this._addNonWorkingDayText(mAccProps);
return;
}
oRm.class("sapUiCalItem" + oDayType.type);
sAriaType = oDayType.type;
if (oDayType.tooltip) {
oRm.attr('title', oDayType.tooltip);
aTooltipTexts.push(oDayType.tooltip);
}
}
}.bind(this));
});
}
if (!sNonWorkingDayText) { // if sNonWorkingDayText exists, it is already included above as specialDate of type NonWorking
if (oHelper.aNonWorkingDays) { // check if there are nonWorkingDays passed and add text to them
oHelper.aNonWorkingDays.forEach(function (iNonWorkingDay) {
if (oDay.getDay() === iNonWorkingDay) {
this._addNonWorkingDayText(mAccProps);
}
}.bind(this));
} else if (oDay.getDay() === oHelper.iWeekendStart || oDay.getDay() === oHelper.iWeekendEnd) { // otherwise add the text to the NonWorkigDays from the locale
this._addNonWorkingDayText(mAccProps);
}
if (oHelper.aNonWorkingDays) { // check if there are nonWorkingDays passed and add text to them
oHelper.aNonWorkingDays.forEach(function (iNonWorkingDay) {
if (oDay.getDay() === iNonWorkingDay) {
aTooltipTexts.push(sNonWorkingDayText);
}
});
} else if ((oDay.getDay() === oHelper.iWeekendStart || oDay.getDay() === oHelper.iWeekendEnd)) { // otherwise add the text to the NonWorkigDays from the locale
aTooltipTexts.push(sNonWorkingDayText);
}
if (aTooltipTexts.length) {
var aTooltips = aTooltipTexts.filter(function(sText, iPos) {
return aTooltipTexts.indexOf(sText) === iPos;
});
oRm.attr('title', aTooltips.join(" "));
}

@@ -563,14 +571,2 @@ //oMonth.getDate() is a public date object, so it is always considered local timezones.

/**
* Includes additional text to the DOM indicating that the day is non-working
*
* @param {Object} mAccProps The accessibility properties for the day to be rendered.
* @returns {string} sText The text for the non-working day from the bundle
*/
MonthRenderer._addNonWorkingDayText = function (mAccProps) {
var sText = sap.ui.getCore().getLibraryResourceBundle("sap.ui.unified").getText("LEGEND_NON_WORKING_DAY") + " ";
mAccProps["label"] += sText;
return sText;
};
MonthRenderer._renderWeekNumber = function(oRm, oDay, oHelper, oMonth) {

@@ -577,0 +573,0 @@ var iWeekNumber = oMonth._calculateWeekNumber(oDay);

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

* @extends sap.ui.core.Control
* @version 1.96.35
* @version 1.96.36
*

@@ -67,0 +67,0 @@ * @constructor

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

* @extends sap.ui.unified.calendar.DatesRow
* @version 1.96.35
* @version 1.96.36
*

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

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

* @extends sap.ui.core.Control
* @version 1.96.35
* @version 1.96.36
*

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

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

* @extends sap.ui.core.Control
* @version 1.96.35
* @version 1.96.36
*

@@ -62,0 +62,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

@@ -55,0 +55,0 @@ * @constructor

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

* @extends sap.ui.unified.DateTypeRange
* @version 1.96.35
* @version 1.96.36
*

@@ -27,0 +27,0 @@ * @constructor

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

* @extends sap.ui.unified.Calendar
* @version 1.96.35
* @version 1.96.36
*

@@ -63,0 +63,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

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

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

* @extends sap.ui.core.Element
* @version 1.96.35
* @version 1.96.36
*

@@ -27,0 +27,0 @@ * @constructor

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

* @extends sap.ui.core.Control
* @version 1.96.35
* @version 1.96.36
*

@@ -73,0 +73,0 @@ * @constructor

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

* @extends sap.ui.unified.CalendarDateInterval
* @version 1.96.35
* @version 1.96.36
*

@@ -63,0 +63,0 @@ * @constructor

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

* @extends sap.ui.unified.CalendarDateInterval
* @version 1.96.35
* @version 1.96.36
*

@@ -45,0 +45,0 @@ * @constructor

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

* @extends sap.ui.core.Control
* @version 1.96.35
* @version 1.96.36
*

@@ -53,0 +53,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

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

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

@@ -64,0 +64,0 @@ * @constructor

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

*
* @version 1.96.35
* @version 1.96.36
* @namespace

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

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

* @extends sap.ui.core.Element
* @version 1.96.35
* @version 1.96.36
*

@@ -26,0 +26,0 @@ * @constructor

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

* @extends sap.ui.unified.DateRange
* @version 1.96.35
* @version 1.96.36
*

@@ -31,0 +31,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

@@ -28,0 +28,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

@@ -26,0 +26,0 @@ * @constructor

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

name : "sap.ui.unified",
version: "1.96.35",
version: "1.96.36",
dependencies : ["sap.ui.core"],

@@ -102,3 +102,3 @@ designtime: "sap/ui/unified/designtime/library.designtime",

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
* @since 1.28

@@ -105,0 +105,0 @@ * @public

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
* @since 1.21.0

@@ -65,0 +65,0 @@ *

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
* @since 1.21.0

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

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
* @since 1.21.0

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

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

*
* @version 1.96.35
* @version 1.96.36
* @namespace

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

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
* @since 1.21.0

@@ -57,0 +57,0 @@ *

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

@@ -31,0 +31,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

@@ -34,0 +34,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

@@ -33,0 +33,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

@@ -54,0 +54,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

@@ -46,0 +46,0 @@ * @constructor

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

* @author SAP SE
* @version 1.96.35
* @version 1.96.36
*

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

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc