@sapui5/sap.suite.ui.commons 1.108.6 → 1.108.8
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/TimelineItem.js +1 -3
- package/src/sap/suite/ui/commons/collaboration/TeamsHelperService.js +38 -14
- 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/messagebundle_th.properties +2 -2
- package/src/sap/suite/ui/commons/networkgraph/Group.js +3 -2
- 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 +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/package.json
CHANGED
|
@@ -568,9 +568,7 @@ sap.ui.define([
|
|
|
568
568
|
TimelineItem.prototype.onkeydown = function (oEvent) {
|
|
569
569
|
if (oEvent.which === KeyCodes.ENTER || oEvent.which === KeyCodes.SPACE) {
|
|
570
570
|
if (oEvent.srcControl.getId().indexOf("userNameLink") > -1) {
|
|
571
|
-
|
|
572
|
-
uiElement: this
|
|
573
|
-
});
|
|
571
|
+
return; // sap.m.Link handles click/key events for userNameClicked. Hence we do not need seperate handling.
|
|
574
572
|
} else if (oEvent.srcControl instanceof Link) {
|
|
575
573
|
this.firePress();
|
|
576
574
|
} else {
|
|
@@ -10,8 +10,9 @@ sap.ui.define([
|
|
|
10
10
|
"sap/base/security/URLListValidator",
|
|
11
11
|
"./CollaborationHelper",
|
|
12
12
|
"sap/suite/ui/commons/collaboration/BaseHelperService",
|
|
13
|
-
'sap/ui/core/Element'
|
|
14
|
-
|
|
13
|
+
'sap/ui/core/Element',
|
|
14
|
+
"sap/ui/Device"
|
|
15
|
+
], function (Log, Core, URLListValidator, CollaborationHelper, BaseHelperService, Element, Device) {
|
|
15
16
|
"use strict";
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -53,19 +54,23 @@ sap.ui.define([
|
|
|
53
54
|
var aOptions = [];
|
|
54
55
|
var aFinalOptions = [];
|
|
55
56
|
|
|
56
|
-
if (
|
|
57
|
-
if (
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
if (Device.system.desktop) {
|
|
58
|
+
if (oTeamsParams.isShareAsLinkEnabled) {
|
|
59
|
+
if (this._providerConfig.isShareAsLinkEnabled) {
|
|
60
|
+
aOptions.push({
|
|
61
|
+
"text": oResourceBundle.getText("COLLABORATION_MSTEAMS_CHAT"),
|
|
62
|
+
"key": "COLLABORATION_MSTEAMS_CHAT",
|
|
63
|
+
"icon": "sap-icon://post",
|
|
64
|
+
"fesrStepName": "MST:ShareAsLink"
|
|
65
|
+
});
|
|
66
|
+
} else {
|
|
67
|
+
oLogger.info("Share as Chat option is not enabled in the tenant");
|
|
68
|
+
}
|
|
64
69
|
} else {
|
|
65
|
-
oLogger.info("Share as Chat option
|
|
70
|
+
oLogger.info("Consumer disable Share as Chat option");
|
|
66
71
|
}
|
|
67
72
|
} else {
|
|
68
|
-
oLogger.info("
|
|
73
|
+
oLogger.info("Share as Chat option is not supported in Phone and Tablet");
|
|
69
74
|
}
|
|
70
75
|
|
|
71
76
|
if (oTeamsParams.isShareAsTabEnabled) {
|
|
@@ -173,8 +178,9 @@ sap.ui.define([
|
|
|
173
178
|
newWindow.opener = null;
|
|
174
179
|
if (oParams.minifyUrlForChat) {
|
|
175
180
|
CollaborationHelper.compactHash(oParams.url, []).then(function (sShortURL) {
|
|
176
|
-
|
|
177
|
-
|
|
181
|
+
var sModifiedUrl = this._modifyUrlForNavigationContext(oParams, sShortURL.url);
|
|
182
|
+
newWindow.location = "https://teams.microsoft.com/share?msgText=" + encodeURIComponent(sMessage) + "&href=" + encodeURIComponent(sModifiedUrl);
|
|
183
|
+
}.bind(this));
|
|
178
184
|
} else {
|
|
179
185
|
newWindow.location = "https://teams.microsoft.com/share?msgText=" + encodeURIComponent(sMessage) + "&href=" + encodeURIComponent(oParams.url);
|
|
180
186
|
}
|
|
@@ -229,6 +235,24 @@ sap.ui.define([
|
|
|
229
235
|
});
|
|
230
236
|
};
|
|
231
237
|
|
|
238
|
+
TeamsHelperService.prototype._modifyUrlForNavigationContext = function(oParams, sURL) {
|
|
239
|
+
var oUshellContainer = sap.ushell && sap.ushell.Container;
|
|
240
|
+
var oURLParsing = oUshellContainer && oUshellContainer.getService("URLParsing");
|
|
241
|
+
var sAppUri = oParams.url;
|
|
242
|
+
var iIndexOfHash = sAppUri.indexOf('#');
|
|
243
|
+
var oHashPartOfUri = oURLParsing.parseShellHash(sAppUri.substring(iIndexOfHash));
|
|
244
|
+
var iParamsCount = Object.keys(oHashPartOfUri.params).length;
|
|
245
|
+
var oUrl = new URL(sURL);
|
|
246
|
+
if (iParamsCount > 0){
|
|
247
|
+
if (!oUrl.searchParams.has("sap-collaboration-teams")) {
|
|
248
|
+
oUrl.searchParams.set("sap-collaboration-teams", "true");
|
|
249
|
+
} else {
|
|
250
|
+
oUrl.searchParams.delete("sap-collaboration-teams");
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
return oUrl.toString();
|
|
254
|
+
};
|
|
255
|
+
|
|
232
256
|
TeamsHelperService.prototype._getApplicationID = function () {
|
|
233
257
|
var oUshellContainer = sap.ushell && sap.ushell.Container;
|
|
234
258
|
var oURLParsing = oUshellContainer && oUshellContainer.getService("URLParsing");
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"sap.suite.ui.commons.TargetFilterMeasureColumn",
|
|
186
186
|
"sap.suite.ui.commons.AriaProperties"
|
|
187
187
|
],
|
|
188
|
-
version: "1.108.
|
|
188
|
+
version: "1.108.8",
|
|
189
189
|
extensions: {
|
|
190
190
|
flChangeHandlers: {
|
|
191
191
|
"sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
|
|
@@ -120,7 +120,7 @@ USHELL_FACTSHEET_ENTER_YOUR_FILTER=\u0E1B\u0E49\u0E2D\u0E19\u0E04\u0E48\u0E32\u0
|
|
|
120
120
|
TIMELINE_TODAY=\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49
|
|
121
121
|
TIMELINE_YESTERDAY=\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E27\u0E32\u0E19\u0E19\u0E35\u0E49
|
|
122
122
|
TIMELINE_AT=\u0E40\u0E27\u0E25\u0E32
|
|
123
|
-
TIMELINE_NO_DATA=\u0E44\u0E21\u0E48\u0E21\u0E35\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E17\u0E35\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\
|
|
123
|
+
TIMELINE_NO_DATA=\u0E44\u0E21\u0E48\u0E21\u0E35\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E17\u0E35\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E43\u0E19\u0E02\u0E13\u0E30\u0E19\u0E35\u0E49
|
|
124
124
|
TIMELINE_FILTER_BY=\u0E1F\u0E34\u0E25\u0E40\u0E15\u0E2D\u0E23\u0E4C\u0E15\u0E32\u0E21
|
|
125
125
|
TIMELINE_ALL=\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14
|
|
126
126
|
TIMELINE_FILTER_CANCEL=\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01
|
|
@@ -460,7 +460,7 @@ CFP_FOLDER_EXIST=\u0E41\u0E1F\u0E49\u0E21\u0E21\u0E35\u0E2D\u0E22\u0E39\u0E48\u0
|
|
|
460
460
|
CFP_NO_DATA_FILESHARE=\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E44\u0E1F\u0E25\u0E4C\u0E2B\u0E23\u0E37\u0E2D\u0E41\u0E1F\u0E49\u0E21
|
|
461
461
|
CFP_NO_FILESHARE_FOUND=\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E01\u0E32\u0E23\u0E41\u0E0A\u0E23\u0E4C\u0E44\u0E1F\u0E25\u0E4C
|
|
462
462
|
CFP_NO_FILESHARE_FOUND_RELOAD=\u0E25\u0E2D\u0E07\u0E23\u0E35\u0E42\u0E2B\u0E25\u0E14\u0E1A\u0E23\u0E32\u0E27\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E02\u0E2D\u0E07\u0E44\u0E1F\u0E25\u0E4C \u0E16\u0E49\u0E32\u0E22\u0E31\u0E07\u0E21\u0E35\u0E1B\u0E31\u0E0D\u0E2B\u0E32\u0E2D\u0E22\u0E39\u0E48 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13
|
|
463
|
-
CFP_TITLE_LAST_CHANGED_ON=\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E25\u0E48\u0E32\u0E2A\u0E38\u0E14\u0E40\u0E21\u0E37\u0E48\u0E2D
|
|
463
|
+
CFP_TITLE_LAST_CHANGED_ON=\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E04\u0E23\u0E31\u0E49\u0E07\u0E25\u0E48\u0E32\u0E2A\u0E38\u0E14\u0E40\u0E21\u0E37\u0E48\u0E2D
|
|
464
464
|
CFP_TYPE=\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17
|
|
465
465
|
CFP_NAME=\u0E0A\u0E37\u0E48\u0E2D
|
|
466
466
|
CFP_OWNER=\u0E40\u0E08\u0E49\u0E32\u0E02\u0E2D\u0E07
|
|
@@ -209,7 +209,7 @@ sap.ui.define([
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
if (sTitle) {
|
|
212
|
-
oRm.openStart("div").class("sapSuiteUiCommonsNetworkGroupHeaderTitle").openEnd().text(sTitle).close("div");
|
|
212
|
+
oRm.openStart("div").class("sapSuiteUiCommonsNetworkGroupHeaderTitle").attr("title", sTitle).openEnd().text(sTitle).close("div");
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
oRm.close("div");
|
|
@@ -307,7 +307,7 @@ sap.ui.define([
|
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
if (sTitle) {
|
|
310
|
-
mOptions.renderManager.openStart("div").class("sapSuiteUiCommonsNetworkGroupHeaderTitle");
|
|
310
|
+
mOptions.renderManager.openStart("div").class("sapSuiteUiCommonsNetworkGroupHeaderTitle").attr("title", sTitle);
|
|
311
311
|
//Add text-Orientation based on Language
|
|
312
312
|
var sCurrentLanguage = sap.ui.getCore().getConfiguration().getLanguage();
|
|
313
313
|
var aOrientationLanguage = ["ja", "zh_TW", "zh_CN", "ko"]; // Orientation Languages
|
|
@@ -631,6 +631,7 @@ sap.ui.define([
|
|
|
631
631
|
Group.prototype._resetSize = function () {
|
|
632
632
|
if (this.getCollapsed()) {
|
|
633
633
|
this._iHeight = Size.COLLAPSED_HEIGHT;
|
|
634
|
+
this._iWidth = Size.COLLAPSED_WIDTH;
|
|
634
635
|
}
|
|
635
636
|
};
|
|
636
637
|
|