@sapui5/sap.suite.ui.commons 1.126.0 → 1.127.0
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 +2 -2
- package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
- package/src/sap/suite/ui/commons/Timeline.js +0 -3
- package/src/sap/suite/ui/commons/collaboration/CollaborationHelper.js +8 -3
- package/src/sap/suite/ui/commons/collaboration/ContactHelper.js +27 -10
- package/src/sap/suite/ui/commons/collaboration/ContactPopover.fragment.xml +12 -5
- package/src/sap/suite/ui/commons/collaboration/TeamsHelperService.js +2 -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 +2 -2
- 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/messagebundle.properties +7 -1
- package/src/sap/suite/ui/commons/networkgraph/Graph.js +24 -16
- package/src/sap/suite/ui/commons/networkgraph/GraphMap.js +1 -1
- package/src/sap/suite/ui/commons/networkgraph/Group.js +6 -1
- package/src/sap/suite/ui/commons/networkgraph/KeyboardNavigator.js +9 -2
- package/src/sap/suite/ui/commons/networkgraph/Node.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 +2 -2
- package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +2 -2
- package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
- package/src/sap/suite/ui/commons/themes/base/CalculationBuilderInput.less +1 -1
- package/src/sap/suite/ui/commons/themes/base/CalculationBuilderItem.less +2 -2
- package/src/sap/suite/ui/commons/themes/base/NetworkGraph.less +6 -1
- package/src/sap/suite/ui/commons/themes/base/TAccount.less +17 -17
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
* @extends sap.ui.core.Control
|
|
48
48
|
*
|
|
49
49
|
* @author SAP SE
|
|
50
|
-
* @version 1.
|
|
50
|
+
* @version 1.127.0
|
|
51
51
|
*
|
|
52
52
|
* @constructor
|
|
53
53
|
* @public
|
|
@@ -187,7 +187,7 @@ sap.ui.define([
|
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
MicroProcessFlow.prototype.init = function () {
|
|
190
|
-
Theming.
|
|
190
|
+
Theming.attachApplied(function () {
|
|
191
191
|
this._bThemeApplied = true;
|
|
192
192
|
this.invalidate();
|
|
193
193
|
}.bind(this));
|
|
@@ -1304,9 +1304,6 @@ sap.ui.define([
|
|
|
1304
1304
|
this._iItemCount = oBinding.sOperationMode === "Default" || oBinding.sOperationMode === "Server" ? 0 : this._iItemCount;
|
|
1305
1305
|
oBinding.getContexts(0, iGrowingThreshold);
|
|
1306
1306
|
oBindingInfo.length = iGrowingThreshold;
|
|
1307
|
-
oBinding.attachEventOnce("dataReceived", jQuery.proxy(function () {
|
|
1308
|
-
this.updateAggregation("content");
|
|
1309
|
-
}, this));
|
|
1310
1307
|
} else {
|
|
1311
1308
|
this.updateAggregation("content");
|
|
1312
1309
|
}
|
|
@@ -11,7 +11,8 @@ sap.ui.define(
|
|
|
11
11
|
var URL_KEY = "sap-url-hash";
|
|
12
12
|
var PARAM_SAP_CARD_TITLE = "&sap-ui-cardTitle";
|
|
13
13
|
var PARAM_SAP_STAGEVIEW_HASH = "&sap-stageview-hash";
|
|
14
|
-
var PARAM_SAP_CARD_ID = "&sap-ui-
|
|
14
|
+
var PARAM_SAP_CARD_ID = "&sap-ui-cardId";
|
|
15
|
+
var PARAM_SAP_XX_CARD_ID = "&sap-ui-xx-cardId";
|
|
15
16
|
var TRANSIENT_KEY = "transient";
|
|
16
17
|
var oLogger = Log.getLogger("sap.suite.ui.commons.collaboration.CollaborationHelper");
|
|
17
18
|
|
|
@@ -114,8 +115,12 @@ sap.ui.define(
|
|
|
114
115
|
var sHash = sCurrentUrl.split(URL_KEY)[1].split('=')[1];
|
|
115
116
|
if (sCurrentUrl.indexOf(PARAM_SAP_STAGEVIEW_HASH) > 0) {
|
|
116
117
|
sHash = sHash.split(PARAM_SAP_STAGEVIEW_HASH)[0];
|
|
117
|
-
} else if (sCurrentUrl.indexOf(PARAM_SAP_CARD_ID) > 0){
|
|
118
|
-
|
|
118
|
+
} else if (sCurrentUrl.indexOf(PARAM_SAP_CARD_ID) > 0 || sCurrentUrl.indexOf(PARAM_SAP_XX_CARD_ID) > 0) {
|
|
119
|
+
if (sCurrentUrl.indexOf(PARAM_SAP_CARD_ID) > 0){
|
|
120
|
+
sHash = sHash.split(PARAM_SAP_CARD_ID)[0];
|
|
121
|
+
} else {
|
|
122
|
+
sHash = sHash.split(PARAM_SAP_XX_CARD_ID)[0];
|
|
123
|
+
}
|
|
119
124
|
} else if (sCurrentUrl.indexOf(PARAM_SAP_CARD_TITLE) > 0){
|
|
120
125
|
sHash = sHash.split(PARAM_SAP_CARD_TITLE)[0];
|
|
121
126
|
}
|
|
@@ -18,8 +18,9 @@ sap.ui.define([
|
|
|
18
18
|
"sap/ui/core/Core",
|
|
19
19
|
"sap/ui/model/resource/ResourceModel",
|
|
20
20
|
"./CollaborationContactInfoHelper",
|
|
21
|
-
"sap/ui/performance/trace/FESRHelper"
|
|
22
|
-
|
|
21
|
+
"sap/ui/performance/trace/FESRHelper",
|
|
22
|
+
"sap/ui/core/Element"
|
|
23
|
+
], function (Controller, Fragment, JSONModel, mLibrary, Library, Core, ResourceModel, CollaborationContactInfoHelper, FESRHelper, Element) {
|
|
23
24
|
"use strict";
|
|
24
25
|
|
|
25
26
|
var I18_BUNDLE = Library.getResourceBundleFor("sap.suite.ui.commons");
|
|
@@ -93,10 +94,7 @@ sap.ui.define([
|
|
|
93
94
|
"badgeIcon": oFullProfileData.badgeIcon,
|
|
94
95
|
"badgeValueState": oFullProfileData.badgeValueState,
|
|
95
96
|
"badgeTooltip": oFullProfileData.badgeTooltip,
|
|
96
|
-
"fesrStepName": "MST:ContactAction"
|
|
97
|
-
"callBackHandler": function (oEvent) {
|
|
98
|
-
that.handleMSTeamsPress(oEvent);
|
|
99
|
-
}
|
|
97
|
+
"fesrStepName": "MST:ContactAction"
|
|
100
98
|
}]
|
|
101
99
|
},
|
|
102
100
|
|
|
@@ -140,6 +138,15 @@ sap.ui.define([
|
|
|
140
138
|
this.sEmail = sEmail;
|
|
141
139
|
this.oParams = oParams;
|
|
142
140
|
oPopover.setBusy(true);
|
|
141
|
+
var oTntSet = {
|
|
142
|
+
setFamily: "tnt",
|
|
143
|
+
setURI: sap.ui.require.toUrl("sap/tnt/themes/base/illustrations")
|
|
144
|
+
};
|
|
145
|
+
sap.m.IllustrationPool.registerIllustrationSet(oTntSet, false);
|
|
146
|
+
var oJsonModel = new JSONModel({
|
|
147
|
+
"isUserExistsInTeams": true
|
|
148
|
+
});
|
|
149
|
+
this._oContactPopover.setModel(oJsonModel, "userData");
|
|
143
150
|
this.isDirectCommunicationEnabled = isDirectCommunicationEnabled;
|
|
144
151
|
this._oContactPopover.setModel(new sap.ui.model.resource.ResourceModel({ bundle: I18_BUNDLE }), "i18n");
|
|
145
152
|
return oPopover;
|
|
@@ -179,10 +186,15 @@ sap.ui.define([
|
|
|
179
186
|
this.getFullProfileByEmail(this.sEmail).then(function (data) {
|
|
180
187
|
that._oContactPopover.setBusy(false);
|
|
181
188
|
if (data && data.mail === "") {
|
|
182
|
-
|
|
183
|
-
|
|
189
|
+
data.isUserExistsInTeams = false;
|
|
190
|
+
data.mail = that.sEmail;
|
|
191
|
+
data.params = that.oParams;
|
|
192
|
+
that._oContactPopover.setInitialFocus(Element.getElementById("mail"));
|
|
193
|
+
} else {
|
|
194
|
+
data.isUserExistsInTeams = true;
|
|
195
|
+
data.isDirectCommunicationEnabled = !!that.isDirectCommunicationEnabled;
|
|
196
|
+
that._oContactPopover.setInitialFocus(Element.getElementById("avatar"));
|
|
184
197
|
}
|
|
185
|
-
data.isDirectCommunicationEnabled = !!that.isDirectCommunicationEnabled;
|
|
186
198
|
var oJsonModel = new JSONModel(data);
|
|
187
199
|
oJsonModel.setData(data);
|
|
188
200
|
that._oContactPopover.setModel(oJsonModel, "userData");
|
|
@@ -190,6 +202,11 @@ sap.ui.define([
|
|
|
190
202
|
});
|
|
191
203
|
},
|
|
192
204
|
|
|
205
|
+
afterContinue: function () {
|
|
206
|
+
var sUrl = this.formatUri(this.sEmail, this.oParams);
|
|
207
|
+
mLibrary.URLHelper.redirect(sUrl, true);
|
|
208
|
+
},
|
|
209
|
+
|
|
193
210
|
/**
|
|
194
211
|
* Provide avatar and badge proprty based on Contact status
|
|
195
212
|
* @param {string} oFullProfileData full information on the contact
|
|
@@ -204,7 +221,7 @@ sap.ui.define([
|
|
|
204
221
|
} else if (oFullProfileData.activity === "Available") {
|
|
205
222
|
oFullProfileData.badgeValueState = "Success";
|
|
206
223
|
oFullProfileData.badgeIcon = "sap-icon://message-success";
|
|
207
|
-
oFullProfileData.badgeTooltip = I18_BUNDLE.getText("
|
|
224
|
+
oFullProfileData.badgeTooltip = I18_BUNDLE.getText("ONLINE");
|
|
208
225
|
} else if (oFullProfileData.activity === "Away" || oFullProfileData.activity === "Inactive") {
|
|
209
226
|
oFullProfileData.badgeValueState = "Warning";
|
|
210
227
|
oFullProfileData.badgeIcon = "sap-icon://pending";
|
|
@@ -6,22 +6,20 @@
|
|
|
6
6
|
<Popover
|
|
7
7
|
class="sapUiContentPadding"
|
|
8
8
|
placement="Auto"
|
|
9
|
-
initialFocus="action"
|
|
10
9
|
showHeader="false"
|
|
11
10
|
contentWidth="25rem"
|
|
12
11
|
afterClose="afterClose"
|
|
13
12
|
afterOpen="afterOpen">
|
|
14
|
-
<VBox>
|
|
13
|
+
<VBox visible="{userData>/isUserExistsInTeams}">
|
|
15
14
|
<HBox class="sapUiSmallMarginBeginEnd sapUiSmallMarginTopBottom" >
|
|
16
|
-
<Avatar src="{= ${userData>/photo} ? ${userData>/photo} : 'sap-icon://person-placeholder' }"
|
|
17
|
-
displaySize="M" class="sapUiSmallMarginEnd" displayShape="Circle"
|
|
15
|
+
<Avatar id="avatar" src="{= ${userData>/photo} ? ${userData>/photo} : 'sap-icon://person-placeholder' }"
|
|
16
|
+
displaySize="M" class="sapUiSmallMarginEnd" displayShape="Circle" macrodata:email="{userData>/mail}" fesr:press="MST:ContactAction"
|
|
18
17
|
macrodata:type="chat" tooltip="{userData>/badgeTooltip}" badgeValueState="{userData>/badgeValueState}" badgeTooltip="{userData>/badgeTooltip}" badgeIcon="{userData>/badgeIcon}"/>
|
|
19
18
|
<VBox>
|
|
20
19
|
<Title text="{userData>/displayname}" level="H3" />
|
|
21
20
|
<Text text="{userData>/jobtitle}"/>
|
|
22
21
|
</VBox>
|
|
23
22
|
</HBox>
|
|
24
|
-
<Toolbar width="100%" height="1px" visible="{userData>/isDirectCommunicationEnabled}"/>
|
|
25
23
|
<Toolbar visible="{userData>/isDirectCommunicationEnabled}">
|
|
26
24
|
<Title text="{i18n>COLLABORATION_MSTEAMS_SHARE}" level="H5" class="sapUiTinyMarginBegin"/>
|
|
27
25
|
<ToolbarSpacer/>
|
|
@@ -81,5 +79,14 @@
|
|
|
81
79
|
</VBox>
|
|
82
80
|
</VBox>
|
|
83
81
|
</VBox>
|
|
82
|
+
<HBox class="sapUiTinyMarginTop" visible="{= !${userData>/isUserExistsInTeams}}">
|
|
83
|
+
<IllustratedMessage illustrationType="tnt-NoUsers" illustrationSize="Dialog" title="{i18n>POPOVER_NO_CONTACT_TITLE}"
|
|
84
|
+
description="{i18n>POPOVER_NO_CONTACT_DESCRIPTION}" >
|
|
85
|
+
<additionalContent>
|
|
86
|
+
<Button id="mail" text="{i18n>POPOVER_CONTINUE}" press="afterContinue" type="Emphasized" class="sapUiTinyMarginEnd"/>
|
|
87
|
+
<Button text="{i18n>POPOVER_CANCEL}" press="afterClose"/>
|
|
88
|
+
</additionalContent>
|
|
89
|
+
</IllustratedMessage >
|
|
90
|
+
</HBox>
|
|
84
91
|
</Popover>
|
|
85
92
|
</core:FragmentDefinition>
|
|
@@ -56,8 +56,8 @@ sap.ui.define([
|
|
|
56
56
|
|
|
57
57
|
var oResourceBundle = Library.getResourceBundleFor("sap.suite.ui.commons");
|
|
58
58
|
var PARAM_SAP_CARD_TITLE = "sap-ui-cardTitle";
|
|
59
|
-
var PARAM_SAP_CARD_ID = "sap-ui-
|
|
60
|
-
var PARAM_SAP_CARD_VERSION = "sap-ui-
|
|
59
|
+
var PARAM_SAP_CARD_ID = "sap-ui-cardId";
|
|
60
|
+
var PARAM_SAP_CARD_VERSION = "sap-ui-cardVersion";
|
|
61
61
|
|
|
62
62
|
var oBusyDailog;
|
|
63
63
|
let iTimeoutId;
|
|
@@ -162,7 +162,7 @@ sap.ui.define([
|
|
|
162
162
|
* @extends sap.ui.core.Control
|
|
163
163
|
*
|
|
164
164
|
* @author SAP SE
|
|
165
|
-
* @version 1.
|
|
165
|
+
* @version 1.127.0
|
|
166
166
|
* @since 1.66.0
|
|
167
167
|
*
|
|
168
168
|
* @constructor
|
|
@@ -499,7 +499,7 @@ sap.ui.define([
|
|
|
499
499
|
|
|
500
500
|
if (this._bFirstTimeRendered && this.getImageEditor()) {
|
|
501
501
|
this._bFirstTimeRendered = false;
|
|
502
|
-
Theming.
|
|
502
|
+
Theming.attachApplied(onThemeChanged);
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
this._sResizeHandlerId = ResizeHandler.register(this, this._onResize.bind(this));
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"sap.suite.ui.commons.TargetFilterMeasureColumn",
|
|
187
187
|
"sap.suite.ui.commons.AriaProperties"
|
|
188
188
|
],
|
|
189
|
-
version: "1.
|
|
189
|
+
version: "1.127.0",
|
|
190
190
|
extensions: {
|
|
191
191
|
flChangeHandlers: {
|
|
192
192
|
"sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
|
|
@@ -972,16 +972,22 @@ POPOVER_CONTACT_SECTION_DEPARTMENT=Department
|
|
|
972
972
|
POPOVER_CONTACT_SECTION_OFFICE_LOCATION=Office Location
|
|
973
973
|
#XMIT: Label for Contact Send Quick Message
|
|
974
974
|
POPOVER_CONTACT_SEND_MESSAGE=Send a quick message
|
|
975
|
+
#XMIT: Text for No Contact Found Title
|
|
976
|
+
POPOVER_NO_CONTACT_TITLE=No further contact information
|
|
977
|
+
#XMIT: Text for No Contact Found Description
|
|
978
|
+
POPOVER_NO_CONTACT_DESCRIPTION=Sorry, we couldn't find any further contact information for this user. You can still get in touch by email though
|
|
975
979
|
|
|
976
980
|
#XTOL: Tooltip for Message Button
|
|
977
981
|
CHAT_BUTTON_TOOLTIP=chat
|
|
978
982
|
CALL_BUTTON_TOOLTIP=call
|
|
979
983
|
VIDEOCALL_BUTTON_TOOLTIP=videocall
|
|
984
|
+
POPOVER_CONTINUE=Continue
|
|
985
|
+
POPOVER_CANCEL=Cancel
|
|
980
986
|
|
|
981
987
|
POPOVER_CONTACT_DETAILS=Contact Details
|
|
982
988
|
|
|
983
989
|
#XTOL: Tooltip for BadgeIcon
|
|
984
|
-
|
|
990
|
+
ONLINE=Online
|
|
985
991
|
AWAY=Away
|
|
986
992
|
BUSY=Busy
|
|
987
993
|
PRESENTING=Presenting
|
|
@@ -533,9 +533,8 @@ sap.ui.define([
|
|
|
533
533
|
}.bind(this);
|
|
534
534
|
|
|
535
535
|
// In case theme is applied fnProcess will be called immediately,
|
|
536
|
-
// else it will be called once theme is applied.
|
|
537
|
-
|
|
538
|
-
Theming.attachAppliedOnce(fnProcess);
|
|
536
|
+
// else it will be called once theme is applied.
|
|
537
|
+
Theming.attachApplied(fnProcess);
|
|
539
538
|
}
|
|
540
539
|
this.oInvisibleMessage = InvisibleMessage.getInstance();
|
|
541
540
|
oRm.destroy();
|
|
@@ -865,13 +864,16 @@ sap.ui.define([
|
|
|
865
864
|
*/
|
|
866
865
|
Graph.prototype.setFocus = function (oFocus, bIsClickOrEnter) {
|
|
867
866
|
// Identity redundant
|
|
868
|
-
if (!oFocus && !this._oFocus
|
|
869
|
-
|
|
870
|
-
|
|
867
|
+
if (!oFocus && !this._oFocus ||
|
|
868
|
+
oFocus && this._oFocus && oFocus.item === this._oFocus.item && oFocus.button === this._oFocus.button && oFocus.groupInFocused === this._oFocus.groupInFocused) {
|
|
869
|
+
if (bIsClickOrEnter ||
|
|
870
|
+
(this._oFocus && this._oFocus.item &&
|
|
871
|
+
(this._oFocus.item.isA("sap.suite.ui.commons.networkgraph.Line") ||
|
|
872
|
+
this._oFocus.item.isA("sap.suite.ui.commons.networkgraph.Node")))) {
|
|
871
873
|
this._updateAccessibility(oFocus);
|
|
872
874
|
}
|
|
873
|
-
|
|
874
|
-
|
|
875
|
+
this._updateAccessibility(oFocus);
|
|
876
|
+
return;
|
|
875
877
|
}
|
|
876
878
|
|
|
877
879
|
this.defocus();
|
|
@@ -891,9 +893,16 @@ sap.ui.define([
|
|
|
891
893
|
}
|
|
892
894
|
}
|
|
893
895
|
} else if (oFocus.item) {
|
|
894
|
-
oFocus.item._setFocus(true);
|
|
895
896
|
if (oFocus.item instanceof Group) {
|
|
896
|
-
|
|
897
|
+
if (oFocus.item.sParentAggregationName === "groups" && !this._oFocus?.groupInFocused) {
|
|
898
|
+
oFocus.item._setFocus(true);
|
|
899
|
+
oFocus.groupInFocused = true;
|
|
900
|
+
} else {
|
|
901
|
+
oFocus.item._setMenuButtonFocus(true);
|
|
902
|
+
oFocus.button = Group.BUTTONS.MENU;
|
|
903
|
+
}
|
|
904
|
+
} else {
|
|
905
|
+
oFocus.item._setFocus(true);
|
|
897
906
|
}
|
|
898
907
|
}
|
|
899
908
|
}
|
|
@@ -2110,13 +2119,12 @@ sap.ui.define([
|
|
|
2110
2119
|
oOriginalEvent.preventDefault();
|
|
2111
2120
|
}
|
|
2112
2121
|
}.bind(this);
|
|
2113
|
-
if(!this._bEventsAdded) {
|
|
2122
|
+
if (!this._bEventsAdded) {
|
|
2114
2123
|
$wrapper.on("mousemove", function (oEvent) {
|
|
2115
2124
|
this._mouseMove(oEvent.clientX, oEvent.clientY);
|
|
2116
2125
|
}.bind(this));
|
|
2117
|
-
|
|
2126
|
+
|
|
2118
2127
|
$wrapper.on("mouseleave", this._endDragging.bind(this));
|
|
2119
|
-
|
|
2120
2128
|
$wrapper.on("mouseup", this._mouseUp.bind(this));
|
|
2121
2129
|
if (this.getEnableZoom()) {
|
|
2122
2130
|
$wrapper.on("wheel", function (oEvent) {
|
|
@@ -2131,12 +2139,12 @@ sap.ui.define([
|
|
|
2131
2139
|
}
|
|
2132
2140
|
}.bind(this));
|
|
2133
2141
|
}
|
|
2134
|
-
|
|
2142
|
+
|
|
2135
2143
|
// touch zoom
|
|
2136
2144
|
$wrapper.on("touchstart", function (oEvent) {
|
|
2137
2145
|
fnTouchStart(oEvent);
|
|
2138
2146
|
});
|
|
2139
|
-
|
|
2147
|
+
|
|
2140
2148
|
$wrapper.on("touchmove", function (oEvent) {
|
|
2141
2149
|
fnTouchMove(oEvent);
|
|
2142
2150
|
});
|
|
@@ -2147,7 +2155,7 @@ sap.ui.define([
|
|
|
2147
2155
|
// in swimlanes we don't put lanes beneeth groups (due to the collapsed groups)
|
|
2148
2156
|
// so we put z-index of groups in front of the lanes but then we have to attach events to svg
|
|
2149
2157
|
var $eventWrapper = this._isSwimLane() ? this.$svg : this.$divgroups;
|
|
2150
|
-
if(!$eventWrapper._eventAdded) {
|
|
2158
|
+
if (!$eventWrapper._eventAdded) {
|
|
2151
2159
|
$eventWrapper.on("mousedown", function (oEvent) {
|
|
2152
2160
|
this._mouseDown(oEvent.clientX, oEvent.clientY);
|
|
2153
2161
|
oEvent.preventDefault();
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* Constructor for a new GraphMap.
|
|
33
33
|
*
|
|
34
34
|
* @class
|
|
35
|
-
* A component which displays an overview of the entire graph and allows users to quickly navigate in the linked graph.
|
|
35
|
+
* A component which displays an overview of the entire graph and allows users to quickly navigate in the linked graph. Graph overview is most effective with nodes rendered in square aspect ratio but becomes less useful as the number of nodes increases in one dimension. Hence, it is not recommended for larger graphs.
|
|
36
36
|
*
|
|
37
37
|
* @extends sap.suite.ui.commons.networkgraph.SvgBase
|
|
38
38
|
*
|
|
@@ -512,6 +512,11 @@ sap.ui.define([
|
|
|
512
512
|
this._setButtonFocus(jQuery(this._oActionButtons.collapse), bFocus);
|
|
513
513
|
};
|
|
514
514
|
|
|
515
|
+
Group.prototype._setGroupFocus = function (bFocus) {
|
|
516
|
+
var sFnName = bFocus ? "addClass" : "removeClass";
|
|
517
|
+
this.$()[sFnName]("sapSuiteUiCommonsNetworkElementFocus");
|
|
518
|
+
};
|
|
519
|
+
|
|
515
520
|
Group.prototype._setupEvents = function () {
|
|
516
521
|
var $menu = this.$("menu"),
|
|
517
522
|
$header = this.$("header"),
|
|
@@ -675,7 +680,7 @@ sap.ui.define([
|
|
|
675
680
|
};
|
|
676
681
|
|
|
677
682
|
Group.prototype._setFocus = function (bFocus) {
|
|
678
|
-
this.
|
|
683
|
+
this._setGroupFocus(bFocus);
|
|
679
684
|
};
|
|
680
685
|
|
|
681
686
|
Group.prototype._isOnScreen = function (iLeft, iRight, iTop, iBottom) {
|
|
@@ -416,7 +416,12 @@ sap.ui.define([
|
|
|
416
416
|
|
|
417
417
|
if (oItem instanceof Group) {
|
|
418
418
|
if (!oBtn) {
|
|
419
|
-
|
|
419
|
+
if (sDirection === mDirections.RIGHT) {
|
|
420
|
+
this._oGraph.setFocus(oFocus);
|
|
421
|
+
return true;
|
|
422
|
+
} else if (sDirection === mDirections.LEFT) {
|
|
423
|
+
return false;
|
|
424
|
+
}
|
|
420
425
|
}
|
|
421
426
|
|
|
422
427
|
if (oBtn) {
|
|
@@ -426,7 +431,9 @@ sap.ui.define([
|
|
|
426
431
|
this._oGraph.setFocus(oFocus);
|
|
427
432
|
return true;
|
|
428
433
|
} else if (sDirection === mDirections.LEFT) {
|
|
429
|
-
|
|
434
|
+
oFocus.button = undefined;
|
|
435
|
+
this._oGraph.setFocus(oFocus);
|
|
436
|
+
return true;
|
|
430
437
|
}
|
|
431
438
|
} else if (oBtn === Group.BUTTONS.COLLAPSE) {
|
|
432
439
|
if (sDirection === mDirections.RIGHT) {
|
|
@@ -372,7 +372,7 @@ sap.ui.define([
|
|
|
372
372
|
Node.prototype._handleCoreInitialized = function() {
|
|
373
373
|
// The NetworkGraph is not being rendered until the theme was applied.
|
|
374
374
|
// If the theme is applied, rendering starts by the control itself.
|
|
375
|
-
Theming.
|
|
375
|
+
Theming.attachApplied(function(){
|
|
376
376
|
this._bThemeApplied = true;
|
|
377
377
|
this.invalidate();
|
|
378
378
|
}.bind(this));
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.ui.core.Control
|
|
50
50
|
*
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.127.0
|
|
53
53
|
* @since 1.50
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
@@ -197,7 +197,7 @@ sap.ui.define([
|
|
|
197
197
|
*/
|
|
198
198
|
StatusIndicator.prototype._handleCoreInitialized = function() {
|
|
199
199
|
// The control will only be rendered if the theme is applied. If this is the case,the control invalidates itself.
|
|
200
|
-
Theming.
|
|
200
|
+
Theming.attachApplied(function(){
|
|
201
201
|
this.invalidate();
|
|
202
202
|
}.bind(this));
|
|
203
203
|
};
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* @extends sap.ui.core.Control
|
|
42
42
|
*
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.127.0
|
|
45
45
|
* @since 1.58.0
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
@@ -151,7 +151,7 @@ sap.ui.define([
|
|
|
151
151
|
/* Events */
|
|
152
152
|
/* =========================================================== */
|
|
153
153
|
TAccountGroup.prototype.init = function () {
|
|
154
|
-
Theming.
|
|
154
|
+
Theming.attachApplied(function () {
|
|
155
155
|
this._bThemeApplied = true;
|
|
156
156
|
this.invalidate();
|
|
157
157
|
}.bind(this));
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
|
|
240
240
|
.sapCalculationBuilderItemExpandButton:focus .sapCalculationBuilderItemExpandButtonFocus,
|
|
241
241
|
.sapCalculationBuilderItemExpandButton:active .sapCalculationBuilderItemExpandButtonFocus {
|
|
242
|
-
border:
|
|
242
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.sapCalculationBuilderItemFocusWrapper {
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
position: relative;
|
|
259
259
|
box-sizing: border-box;
|
|
260
260
|
height: 100%;
|
|
261
|
-
border:
|
|
261
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
262
262
|
pointer-events: none;
|
|
263
263
|
}
|
|
264
264
|
|
|
@@ -429,4 +429,9 @@ html[dir=rtl] .sapSuiteUiCommonsNetworkGraphMapDivGroups {
|
|
|
429
429
|
|
|
430
430
|
.sapSuiteUiCommonsNetworkGraphMapDivGroupsLeft {
|
|
431
431
|
left: 0;
|
|
432
|
-
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.sapSuiteUiCommonsNetworkGroup.sapSuiteUiCommonsNetworkElementFocus {
|
|
435
|
+
outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
436
|
+
outline-offset: 1px;
|
|
437
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.sapSuiteUiCommonsAccount {
|
|
2
2
|
width: 100%;
|
|
3
|
-
border: 1px solid @
|
|
4
|
-
border-bottom: 5px solid @
|
|
3
|
+
border: 1px solid @sapUiContentForegroundBorderColor;
|
|
4
|
+
border-bottom: 5px solid @sapUiContentForegroundBorderColor;
|
|
5
5
|
border-radius: 5px;
|
|
6
6
|
position: relative;
|
|
7
7
|
|
|
@@ -94,7 +94,7 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
94
94
|
.sapSuiteUiCommonsAccountTHeader {
|
|
95
95
|
display: flex;
|
|
96
96
|
justify-content: space-between;
|
|
97
|
-
border-bottom: 1px solid @
|
|
97
|
+
border-bottom: 1px solid @sapUiContentForegroundBorderColor;
|
|
98
98
|
align-items: center;
|
|
99
99
|
height: 2rem;
|
|
100
100
|
font-size: @sapMFontSmallSize;
|
|
@@ -102,7 +102,7 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.sapSuiteUiCommonsAccountTHeader.sapSuiteUiCommonsAccountTHeaderOpening {
|
|
105
|
-
border-bottom: 0.125rem solid @
|
|
105
|
+
border-bottom: 0.125rem solid @sapUiContentForegroundBorderColor;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.sapSuiteUiCommonsAccountEmpty .sapSuiteUiCommonsAccountTHeader.sapSuiteUiCommonsAccountTHeaderOpening {
|
|
@@ -116,7 +116,7 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
116
116
|
.sapSuiteUiCommonsAccountOpeningHeader,
|
|
117
117
|
.sapSuiteUiCommonsAccountClosingHeader {
|
|
118
118
|
display: flex;
|
|
119
|
-
border-bottom: 0.0625rem solid @
|
|
119
|
+
border-bottom: 0.0625rem solid @sapUiContentForegroundBorderColor;
|
|
120
120
|
align-items: center;
|
|
121
121
|
height: auto;
|
|
122
122
|
font-size: @sapMFontSmallSize;
|
|
@@ -124,12 +124,12 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.sapSuiteUiCommonsAccountClosingHeader {
|
|
127
|
-
border-top: 0.0625rem solid @
|
|
127
|
+
border-top: 0.0625rem solid @sapUiContentForegroundBorderColor;
|
|
128
128
|
border-bottom: 0;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.sapSuiteUiCommonsAccountClosingHeaderLine {
|
|
132
|
-
border-top: 0.0625rem solid @
|
|
132
|
+
border-top: 0.0625rem solid @sapUiContentForegroundBorderColor;
|
|
133
133
|
height: 0.0625rem;
|
|
134
134
|
margin: 0 1rem;
|
|
135
135
|
}
|
|
@@ -138,7 +138,7 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
138
138
|
cursor: grab;
|
|
139
139
|
min-height: 2rem;
|
|
140
140
|
background-color: @sapUiObjectHeaderBackground;
|
|
141
|
-
border-bottom: 1px solid @
|
|
141
|
+
border-bottom: 1px solid @sapUiContentForegroundBorderColor;
|
|
142
142
|
display: flex;
|
|
143
143
|
align-items: center;
|
|
144
144
|
flex-direction: row;
|
|
@@ -189,7 +189,7 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
189
189
|
|
|
190
190
|
.sapSuiteUiCommonsAccountTHeaderOpeningDebitTitle{
|
|
191
191
|
text-align: left;
|
|
192
|
-
border-right: 1px dashed @
|
|
192
|
+
border-right: 1px dashed @sapUiContentForegroundBorderColor;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.sapSuiteUiCommonsAccountTHeaderOpeningCreditTitle {
|
|
@@ -265,7 +265,7 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountTHeaderOp
|
|
|
265
265
|
pointer-events: none;
|
|
266
266
|
left: 50%;
|
|
267
267
|
height: 100%;
|
|
268
|
-
border-left: 1px dashed @
|
|
268
|
+
border-left: 1px dashed @sapUiContentForegroundBorderColor;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.sapSuiteUiCommonsAccountBlankItem {
|
|
@@ -351,7 +351,7 @@ html[dir=rtl] .sapSuiteUiCommonsAccountDebitCredit .sapSuiteUiCommonsAccountItem
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
.sapSuiteUiCommonsAccountDebit {
|
|
354
|
-
border-right: 1px dashed @
|
|
354
|
+
border-right: 1px dashed @sapUiContentForegroundBorderColor;
|
|
355
355
|
width: 50%;
|
|
356
356
|
padding-top: 0.5rem;
|
|
357
357
|
margin-bottom: 0.2rem;
|
|
@@ -557,19 +557,19 @@ div:only-child {
|
|
|
557
557
|
|
|
558
558
|
.sapSuiteUiCommonsAccountItemDragging .sapSuiteUiCommonsAccountHeader,
|
|
559
559
|
.sapSuiteUiCommonsAccountItemDragging.sapSuiteUiCommonsAccount {
|
|
560
|
-
background-color: @
|
|
561
|
-
border-color: @
|
|
560
|
+
background-color: @sapUiContentForegroundBorderColor;
|
|
561
|
+
border-color: @sapUiContentForegroundBorderColor;
|
|
562
562
|
}
|
|
563
563
|
|
|
564
564
|
.sapSuiteUiCommonsAccountItemDragging .sapSuiteUiCommonsAccountColorBar {
|
|
565
|
-
background-color: @
|
|
565
|
+
background-color: @sapUiContentForegroundBorderColor !important;
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
.sapSuiteUiCommonsGroupHeader {
|
|
569
569
|
display: flex;
|
|
570
570
|
flex-direction: row;
|
|
571
571
|
min-height: 2rem;
|
|
572
|
-
border-bottom: 1px solid @
|
|
572
|
+
border-bottom: 1px solid @sapUiContentForegroundBorderColor;
|
|
573
573
|
align-items: center;
|
|
574
574
|
justify-content: space-between;
|
|
575
575
|
}
|
|
@@ -646,11 +646,11 @@ div:only-child {
|
|
|
646
646
|
|
|
647
647
|
.sapSuiteUiCommonsAccountPopupHeader {
|
|
648
648
|
padding: 0.5rem;
|
|
649
|
-
border-bottom: 1px solid @
|
|
649
|
+
border-bottom: 1px solid @sapUiContentForegroundBorderColor;
|
|
650
650
|
}
|
|
651
651
|
|
|
652
652
|
.sapSuiteUiCommonsAccountsPopupList {
|
|
653
|
-
border-top: 1px solid @
|
|
653
|
+
border-top: 1px solid @sapUiContentForegroundBorderColor;
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
.sapSuiteUiCommonsAccountsPopupSelectAllWrapper {
|