@openui5/sap.uxap 1.103.0 → 1.105.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/.eslintrc.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "overrides": [
3
3
  /*
4
- * Productive code, sample and unit test code of sap.uxap has been cleaned up.
4
+ * Productive code and test code of sap.uxap has been cleaned up.
5
5
  * No more references to the global jQuery allowed
6
6
  */
7
7
  {
8
8
  "files": [
9
9
  "src/**/*.js",
10
- "test/sap/uxap/demokit/**/*.js",
11
- "test/sap/uxap/qunit/**/*.js"
10
+ "test/**/*.js"
12
11
  ],
13
12
  "globals": {
14
13
  "jQuery": "off"
package/.reuse/dep5 CHANGED
@@ -137,6 +137,11 @@ Copyright: jQuery Foundation and other contributors
137
137
  License: MIT
138
138
  Comment: these files belong to: QUnit 2
139
139
 
140
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
141
+ Copyright: jQuery Foundation and other contributors
142
+ License: MIT
143
+ Comment: these files belong to: QUnit 2.18
144
+
140
145
  Files: src/sap.ui.core/src/sap/ui/thirdparty/jquery-compat.js
141
146
  Copyright: OpenJS Foundation and other contributors
142
147
  License: MIT
@@ -154,7 +159,7 @@ Copyright:
154
159
  License: Apache-2.0 and MIT
155
160
  Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
156
161
 
157
- Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite*
162
+ Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
158
163
  Copyright: jQuery Foundation and other contributors
159
164
  License: MIT
160
165
  Comment: these files belong to: QUnit Composite
@@ -234,6 +239,11 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
234
239
  License: BSD-3-Clause
235
240
  Comment: these files belong to: SinonJS
236
241
 
242
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
243
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
244
+ License: BSD-3-Clause
245
+ Comment: these files belong to: SinonJS 14
246
+
237
247
  Files: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
238
248
  Copyright: 2010-2011, Christian Johansen
239
249
  License: BSD-3-Clause
@@ -339,6 +349,13 @@ Copyright:
339
349
  License: Apache-2.0 and ISC
340
350
  Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
341
351
 
352
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
353
+ Copyright:
354
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
355
+ Arthur David Olson, Paul Eggert and other contributors
356
+ License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
357
+ Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
358
+
342
359
 
343
360
  # Library: sap.ui.documentation:
344
361
 
@@ -0,0 +1,5 @@
1
+ Unless specified below, all files in the tz code and data (including
2
+ this LICENSE file) are in the public domain.
3
+
4
+ If the files date.c, newstrftime.3, and strftime.c are present, they
5
+ contain material derived from BSD and use the BSD 3-clause license.
package/THIRDPARTY.txt CHANGED
@@ -76,6 +76,12 @@ License: MIT
76
76
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
77
77
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.*
78
78
 
79
+ Component: QUnit 2.18, version: 2.18.0
80
+ Copyright: jQuery Foundation and other contributors
81
+ License: MIT
82
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
83
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
84
+
79
85
  Component: jQuery-Migrate, version: 3.3.1
80
86
  Copyright: OpenJS Foundation and other contributors
81
87
  License: MIT
@@ -98,7 +104,7 @@ Component: QUnit Composite, version: 1.0.2-pre
98
104
  Copyright: jQuery Foundation and other contributors
99
105
  License: MIT
100
106
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
101
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite*
107
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
102
108
 
103
109
  Component: JUnit Reporter for QUnit, version: 1.1.1
104
110
  Copyright: jQuery Foundation and other contributors
@@ -191,13 +197,19 @@ License: BSD-3-Clause
191
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
192
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-4.js
193
199
 
200
+ Component: SinonJS 14, version: 14.0.0
201
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
202
+ License: BSD-3-Clause
203
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
204
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
205
+
194
206
  Component: Sinon-qunit, version: 2.0.0
195
207
  Copyright: 2010-2011, Christian Johansen
196
208
  License: BSD-3-Clause
197
209
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
210
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
211
 
200
- Component: URI.js, version: 1.19.10
212
+ Component: URI.js, version: 1.19.11
201
213
  Copyright: Rodney Rehm
202
214
  License: MIT
203
215
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -315,6 +327,12 @@ License: ISC
315
327
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
316
328
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
317
329
 
330
+ Component: Time Zone Database, version: 2022a
331
+ Copyright: Arthur David Olson, Paul Eggert and other contributors
332
+ License: LicenseRef-tzdata-PublicDomain
333
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
334
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
335
+
318
336
 
319
337
  Library: sap.ui.documentation:
320
338
 
@@ -450,7 +468,7 @@ License: Apache-2.0
450
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
469
  Contained in: lib/jsdoc/ui5/plugin.js
452
470
 
453
- Component: SAP Theming Base Content, version: 11.1.39
471
+ Component: SAP Theming Base Content, version: 11.1.40
454
472
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
473
  License: Apache-2.0
456
474
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -980,6 +998,21 @@ END of license: LicenseRef-JSONinJSPublicDomain
980
998
  =================================
981
999
 
982
1000
 
1001
+ =================================
1002
+ BEGIN of license: LicenseRef-tzdata-PublicDomain
1003
+ =================================
1004
+
1005
+ Unless specified below, all files in the tz code and data (including
1006
+ this LICENSE file) are in the public domain.
1007
+
1008
+ If the files date.c, newstrftime.3, and strftime.c are present, they
1009
+ contain material derived from BSD and use the BSD 3-clause license.
1010
+
1011
+ =================================
1012
+ END of license: LicenseRef-tzdata-PublicDomain
1013
+ =================================
1014
+
1015
+
983
1016
  =================================
984
1017
  BEGIN of license: MIT
985
1018
  =================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.uxap",
3
- "version": "1.103.0",
3
+ "version": "1.105.0",
4
4
  "description": "OpenUI5 UI Library sap.uxap",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,9 +14,9 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.f": "1.103.0",
18
- "@openui5/sap.m": "1.103.0",
19
- "@openui5/sap.ui.core": "1.103.0",
20
- "@openui5/sap.ui.layout": "1.103.0"
17
+ "@openui5/sap.f": "1.105.0",
18
+ "@openui5/sap.m": "1.105.0",
19
+ "@openui5/sap.ui.core": "1.105.0",
20
+ "@openui5/sap.ui.layout": "1.105.0"
21
21
  }
22
22
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  <name>sap.uxap</name>
5
5
  <vendor>SAP SE</vendor>
6
- <version>1.103.0</version>
6
+ <version>1.105.0</version>
7
7
  <copyright>OpenUI5
8
8
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
@@ -23,10 +23,9 @@ sap.ui.define([
23
23
  "./library",
24
24
  "sap/uxap/AnchorBarRenderer",
25
25
  "sap/base/Log",
26
- "sap/ui/events/KeyCodes",
27
26
  "sap/ui/dom/jquery/scrollLeftRTL"
28
27
  ], function (jQuery, Button, MenuButton, mobileLibrary, Toolbar, IconPool, Item, ResizeHandler, ScrollEnablement,
29
- HorizontalLayout, Device, CustomData, Control, HierarchicalSelect, library, AnchorBarRenderer, Log, KeyCodes) {
28
+ HorizontalLayout, Device, CustomData, Control, HierarchicalSelect, library, AnchorBarRenderer, Log) {
30
29
  "use strict";
31
30
 
32
31
  // shortcut for sap.m.SelectType
@@ -120,7 +119,7 @@ sap.ui.define([
120
119
  .removeAttr('aria-haspopup');
121
120
  }
122
121
  // set ARIA attributes of main buttons
123
- oButton.$().attr("aria-controls", this.data("sectionId")).attr("aria-selected", bSelected);
122
+ oButton.$().attr("aria-controls", this.data("sectionId")).attr("aria-checked", bSelected);
124
123
  }
125
124
  };
126
125
 
@@ -328,9 +327,9 @@ sap.ui.define([
328
327
  if (oButton && oButton.toggleStyleClass) {
329
328
  oButton.toggleStyleClass("sapUxAPAnchorBarButtonSelected", bAdd);
330
329
  if (oButton instanceof MenuButton) {
331
- oButton._getButtonControl().$().attr("aria-selected", bAdd);
330
+ oButton._getButtonControl().$().attr("aria-checked", bAdd);
332
331
  } else {
333
- oButton.$().attr("aria-selected", bAdd);
332
+ oButton.$().attr("aria-checked", bAdd);
334
333
  }
335
334
  }
336
335
  };
@@ -14,7 +14,6 @@ sap.ui.define([
14
14
  "./BlockBaseMetadata",
15
15
  "./BlockBaseRenderer",
16
16
  "sap/ui/model/Context",
17
- "sap/ui/Device",
18
17
  "sap/ui/layout/form/ColumnLayout",
19
18
  "./library",
20
19
  "sap/ui/core/Component",
@@ -29,7 +28,6 @@ sap.ui.define([
29
28
  BlockBaseMetadata,
30
29
  BlockBaseRenderer,
31
30
  Context,
32
- Device,
33
31
  ColumnLayout,
34
32
  library,
35
33
  Component,
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @class
23
23
  * @author SAP SE
24
- * @version 1.103.0
24
+ * @version 1.105.0
25
25
  * @since 1.26
26
26
  * @alias sap.uxap.BlockBaseMetadata
27
27
  * @extends sap.ui.core.ElementMetadata
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.103.0
25
+ * @version 1.105.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -8,10 +8,9 @@
8
8
  sap.ui.define([
9
9
  './library',
10
10
  "./ObjectPageDynamicHeaderContentRenderer",
11
- "sap/base/Log",
12
11
  "sap/f/DynamicPageHeader"
13
12
  ],
14
- function(library, ObjectPageDynamicHeaderContentRenderer, Log, DynamicPageHeader) {
13
+ function(library, ObjectPageDynamicHeaderContentRenderer, DynamicPageHeader) {
15
14
  "use strict";
16
15
 
17
16
  /**
@@ -41,7 +40,7 @@ sap.ui.define([
41
40
  * @implements sap.uxap.IHeaderContent
42
41
  *
43
42
  * @author SAP SE
44
- * @version 1.103.0
43
+ * @version 1.105.0
45
44
  *
46
45
  * @constructor
47
46
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @implements sap.uxap.IHeaderTitle
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.103.0
45
+ * @version 1.105.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -32,7 +32,6 @@ sap.ui.define([
32
32
  "sap/base/util/merge",
33
33
  "sap/ui/events/KeyCodes",
34
34
  "sap/ui/dom/getFirstEditableInput",
35
- "sap/ui/core/theming/Parameters",
36
35
  'sap/ui/dom/units/Rem'
37
36
  ], function(
38
37
  jQuery,
@@ -61,7 +60,6 @@ sap.ui.define([
61
60
  merge,
62
61
  KeyCodes,
63
62
  getFirstEditableInput,
64
- Parameters,
65
63
  DomUnitsRem
66
64
  ) {
67
65
  "use strict";
@@ -1305,6 +1303,7 @@ sap.ui.define([
1305
1303
  }
1306
1304
 
1307
1305
  this._deregisterScreenSizeListener();
1306
+ this._deregisterTitleSizeListener();
1308
1307
 
1309
1308
  if (this._iContentResizeId) {
1310
1309
  ResizeHandler.deregister(this._iContentResizeId);
@@ -3280,7 +3279,8 @@ sap.ui.define([
3280
3279
 
3281
3280
  // check if scroll destination is set in advance
3282
3281
  // (this is when a particular section is requested from the anchorBar sectionsList and we are now scrolling to reach it)
3283
- var sDestinationSectionId = this.getDirectScrollingToSection();
3282
+ var sDestinationSectionId = this.getDirectScrollingToSection(),
3283
+ oDestinationSection = this.oCore.byId(sDestinationSectionId);
3284
3284
 
3285
3285
  if (sClosestId !== this._sScrolledSectionId) {
3286
3286
 
@@ -3293,7 +3293,8 @@ sap.ui.define([
3293
3293
  // then we do not want to process intermediate sections (i.e. sections between scroll-start section and scroll-destination sections)
3294
3294
  // so if current section is not destination section
3295
3295
  // then no need to proceed further
3296
- if (sDestinationSectionId && sDestinationSectionId !== sClosestSectionId) {
3296
+ if (sDestinationSectionId && sDestinationSectionId !== sClosestSectionId
3297
+ && (oDestinationSection && oDestinationSection.getDomRef() && !this.isFirstRendering())) {
3297
3298
  return;
3298
3299
  }
3299
3300
  this.clearDirectScrollingToSection();
@@ -3808,7 +3809,7 @@ sap.ui.define([
3808
3809
 
3809
3810
  if (bViaClone) {
3810
3811
  $Clone = this._appendTitleCloneToDOM(false /* disable snapped mode */);
3811
- iHeight = $Clone.is(":visible") ? $Clone.height() - this.iAnchorBarHeight : 0;
3812
+ iHeight = $Clone.is(":visible") ? $Clone.height() : 0;
3812
3813
  $Clone.remove(); //clean dom
3813
3814
  } else if (oTitle.unSnap) {
3814
3815
  iHeight = this._obtainTitleHeightViaStateChange(false /* do not snap */);
@@ -4796,7 +4797,7 @@ sap.ui.define([
4796
4797
  * to avoid errors, thrown in IE10 and IE11
4797
4798
  */
4798
4799
  ObjectPageLayout.prototype._getDOMRefHeight = function (oDOMRef) {
4799
- return oDOMRef.parentElement ? oDOMRef.getBoundingClientRect().height : 0;
4800
+ return oDOMRef && oDOMRef.parentElement ? oDOMRef.getBoundingClientRect().height : 0;
4800
4801
  };
4801
4802
 
4802
4803
  /*
@@ -9,7 +9,6 @@ sap.ui.define([
9
9
  "sap/ui/base/Object",
10
10
  "sap/ui/core/Core",
11
11
  "sap/ui/core/CustomData",
12
- "sap/ui/core/Configuration",
13
12
  "sap/ui/base/ManagedObjectObserver",
14
13
  "./AnchorBar",
15
14
  "sap/m/Button",
@@ -18,7 +17,7 @@ sap.ui.define([
18
17
  "sap/m/MenuItem",
19
18
  "sap/ui/core/IconPool",
20
19
  "sap/ui/core/InvisibleText"
21
- ], function (jQuery, BaseObject, Core, CustomData, Configuration, ManagedObjectObserver, AnchorBar, Button, MenuButton, Menu, MenuItem, IconPool, InvisibleText) {
20
+ ], function (jQuery, BaseObject, Core, CustomData, ManagedObjectObserver, AnchorBar, Button, MenuButton, Menu, MenuItem, IconPool, InvisibleText) {
22
21
  "use strict";
23
22
 
24
23
  var ABHelper = BaseObject.extend("sap.uxap._helpers.AB", {
@@ -4,8 +4,8 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(["sap/ui/Device"],
8
- function(Device) {
7
+ sap.ui.define([],
8
+ function() {
9
9
  "use strict";
10
10
 
11
11
  /**
@@ -26,7 +26,7 @@ sap.ui.define(["sap/ui/Device"],
26
26
  var aSections,
27
27
  oHeader = oControl.getHeaderTitle(),
28
28
  oAnchorBar = null,
29
- oRb = sap.uxap.ObjectPageLayout._getLibraryResourceBundle(),
29
+ oRb = sap.ui.getCore().getLibraryResourceBundle("sap.uxap"),
30
30
  bIsHeaderContentVisible = oControl.getHeaderContent() && oControl.getHeaderContent().length > 0 && oControl.getShowHeaderContent(),
31
31
  bIsTitleInHeaderContent = oControl.getShowTitleInHeaderContent() && oControl.getShowHeaderContent(),
32
32
  bRenderHeaderContent = bIsHeaderContentVisible || bIsTitleInHeaderContent,
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Element
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.103.0
40
+ * @version 1.105.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -172,15 +172,12 @@ sap.ui.define([
172
172
  */
173
173
  ObjectPageSectionBase.prototype.setInvisibleTextLabelValue = function (sValue) {
174
174
  var oAriaLabelledBy = this.getAggregation("ariaLabelledBy"),
175
- sSectionText = this.getSectionText(),
176
175
  sLabel = "";
177
176
 
178
- if (sValue) {
179
- sLabel = sValue + " ";
180
- }
177
+ sLabel = sValue || this.getSectionText();
181
178
 
182
179
  if (oAriaLabelledBy) {
183
- sap.ui.getCore().byId(oAriaLabelledBy.getId()).setText(sLabel + sSectionText);
180
+ sap.ui.getCore().byId(oAriaLabelledBy.getId()).setText(sLabel);
184
181
  }
185
182
 
186
183
  return this;
@@ -193,17 +190,12 @@ sap.ui.define([
193
190
  */
194
191
  ObjectPageSectionBase.prototype._getAriaLabelledBy = function () {
195
192
  // Each section should be labelled as:
196
- // 'titleName Section' - if the section has a title
193
+ // 'titleName' - if the section has a title
197
194
  // 'Section' - if it does not have a title
198
195
 
199
- var sLabel = "",
200
- sTitle = this._getTitle();
201
-
202
- if (sTitle) {
203
- sLabel += sTitle + " ";
204
- }
196
+ var sLabel = "";
205
197
 
206
- sLabel += this.getSectionText();
198
+ sLabel = this._getTitle() || this.getSectionText();
207
199
 
208
200
  return new InvisibleText({
209
201
  text: sLabel
@@ -14,7 +14,6 @@ sap.ui.define([
14
14
  "./ObjectPageLazyLoader",
15
15
  "./BlockBase",
16
16
  "sap/m/Button",
17
- "sap/ui/Device",
18
17
  "sap/ui/core/StashedControlSupport",
19
18
  "sap/ui/base/ManagedObjectObserver",
20
19
  "sap/m/TitlePropagationSupport",
@@ -35,7 +34,6 @@ sap.ui.define([
35
34
  ObjectPageLazyLoader,
36
35
  BlockBase,
37
36
  Button,
38
- Device,
39
37
  StashedControlSupport,
40
38
  ManagedObjectObserver,
41
39
  TitlePropagationSupport,
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @constructor
26
26
  * @alias sap.uxap.changeHandler.AddIFrameObjectPageLayout
27
27
  * @author SAP SE
28
- * @version 1.103.0
28
+ * @version 1.105.0
29
29
  * @since 1.75
30
30
  * @experimental Since 1.75
31
31
  */
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/fl/changeHandler/MoveControls", "sap/ui/core/Core", "sap/
13
13
  * @constructor
14
14
  * @alias sap.uxap.changeHandler.MoveObjectPageSection
15
15
  * @author SAP SE
16
- * @version 1.103.0
16
+ * @version 1.105.0
17
17
  * @experimental Since 1.54
18
18
  */
19
19
 
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @constructor
22
22
  * @alias sap.uxap.changeHandler.RenameObjectPageSection
23
23
  * @author SAP SE
24
- * @version 1.103.0
24
+ * @version 1.105.0
25
25
  * @experimental Since 1.50
26
26
  */
27
27
 
@@ -10,16 +10,16 @@ sap.ui.define([
10
10
  "sap/ui/base/ManagedObject",
11
11
  "sap/ui/core/mvc/Controller",
12
12
  "sap/base/Log",
13
- "sap/base/util/ObjectPath",
14
- "sap/ui/thirdparty/jquery"
13
+ "sap/base/util/each",
14
+ "sap/base/util/isEmptyObject"
15
15
  ], function(
16
16
  BindingMode,
17
17
  Context,
18
18
  ManagedObject,
19
19
  Controller,
20
20
  Log,
21
- ObjectPath,
22
- jQuery
21
+ each,
22
+ isEmptyObject
23
23
  ) {
24
24
  "use strict";
25
25
 
@@ -27,16 +27,16 @@ sap.ui.define([
27
27
 
28
28
  /**
29
29
  * injects the header based on configuration
30
- * @param {object} oModel model instanse
30
+ * @param {object} oModel model instance
31
31
  */
32
32
  connectToComponent: function (oModel) {
33
33
 
34
- var bHasPendingRequest = jQuery.isEmptyObject(oModel.getData());
34
+ var bHasPendingRequest = isEmptyObject(oModel.getData());
35
35
 
36
36
  //ensure a 1 way binding otherwise it cause any block property change to update the entire subSections
37
37
  oModel.setDefaultBindingMode(BindingMode.OneWay);
38
38
 
39
- var fnHeaderFactory = jQuery.proxy(function () {
39
+ var fnHeaderFactory = function () {
40
40
 
41
41
  if (bHasPendingRequest) {
42
42
  oModel.detachRequestCompleted(fnHeaderFactory);
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  }
57
57
  }
58
58
 
59
- }, this);
59
+ }.bind(this);
60
60
 
61
61
  //if data are not there yet, we wait for them
62
62
  if (bHasPendingRequest) {
@@ -82,21 +82,21 @@ sap.ui.define([
82
82
  oControlMetadata = oControlClass.getMetadata();
83
83
 
84
84
  //pre-processing: substitute event handler as strings by their function instance
85
- jQuery.each(oControlMetadata._mAllEvents, jQuery.proxy(function (sEventName, oEventProperties) {
85
+ each(oControlMetadata._mAllEvents, function (sEventName, oEventProperties) {
86
86
  if (typeof oControlInfo[sEventName] == "string") {
87
87
  oControlInfo[sEventName] = this.convertEventHandler(oControlInfo[sEventName]);
88
88
  }
89
- }, this));
89
+ }.bind(this));
90
90
 
91
91
  //creates the control with control info = create with provided properties
92
92
  oControl = ManagedObject.create(oControlInfo);
93
93
 
94
94
  //post-processing: bind properties on the objectPageLayoutMetadata model
95
- jQuery.each(oControlMetadata._mAllProperties, jQuery.proxy(function (sPropertyName, oProperty) {
95
+ each(oControlMetadata._mAllProperties, function (sPropertyName, oProperty) {
96
96
  if (oControlInfo[sPropertyName]) {
97
97
  oControl.bindProperty(sPropertyName, "objectPageLayoutMetadata>" + oBindingContext.getPath() + "/" + sPropertyName);
98
98
  }
99
- }, this));
99
+ });
100
100
  } catch (sError) {
101
101
  Log.error("ObjectPageLayoutFactory :: error in control creation from config: " + sError);
102
102
  }
@@ -114,7 +114,7 @@ sap.ui.define([
114
114
  var fnNameSpace = window, aNameSpaceParts = sStaticHandlerName.split('.');
115
115
 
116
116
  try {
117
- jQuery.each(aNameSpaceParts, function (iIndex, sNameSpacePart) {
117
+ each(aNameSpaceParts, function (iIndex, sNameSpacePart) {
118
118
  fnNameSpace = fnNameSpace[sNameSpacePart];
119
119
  });
120
120
  } catch (sError) {
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @namespace
26
26
  * @alias sap.uxap
27
27
  * @author SAP SE
28
- * @version 1.103.0
28
+ * @version 1.105.0
29
29
  * @since 1.36
30
30
  * @public
31
31
  */
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  "sap.uxap.ObjectPageHeaderLayoutData",
69
69
  "sap.uxap.ObjectPageLazyLoader"
70
70
  ],
71
- version: "1.103.0",
71
+ version: "1.105.0",
72
72
  extensions: {
73
73
  flChangeHandlers: {
74
74
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
@@ -1,7 +1,7 @@
1
1
 
2
- SHOW_MORE=\uC790\uC138\uD788 \uD45C\uC2DC
2
+ SHOW_MORE=\uC790\uC138\uD788 \uBCF4\uAE30
3
3
 
4
- SHOW_LESS=\uAC04\uB2E8\uD788 \uD45C\uC2DC
4
+ SHOW_LESS=\uAC04\uB2E8\uD788 \uBCF4\uAE30
5
5
 
6
6
  ANCHOR_BAR_ARIA_LABEL=\uC575\uCEE4
7
7
 
@@ -13,7 +13,7 @@ BREADCRUMB_TRAIL_LABEL=\uD0D0\uC0C9 \uACBD\uB85C \uCD94\uC801
13
13
 
14
14
  SHOW_ALL=\uBAA8\uB450 \uD45C\uC2DC
15
15
 
16
- HIDE_ALL=\uAC04\uB2E8\uD788 \uD45C\uC2DC
16
+ HIDE_ALL=\uAC04\uB2E8\uD788 \uBCF4\uAE30
17
17
 
18
18
  SHOW=\uD3BC\uCE58\uAE30
19
19
 
@@ -149,7 +149,7 @@ Doing so will result in less generated CSS, as well as less future maintanance i
149
149
  padding: 0 1rem;
150
150
  .sapUxAPObjectPageSubSectionAlignContent {
151
151
  margin-left: -@sapUiMarginSmall;
152
- margin-right: -@sapUiMarginMedium;
152
+ margin-right: -@sapUiMarginSmall;
153
153
  }
154
154
  }
155
155