@openui5/sap.ui.table 1.112.2 → 1.113.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/THIRDPARTY.txt +1 -1
- package/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +2 -2
- package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
- package/src/sap/ui/table/AnalyticalTable.js +1 -1
- package/src/sap/ui/table/Column.js +1 -1
- package/src/sap/ui/table/ColumnMenu.js +1 -1
- package/src/sap/ui/table/CreationRow.js +1 -1
- package/src/sap/ui/table/Row.js +1 -1
- package/src/sap/ui/table/RowAction.js +1 -1
- package/src/sap/ui/table/RowActionItem.js +1 -1
- package/src/sap/ui/table/RowSettings.js +1 -1
- package/src/sap/ui/table/Table.js +41 -14
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TableRenderer.js +1 -1
- package/src/sap/ui/table/TreeTable.js +1 -1
- package/src/sap/ui/table/extensions/Accessibility.js +18 -15
- package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -11
- package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
- package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
- package/src/sap/ui/table/extensions/Keyboard.js +1 -1
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +1 -1
- package/src/sap/ui/table/extensions/Pointer.js +1 -1
- package/src/sap/ui/table/extensions/Scrolling.js +1 -1
- package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +1 -1
- package/src/sap/ui/table/library.js +10 -10
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/messagebundle_bg.properties +6 -6
- package/src/sap/ui/table/messagebundle_da.properties +1 -1
- package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
- package/src/sap/ui/table/plugins/PluginBase.js +1 -1
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
- package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
- package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
- package/src/sap/ui/table/rowmodes/AutoRowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/FixedRowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/RowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
- package/src/sap/ui/table/rules/Accessibility.support.js +2 -2
- package/src/sap/ui/table/utils/TableUtils.js +1 -1
- package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
- package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
- package/src/sap/ui/table/utils/_GroupingUtils.js +2 -2
- package/src/sap/ui/table/utils/_HookUtils.js +1 -1
- package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
package/THIRDPARTY.txt
CHANGED
|
@@ -478,7 +478,7 @@ License: Apache-2.0
|
|
|
478
478
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
479
479
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
480
480
|
|
|
481
|
-
Component: SAP Theming Base Content, version: 11.1
|
|
481
|
+
Component: SAP Theming Base Content, version: 11.2.1
|
|
482
482
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
483
483
|
License: Apache-2.0
|
|
484
484
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.113.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.table",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.113.0",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.113.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.113.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Table-like controls, mainly for desktop scenarios.</documentation>
|
|
12
12
|
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* @extends sap.ui.table.Column
|
|
49
49
|
*
|
|
50
50
|
* @author SAP SE
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.113.0
|
|
52
52
|
*
|
|
53
53
|
* @constructor
|
|
54
54
|
* @public
|
|
@@ -301,7 +301,7 @@ sap.ui.define([
|
|
|
301
301
|
|
|
302
302
|
AnalyticalColumn.prototype._getDefaultTooltip = function() {
|
|
303
303
|
var oParent = this.getParent();
|
|
304
|
-
if (isInstanceOfAnalyticalTable(oParent)) {
|
|
304
|
+
if (isInstanceOfAnalyticalTable(oParent) && !oParent._getHideStandardTooltips()) {
|
|
305
305
|
var oBinding = oParent.getBinding();
|
|
306
306
|
if (oBinding && this.getLeadingProperty()) {
|
|
307
307
|
return oBinding.getPropertyQuickInfo(this.getLeadingProperty());
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* If more action items are available as the available space allows to display an overflow mechanism is provided.
|
|
36
36
|
* This control must only be used in the context of the <code>sap.ui.table.Table</code> control to define row actions.
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.113.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* The <code>RowSettings</code> control allows you to configure a row.
|
|
25
25
|
* You can only use this control in the context of the <code>sap.ui.table.Table</code> control to define row settings.
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.113.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -92,7 +92,7 @@ sap.ui.define([
|
|
|
92
92
|
* the data model and binding being used.
|
|
93
93
|
* </p>
|
|
94
94
|
* @extends sap.ui.core.Control
|
|
95
|
-
* @version 1.
|
|
95
|
+
* @version 1.113.0
|
|
96
96
|
*
|
|
97
97
|
* @constructor
|
|
98
98
|
* @public
|
|
@@ -374,7 +374,7 @@ sap.ui.define([
|
|
|
374
374
|
/**
|
|
375
375
|
* Control or text of title section of the Table (if not set it will be hidden)
|
|
376
376
|
*
|
|
377
|
-
* @deprecated As of 1.72. Use the <code>extension</code> aggregation instead.
|
|
377
|
+
* @deprecated As of 1.72. Use, for example, a <code>sap.m.Title</code> control in the <code>extension</code> aggregation instead.
|
|
378
378
|
*/
|
|
379
379
|
title: {type: "sap.ui.core.Control", altTypes: ["string"], multiple: false, deprecated: true},
|
|
380
380
|
|
|
@@ -417,6 +417,11 @@ sap.ui.define([
|
|
|
417
417
|
* The actions of rows can be defined with the {@link sap.ui.table.Table#setRowActionTemplate rowActionTemplate} aggregation of the table.
|
|
418
418
|
* Furthermore, row-specific settings can be defined with the {@link sap.ui.table.Table#setRowSettingsTemplate rowSettingsTemplate}
|
|
419
419
|
* aggregation of the table.
|
|
420
|
+
*
|
|
421
|
+
* <b>Note:</b> During the binding of rows, the (exact) count needs to be available in the table and has to be requested.
|
|
422
|
+
* If the count is not requested, this may lead to unexpected behavior in the table, such as scrolling, accessibility, or keyboard issues.
|
|
423
|
+
* Please refer to the documentation of the used model for information on requesting the count, for example, {@link sap.ui.model.odata.v2.ODataModel}
|
|
424
|
+
* or {@link sap.ui.model.odata.v4.ODataModel}.
|
|
420
425
|
*/
|
|
421
426
|
rows: {type: "sap.ui.table.Row", multiple: true, singularName: "row", bindable: "bindable", selector: "#{id}-tableCCnt", dnd: true},
|
|
422
427
|
|
|
@@ -992,7 +997,7 @@ sap.ui.define([
|
|
|
992
997
|
this._mAnimationFrames = {};
|
|
993
998
|
|
|
994
999
|
// TBD: Tooltips are not desired by Visual Design, discuss whether to switch it off by default
|
|
995
|
-
this.
|
|
1000
|
+
this._setHideStandardTooltips(false);
|
|
996
1001
|
|
|
997
1002
|
this._aRowHeights = [];
|
|
998
1003
|
this._aSortedColumns = [];
|
|
@@ -1579,7 +1584,7 @@ sap.ui.define([
|
|
|
1579
1584
|
var oDummyColumn = this.getDomRef("dummycolhdr");
|
|
1580
1585
|
|
|
1581
1586
|
if (oDummyColumn) {
|
|
1582
|
-
var bDummyColumnHasWidth = oDummyColumn.clientWidth >
|
|
1587
|
+
var bDummyColumnHasWidth = oDummyColumn.clientWidth > 1;
|
|
1583
1588
|
|
|
1584
1589
|
if (!bHasFlexibleRowActions && bDummyColumnHasWidth) {
|
|
1585
1590
|
var iColumnsWidth = this.getColumns().reduce(function(iColumnsWidth, oColumn) {
|
|
@@ -1658,8 +1663,8 @@ sap.ui.define([
|
|
|
1658
1663
|
/**
|
|
1659
1664
|
* Sets the focus to the stored focus DOM reference.
|
|
1660
1665
|
*
|
|
1661
|
-
* If
|
|
1662
|
-
* the focus will be set as accurately as possible according to the information provided by {@
|
|
1666
|
+
* If <code>oFocusInfo.targetInfo</code> is of type {@link sap.ui.core.message.Message},
|
|
1667
|
+
* the focus will be set as accurately as possible according to the information provided by {@link sap.ui.core.message.Message}.
|
|
1663
1668
|
*
|
|
1664
1669
|
* @param {object} [oFocusInfo={}] Options for setting the focus
|
|
1665
1670
|
* @param {boolean} [oFocusInfo.preventScroll=false] @since 1.60 If set to <code>true</code>, the focused
|
|
@@ -3182,20 +3187,42 @@ sap.ui.define([
|
|
|
3182
3187
|
|
|
3183
3188
|
if (sSelectAllResourceTextID) {
|
|
3184
3189
|
sSelectAllText = TableUtils.getResourceText(sSelectAllResourceTextID);
|
|
3185
|
-
|
|
3186
|
-
$SelectAll.attr('title', sSelectAllText);
|
|
3187
|
-
} else if (mRenderConfig.headerSelector.type === "toggle") {
|
|
3188
|
-
this.getDomRef("ariaselectall").innerText = sSelectAllText;
|
|
3189
|
-
}
|
|
3190
|
+
$SelectAll.attr('title', sSelectAllText);
|
|
3190
3191
|
}
|
|
3191
3192
|
};
|
|
3192
3193
|
|
|
3193
3194
|
/**
|
|
3194
|
-
* Returns
|
|
3195
|
+
* Returns whether certain additional standard tooltips should be shown or not.
|
|
3196
|
+
*
|
|
3197
|
+
* see <code>_setHideStandardTooltips</code> for more details
|
|
3198
|
+
*
|
|
3199
|
+
* @private
|
|
3200
|
+
* @returns {boolean} <code>true</code>, when additional standard tooltips should be shown
|
|
3201
|
+
*/
|
|
3202
|
+
Table.prototype._getHideStandardTooltips = function() {
|
|
3203
|
+
return this._bHideStandardTooltips;
|
|
3204
|
+
};
|
|
3205
|
+
|
|
3206
|
+
/**
|
|
3207
|
+
* Defines whether certain additional standard tooltips should be shown or hidden.
|
|
3208
|
+
* The tooltips which are affected by this setting are:
|
|
3209
|
+
*
|
|
3210
|
+
* <ul>
|
|
3211
|
+
* <li>Text on Group headers</li>
|
|
3212
|
+
* <li>Tooltips on Row Selectors and Row for Selection</li>
|
|
3213
|
+
* <li>Default tooltips on AnalyticalColumn headers</li>
|
|
3214
|
+
* </ul>
|
|
3215
|
+
*
|
|
3216
|
+
* Other tooltips like for Select All / Clear All icons, Expand / Collapse icons or Row Actions are not affected.
|
|
3217
|
+
*
|
|
3218
|
+
* <b>Note: The changes only take effect after a full invalidation / rerendering of the table.</b>
|
|
3219
|
+
*
|
|
3220
|
+
* @param {boolean} bHideStandardTooltips Whether to show the additional tooltips or not
|
|
3195
3221
|
* @private
|
|
3222
|
+
* @ui5-restricted sap.ui.comp, sap.ui.mdc
|
|
3196
3223
|
*/
|
|
3197
|
-
Table.prototype.
|
|
3198
|
-
|
|
3224
|
+
Table.prototype._setHideStandardTooltips = function(bHideStandardTooltips) {
|
|
3225
|
+
this._bHideStandardTooltips = bHideStandardTooltips;
|
|
3199
3226
|
};
|
|
3200
3227
|
|
|
3201
3228
|
/**
|
|
@@ -450,7 +450,7 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
if (
|
|
453
|
+
if (sSelectAllResourceTextID) {
|
|
454
454
|
rm.attr("title", TableUtils.getResourceText(sSelectAllResourceTextID));
|
|
455
455
|
}
|
|
456
456
|
if (!bAllRowsSelected) {
|
|
@@ -224,23 +224,32 @@ sap.ui.define([
|
|
|
224
224
|
},
|
|
225
225
|
|
|
226
226
|
/*
|
|
227
|
-
* Returns the tooltip of the column or the contained label, if any.
|
|
227
|
+
* Returns the tooltip of the column or the contained label, if any and if it differs from the label itself.
|
|
228
228
|
*/
|
|
229
229
|
getColumnTooltip: function(oColumn) {
|
|
230
230
|
if (!oColumn) {
|
|
231
231
|
return null;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
+
var oLabel = oColumn.getLabel();
|
|
235
|
+
|
|
236
|
+
function isTooltipEqualToLabel(sTooltip) {
|
|
237
|
+
if (!sTooltip) {
|
|
238
|
+
return false;
|
|
239
|
+
}
|
|
240
|
+
var sText = oLabel && oLabel.getText ? oLabel.getText() : "";
|
|
241
|
+
return sTooltip == sText;
|
|
242
|
+
}
|
|
243
|
+
|
|
234
244
|
var sTooltip = oColumn.getTooltip_AsString();
|
|
235
|
-
if (sTooltip) {
|
|
245
|
+
if (!isTooltipEqualToLabel(sTooltip)) {
|
|
236
246
|
return sTooltip;
|
|
237
247
|
}
|
|
238
248
|
|
|
239
|
-
var oLabel = oColumn.getLabel();
|
|
240
249
|
if (TableUtils.isA(oLabel, "sap.ui.core.Control")) {
|
|
241
250
|
sTooltip = oLabel.getTooltip_AsString();
|
|
242
251
|
}
|
|
243
|
-
if (sTooltip) {
|
|
252
|
+
if (!isTooltipEqualToLabel(sTooltip)) {
|
|
244
253
|
return sTooltip;
|
|
245
254
|
}
|
|
246
255
|
|
|
@@ -665,9 +674,6 @@ sap.ui.define([
|
|
|
665
674
|
}
|
|
666
675
|
}
|
|
667
676
|
}
|
|
668
|
-
if (!oTable._getShowStandardTooltips() && mRenderConfig.headerSelector.type === "toggle") {
|
|
669
|
-
mAttributes["aria-labelledby"] = [sTableId + "-ariaselectall"];
|
|
670
|
-
}
|
|
671
677
|
break;
|
|
672
678
|
|
|
673
679
|
case AccExtension.ELEMENTTYPES.ROWHEADER:
|
|
@@ -854,11 +860,8 @@ sap.ui.define([
|
|
|
854
860
|
if (mParams && mParams.row) {
|
|
855
861
|
if (mParams.row.isExpandable()) {
|
|
856
862
|
var sText = TableUtils.getResourceText("TBL_COLLAPSE_EXPAND");
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
} else {
|
|
860
|
-
mAttributes["aria-label"] = sText;
|
|
861
|
-
}
|
|
863
|
+
mAttributes["title"] = sText;
|
|
864
|
+
|
|
862
865
|
mAttributes["aria-expanded"] = "" + (!!mParams.row.isExpanded());
|
|
863
866
|
mAttributes["aria-hidden"] = "false";
|
|
864
867
|
mAttributes["role"] = "button";
|
|
@@ -929,7 +932,7 @@ sap.ui.define([
|
|
|
929
932
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
930
933
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
931
934
|
* @author SAP SE
|
|
932
|
-
* @version 1.
|
|
935
|
+
* @version 1.113.0
|
|
933
936
|
* @constructor
|
|
934
937
|
* @private
|
|
935
938
|
* @alias sap.ui.table.extensions.Accessibility
|
|
@@ -1218,7 +1221,7 @@ sap.ui.define([
|
|
|
1218
1221
|
}
|
|
1219
1222
|
|
|
1220
1223
|
var oTable = this.getTable();
|
|
1221
|
-
var bShowRowTooltips = !oRow.isEmpty() && !oRow.isGroupHeader() && !oRow.isSummary() && oTable.
|
|
1224
|
+
var bShowRowTooltips = !oRow.isEmpty() && !oRow.isGroupHeader() && !oRow.isSummary() && !oTable._getHideStandardTooltips();
|
|
1222
1225
|
|
|
1223
1226
|
if ($Ref.row) {
|
|
1224
1227
|
if (bShowRowTooltips && TableUtils.isRowSelectionAllowed(oTable) && !$Ref.row.hasClass("sapUiTableRowHidden")) {
|
|
@@ -1394,7 +1397,7 @@ sap.ui.define([
|
|
|
1394
1397
|
sSelectionMode = oTable.getSelectionMode();
|
|
1395
1398
|
}
|
|
1396
1399
|
|
|
1397
|
-
var bShowTooltips = oTable.
|
|
1400
|
+
var bShowTooltips = !oTable._getHideStandardTooltips();
|
|
1398
1401
|
var mTooltipTexts = {
|
|
1399
1402
|
mouse: {
|
|
1400
1403
|
rowSelect: "",
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @class Extension for sap.ui.table.TableRenderer which handles ACC related things.
|
|
43
43
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.113.0
|
|
46
46
|
* @constructor
|
|
47
47
|
* @private
|
|
48
48
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -82,16 +82,6 @@ sap.ui.define([
|
|
|
82
82
|
_writeAccText(oRm, sTableId, "ariacount");
|
|
83
83
|
// aria description for toggling the edit mode
|
|
84
84
|
_writeAccText(oRm, sTableId, "toggleedit", TableUtils.getResourceText("TBL_TOGGLE_EDIT_KEY"));
|
|
85
|
-
// aria description for select all button
|
|
86
|
-
var bAllRowsSelected = TableUtils.areAllRowsSelected(oTable);
|
|
87
|
-
var mRenderConfig = oTable._getSelectionPlugin().getRenderConfig();
|
|
88
|
-
var sSelectAllResourceTextID;
|
|
89
|
-
if (mRenderConfig.headerSelector.type === "toggle") {
|
|
90
|
-
sSelectAllResourceTextID = bAllRowsSelected ? "TBL_DESELECT_ALL" : "TBL_SELECT_ALL";
|
|
91
|
-
} else if (mRenderConfig.headerSelector.type === "clear") {
|
|
92
|
-
sSelectAllResourceTextID = "TBL_DESELECT_ALL";
|
|
93
|
-
}
|
|
94
|
-
_writeAccText(oRm, sTableId, "ariaselectall", TableUtils.getResourceText(sSelectAllResourceTextID));
|
|
95
85
|
// aria label for group rows
|
|
96
86
|
_writeAccText(oRm, sTableId, "ariarowgrouplabel", TableUtils.getResourceText("TBL_ROW_GROUP_LABEL"));
|
|
97
87
|
// aria label for grand total sums
|
|
@@ -267,7 +267,7 @@ sap.ui.define([
|
|
|
267
267
|
* @class Extension for sap.ui.table.Table which handles keyboard related things.
|
|
268
268
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
269
269
|
* @author SAP SE
|
|
270
|
-
* @version 1.
|
|
270
|
+
* @version 1.113.0
|
|
271
271
|
* @constructor
|
|
272
272
|
* @private
|
|
273
273
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -796,7 +796,7 @@ sap.ui.define([
|
|
|
796
796
|
* @class Extension for sap.ui.table.Table which handles mouse and touch related things.
|
|
797
797
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
798
798
|
* @author SAP SE
|
|
799
|
-
* @version 1.
|
|
799
|
+
* @version 1.113.0
|
|
800
800
|
* @constructor
|
|
801
801
|
* @private
|
|
802
802
|
* @alias sap.ui.table.extensions.Pointer
|
|
@@ -2256,7 +2256,7 @@ sap.ui.define([
|
|
|
2256
2256
|
* @class Extension for sap.ui.table.Table which handles scrolling.
|
|
2257
2257
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
2258
2258
|
* @author SAP SE
|
|
2259
|
-
* @version 1.
|
|
2259
|
+
* @version 1.113.0
|
|
2260
2260
|
* @constructor
|
|
2261
2261
|
* @private
|
|
2262
2262
|
* @alias sap.ui.table.extensions.Scrolling
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class Extension for sap.ui.table.Table which handles the scrollbar on iOS.
|
|
28
28
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.113.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @alias sap.ui.table.extensions.ScrollingIOS
|
|
@@ -181,7 +181,7 @@ sap.ui.define([
|
|
|
181
181
|
* @class Extension for sap.ui.table.Table that allows synchronization with a table.
|
|
182
182
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
183
183
|
* @author SAP SE
|
|
184
|
-
* @version 1.
|
|
184
|
+
* @version 1.113.0
|
|
185
185
|
* @constructor
|
|
186
186
|
* @private
|
|
187
187
|
* @alias sap.ui.table.extensions.Synchronization
|
|
@@ -20,13 +20,13 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
20
20
|
* @namespace
|
|
21
21
|
* @alias sap.ui.table
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.113.0
|
|
24
24
|
* @since 0.8
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
28
28
|
name: "sap.ui.table",
|
|
29
|
-
version: "1.
|
|
29
|
+
version: "1.113.0",
|
|
30
30
|
dependencies: ["sap.ui.core", "sap.ui.unified"],
|
|
31
31
|
designtime: "sap/ui/table/designtime/library.designtime",
|
|
32
32
|
types: [
|
|
@@ -80,7 +80,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
80
80
|
/**
|
|
81
81
|
* Navigation mode of the table
|
|
82
82
|
*
|
|
83
|
-
* @version 1.
|
|
83
|
+
* @version 1.113.0
|
|
84
84
|
* @enum {string}
|
|
85
85
|
* @public
|
|
86
86
|
*/
|
|
@@ -107,7 +107,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
107
107
|
/**
|
|
108
108
|
* Row Action types.
|
|
109
109
|
*
|
|
110
|
-
* @version 1.
|
|
110
|
+
* @version 1.113.0
|
|
111
111
|
* @enum {string}
|
|
112
112
|
* @public
|
|
113
113
|
*/
|
|
@@ -136,7 +136,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
136
136
|
/**
|
|
137
137
|
* Selection behavior of the table
|
|
138
138
|
*
|
|
139
|
-
* @version 1.
|
|
139
|
+
* @version 1.113.0
|
|
140
140
|
* @enum {string}
|
|
141
141
|
* @public
|
|
142
142
|
*/
|
|
@@ -165,7 +165,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
165
165
|
/**
|
|
166
166
|
* Selection mode of the table
|
|
167
167
|
*
|
|
168
|
-
* @version 1.
|
|
168
|
+
* @version 1.113.0
|
|
169
169
|
* @enum {string}
|
|
170
170
|
* @public
|
|
171
171
|
*/
|
|
@@ -201,7 +201,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
201
201
|
/**
|
|
202
202
|
* Sort order of a column
|
|
203
203
|
*
|
|
204
|
-
* @version 1.
|
|
204
|
+
* @version 1.113.0
|
|
205
205
|
* @enum {string}
|
|
206
206
|
* @public
|
|
207
207
|
*/
|
|
@@ -224,7 +224,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
224
224
|
/**
|
|
225
225
|
* VisibleRowCountMode of the table
|
|
226
226
|
*
|
|
227
|
-
* @version 1.
|
|
227
|
+
* @version 1.113.0
|
|
228
228
|
* @enum {string}
|
|
229
229
|
* @public
|
|
230
230
|
*/
|
|
@@ -255,7 +255,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
255
255
|
*
|
|
256
256
|
* Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
|
|
257
257
|
*
|
|
258
|
-
* @version 1.
|
|
258
|
+
* @version 1.113.0
|
|
259
259
|
* @enum {string}
|
|
260
260
|
* @public
|
|
261
261
|
*/
|
|
@@ -353,7 +353,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
353
353
|
*
|
|
354
354
|
* This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
|
|
355
355
|
*
|
|
356
|
-
* @version 1.
|
|
356
|
+
* @version 1.113.0
|
|
357
357
|
* @typedef {sap.ui.model.TreeAutoExpandMode}
|
|
358
358
|
* @public
|
|
359
359
|
*/
|
|
@@ -12,16 +12,16 @@ TBL_UNFREEZE=\u041E\u0442\u043C\u044F\u043D\u0430 \u043D\u0430 \u0444\u0438\u043
|
|
|
12
12
|
TBL_MOVE_UP=\u041F\u0440\u0438\u0434\u0432\u0438\u0436\u0432\u0430\u043D\u0435 \u043D\u0430\u0433\u043E\u0440\u0435
|
|
13
13
|
TBL_MOVE_DOWN=\u041F\u0440\u0438\u0434\u0432\u0438\u0436\u0432\u0430\u043D\u0435 \u043D\u0430\u0434\u043E\u043B\u0443
|
|
14
14
|
TBL_EXPAND_LEVEL=\u0420\u0430\u0437\u0448\u0438\u0440\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u043D\u0438\u0432\u043E\u0442\u043E
|
|
15
|
-
TBL_COLLAPSE_LEVEL=\u0421\
|
|
15
|
+
TBL_COLLAPSE_LEVEL=\u0421\u0432\u0438\u0432\u0430\u043D\u0435 \u043D\u0430 \u043D\u0438\u0432\u043E\u0442\u043E
|
|
16
16
|
TBL_EXPAND_ALL=\u0420\u0430\u0437\u0448\u0438\u0440\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u0441\u0438\u0447\u043A\u0438
|
|
17
|
-
TBL_COLLAPSE_ALL=\u0421\
|
|
17
|
+
TBL_COLLAPSE_ALL=\u0421\u0432\u0438\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u0441\u0438\u0447\u043A\u0438
|
|
18
18
|
TBL_SHOW_COLUMN=\u041F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435
|
|
19
19
|
TBL_HIDE_COLUMN=\u0421\u043A\u0440\u0438\u0432\u0430\u043D\u0435
|
|
20
20
|
TBL_COL_VISBILITY_MENUITEM_SHOW=\u041F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u043A\u043E\u043B\u043E\u043D\u0430\u0442\u0430
|
|
21
21
|
TBL_COL_VISBILITY_MENUITEM_HIDE=\u0421\u043A\u0440\u0438\u0432\u0430\u043D\u0435 \u043D\u0430 \u043A\u043E\u043B\u043E\u043D\u0430\u0442\u0430
|
|
22
22
|
|
|
23
23
|
TBL_ROW_SELECT=\u041A\u043B\u0438\u043A\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435.
|
|
24
|
-
TBL_ROW_DESELECT=\u041A\u043B\u0438\u043A\u043D\u0435\u0442\u0435
|
|
24
|
+
TBL_ROW_DESELECT=\u041A\u043B\u0438\u043A\u043D\u0435\u0442\u0435 \u0437\u0430 \u043E\u0442\u043C\u044F\u043D\u0430 \u043D\u0430 \u0438\u0437\u0431\u043E\u0440\u0430
|
|
25
25
|
TBL_ROW_SELECT_MULTI_TOGGLE=\u041A\u043B\u0438\u043A\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435, \u0438\u043B\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 SHIFT \u0438 \u043A\u043B\u0438\u043A\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D
|
|
26
26
|
|
|
27
27
|
TBL_TABLE_SELECTION_MULTI=\u0422\u0430\u0431\u043B\u0438\u0446\u0430 \u0441 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u0435\u043D \u0438\u0437\u0431\u043E\u0440
|
|
@@ -40,12 +40,12 @@ TBL_NO_COLUMNS=\u0412 \u043C\u043E\u043C\u0435\u043D\u0442\u0430 \u0432 \u0442\u
|
|
|
40
40
|
|
|
41
41
|
TBL_NO_DATA=\u041D\u044F\u043C\u0430 \u0434\u0430\u043D\u043D\u0438
|
|
42
42
|
|
|
43
|
-
TBL_SELECT_ALL=\u0418\u0437\u0431\
|
|
43
|
+
TBL_SELECT_ALL=\u0418\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0432\u0441\u0438\u0447\u043A\u0438
|
|
44
44
|
TBL_DESELECT_ALL=\u0420\u0430\u0437\u043C\u0430\u0440\u043A\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0432\u0441\u0438\u0447\u043A\u0438
|
|
45
45
|
|
|
46
46
|
TBL_TOGGLE_EDIT_KEY=\u0417\u0430 \u0434\u0430 \u0432\u044A\u0432\u0435\u0434\u0435\u0442\u0435 \u043A\u043B\u0435\u0442\u043A\u0430 \u043E\u0442 \u0442\u0430\u0431\u043B\u0438\u0446\u0430, \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 F2
|
|
47
47
|
|
|
48
|
-
TBL_COLLAPSE_EXPAND=\u0420\u0430\u0437\u0433\u044A\u0432\u0430\u043D\u0435/\u0441\u0432\u0438\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u044A\u0437\u0435\u043B
|
|
48
|
+
TBL_COLLAPSE_EXPAND=\u0420\u0430\u0437\u0433\u044A\u0432\u0430\u043D\u0435/\u0441\u0432\u0438\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u044A\u0437\u0435\u043B\u0430
|
|
49
49
|
|
|
50
50
|
TBL_LEAF=\u0412\u044A\u0437\u0435\u043B
|
|
51
51
|
|
|
@@ -115,7 +115,7 @@ TBL_ROW_STATE_NAVIGATED=\u041D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044F
|
|
|
115
115
|
|
|
116
116
|
TBL_ROW_EXPAND_KEY=\u0417\u0430 \u0434\u0430 \u0440\u0430\u0437\u0433\u044A\u0440\u043D\u0435\u0442\u0435 \u0440\u0435\u0434\u0430, \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B
|
|
117
117
|
|
|
118
|
-
TBL_ROW_COLLAPSE_KEY=\u0417\u0430 \u0434\u0430 \u0441\
|
|
118
|
+
TBL_ROW_COLLAPSE_KEY=\u0417\u0430 \u0434\u0430 \u0441\u0432\u0438\u0435\u0442\u0435 \u0440\u0435\u0434\u0430, \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B
|
|
119
119
|
|
|
120
120
|
TBL_CREATIONROW_APPLY=\u0414\u043E\u0431\u0430\u0432\u044F\u043D\u0435 \u043D\u0430 \u0440\u0435\u0434
|
|
121
121
|
|
|
@@ -32,7 +32,7 @@ TBL_TABLE_INVALID=Ugyldig tabel
|
|
|
32
32
|
TBL_DATA_ROWS_COLS=Tabel indeholder {0} r\u00E6kker og {1} kolonner
|
|
33
33
|
|
|
34
34
|
TBL_ROW_SELECT_KEY=Tryk p\u00E5 mellemrumstasten for at v\u00E6lge r\u00E6kke
|
|
35
|
-
TBL_ROW_DESELECT_KEY=Tryk p\u00E5 mellemrumstasten for at
|
|
35
|
+
TBL_ROW_DESELECT_KEY=Tryk p\u00E5 mellemrumstasten for at slette markering af r\u00E6kke
|
|
36
36
|
|
|
37
37
|
TBL_ANALYTICAL_TABLE_ROLE_DESCRIPTION=Analytisk tabel
|
|
38
38
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
*
|
|
23
23
|
* @class Implements the selection methods for TreeTable and AnalyticalTable
|
|
24
24
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.113.0
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
28
28
|
* @alias sap.ui.table.plugins.BindingSelection
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
*
|
|
24
24
|
* @class Implements the selection methods for a Table
|
|
25
25
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.113.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @alias sap.ui.table.plugins.SelectionModelSelection
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @class TODO (don't forget to document fixed row count restrictions because fixed rows are set by this plugin)
|
|
33
33
|
* @extends sap.ui.table.plugins.PluginBase
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.113.0
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.76
|
|
38
38
|
* @experimental
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @ui5-restricted sap.ui.mdc
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.113.0
|
|
39
39
|
*/
|
|
40
40
|
var AutoRowMode = RowMode.extend("sap.ui.table.rowmodes.AutoRowMode", /** @lends sap.ui.table.rowmodes.AutoRowMode.prototype */ {
|
|
41
41
|
metadata: {
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @ui5-restricted sap.ui.mdc
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.113.0
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
var FixedRowMode = RowMode.extend("sap.ui.table.rowmodes.FixedRowMode", /** @lends sap.ui.table.rowmodes.FixedRowMode.prototype */ {
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @ui5-restricted sap.ui.mdc
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.113.0
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
var InteractiveRowMode = RowMode.extend("sap.ui.table.rowmodes.InteractiveRowMode", /** @lends sap.ui.table.rowmodes.InteractiveRowMode.prototype */ {
|
|
@@ -15,7 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
var MessageType = CoreLibrary.MessageType;
|
|
16
16
|
|
|
17
17
|
/*
|
|
18
|
-
* Validates whether
|
|
18
|
+
* Validates whether aria-labelledby is correctly set
|
|
19
19
|
*/
|
|
20
20
|
var oAccessibleLabel = SupportHelper.normalizeRule({
|
|
21
21
|
id: "AccessibleLabel",
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
categories: [Categories.Accessibility],
|
|
24
24
|
title: "Accessible Label",
|
|
25
25
|
description: "Checks whether 'sap.ui.table.Table' controls have an accessible label.",
|
|
26
|
-
resolution: "Use the '
|
|
26
|
+
resolution: "Use the 'ariaLabelledBy' association of the 'sap.ui.table.Table' control "
|
|
27
27
|
+ "to define a proper accessible labeling.",
|
|
28
28
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
29
29
|
var aTables = SupportHelper.find(oScope, true, "sap.ui.table.Table");
|
|
@@ -14,7 +14,7 @@ sap.ui.define([], function() {
|
|
|
14
14
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Binding...</code>
|
|
15
15
|
*
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.113.0
|
|
18
18
|
* @namespace
|
|
19
19
|
* @alias sap.ui.table.utils._BindingUtils
|
|
20
20
|
* @private
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Column...</code>
|
|
19
19
|
*
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.113.0
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.table.utils._ColumnUtils
|
|
24
24
|
* @private
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Grouping...</code>
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.113.0
|
|
27
27
|
* @namespace
|
|
28
28
|
* @alias sap.ui.table.utils._GroupingUtils
|
|
29
29
|
* @private
|
|
@@ -321,7 +321,7 @@ sap.ui.define([
|
|
|
321
321
|
oRow.$("groupHeader")
|
|
322
322
|
.toggleClass("sapUiTableGroupIconOpen", bIsExpandable && bIsExpanded)
|
|
323
323
|
.toggleClass("sapUiTableGroupIconClosed", bIsExpandable && !bIsExpanded)
|
|
324
|
-
.attr("title", oTable.
|
|
324
|
+
.attr("title", !oTable._getHideStandardTooltips() && sTitle ? sTitle : null)
|
|
325
325
|
.text(sTitle);
|
|
326
326
|
GroupingUtils.setGroupIndent(oRow, iIndent);
|
|
327
327
|
$Row.toggleClass("sapUiTableRowIndented", iIndent > 0)
|
|
@@ -22,7 +22,7 @@ sap.ui.define(["sap/ui/base/DataType"], function(DataType) {
|
|
|
22
22
|
* - There is no concept for public or protected hooks. Never expose a hook directly, only indirectly as can be seen in the examples.
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.113.0
|
|
26
26
|
* @namespace
|
|
27
27
|
* @alias sap.ui.table.utils._HookUtils
|
|
28
28
|
*
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Menu...</code>
|
|
40
40
|
*
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.113.0
|
|
43
43
|
* @namespace
|
|
44
44
|
* @alias sap.ui.table.utils._MenuUtils
|
|
45
45
|
* @private
|