@sapui5/sap.suite.ui.commons 1.99.0 → 1.100.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/MicroProcessFlow.js +1 -1
- package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +23 -24
- 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_pt.properties +2 -2
- package/src/sap/suite/ui/commons/networkgraph/Graph.js +2 -1
- package/src/sap/suite/ui/commons/networkgraph/Line.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 +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
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @extends sap.ui.core.Control
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.100.0
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @public
|
|
@@ -189,7 +189,7 @@ sap.ui.define([
|
|
|
189
189
|
if (oCustomControl) {
|
|
190
190
|
oRM.renderControl(oCustomControl);
|
|
191
191
|
} else {
|
|
192
|
-
oRM.write("<div tabindex=\"
|
|
192
|
+
oRM.write("<div tabindex=\"0\" id=\"" + sId + "-itemContent\" class=\"sapSuiteUiCommonsMicroProcessFlowItem sapSuiteUiCommonsMicroProcessFlowItem" +
|
|
193
193
|
oMicroProcessFlowItem.getState() + "\"");
|
|
194
194
|
oRM.writeAttributeEscaped("aria-label", oMicroProcessFlowItem._getAriaText());
|
|
195
195
|
oRM.writeAttributeEscaped("role", "option");
|
|
@@ -224,25 +224,15 @@ sap.ui.define([
|
|
|
224
224
|
/* Private methods */
|
|
225
225
|
/* =========================================================== */
|
|
226
226
|
MicroProcessFlowItem.prototype._setAccessibility = function () {
|
|
227
|
-
var item = this._getAccessibleItem()
|
|
227
|
+
var $item = this._getAccessibleItem(),
|
|
228
228
|
sAriaLabel = this._getAriaText();
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
if (selectedItem) {
|
|
232
|
-
selectedItem.setAttribute("tabindex", -1);
|
|
233
|
-
selectedItem.setAttribute("aria-selected", false);
|
|
234
|
-
selectedItem.classList.remove("sapSuiteILCSelected");
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
if (item.tabIndex == "0") {
|
|
238
|
-
item.setAttribute("aria-selected", true);
|
|
239
|
-
item.classList.add("sapSuiteILCSelected");
|
|
229
|
+
if ($item.attr("tabindex") !== "0") {
|
|
230
|
+
$item.attr("tabindex", 0);
|
|
240
231
|
}
|
|
241
|
-
|
|
242
|
-
item.
|
|
243
|
-
item.
|
|
244
|
-
item.
|
|
245
|
-
item.setAttribute("aria-setsize", this._iItemsCount);
|
|
232
|
+
$item.attr("aria-label", sAriaLabel);
|
|
233
|
+
$item.attr("role", "option");
|
|
234
|
+
$item.attr("aria-posinset", this._iIndex);
|
|
235
|
+
$item.attr("aria-setsize", this._iItemsCount);
|
|
246
236
|
};
|
|
247
237
|
|
|
248
238
|
MicroProcessFlowItem.prototype._getAccessibleItem = function () {
|
|
@@ -272,6 +262,7 @@ sap.ui.define([
|
|
|
272
262
|
if (bHasPressEvent) {
|
|
273
263
|
$item.css("cursor", "pointer");
|
|
274
264
|
$item.attr("role", "button");
|
|
265
|
+
$item.attr("aria-hidden", "true");
|
|
275
266
|
}
|
|
276
267
|
};
|
|
277
268
|
|
|
@@ -333,20 +324,28 @@ sap.ui.define([
|
|
|
333
324
|
};
|
|
334
325
|
|
|
335
326
|
MicroProcessFlowItem.prototype._firePress = function (oEvent) {
|
|
336
|
-
if(this.hasListeners("press")) {
|
|
327
|
+
if (this.hasListeners("press")) {
|
|
337
328
|
this.firePress({
|
|
338
329
|
item: this.getFocusDomRef()
|
|
339
330
|
});
|
|
340
|
-
if(oEvent.preventDefault) {
|
|
331
|
+
if (oEvent.preventDefault) {
|
|
341
332
|
oEvent.preventDefault();
|
|
342
333
|
}
|
|
343
|
-
if(oEvent.stopPropagation) {
|
|
334
|
+
if (oEvent.stopPropagation) {
|
|
344
335
|
oEvent.stopPropagation();
|
|
345
336
|
}
|
|
346
337
|
}
|
|
347
338
|
|
|
348
|
-
|
|
349
|
-
this.
|
|
339
|
+
var selectedItem = document.getElementsByClassName('sapSuiteMicroProcessFlowItemSelected')[0];
|
|
340
|
+
var item = this._getAccessibleItem()[0];
|
|
341
|
+
if (selectedItem) {
|
|
342
|
+
selectedItem.setAttribute("aria-selected", false);
|
|
343
|
+
selectedItem.classList.remove("sapSuiteMicroProcessFlowItemSelected");
|
|
344
|
+
}
|
|
345
|
+
if (item.tabIndex == "0") {
|
|
346
|
+
item.setAttribute("aria-selected", true);
|
|
347
|
+
item.classList.add("sapSuiteMicroProcessFlowItemSelected");
|
|
348
|
+
}
|
|
350
349
|
};
|
|
351
350
|
|
|
352
351
|
MicroProcessFlowItem.prototype._getIconByState = function () {
|
|
@@ -184,7 +184,7 @@ sap.ui.define([
|
|
|
184
184
|
"sap.suite.ui.commons.TargetFilterMeasureColumn",
|
|
185
185
|
"sap.suite.ui.commons.AriaProperties"
|
|
186
186
|
],
|
|
187
|
-
version: "1.
|
|
187
|
+
version: "1.100.0",
|
|
188
188
|
extensions: {
|
|
189
189
|
flChangeHandlers: {
|
|
190
190
|
"sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
|
|
@@ -196,8 +196,8 @@ NUMERICCONTENT_DEVIATION_DOWN=Decrescente
|
|
|
196
196
|
CHARTCONTAINER_VIEWBY=Exibi\u00E7\u00E3o por
|
|
197
197
|
CHARTCONTAINER_LEGEND=Legenda
|
|
198
198
|
CHARTCONTAINER_PERSONALIZE=Personalizar
|
|
199
|
-
CHARTCONTAINER_FULLSCREEN=
|
|
200
|
-
CHARTCONTAINER_FULLSCREEN_CLOSE=
|
|
199
|
+
CHARTCONTAINER_FULLSCREEN=Abrir tela inteira
|
|
200
|
+
CHARTCONTAINER_FULLSCREEN_CLOSE=Fechar tela inteira
|
|
201
201
|
CHARTCONTAINER_OPTIONS=Op\u00E7\u00F5es
|
|
202
202
|
CHARTCONTAINER_CLOSE=Fechar
|
|
203
203
|
CHARTCONTAINER_ZOOMIN=Ampliar
|
|
@@ -844,7 +844,6 @@ sap.ui.define([
|
|
|
844
844
|
}
|
|
845
845
|
return oResourceBundle.getText("NETWORK_GRAPH_ACCESSIBILITY_ACTION_BUTTON") + " " + sLabel;
|
|
846
846
|
};
|
|
847
|
-
|
|
848
847
|
if (oFocus) {
|
|
849
848
|
if (oFocus.button) {
|
|
850
849
|
if (oFocus.item instanceof Node) {
|
|
@@ -866,6 +865,8 @@ sap.ui.define([
|
|
|
866
865
|
}
|
|
867
866
|
} else if (oFocus.item) {
|
|
868
867
|
this._setAccessibilityTitle(oFocus.item._getAccessibilityLabel());
|
|
868
|
+
} else {
|
|
869
|
+
fnSetDefaultAccessibilityTitle();
|
|
869
870
|
}
|
|
870
871
|
} else {
|
|
871
872
|
fnSetDefaultAccessibilityTitle();
|
|
@@ -690,7 +690,7 @@ sap.ui.define([
|
|
|
690
690
|
/**
|
|
691
691
|
* Adds coordinates for points that should define the shape of the line between its start and end points.
|
|
692
692
|
* This method doesn't call invalidate on the object.
|
|
693
|
-
* @param {{x:float,y:float}} oPoint X and Y coordinates
|
|
693
|
+
* @param {{x: float, y: float}} oPoint X and Y coordinates
|
|
694
694
|
* @returns {sap.suite.ui.commons.networkgraph.Coordinate} Newly added coordinates object
|
|
695
695
|
* @public
|
|
696
696
|
*/
|