@sapui5/sap.suite.ui.commons 1.150.0 → 1.151.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.
Files changed (56) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/commons/.library +1 -1
  3. package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
  4. package/src/sap/suite/ui/commons/CalculationBuilder.js +1 -1
  5. package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +1 -1
  6. package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
  7. package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
  8. package/src/sap/suite/ui/commons/CalculationBuilderItem.js +1 -1
  9. package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
  10. package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
  11. package/src/sap/suite/ui/commons/CloudFilePicker.js +1 -1
  12. package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
  13. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  14. package/src/sap/suite/ui/commons/TimelineItem.js +2 -3
  15. package/src/sap/suite/ui/commons/collaboration/UniversalCollaborationBar.js +3 -2
  16. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  17. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  18. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  19. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  20. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  21. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
  26. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  27. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  28. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  29. package/src/sap/suite/ui/commons/library.js +1 -1
  30. package/src/sap/suite/ui/commons/messagebundle_de.properties +2 -2
  31. package/src/sap/suite/ui/commons/messagebundle_en_US_saptrc.properties +616 -537
  32. package/src/sap/suite/ui/commons/messagebundle_pl.properties +1 -1
  33. package/src/sap/suite/ui/commons/networkgraph/Graph.js +11 -4
  34. package/src/sap/suite/ui/commons/networkgraph/GraphRenderer.js +1 -1
  35. package/src/sap/suite/ui/commons/networkgraph/KeyboardNavigator.js +2 -0
  36. package/src/sap/suite/ui/commons/networkgraph/Line.js +13 -0
  37. package/src/sap/suite/ui/commons/networkgraph/util/ConnectionPathUtils.js +315 -69
  38. package/src/sap/suite/ui/commons/networkgraph/util/DependencyLayoutHelper.js +21 -6
  39. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  40. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  41. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  42. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  43. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  44. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  45. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  46. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  47. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  48. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  49. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  50. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  51. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  52. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  53. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  54. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  55. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
  56. package/src/sap/suite/ui/commons/themes/base/MicroProcessFlow.less +2 -1
@@ -301,7 +301,7 @@ NETWORK_GRAPH_LINE_NAVIGATION_TAB_TO_TARGET=Aby przej\u015B\u0107 do {0}, naci\u
301
301
  NETWORK_GRAPH_LINE_NAVIGATION_SHIFT_TAB_TO_SOURCE=Aby przej\u015B\u0107 z powrotem do {0}, naci\u015Bnij klawisze Shift + Tab
302
302
  NETWORK_GRAPH_LINE_NAVIGATION_ARROW_KEYS=Aby przej\u015B\u0107 do innych konektor\u00F3w z {0}, u\u017Cyj klawiszy strza\u0142ek
303
303
  NETWORK_GRAPH_NAVIGATION_ALT_CONNECTORS=Aby dowiedzie\u0107 si\u0119 o mo\u017Cliwych konektorach, naci\u015Bnij ALT +
304
- NETWORK_GRAPH_NAVIGATION_ALT_CONNECTOR_ANNOUNCE=Przejd\u017A do konektora {0} na {1}, konektora {2} \u0142\u0105cz\u0105cego {3} z {4}, naci\u015Bnij ALT + {5}
304
+ NETWORK_GRAPH_NAVIGATION_ALT_CONNECTOR_ANNOUNCE=Przejd\u017A do konektora\: {0} na\: {1}, konektora {2} \u0142\u0105cz\u0105cego {3} z {4}, naci\u015Bnij ALT + {5}
305
305
  NETWORK_GRAPH_LINE_ACCESSIBILITY_STATUS=Status to
306
306
  NETWORK_GRAPH_LINE_ACCESSIBILITY_CONNECTION_FROM_TO=Po\u0142\u0105czenie z {0} do {1}
307
307
 
