@openui5/sap.ui.commons 1.106.0 → 1.107.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 (111) hide show
  1. package/package.json +4 -4
  2. package/src/sap/ui/commons/.library +1 -1
  3. package/src/sap/ui/commons/Accordion.js +1 -4
  4. package/src/sap/ui/commons/AccordionRenderer.js +5 -5
  5. package/src/sap/ui/commons/AccordionSection.js +4 -5
  6. package/src/sap/ui/commons/ApplicationHeader.js +1 -2
  7. package/src/sap/ui/commons/ApplicationHeaderRenderer.js +4 -4
  8. package/src/sap/ui/commons/Area.js +1 -2
  9. package/src/sap/ui/commons/AutoComplete.js +1 -3
  10. package/src/sap/ui/commons/Button.js +1 -3
  11. package/src/sap/ui/commons/ButtonRenderer.js +1 -1
  12. package/src/sap/ui/commons/Callout.js +1 -2
  13. package/src/sap/ui/commons/CalloutBase.js +8 -9
  14. package/src/sap/ui/commons/CalloutBaseRenderer.js +3 -3
  15. package/src/sap/ui/commons/Carousel.js +5 -8
  16. package/src/sap/ui/commons/CarouselRenderer.js +3 -3
  17. package/src/sap/ui/commons/CheckBox.js +1 -3
  18. package/src/sap/ui/commons/ColorPicker.js +1 -2
  19. package/src/sap/ui/commons/ComboBox.js +1 -2
  20. package/src/sap/ui/commons/ComboBoxRenderer.js +3 -3
  21. package/src/sap/ui/commons/DatePicker.js +8 -7
  22. package/src/sap/ui/commons/Dialog.js +10 -11
  23. package/src/sap/ui/commons/DropdownBox.js +9 -8
  24. package/src/sap/ui/commons/FileUploader.js +1 -2
  25. package/src/sap/ui/commons/FileUploaderParameter.js +1 -2
  26. package/src/sap/ui/commons/FormattedTextView.js +1 -3
  27. package/src/sap/ui/commons/HorizontalDivider.js +1 -2
  28. package/src/sap/ui/commons/Image.js +1 -2
  29. package/src/sap/ui/commons/ImageMap.js +1 -3
  30. package/src/sap/ui/commons/ImageMapRenderer.js +3 -3
  31. package/src/sap/ui/commons/InPlaceEdit.js +1 -3
  32. package/src/sap/ui/commons/Label.js +1 -2
  33. package/src/sap/ui/commons/Link.js +1 -3
  34. package/src/sap/ui/commons/ListBox.js +1 -2
  35. package/src/sap/ui/commons/ListBoxRenderer.js +1 -1
  36. package/src/sap/ui/commons/Menu.js +1 -2
  37. package/src/sap/ui/commons/MenuBar.js +7 -7
  38. package/src/sap/ui/commons/MenuBarRenderer.js +3 -3
  39. package/src/sap/ui/commons/MenuButton.js +1 -2
  40. package/src/sap/ui/commons/MenuButtonRenderer.js +3 -3
  41. package/src/sap/ui/commons/MenuItem.js +1 -2
  42. package/src/sap/ui/commons/MenuItemBase.js +1 -1
  43. package/src/sap/ui/commons/MenuTextFieldItem.js +1 -2
  44. package/src/sap/ui/commons/Message.js +6 -6
  45. package/src/sap/ui/commons/MessageBar.js +7 -8
  46. package/src/sap/ui/commons/MessageBox.js +1 -1
  47. package/src/sap/ui/commons/MessageList.js +5 -6
  48. package/src/sap/ui/commons/MessageToast.js +8 -9
  49. package/src/sap/ui/commons/Paginator.js +1 -2
  50. package/src/sap/ui/commons/Panel.js +7 -8
  51. package/src/sap/ui/commons/PanelRenderer.js +3 -3
  52. package/src/sap/ui/commons/PasswordField.js +1 -2
  53. package/src/sap/ui/commons/ProgressIndicator.js +1 -2
  54. package/src/sap/ui/commons/ProgressIndicatorRenderer.js +4 -4
  55. package/src/sap/ui/commons/RadioButton.js +1 -2
  56. package/src/sap/ui/commons/RadioButtonGroup.js +1 -4
  57. package/src/sap/ui/commons/RangeSlider.js +1 -2
  58. package/src/sap/ui/commons/RatingIndicator.js +1 -3
  59. package/src/sap/ui/commons/ResponsiveContainer.js +1 -2
  60. package/src/sap/ui/commons/ResponsiveContainerRange.js +1 -2
  61. package/src/sap/ui/commons/RichTooltip.js +1 -2
  62. package/src/sap/ui/commons/RichTooltipRenderer.js +3 -3
  63. package/src/sap/ui/commons/RoadMap.js +1 -2
  64. package/src/sap/ui/commons/RoadMapRenderer.js +15 -15
  65. package/src/sap/ui/commons/RoadMapStep.js +1 -2
  66. package/src/sap/ui/commons/RowRepeater.js +6 -15
  67. package/src/sap/ui/commons/RowRepeaterFilter.js +1 -2
  68. package/src/sap/ui/commons/RowRepeaterSorter.js +1 -2
  69. package/src/sap/ui/commons/SearchField.js +11 -11
  70. package/src/sap/ui/commons/SearchProvider.js +1 -2
  71. package/src/sap/ui/commons/SegmentedButton.js +1 -2
  72. package/src/sap/ui/commons/Slider.js +6 -6
  73. package/src/sap/ui/commons/Splitter.js +10 -9
  74. package/src/sap/ui/commons/Tab.js +1 -2
  75. package/src/sap/ui/commons/TabStrip.js +14 -12
  76. package/src/sap/ui/commons/TextArea.js +1 -2
  77. package/src/sap/ui/commons/TextField.js +8 -7
  78. package/src/sap/ui/commons/TextFieldRenderer.js +1 -1
  79. package/src/sap/ui/commons/TextView.js +1 -2
  80. package/src/sap/ui/commons/Title.js +1 -2
  81. package/src/sap/ui/commons/ToggleButton.js +1 -2
  82. package/src/sap/ui/commons/Toolbar.js +7 -6
  83. package/src/sap/ui/commons/ToolbarSeparator.js +1 -2
  84. package/src/sap/ui/commons/Tree.js +6 -8
  85. package/src/sap/ui/commons/TreeNode.js +5 -9
  86. package/src/sap/ui/commons/TriStateCheckBox.js +1 -3
  87. package/src/sap/ui/commons/ValueHelpField.js +1 -2
  88. package/src/sap/ui/commons/form/Form.js +1 -2
  89. package/src/sap/ui/commons/form/FormContainer.js +1 -2
  90. package/src/sap/ui/commons/form/FormElement.js +1 -2
  91. package/src/sap/ui/commons/form/FormLayout.js +1 -2
  92. package/src/sap/ui/commons/form/GridContainerData.js +1 -2
  93. package/src/sap/ui/commons/form/GridElementData.js +1 -2
  94. package/src/sap/ui/commons/form/GridLayout.js +1 -2
  95. package/src/sap/ui/commons/form/ResponsiveLayout.js +1 -2
  96. package/src/sap/ui/commons/form/SimpleForm.js +1 -2
  97. package/src/sap/ui/commons/layout/AbsoluteLayout.js +1 -10
  98. package/src/sap/ui/commons/layout/BorderLayout.js +1 -13
  99. package/src/sap/ui/commons/layout/BorderLayoutArea.js +1 -2
  100. package/src/sap/ui/commons/layout/BorderLayoutRenderer.js +5 -4
  101. package/src/sap/ui/commons/layout/HorizontalLayout.js +1 -2
  102. package/src/sap/ui/commons/layout/MatrixLayout.js +1 -3
  103. package/src/sap/ui/commons/layout/MatrixLayoutCell.js +1 -5
  104. package/src/sap/ui/commons/layout/MatrixLayoutRenderer.js +3 -3
  105. package/src/sap/ui/commons/layout/MatrixLayoutRow.js +1 -5
  106. package/src/sap/ui/commons/layout/PositionContainer.js +1 -3
  107. package/src/sap/ui/commons/layout/ResponsiveFlowLayout.js +1 -2
  108. package/src/sap/ui/commons/layout/ResponsiveFlowLayoutData.js +1 -2
  109. package/src/sap/ui/commons/layout/VerticalLayout.js +1 -2
  110. package/src/sap/ui/commons/library.js +2 -30
  111. package/src/sap/ui/commons/messagebundle_de.properties +1 -1
