@sapui5/sap.suite.ui.commons
Advanced tools
Comparing version
{ | ||
"name": "@sapui5/sap.suite.ui.commons", | ||
"version": "1.120.10", | ||
"version": "1.120.11", | ||
"description": "SAPUI5 Library sap.suite.ui.commons", | ||
@@ -5,0 +5,0 @@ "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/", |
@@ -22,3 +22,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.65.0 | ||
@@ -25,0 +25,0 @@ * |
@@ -128,3 +128,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.56.0 | ||
@@ -131,0 +131,0 @@ * |
@@ -116,3 +116,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.56.0 | ||
@@ -119,0 +119,0 @@ * |
@@ -21,3 +21,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.56.0 | ||
@@ -24,0 +24,0 @@ * |
@@ -18,3 +18,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.60.0 | ||
@@ -21,0 +21,0 @@ * |
@@ -35,3 +35,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.56.0 | ||
@@ -38,0 +38,0 @@ * |
@@ -17,3 +17,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.56.0 | ||
@@ -20,0 +20,0 @@ * |
@@ -18,3 +18,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.56.0 | ||
@@ -21,0 +21,0 @@ * |
@@ -121,3 +121,3 @@ /*! | ||
* @internal | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
*/ | ||
@@ -124,0 +124,0 @@ var CloudFilePicker = Dialog.extend("sap.suite.ui.commons.CloudFilePicker", { |
@@ -11,7 +11,9 @@ /*! | ||
"sap/base/Log", | ||
"../../ServiceContainer" | ||
"../../ServiceContainer", | ||
"../../CollaborationHelper" | ||
], | ||
function (Component, Log, ServiceContainer) { | ||
function (Component, Log, ServiceContainer, CollaborationHelper) { | ||
"use strict"; | ||
var oLogger = Log.getLogger("sap.suite.ui.commons.collaboration.flpplugins.msplugin.Component"); | ||
const sTeamsAuthEndUrl = "sap-collaboration-authEndUrl"; | ||
/** | ||
@@ -78,2 +80,13 @@ * Provides the collaboration plugin information for Microsoft Teams Integration. | ||
if (oPluginConfigData) { | ||
CollaborationHelper._getCurrentUrl().then(function (sCurrentUrl) { | ||
try { | ||
const oUrl = new URL(sCurrentUrl); | ||
if (oUrl.searchParams.has(sTeamsAuthEndUrl)) { | ||
const sAuthEndUrl = decodeURIComponent(oUrl.searchParams.get(sTeamsAuthEndUrl)); | ||
window.location.replace(sAuthEndUrl); | ||
} | ||
} catch (e) { | ||
oLogger.error(`Error while redirecting to auth end url`); | ||
} | ||
}); | ||
ServiceContainer.setCollaborationType("COLLABORATION_MSTEAMS", oPluginConfigData); | ||
@@ -80,0 +93,0 @@ } else { |
@@ -25,3 +25,3 @@ /*! | ||
* @alias sap.suite.ui.commons.flexibility.changeHandler.PropertyChangeMapper | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -28,0 +28,0 @@ * @private |
@@ -24,3 +24,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.67.0 | ||
@@ -27,0 +27,0 @@ * |
@@ -26,3 +26,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.66.0 | ||
@@ -29,0 +29,0 @@ * |
@@ -24,3 +24,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.66.0 | ||
@@ -27,0 +27,0 @@ * |
@@ -18,3 +18,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.66.0 | ||
@@ -21,0 +21,0 @@ * |
@@ -24,3 +24,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.66.0 | ||
@@ -27,0 +27,0 @@ * |
@@ -21,3 +21,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.66.0 | ||
@@ -24,0 +24,0 @@ * |
@@ -13,3 +13,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.66.0 | ||
@@ -16,0 +16,0 @@ * |
@@ -30,3 +30,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.68.0 | ||
@@ -33,0 +33,0 @@ * |
@@ -25,3 +25,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.66.0 | ||
@@ -28,0 +28,0 @@ * |
@@ -19,3 +19,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.66.0 | ||
@@ -22,0 +22,0 @@ * |
@@ -205,3 +205,3 @@ /*! | ||
], | ||
version: "1.120.10", | ||
version: "1.120.11", | ||
extensions: { | ||
@@ -208,0 +208,0 @@ flChangeHandlers: { |
@@ -33,3 +33,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* | ||
@@ -36,0 +36,0 @@ * @constructor |
@@ -34,3 +34,3 @@ // Provides control MicroProcessFlowItem. | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* | ||
@@ -37,0 +37,0 @@ * @constructor |
@@ -29,3 +29,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -32,0 +32,0 @@ * |
@@ -36,3 +36,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -39,0 +39,0 @@ * |
@@ -24,3 +24,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -27,0 +27,0 @@ * |
@@ -26,3 +26,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -29,0 +29,0 @@ * |
@@ -26,3 +26,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.60.0 | ||
@@ -29,0 +29,0 @@ * |
@@ -28,3 +28,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -31,0 +31,0 @@ * |
@@ -27,3 +27,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -30,0 +30,0 @@ * |
@@ -21,3 +21,3 @@ sap.ui.define( | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -24,0 +24,0 @@ * |
@@ -40,3 +40,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -43,0 +43,0 @@ * |
@@ -32,3 +32,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -35,0 +35,0 @@ * |
@@ -30,3 +30,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -33,0 +33,0 @@ * |
@@ -51,3 +51,3 @@ /*! | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.50 | ||
@@ -54,0 +54,0 @@ * |
@@ -52,3 +52,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.58.0 | ||
@@ -55,0 +55,0 @@ * |
@@ -37,3 +37,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.58.0 | ||
@@ -40,0 +40,0 @@ * |
@@ -31,3 +31,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.58.0 | ||
@@ -155,2 +155,3 @@ * | ||
TAccountItem.prototype.onAfterRendering = function () { | ||
this.$().off("click"); | ||
this.$().on("click", this._click.bind(this)); | ||
@@ -157,0 +158,0 @@ }; |
@@ -20,3 +20,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.58.0 | ||
@@ -23,0 +23,0 @@ * |
@@ -58,3 +58,3 @@ sap.ui.define([ | ||
* @author SAP SE | ||
* @version 1.120.10 | ||
* @version 1.120.11 | ||
* @since 1.58.0 | ||
@@ -61,0 +61,0 @@ * |
@@ -585,16 +585,14 @@ /*! | ||
*/ | ||
TimelineNavigator.prototype._hasTabbableChildren = function (oElement) { | ||
var oTimelineTabbableItem = jQuery(oElement.closest(".sapSuiteUiCommonsTimelineItemOutline")).find(":sapTabbable"); | ||
if (oTimelineTabbableItem && oTimelineTabbableItem.index(oElement) >= 0 ) { | ||
if (oTimelineTabbableItem.index(oElement) == oTimelineTabbableItem.length - 1) { | ||
return false; | ||
} else { | ||
return true; | ||
} | ||
} else if (oTimelineTabbableItem.length == 0) { | ||
return false; | ||
} else { | ||
return true; | ||
} | ||
}; | ||
TimelineNavigator.prototype._hasTabbableChildren = function (oElement) { | ||
if (oElement && oElement.tabIndex >= 0) { | ||
return true; | ||
} | ||
var that = this; | ||
if (oElement && oElement.childElementCount > 0) { | ||
oElement.childNodes.forEach(function (oChild) { | ||
return that._hasTabbableChildren(oChild); | ||
}); | ||
} | ||
return false; | ||
}; | ||
@@ -619,10 +617,8 @@ /** | ||
*/ | ||
TimelineNavigator.prototype.onsaptabnext = function (oEvent) { | ||
if (oEvent.target.id && this._isLastChildInTimeline(oEvent)){ | ||
if (oEvent.target.closest(".sapSuiteUiCommonsTimelineItemOutline")) { | ||
oEvent.target.closest(".sapSuiteUiCommonsTimelineItemOutline").focus(); | ||
oEvent.preventDefault(); | ||
} | ||
} | ||
}; | ||
TimelineNavigator.prototype.onsaptabnext = function (oEvent) { | ||
if (oEvent.target.id && this._isLastChildInTimeline(oEvent)){ | ||
var sElementId = this.oDomRef.id + "-after"; | ||
jQuery(window.document.getElementById(sElementId)).focus(); | ||
} | ||
}; | ||
@@ -636,20 +632,8 @@ /** | ||
*/ | ||
TimelineNavigator.prototype.onsaptabprevious = function(oEvent) { | ||
if ( this._isInDomRefs(oEvent.target)) { | ||
var oTimelineTabbableItem = jQuery(oEvent.target).find(":sapTabbable"); | ||
if (this.aItemDomRefs.indexOf(oEvent.target) == 0 ) { | ||
var sElementId = this.oDomRef.id + "-before"; | ||
jQuery(window.document.getElementById(sElementId)).focus(); | ||
return; | ||
} | ||
if (oTimelineTabbableItem.length) { | ||
oTimelineTabbableItem[oTimelineTabbableItem.length - 1].focus(); | ||
oEvent.preventDefault(); | ||
} else { | ||
oEvent.target.focus(); | ||
oEvent.preventDefault(); | ||
return; | ||
} | ||
} | ||
}; | ||
TimelineNavigator.prototype.onsaptabprevious = function(oEvent) { | ||
if ( this._isInDomRefs(oEvent.target)) { | ||
var sElementId = this.oDomRef.id + "-before"; | ||
jQuery(window.document.getElementById(sElementId)).focus(); | ||
} | ||
}; | ||
@@ -656,0 +640,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
9526867
088504
0