@@ -306,6 +306,15 @@ sap.ui.define([
306
306
  */
307
307
  labels: {
308
308
  type: "object", group: "Appearance", defaultValue: {}
309
+ },
310
+ /**
311
+ * Enables enhanced line routing for the network graph.
312
+ * When set to <code>true</code>, overlapping connections are visually separated.
313
+ * @public
314
+ * @since 1.151
315
+ */
316
+ enableEnhancedLineRouting: {
317
+ type: "boolean", group: "Behavior", defaultValue: false
309
318
  }
310
319
  },
311
320
  aggregations: {
@@ -1353,6 +1362,7 @@ sap.ui.define([
1353
1362
  return sTitleLabel;
1354
1363
  };
1355
1364
  if (this.getDomRef("wrapper")) {
1365
+ this.getDomRef("wrapper").setAttribute("aria-live", "assertive");
1356
1366
  this._setAriaLabelForWrapper();
1357
1367
  }
1358
1368
  if (oFocus) {
@@ -3306,10 +3316,7 @@ sap.ui.define([
3306
3316
  } else {
3307
3317
  sLabel = oItem._getAccessibilityLabel(this);
3308
3318
  }
3309
- if (oWrapper && oWrapper.length) {
3310
- // Switch to assertive only when deliberately updating text, so re-render
3311
- // of the div (which resets to default text) does not trigger an announcement.
3312
- oWrapper[0].setAttribute("aria-live", "assertive");
3319
+ if (oWrapper) {
3313
3320
  oWrapper.html(encodeXML(sLabel));
3314
3321
  }
3315
3322
  };
@@ -43,6 +43,7 @@ sap.ui.define([
43
43
  oRM.openStart("div", oNetworkGraph.getId() + "-wrapper" );
44
44
  oRM.class("sapSuiteUiCommonsNetworkGraphContentWrapper");
45
45
  oRM.attr("tabindex", "0");
46
+ oRM.attr("aria-live", "assertive");
46
47
  oRM.attr("aria-label", oResourceBundle.getText("NETWORK_GRAPH_ACCESSIBILITY_LABEL"));
47
48
  oRM.attr("role", "application");
48
49
  oRM.openEnd();
@@ -53,7 +54,6 @@ sap.ui.define([
53
54
  */
54
55
  oRM.openStart("div", oNetworkGraph.getId() + "-accessibility" );
55
56
  oRM.class("sapSuiteUiCommonsNetworkGraphContentWrapperAccessibility");
56
- oRM.attr("aria-live", "off");
57
57
  oRM.openEnd();
58
58
  oRM.text(oResourceBundle.getText("NETWORK_GRAPH_ACCESSIBILITY_CONTENT"));
59
59
  oRM.close("div");
@@ -480,8 +480,10 @@ sap.ui.define([
480
480
  KeyboardNavigator.prototype._handleTab = function (oEvent, sDirection) {
481
481
  const oFocus = this.getFocus(),
482
482
  bBackward = sDirection === mDirections.LEFT;
483
+ this._oWrapperDom.setAttribute("aria-live", "assertive");
483
484
  this._oGraph._setAriaLabelForWrapper(oResourceBundle.getText("NETWORK_GRAPH_ACCESSIBILITY_LABEL"));
484
485
  if (this._ignoreEvent(oEvent)) {
486
+ this._oWrapperDom.setAttribute("aria-live","off");
485
487
  this._oWrapperDom.classList.remove("sapSuiteUiCommonsNetworkGraphContentFocusHidden");
486
488
  if (oEvent.target.getAttribute("title") === oResourceBundle.getText("CALCULATION_BUILDER_ENTER_FULL_SCREEN_BUTTON")){
487
489
  this.isFromFullscreen = true;
@@ -367,6 +367,19 @@ sap.ui.define([
367
367
  oRm.text(sTooltipText);
368
368
  oRm.close("title");
369
369
  }
370
+ } else {
371
+ var oFrom = this.getFromNode(),
372
+ oTo = this.getToNode();
373
+ if (oFrom && oTo) {
374
+ var sFromText = oFrom.getTitle() || oFrom.getAltText();
375
+ var sToText = oTo.getTitle() || oTo.getAltText();
376
+ var sLineTitle = this.getTitle() ? (this.getTitle() + " ") : "";
377
+ var sHoverTooltip = sLineTitle + sFromText + " - " + sToText;
378
+ oRm.openStart("title");
379
+ oRm.openEnd();
380
+ oRm.text(sHoverTooltip);
381
+ oRm.close("title");
382
+ }
370
383
  }
371
384
 
372
385
  // invisible wrapper for better event handling