@@ -22,13 +22,12 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.106.0
25
+ * @version 1.107.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
29
29
  * @deprecated Since version 1.38. Instead, use the <code>sap.ui.table.Table</code> control.
30
30
  * @alias sap.ui.commons.RowRepeaterFilter
31
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
32
31
  */
33
32
  var RowRepeaterFilter = Element.extend("sap.ui.commons.RowRepeaterFilter", /** @lends sap.ui.commons.RowRepeaterFilter.prototype */ { metadata : {
34
33
 
@@ -22,13 +22,12 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.106.0
25
+ * @version 1.107.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
29
29
  * @deprecated Since version 1.38. Instead, use the <code>sap.ui.table.Table</code> control.
30
30
  * @alias sap.ui.commons.RowRepeaterSorter
31
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
32
31
  */
33
32
  var RowRepeaterSorter = Element.extend("sap.ui.commons.RowRepeaterSorter", /** @lends sap.ui.commons.RowRepeaterSorter.prototype */ { metadata : {
34
33
 
@@ -24,9 +24,11 @@ sap.ui.define([
24
24
  'sap/ui/core/ListItem',
25
25
  'sap/ui/events/KeyCodes',
26
26
  'sap/ui/dom/containsOrEquals',
27
- 'sap/ui/dom/jquery/rect', // jQuery Plugin "rect"
28
- 'sap/ui/dom/jquery/getSelectedText' // jQuery.fn.getSelectedText
29
-
27
+ 'sap/ui/core/Configuration',
28
+ // jQuery Plugin "rect"
29
+ 'sap/ui/dom/jquery/rect',
30
+ // jQuery.fn.getSelectedText
31
+ 'sap/ui/dom/jquery/getSelectedText'
30
32
  ],
31
33
  function(
32
34
  jQuery,
@@ -46,7 +48,8 @@ sap.ui.define([
46
48
  SeparatorItem,
47
49
  ListItem,
48
50
  KeyCodes,
49
- containsOrEquals
51
+ containsOrEquals,
52
+ Configuration
50
53
  ) {
51
54
  "use strict";
52
55
 
@@ -72,13 +75,12 @@ sap.ui.define([
72
75
  * @implements sap.ui.commons.ToolbarItem
73
76
  *
74
77
  * @author SAP SE
75
- * @version 1.106.0
78
+ * @version 1.107.0
76
79
  *
77
80
  * @constructor
78
81
  * @public
79
82
  * @deprecated Since version 1.38. Instead, use the <code>sap.m.SearchField</code> control.
80
83
  * @alias sap.ui.commons.SearchField
81
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
82
84
  */
83
85
  var SearchField = Control.extend("sap.ui.commons.SearchField", /** @lends sap.ui.commons.SearchField.prototype */ { metadata : {
84
86
 
@@ -294,7 +296,7 @@ sap.ui.define([
294
296
  SearchField.prototype.onAfterRendering = function(){
295
297
  if (this.getShowExternalButton()) {
296
298
  var iButtonWidth = this._btn.$().outerWidth(true);
297
- this._ctrl.$().css(sap.ui.getCore().getConfiguration().getRTL() ? "left" : "right", iButtonWidth + "px");
299
+ this._ctrl.$().css(Configuration.getRTL() ? "left" : "right", iButtonWidth + "px");
298
300
  }
299
301
  _setClearTooltip(this);
300
302
  };
@@ -367,7 +369,6 @@ sap.ui.define([
367
369
  *
368
370
  * @type void
369
371
  * @public
370
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
371
372
  */
372
373
  SearchField.prototype.clearHistory = function() {
373
374
  this._oHistory.clear();
@@ -384,7 +385,6 @@ sap.ui.define([
384
385
  * The list of suggestions belonging to the suggest value
385
386
  * @type void
386
387
  * @public
387
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
388
388
  */
389
389
  SearchField.prototype.suggest = function(sSuggestValue, aSuggestions) {
390
390
  if (!this.getEnableListSuggest() || !sSuggestValue || !aSuggestions) {
@@ -653,7 +653,7 @@ sap.ui.define([
653
653
  oRM.write("<div");
654
654
  oRM.writeAttributeEscaped('id', oCtrl.getId() + '-searchico');
655
655
  oRM.writeAttribute('unselectable', 'on');
656
- if (sap.ui.getCore().getConfiguration().getAccessibility()) {
656
+ if (Configuration.getAccessibility()) {
657
657
  oRM.writeAttribute("role", "presentation");
658
658
  }
659
659
  oRM.addClass("sapUiSearchFieldIco");
@@ -1028,7 +1028,7 @@ sap.ui.define([
1028
1028
  oRM.write("<div");
1029
1029
  oRM.writeAttributeEscaped('id', oCtrl.getId() + '-providerico');
1030
1030
  oRM.writeAttribute('unselectable', 'on');
1031
- if (sap.ui.getCore().getConfiguration().getAccessibility()) {
1031
+ if (Configuration.getAccessibility()) {
1032
1032
  oRM.writeAttribute("role", "presentation");
1033
1033
  }
1034
1034
  oRM.addClass("sapUiSearchFieldProvIco");
@@ -20,14 +20,13 @@ sap.ui.define(['./library', 'sap/ui/core/search/OpenSearchProvider'],
20
20
  * @class
21
21
  * A SearchProvider which can be attached to a Search Field.
22
22
  * @extends sap.ui.core.search.OpenSearchProvider
23
- * @version 1.106.0
23
+ * @version 1.107.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
27
27
  * @deprecated Since version 1.6.0.
28
28
  * Replaced by sap.ui.core.search.OpenSearchProvider
29
29
  * @alias sap.ui.commons.SearchProvider
30
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
31
30
  */
32
31
  var SearchProvider = OpenSearchProvider.extend("sap.ui.commons.SearchProvider", /** @lends sap.ui.commons.SearchProvider.prototype */ { metadata : {
33
32
 
@@ -26,13 +26,12 @@ sap.ui.define([
26
26
  * The SegmentedButton provides a group of multiple buttons. Only one button can be active. The behaviour is more ore less like a radio button group.
27
27
  * @extends sap.ui.core.Control
28
28
  * @implements sap.ui.commons.ToolbarItem, sap.ui.core.IFormContent
29
- * @version 1.106.0
29
+ * @version 1.107.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
33
33
  * @deprecated as of version 1.38, replaced by {@link sap.m.SegmentedButton}
34
34
  * @alias sap.ui.commons.SegmentedButton
35
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
36
35
  */
37
36
  var SegmentedButton = Control.extend("sap.ui.commons.SegmentedButton", /** @lends sap.ui.commons.SegmentedButton.prototype */ { metadata : {
38
37
 
@@ -14,9 +14,10 @@ sap.ui.define([
14
14
  'sap/ui/core/Control',
15
15
  'sap/ui/core/EnabledPropagator',
16
16
  'sap/ui/core/ResizeHandler',
17
- './SliderRenderer'
17
+ './SliderRenderer',
18
+ 'sap/ui/core/Configuration'
18
19
  ],
19
- function(jQuery, Log, containsOrEquals, ControlEvents, library, Control, EnabledPropagator, ResizeHandler, SliderRenderer) {
20
+ function(jQuery, Log, containsOrEquals, ControlEvents, library, Control, EnabledPropagator, ResizeHandler, SliderRenderer, Configuration) {
20
21
  "use strict";
21
22
 
22
23
 
@@ -34,13 +35,12 @@ sap.ui.define([
34
35
  * @implements sap.ui.core.IFormContent
35
36
  *
36
37
  * @author SAP SE
37
- * @version 1.106.0
38
+ * @version 1.107.0
38
39
  *
39
40
  * @constructor
40
41
  * @public
41
42
  * @deprecated as of version 1.38, replaced by {@link sap.m.Slider}
42
43
  * @alias sap.ui.commons.Slider
43
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
44
44
  */
45
45
  var Slider = Control.extend("sap.ui.commons.Slider", /** @lends sap.ui.commons.Slider.prototype */ { metadata : {
46
46
 
@@ -197,8 +197,8 @@ sap.ui.define([
197
197
  this.oGrip = this.getDomRef("grip");
198
198
  this.oBar = this.getDomRef("bar");
199
199
  this.oHiLi = this.getDomRef("hili");
200
- this.bRtl = sap.ui.getCore().getConfiguration().getRTL();
201
- this.bAcc = sap.ui.getCore().getConfiguration().getAccessibility();
200
+ this.bRtl = Configuration.getRTL();
201
+ this.bAcc = Configuration.getAccessibility();
202
202
  this.bTextLabels = (this.getLabels() && this.getLabels().length > 0);
203
203
  this.oMovingGrip = this.oGrip;
204
204
 
@@ -13,7 +13,8 @@ sap.ui.define([
13
13
  'sap/ui/core/ResizeHandler',
14
14
  'sap/ui/core/delegate/ItemNavigation',
15
15
  './SplitterRenderer',
16
- 'sap/ui/core/library'
16
+ 'sap/ui/core/library',
17
+ 'sap/ui/core/Configuration'
17
18
  ],
18
19
  function(
19
20
  jQuery,
@@ -23,7 +24,8 @@ sap.ui.define([
23
24
  ResizeHandler,
24
25
  ItemNavigation/* , jQuerySap, jQuerySap1 */,
25
26
  SplitterRenderer,
26
- coreLibrary
27
+ coreLibrary,
28
+ Configuration
27
29
  ) {
28
30
  "use strict";
29
31
 
@@ -43,13 +45,12 @@ sap.ui.define([
43
45
  * @class
44
46
  * Allows to split the screen into two areas. Make sure that the container for the splitter has an absolute height or set an absolute height for the splitter using the height property. Otherwise the height of the splitter is calculated by the height of its contents.
45
47
  * @extends sap.ui.core.Control
46
- * @version 1.106.0
48
+ * @version 1.107.0
47
49
  *
48
50
  * @constructor
49
51
  * @public
50
52
  * @deprecated Since version 1.38. Instead, use the <code>sap.ui.layout.Splitter</code> control.
51
53
  * @alias sap.ui.commons.Splitter
52
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
53
54
  */
54
55
  var Splitter = Control.extend("sap.ui.commons.Splitter", /** @lends sap.ui.commons.Splitter.prototype */ { metadata : {
55
56
 
@@ -155,7 +156,7 @@ sap.ui.define([
155
156
  this.sBarPosition = parseFloat(this.sBarPosition);
156
157
 
157
158
  // in hcb mode set splitter bar width to 6 px
158
- if (sap.ui.getCore().getConfiguration().getTheme() == "sap_hcb") {
159
+ if (Configuration.getTheme() == "sap_hcb") {
159
160
  this.sbSize = 6;
160
161
  } else {
161
162
  this.sbSize = 4;
@@ -437,7 +438,7 @@ sap.ui.define([
437
438
 
438
439
  var newSbPosition, spHeight, spWidth;
439
440
  var splitterBarGhost = document.getElementById(this.getId() + "_ghost");
440
- var rtl = sap.ui.getCore().getConfiguration().getRTL();
441
+ var rtl = Configuration.getRTL();
441
442
 
442
443
  if ( this.spOrientation == Orientation.Vertical) {
443
444
 
@@ -482,7 +483,7 @@ sap.ui.define([
482
483
  var splitterBarGhost = document.getElementById(this.getId() + "_ghost");
483
484
  var max;
484
485
  var min;
485
- var rtl = sap.ui.getCore().getConfiguration().getRTL();
486
+ var rtl = Configuration.getRTL();
486
487
 
487
488
  var leftFirstPane = jQuery(this.firstPane).offset().left;
488
489
  var w = jQuery(this.splitterDIV).width();
@@ -649,7 +650,7 @@ sap.ui.define([
649
650
  if (this.checkModifierKey(oEvent, false, false, true)) {
650
651
  if (oEvent.target == this.splitterBar) {
651
652
  if (this.spOrientation == Orientation.Vertical) {
652
- var rtl = sap.ui.getCore().getConfiguration().getRTL();
653
+ var rtl = Configuration.getRTL();
653
654
  if (rtl) {
654
655
  this.onArrowKeys(oEvent,"true");
655
656
  } else {
@@ -674,7 +675,7 @@ sap.ui.define([
674
675
  if (this.checkModifierKey(oEvent, false, false, true)) {
675
676
  if (oEvent.target == this.splitterBar) {
676
677
  if (this.spOrientation == Orientation.Vertical) {
677
- var rtl = sap.ui.getCore().getConfiguration().getRTL();
678
+ var rtl = Configuration.getRTL();
678
679
  if (rtl) {
679
680
  this.onArrowKeys(oEvent,"false");
680
681
  } else {
@@ -27,13 +27,12 @@ sap.ui.define(['./Panel', './library', 'sap/ui/core/library'],
27
27
  * @extends sap.ui.commons.Panel
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.106.0
30
+ * @version 1.107.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
34
34
  * @deprecated Since version 1.38. Instead, use the <code>sap.m.TabContainer</code> control.
35
35
  * @alias sap.ui.commons.Tab
36
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
37
36
  */
38
37
  var Tab = Panel.extend("sap.ui.commons.Tab", /** @lends sap.ui.commons.Tab.prototype */ {
39
38
  metadata : {
@@ -19,9 +19,13 @@ sap.ui.define([
19
19
  'sap/ui/core/Title',
20
20
  './Tab',
21
21
  'sap/ui/events/KeyCodes',
22
- 'sap/ui/dom/jquery/parentByAttribute', // jQuery.fn.parentByAttribute
23
- 'sap/ui/dom/jquery/zIndex', // jQuery.fn.zIndex
24
- 'sap/ui/thirdparty/jqueryui/jquery-ui-position' // jQuery.fn.position
22
+ 'sap/ui/core/Configuration',
23
+ // jQuery.fn.parentByAttribute
24
+ 'sap/ui/dom/jquery/parentByAttribute',
25
+ // jQuery.fn.zIndex
26
+ 'sap/ui/dom/jquery/zIndex',
27
+ // jQuery.fn.position
28
+ 'sap/ui/thirdparty/jqueryui/jquery-ui-position'
25
29
  ],
26
30
  function(
27
31
  jQuery,
@@ -36,7 +40,8 @@ sap.ui.define([
36
40
  ResizeHandler,
37
41
  Title,
38
42
  Tab,
39
- KeyCodes
43
+ KeyCodes,
44
+ Configuration
40
45
  ) {
41
46
  "use strict";
42
47
 
@@ -55,13 +60,12 @@ sap.ui.define([
55
60
  * @extends sap.ui.core.Control
56
61
  *
57
62
  * @author SAP SE
58
- * @version 1.106.0
63
+ * @version 1.107.0
59
64
  *
60
65
  * @constructor
61
66
  * @public
62
67
  * @deprecated Since version 1.38. Instead, use the <code>sap.m.TabContainer</code> control.
63
68
  * @alias sap.ui.commons.TabStrip
64
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
65
69
  */
66
70
  var TabStrip = Control.extend("sap.ui.commons.TabStrip", /** @lends sap.ui.commons.TabStrip.prototype */ { metadata : {
67
71
 
@@ -136,14 +140,14 @@ sap.ui.define([
136
140
  }});
137
141
 
138
142
  TabStrip.SCROLL_SIZE = 320;
139
- TabStrip.ANIMATION_DURATION = sap.ui.getCore().getConfiguration().getAnimation() ? 200 : 0;
140
- TabStrip.SCROLL_ANIMATION_DURATION = sap.ui.getCore().getConfiguration().getAnimation() ? 500 : 0;
143
+ TabStrip.ANIMATION_DURATION = Configuration.getAnimation() ? 200 : 0;
144
+ TabStrip.SCROLL_ANIMATION_DURATION = Configuration.getAnimation() ? 500 : 0;
141
145
 
142
146
  TabStrip.prototype.init = function() {
143
147
 
144
148
  this._bInitialized = true;
145
149
 
146
- this._bRtl = sap.ui.getCore().getConfiguration().getRTL();
150
+ this._bRtl = Configuration.getRTL();
147
151
  this._iCurrentScrollLeft = 0;
148
152
  this._iMaxOffsetLeft = null;
149
153
  this._scrollable = null;
@@ -229,7 +233,6 @@ sap.ui.define([
229
233
  * @returns {sap.ui.commons.Tab} oTab
230
234
  * The created tab control
231
235
  * @public
232
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
233
236
  */
234
237
  TabStrip.prototype.createTab = function(sText,oContent) {
235
238
  var oTitle = new Title({text:sText}),
@@ -451,7 +454,6 @@ sap.ui.define([
451
454
  * The index of the tab that should be closed
452
455
  * @type void
453
456
  * @public
454
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
455
457
  */
456
458
  TabStrip.prototype.closeTab = function(iIndex) {
457
459
 
@@ -816,7 +818,7 @@ sap.ui.define([
816
818
  bReorder,
817
819
  $children = this.$().find('.sapUiTabBarCnt').children(),
818
820
  aMovedTabIndexes = this._aMovedTabIndexes,
819
- bRTL = sap.ui.getCore().getConfiguration().getRTL();
821
+ bRTL = Configuration.getRTL();
820
822
 
821
823
  for (var i = 0; i < $children.length; i++) {
822
824
 
@@ -21,13 +21,12 @@ sap.ui.define(['sap/ui/thirdparty/jquery', './TextField', './library', './TextAr
21
21
  * @class
22
22
  * Control to enter or display multible row text.
23
23
  * @extends sap.ui.commons.TextField
24
- * @version 1.106.0
24
+ * @version 1.107.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
28
28
  * @deprecated Since version 1.38. Instead, use the <code>sap.m.TextArea</code> control.
29
29
  * @alias sap.ui.commons.TextArea
30
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
31
30
  */
32
31
  var TextArea = TextField.extend("sap.ui.commons.TextArea", /** @lends sap.ui.commons.TextArea.prototype */ { metadata : {
33
32
 
@@ -14,10 +14,13 @@ sap.ui.define([
14
14
  'sap/ui/core/library',
15
15
  'sap/ui/Device',
16
16
  'sap/ui/events/KeyCodes',
17
- 'sap/ui/dom/jquery/cursorPos', // jQuery.fn.cursorPos
18
- 'sap/ui/dom/jquery/selectText' // jQuery.fn.selectText
17
+ 'sap/ui/core/Configuration',
18
+ // jQuery.fn.cursorPos
19
+ 'sap/ui/dom/jquery/cursorPos',
20
+ // jQuery.fn.selectText
21
+ 'sap/ui/dom/jquery/selectText'
19
22
  ],
20
- function(jQuery, library, Control, ValueStateSupport, TextFieldRenderer, coreLibrary, Device, KeyCodes) {
23
+ function(jQuery, library, Control, ValueStateSupport, TextFieldRenderer, coreLibrary, Device, KeyCodes, Configuration) {
21
24
  "use strict";
22
25
 
23
26
  // shortcut for sap.ui.core.AccessibleRole
@@ -50,13 +53,12 @@ sap.ui.define([
50
53
  * @implements sap.ui.commons.ToolbarItem, sap.ui.core.IFormContent
51
54
  *
52
55
  * @author SAP SE
53
- * @version 1.106.0
56
+ * @version 1.107.0
54
57
  *
55
58
  * @constructor
56
59
  * @public
57
60
  * @deprecated as of version 1.38, replaced by {@link sap.m.Input}
58
61
  * @alias sap.ui.commons.TextField
59
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
60
62
  */
61
63
  var TextField = Control.extend("sap.ui.commons.TextField", /** @lends sap.ui.commons.TextField.prototype */ { metadata : {
62
64
 
@@ -284,7 +286,7 @@ sap.ui.define([
284
286
  //Special handling for TextFields in ItemNavigation
285
287
 
286
288
  TextField.prototype._checkCursorPosForNav = function(oEvent, bForward) {
287
- var bRtl = sap.ui.getCore().getConfiguration().getRTL();
289
+ var bRtl = Configuration.getRTL();
288
290
  var bBack = bForward ? bRtl : !bRtl;
289
291
  var $input = jQuery(this.getInputDomRef());
290
292
  var iPos = $input.cursorPos();
@@ -728,7 +730,6 @@ sap.ui.define([
728
730
  *
729
731
  * @return {string} live value
730
732
  * @public
731
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
732
733
  */
733
734
  TextField.prototype.getLiveValue = function() {
734
735
  var oIDomRef = this.getInputDomRef();
@@ -24,7 +24,7 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/ValueStateSupport', 'sap/ui/
24
24
  * TextField Renderer
25
25
  * @namespace
26
26
  * @author SAP
27
- * @version 1.106.0
27
+ * @version 1.107.0
28
28
  * @since 0.9.0
29
29
  */
30
30
  var TextFieldRenderer = {};
@@ -39,13 +39,12 @@ sap.ui.define([
39
39
  * @implements sap.ui.commons.ToolbarItem, sap.ui.core.IFormContent
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.106.0
42
+ * @version 1.107.0
43
43
  *
44
44
  * @constructor
45
45
  * @public
46
46
  * @deprecated Since version 1.38.
47
47
  * @alias sap.ui.commons.TextView
48
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
49
48
  */
50
49
  var TextView = Control.extend("sap.ui.commons.TextView", /** @lends sap.ui.commons.TextView.prototype */ { metadata : {
51
50
 
@@ -22,14 +22,13 @@ sap.ui.define(['./library', 'sap/ui/core/Title'],
22
22
  * @extends sap.ui.core.Title
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.106.0
25
+ * @version 1.107.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
29
29
  * @deprecated Since version 1.16.0.
30
30
  * moved to sap.ui.core library. Please use this one.
31
31
  * @alias sap.ui.commons.Title
32
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
33
32
  */
34
33
  var Title = CoreTitle.extend("sap.ui.commons.Title", /** @lends sap.ui.commons.Title.prototype */ { metadata : {
35
34
 
@@ -22,13 +22,12 @@ sap.ui.define(['./Button', './ToggleButtonRenderer'],
22
22
  * @extends sap.ui.commons.Button
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.106.0
25
+ * @version 1.107.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
29
29
  * @deprecated as of version 1.38, replaced by {@link sap.m.ToggleButton}
30
30
  * @alias sap.ui.commons.ToggleButton
31
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
32
31
  */
33
32
  var ToggleButton = Button.extend("sap.ui.commons.ToggleButton", /** @lends sap.ui.commons.ToggleButton.prototype */ { metadata : {
34
33
 
@@ -16,7 +16,8 @@ sap.ui.define([
16
16
  'sap/ui/dom/containsOrEquals',
17
17
  'sap/ui/core/ResizeHandler',
18
18
  'sap/ui/core/Element',
19
- 'sap/ui/events/KeyCodes'
19
+ 'sap/ui/events/KeyCodes',
20
+ 'sap/ui/core/Configuration'
20
21
  ],
21
22
  function(
22
23
  jQuery,
@@ -29,7 +30,8 @@ sap.ui.define([
29
30
  containsOrEquals,
30
31
  ResizeHandler,
31
32
  Element,
32
- KeyCodes
33
+ KeyCodes,
34
+ Configuration
33
35
  ) {
34
36
  "use strict";
35
37
 
@@ -49,13 +51,12 @@ sap.ui.define([
49
51
  * @implements sap.ui.core.Toolbar
50
52
  *
51
53
  * @author SAP SE
52
- * @version 1.106.0
54
+ * @version 1.107.0
53
55
  *
54
56
  * @constructor
55
57
  * @public
56
58
  * @deprecated as of version 1.38, replaced by {@link sap.m.Toolbar}
57
59
  * @alias sap.ui.commons.Toolbar
58
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
59
60
  */
60
61
  var Toolbar = Control.extend("sap.ui.commons.Toolbar", /** @lends sap.ui.commons.Toolbar.prototype */ {
61
62
  metadata: {
@@ -122,7 +123,7 @@ sap.ui.define([
122
123
  this.bHasRightItems = false;
123
124
  this._bRendering = false;
124
125
 
125
- this.bRtl = sap.ui.getCore().getConfiguration().getRTL();
126
+ this.bRtl = Configuration.getRTL();
126
127
 
127
128
  // for resize detection
128
129
  this._detectVisibleItemCountChangeTimer = null;
@@ -384,7 +385,7 @@ sap.ui.define([
384
385
 
385
386
  var aElements = bIncludeItemsWithAPIPropertyVisibleFalse ? this.oInnerRef.childNodes :
386
387
  this.oInnerRef.parentNode.querySelectorAll("#" + this.oInnerRef.id + ' > :not(.sapUiHiddenPlaceholder)');
387
- this.bRtl = sap.ui.getCore().getConfiguration().getRTL();
388
+ this.bRtl = Configuration.getRTL();
388
389
 
389
390
  /* Check for each item how far it is from the parent's left border:
390
391
  * As long as the items are in the same row, this offset increases, but
@@ -23,13 +23,12 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
23
23
  * @implements sap.ui.commons.ToolbarItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.106.0
26
+ * @version 1.107.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
30
30
  * @deprecated Since version 1.38. Instead, use the <code>sap.m.Toolbar</code> control.
31
31
  * @alias sap.ui.commons.ToolbarSeparator
32
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
33
32
  */
34
33
  var ToolbarSeparator = Element.extend("sap.ui.commons.ToolbarSeparator", /** @lends sap.ui.commons.ToolbarSeparator.prototype */ { metadata : {
35
34
 
@@ -12,8 +12,9 @@ sap.ui.define([
12
12
  './library',
13
13
  'sap/ui/core/Control',
14
14
  './TreeRenderer',
15
- './Button'
16
- ], function(jQuery, Log, isEmptyObject, library, Control, TreeRenderer, Button) {
15
+ './Button',
16
+ 'sap/ui/core/Configuration'
17
+ ], function(jQuery, Log, isEmptyObject, library, Control, TreeRenderer, Button, Configuration) {
17
18
  "use strict";
18
19
 
19
20
 
@@ -32,13 +33,12 @@ sap.ui.define([
32
33
  * @class
33
34
  * Simple tree to display item in a hierarchical way
34
35
  * @extends sap.ui.core.Control
35
- * @version 1.106.0
36
+ * @version 1.107.0
36
37
  *
37
38
  * @constructor
38
39
  * @public
39
40
  * @deprecated as of version 1.38, replaced by {@link sap.m.Tree}
40
41
  * @alias sap.ui.commons.Tree
41
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
42
42
  */
43
43
  var Tree = Control.extend("sap.ui.commons.Tree", /** @lends sap.ui.commons.Tree.prototype */ { metadata : {
44
44
 
@@ -217,7 +217,6 @@ sap.ui.define([
217
217
  *
218
218
  * @type {void}
219
219
  * @public
220
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
221
220
  */
222
221
  Tree.prototype.expandAll = function(){
223
222
  var aNodes = this._getNodes();
@@ -233,7 +232,6 @@ sap.ui.define([
233
232
  *
234
233
  * @type {void}
235
234
  * @public
236
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
237
235
  */
238
236
  Tree.prototype.collapseAll = function(){
239
237
  var aNodes = this._getNodes();
@@ -336,9 +334,9 @@ sap.ui.define([
336
334
  * @returns {string} The icon path prefix
337
335
  */
338
336
  Tree.prototype.getIconPrefix = function() {
339
- var sIconPrefix = "themes/" + sap.ui.getCore().getConfiguration().getTheme() + "/";
337
+ var sIconPrefix = "themes/" + Configuration.getTheme() + "/";
340
338
 
341
- if (!sap.ui.getCore().getConfiguration().getRTL()) {
339
+ if (!Configuration.getRTL()) {
342
340
  sIconPrefix += "img/tree/";
343
341
  } else {
344
342
  sIconPrefix += "img-RTL/tree/";