New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@openui5/sap.ui.unified

Package Overview
Dependencies
Maintainers
4
Versions
591
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.58.4 to 1.60.0

src/sap/ui/unified/ColorPickerPopover.js

4

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

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

"dependencies": {
"@openui5/sap.ui.core": "1.58.4"
"@openui5/sap.ui.core": "1.60.0"
}
}

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

* @extends sap.ui.unified.calendar.Month
* @version 1.58.4
* @version 1.60.0
*

@@ -84,2 +84,13 @@ * @constructor

DatesRow.prototype._setAriaRole = function(sRole){
this._ariaRole = sRole;
return this;
};
DatesRow.prototype._getAriaRole = function(){
return this._ariaRole ? this._ariaRole : "gridcell";
};
/*

@@ -86,0 +97,0 @@ * Sets a start date.

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

* @extends sap.ui.core.Control
* @version 1.58.4
* @version 1.60.0
*

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

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

* @extends sap.ui.core.Control
* @version 1.58.4
* @version 1.60.0
*

@@ -42,0 +42,0 @@ * @constructor

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

mAccProps = {
role: "gridcell",
role: oMonth._getAriaRole(),
selected: false,

@@ -331,0 +331,0 @@ label: "",

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

* @extends sap.ui.core.Control
* @version 1.58.4
* @version 1.60.0
*

@@ -539,2 +539,13 @@ * @constructor

MonthsRow.prototype._setAriaRole = function(sRole){
this._ariaRole = sRole;
return this;
};
MonthsRow.prototype._getAriaRole = function(){
return this._ariaRole ? this._ariaRole : "gridcell";
};
/*

@@ -541,0 +552,0 @@ * Checks if a date is selected and what kind of selected

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

var mAccProps = {
role: "gridcell",
role: oMonthsRow._getAriaRole(),
selected: false,

@@ -224,0 +224,0 @@ label: "",

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

* @extends sap.ui.unified.calendar.DatesRow
* @version 1.58.4
* @version 1.60.0
*

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

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

* @extends sap.ui.core.Control
* @version 1.58.4
* @version 1.60.0
*

@@ -951,2 +951,13 @@ * @constructor

TimesRow.prototype._setAriaRole = function(sRole){
this._ariaRole = sRole;
return this;
};
TimesRow.prototype._getAriaRole = function(){
return this._ariaRole ? this._ariaRole : "gridcell";
};
function _initItemNavigation(){

@@ -953,0 +964,0 @@

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

var mAccProps = {
role: "gridcell",
role: oTimesRow._getAriaRole(),
selected: false,

@@ -194,0 +194,0 @@ label: "",

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

* @extends sap.ui.core.Control
* @version 1.58.4
* @version 1.60.0
*

@@ -58,0 +58,0 @@ * @constructor

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

* @extends sap.ui.unified.DateTypeRange
* @version 1.58.4
* @version 1.60.0
*

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

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

"sap/base/util/deepEqual",
"sap/ui/core/Popup",
"sap/base/Log",

@@ -33,2 +34,3 @@ "sap/ui/thirdparty/jquery"

deepEqual,
Popup,
Log,

@@ -53,3 +55,3 @@ jQuery

* @extends sap.ui.unified.Calendar
* @version 1.58.4
* @version 1.60.0
*

@@ -207,2 +209,11 @@ * @constructor

CalendarDateInterval.prototype._setAriaRole = function(sRole){
var oDatesRow = this.getAggregation("month")[0];
oDatesRow._setAriaRole(sRole);
oDatesRow.invalidate();
return this;
};
CalendarDateInterval.prototype._handleButton1 = function(oEvent){

@@ -881,5 +892,3 @@ if (this.getPickerPopup()) {

if (!this._oPopup) {
//TODO: global jquery call found
jQuery.sap.require("sap.ui.core.Popup");
this._oPopup = new sap.ui.core.Popup();
this._oPopup = new Popup();
this._oPopup.setAutoClose(true);

@@ -898,3 +907,3 @@ this._oPopup.setAutoCloseAreas([this.getDomRef()]);

var oHeader = this.getAggregation("header");
var eDock = sap.ui.core.Popup.Dock;
var eDock = Popup.Dock;
this._oPopup.open(0, eDock.CenterTop, eDock.CenterTop, oHeader, null, "flipfit", true);

@@ -901,0 +910,0 @@

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

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

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

* @extends sap.ui.core.Element
* @version 1.58.4
* @version 1.60.0
*

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

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

"sap/base/util/deepEqual",
"sap/ui/core/Popup",
"sap/base/Log",

@@ -45,2 +46,3 @@ "sap/ui/thirdparty/jquery"

deepEqual,
Popup,
Log,

@@ -68,3 +70,3 @@ jQuery

* @extends sap.ui.core.Control
* @version 1.58.4
* @version 1.60.0
*

@@ -248,2 +250,11 @@ * @constructor

CalendarMonthInterval.prototype._setAriaRole = function(sRole){
var oMonthsRow = this.getAggregation("monthsRow");
oMonthsRow._setAriaRole(sRole);
oMonthsRow.invalidate();
return this;
};
CalendarMonthInterval.prototype._initializeHeader = function() {

@@ -1385,5 +1396,3 @@ var oHeader = new Header(this.getId() + "--Head", {

if (!this._oPopup) {
//TODO: global jquery call found
jQuery.sap.require("sap.ui.core.Popup");
this._oPopup = new sap.ui.core.Popup();
this._oPopup = new Popup();
this._oPopup.setAutoClose(true);

@@ -1402,3 +1411,3 @@ this._oPopup.setAutoCloseAreas([this.getDomRef()]);

var oHeader = this.getAggregation("header");
var eDock = sap.ui.core.Popup.Dock;
var eDock = Popup.Dock;
this._oPopup.open(0, eDock.CenterTop, eDock.CenterTop, oHeader, null, "flipfit", true);

@@ -1405,0 +1414,0 @@

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

* @extends sap.ui.unified.CalendarDateInterval
* @version 1.58.4
* @version 1.60.0
*

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

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

this.renderIntervalHeader(oRm, oIH, oRow._bRTL, iLeftPercent, iRightPercent);
this.renderIntervalHeader(oRm, oRow, oIH, oRow._bRTL, iLeftPercent, iRightPercent);
}

@@ -353,5 +353,7 @@ }

CalendarRowRenderer.renderIntervalHeader = function(oRm, oIntervalHeader, bRtl, left, right) {
CalendarRowRenderer.renderIntervalHeader = function(oRm, oRow, oIntervalHeader, bRtl, left, right) {
var sId = oIntervalHeader.appointment.getId();
var oArrowValues = oRow._calculateAppoitnmentVisualCue(oIntervalHeader.appointment);
oRm.write("<div");

@@ -412,2 +414,6 @@ oRm.addClass("sapUiCalendarRowAppsIntHead");

if (oArrowValues.appTimeUnitsDifRowStart > 0) {
oRm.writeIcon("sap-icon://arrow-left", ["sapUiCalendarAppArrowIconLeft"], { title: null });
}
var sIcon = oIntervalHeader.appointment.getIcon();

@@ -445,2 +451,6 @@ if (sIcon) {

if (oArrowValues.appTimeUnitsDifRowEnd > 0) {
oRm.writeIcon("sap-icon://arrow-right",["sapUiCalendarAppArrowIconRight"], { title: null });
}
oRm.write("</div>");

@@ -463,2 +473,4 @@ oRm.write("</div>");

var oArrowValues = oRow._calculateAppoitnmentVisualCue(oAppointment);
if (aAriaLabels.length > 0) {

@@ -552,2 +564,6 @@ mAccProps["labelledby"].value = mAccProps["labelledby"].value + " " + aAriaLabels.join(" ");

if (oArrowValues.appTimeUnitsDifRowStart > 0) {
oRm.writeIcon("sap-icon://arrow-left", ["sapUiCalendarAppArrowIconLeft"], { title: null });
}
if (sIcon) {

@@ -562,2 +578,7 @@ var aClasses = ["sapUiCalendarAppIcon"];

oRm.write("<div");
oRm.addClass("sapUiCalendarAppTitleWrapper");
oRm.writeClasses();
oRm.write(">");
if (sTitle) {

@@ -583,2 +604,8 @@ oRm.write("<span");

oRm.write("</div>");
if (oArrowValues.appTimeUnitsDifRowEnd > 0) {
oRm.writeIcon("sap-icon://arrow-right", ["sapUiCalendarAppArrowIconRight"], { title: null });
}
// ARIA information about start and end

@@ -615,8 +642,10 @@ var sAriaText = oRow._oRb.getText("CALENDAR_START_TIME") + ": " + oRow._oFormatAria.format(oAppointment.getStartDate());

sNoAppointments,
// gets a concatenated array with appointments + interval headers, which intersect the visible interval
// then sorts the array using our custom comparer
aSortedAppInfos = aAppointments.concat(oRow.getIntervalHeaders().filter(function(oIntHeadApp) {
var iAppStart = oIntHeadApp.getStartDate().getTime(),
iAppEnd = oIntHeadApp.getStartDate().getTime(),
iAppEnd = oIntHeadApp.getEndDate().getTime(),
iRowStart = oRowStartDate.getTime(),
iRowEnd = iRowStart + 1000 * 60 * 60 * 24;
return (iAppStart >= iRowStart && iAppStart < iRowEnd) || (iAppEnd >= iRowStart && iAppEnd < iRowEnd);
return !(iAppStart >= iRowEnd || iAppEnd <= iRowStart);
}).map(function(oIntHeadApp) {

@@ -676,3 +705,3 @@ return {appointment: oIntHeadApp, isHeader: true};

if (oAppointmentInfo.isHeader) {
this.renderIntervalHeader(oRm, oAppointmentInfo);
this.renderIntervalHeader(oRm, oRow, oAppointmentInfo);
} else {

@@ -679,0 +708,0 @@ this.renderAppointment(oRm, oRow, oAppointmentInfo, aTypes, true);

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

* @extends sap.ui.unified.CalendarDateInterval
* @version 1.58.4
* @version 1.60.0
*

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

@@ -60,0 +60,0 @@ * @constructor

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

*
* @version 1.58.4
* @version 1.60.0
* @namespace

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

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

* @extends sap.ui.core.Element
* @version 1.58.4
* @version 1.60.0
*

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

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

* @extends sap.ui.unified.DateRange
* @version 1.58.4
* @version 1.60.0
*

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

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

*
* @see {@link https://experience.sap.com/fiori-design-web/upload-collection/ Upload Collection}
* @see {@link fiori:https://experience.sap.com/fiori-design-web/upload-collection/ Upload Collection}
*

@@ -63,3 +63,3 @@ * @extends sap.ui.core.Control

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

@@ -66,0 +66,0 @@ * @constructor

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

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

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

*/
sap.ui.define(['sap/ui/core/Core', 'sap/ui/base/Object'], function(Core, BaseObject) {
sap.ui.define(['sap/ui/core/Core', 'sap/ui/base/Object', 'sap/ui/core/library'], function(Core, BaseObject) {

@@ -18,3 +18,3 @@ "use strict";

name : "sap.ui.unified",
version: "1.58.4",
version: "1.60.0",
dependencies : ["sap.ui.core"],

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

"sap.ui.unified.ColorPicker",
"sap.ui.unified.ColorPickerPopover",
"sap.ui.unified.Currency",

@@ -85,3 +86,3 @@ "sap.ui.unified.FileUploader",

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
* @public

@@ -88,0 +89,0 @@ */

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
* @since 1.21.0

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
* @since 1.21.0

@@ -49,2 +49,9 @@ *

icon : {type : "sap.ui.core.URI", group : "Appearance", defaultValue : ''}
},
associations : {
/**
* Association to controls / IDs which label this control (see WAI-ARIA attribute aria-labelledby).
*/
ariaLabelledBy : {type : "sap.ui.core.Control", multiple : true, singularName : "ariaLabelledBy"}
}

@@ -51,0 +58,0 @@ }});

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
* @since 1.21.0

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

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

*
* @version 1.58.4
* @version 1.60.0
* @namespace

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
* @since 1.21.0

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

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

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

* @author SAP SE
* @version 1.58.4
* @version 1.60.0
*

@@ -39,0 +39,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

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 not supported yet

Sorry, the diff of this file is not supported yet

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