@sapui5/sap.suite.ui.commons 1.120.10 → 1.120.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sap/suite/ui/commons/.library +1 -1
- package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilder.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderItem.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
- package/src/sap/suite/ui/commons/CloudFilePicker.js +1 -1
- package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
- package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
- package/src/sap/suite/ui/commons/TimelineNavigator.js +24 -40
- package/src/sap/suite/ui/commons/collaboration/flpplugins/msplugin/Component.js +15 -2
- package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/library.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountItem.js +2 -1
- package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
package/package.json
CHANGED
|
@@ -582,20 +582,18 @@ sap.ui.define([
|
|
|
582
582
|
* @returns {boolean} Whether oElement has tabbable children
|
|
583
583
|
* @private
|
|
584
584
|
*/
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
}
|
|
598
|
-
};
|
|
585
|
+
TimelineNavigator.prototype._hasTabbableChildren = function (oElement) {
|
|
586
|
+
if (oElement && oElement.tabIndex >= 0) {
|
|
587
|
+
return true;
|
|
588
|
+
}
|
|
589
|
+
var that = this;
|
|
590
|
+
if (oElement && oElement.childElementCount > 0) {
|
|
591
|
+
oElement.childNodes.forEach(function (oChild) {
|
|
592
|
+
return that._hasTabbableChildren(oChild);
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
return false;
|
|
596
|
+
};
|
|
599
597
|
|
|
600
598
|
/**
|
|
601
599
|
* Checks whether element is last tabbable child in timeline
|
|
@@ -615,14 +613,12 @@ sap.ui.define([
|
|
|
615
613
|
* @param {jQuery.Event} oEvent The original event object
|
|
616
614
|
* @private
|
|
617
615
|
*/
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
}
|
|
625
|
-
};
|
|
616
|
+
TimelineNavigator.prototype.onsaptabnext = function (oEvent) {
|
|
617
|
+
if (oEvent.target.id && this._isLastChildInTimeline(oEvent)){
|
|
618
|
+
var sElementId = this.oDomRef.id + "-after";
|
|
619
|
+
jQuery(window.document.getElementById(sElementId)).focus();
|
|
620
|
+
}
|
|
621
|
+
};
|
|
626
622
|
|
|
627
623
|
/**
|
|
628
624
|
* Handles the onsaptabprevious event
|
|
@@ -631,24 +627,12 @@ sap.ui.define([
|
|
|
631
627
|
* @param {jQuery.Event} oEvent The original event object
|
|
632
628
|
* @private
|
|
633
629
|
*/
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
return;
|
|
641
|
-
}
|
|
642
|
-
if (oTimelineTabbableItem.length) {
|
|
643
|
-
oTimelineTabbableItem[oTimelineTabbableItem.length - 1].focus();
|
|
644
|
-
oEvent.preventDefault();
|
|
645
|
-
} else {
|
|
646
|
-
oEvent.target.focus();
|
|
647
|
-
oEvent.preventDefault();
|
|
648
|
-
return;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
};
|
|
630
|
+
TimelineNavigator.prototype.onsaptabprevious = function(oEvent) {
|
|
631
|
+
if ( this._isInDomRefs(oEvent.target)) {
|
|
632
|
+
var sElementId = this.oDomRef.id + "-before";
|
|
633
|
+
jQuery(window.document.getElementById(sElementId)).focus();
|
|
634
|
+
}
|
|
635
|
+
};
|
|
652
636
|
|
|
653
637
|
/**
|
|
654
638
|
* Handles the onfocusin event
|
|
@@ -8,11 +8,13 @@ sap.ui.define(
|
|
|
8
8
|
[
|
|
9
9
|
"sap/ui/core/Component",
|
|
10
10
|
"sap/base/Log",
|
|
11
|
-
"../../ServiceContainer"
|
|
11
|
+
"../../ServiceContainer",
|
|
12
|
+
"../../CollaborationHelper"
|
|
12
13
|
],
|
|
13
|
-
function (Component, Log, ServiceContainer) {
|
|
14
|
+
function (Component, Log, ServiceContainer, CollaborationHelper) {
|
|
14
15
|
"use strict";
|
|
15
16
|
var oLogger = Log.getLogger("sap.suite.ui.commons.collaboration.flpplugins.msplugin.Component");
|
|
17
|
+
const sTeamsAuthEndUrl = "sap-collaboration-authEndUrl";
|
|
16
18
|
/**
|
|
17
19
|
* Provides the collaboration plugin information for Microsoft Teams Integration.
|
|
18
20
|
* @extends sap.ui.core.Component
|
|
@@ -74,6 +76,17 @@ sap.ui.define(
|
|
|
74
76
|
// load plugin config
|
|
75
77
|
var oPluginConfigData = this._loadPluginConfigData();
|
|
76
78
|
if (oPluginConfigData) {
|
|
79
|
+
CollaborationHelper._getCurrentUrl().then(function (sCurrentUrl) {
|
|
80
|
+
try {
|
|
81
|
+
const oUrl = new URL(sCurrentUrl);
|
|
82
|
+
if (oUrl.searchParams.has(sTeamsAuthEndUrl)) {
|
|
83
|
+
const sAuthEndUrl = decodeURIComponent(oUrl.searchParams.get(sTeamsAuthEndUrl));
|
|
84
|
+
window.location.replace(sAuthEndUrl);
|
|
85
|
+
}
|
|
86
|
+
} catch (e) {
|
|
87
|
+
oLogger.error(`Error while redirecting to auth end url`);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
77
90
|
ServiceContainer.setCollaborationType("COLLABORATION_MSTEAMS", oPluginConfigData);
|
|
78
91
|
} else {
|
|
79
92
|
oLogger.error("Collaboration configuration for Microsoft Teams Integration could not be loaded.");
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.core.Control
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.120.
|
|
31
|
+
* @version 1.120.12
|
|
32
32
|
* @since 1.58.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
@@ -151,6 +151,7 @@ sap.ui.define([
|
|
|
151
151
|
};
|
|
152
152
|
|
|
153
153
|
TAccountItem.prototype.onAfterRendering = function () {
|
|
154
|
+
this.$().off("click");
|
|
154
155
|
this.$().on("click", this._click.bind(this));
|
|
155
156
|
};
|
|
156
157
|
|