@openui5/sap.uxap 1.124.0 → 1.125.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/.reuse/dep5 CHANGED
@@ -50,6 +50,11 @@ Copyright: Mario Heiderich
50
50
  License: Apache-2.0
51
51
  Comment: these files belong to: purify.js
52
52
 
53
+ Files: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
54
+ Copyright: jQuery Foundation and other contributors, https://jquery.org/
55
+ License: MIT
56
+ Comment: these files belong to: QUnit Composite 2.0.0
57
+
53
58
 
54
59
  # Library: sap.ui.codeeditor:
55
60
 
package/THIRDPARTY.txt CHANGED
@@ -12,6 +12,13 @@ License: Apache-2.0
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
13
13
  Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
14
14
 
15
+ Component: QUnit Composite 2.0.0, version: 2.0.0
16
+ Copyright: jQuery Foundation and other contributors, https://jquery.org/
17
+ License: MIT
18
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
19
+ Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
20
+ src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
21
+
15
22
 
16
23
  Library: sap.ui.codeeditor:
17
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.uxap",
3
- "version": "1.124.0",
3
+ "version": "1.125.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.124.0",
18
- "@openui5/sap.m": "1.124.0",
19
- "@openui5/sap.ui.core": "1.124.0",
20
- "@openui5/sap.ui.layout": "1.124.0"
17
+ "@openui5/sap.f": "1.125.0",
18
+ "@openui5/sap.m": "1.125.0",
19
+ "@openui5/sap.ui.core": "1.125.0",
20
+ "@openui5/sap.ui.layout": "1.125.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.124.0</version>
6
+ <version>1.125.0</version>
7
7
  <copyright>OpenUI5
8
8
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @class
23
23
  * @author SAP SE
24
- * @version 1.124.0
24
+ * @version 1.125.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.124.0
25
+ * @version 1.125.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @implements sap.uxap.IHeaderContent
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.124.0
43
+ * @version 1.125.0
44
44
  *
45
45
  * @constructor
46
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.124.0
45
+ * @version 1.125.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -1390,6 +1390,10 @@ sap.ui.define([
1390
1390
  this._oLazyLoading = null;
1391
1391
  }
1392
1392
 
1393
+ if (this._asyncUpdateScreenSizeExec) {
1394
+ clearTimeout(this._asyncUpdateScreenSizeExec);
1395
+ }
1396
+
1393
1397
  this._destroyInvisibleText();
1394
1398
 
1395
1399
  this._deregisterScreenSizeListener();
@@ -3206,7 +3210,8 @@ sap.ui.define([
3206
3210
 
3207
3211
  this._oLazyLoading.setLazyLoadingParameters();
3208
3212
 
3209
- setTimeout(function () {
3213
+ this._asyncUpdateScreenSizeExec = setTimeout(function () {
3214
+
3210
3215
  if (bIsAlwaysShowContentHeaderEnabled && (this._bHeaderInTitleArea != this._checkAlwaysShowContentHeader())) {
3211
3216
  this.invalidate();
3212
3217
  }
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Element
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.124.0
41
+ * @version 1.125.0
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -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.124.0
28
+ * @version 1.125.0
29
29
  * @since 1.75
30
30
  * @experimental Since 1.75
31
31
  */
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @constructor
24
24
  * @alias sap.uxap.changeHandler.MoveObjectPageSection
25
25
  * @author SAP SE
26
- * @version 1.124.0
26
+ * @version 1.125.0
27
27
  * @experimental Since 1.54
28
28
  */
29
29
 
@@ -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.124.0
24
+ * @version 1.125.0
25
25
  * @experimental Since 1.50
26
26
  */
27
27
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @constructor
20
20
  * @alias sap.uxap.changeHandler.UnstashObjectPageSection
21
21
  * @author SAP SE
22
- * @version 1.124.0
22
+ * @version 1.125.0
23
23
  * @experimental Since 1.115
24
24
  */
25
25
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @namespace
31
31
  * @alias sap.uxap
32
32
  * @author SAP SE
33
- * @version 1.124.0
33
+ * @version 1.125.0
34
34
  * @since 1.36
35
35
  * @public
36
36
  */
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  "sap.uxap.ObjectPageHeaderLayoutData",
75
75
  "sap.uxap.ObjectPageLazyLoader"
76
76
  ],
77
- version: "1.124.0",
77
+ version: "1.125.0",
78
78
  extensions: {
79
79
  flChangeHandlers: {
80
80
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
@@ -396,6 +396,133 @@ sap.ui.define([
396
396
  * @see {@link topic:d2ef0099542d44dc868719d908e576d0 Object Page Headers}
397
397
  */
398
398
 
399
+ /**
400
+ * Method for checking if the header title is <code>{@link sap.uxap.ObjectPageDynamicHeaderTitle}</code>.
401
+ *
402
+ * @function
403
+ * @name sap.uxap.IHeaderTitle.isDynamic
404
+ * @ui5-restricted
405
+ * @private
406
+ * @returns {boolean} Whether or not the header title is dynamic.
407
+ */
408
+
409
+ /**
410
+ * Getter method for getting the compatible header title class (being <code>{@link sap.uxap.ObjectPageDynamicHeaderTitle}</code> or <code>{@link sap.uxap.ObjectPageHeader}</code>).
411
+ *
412
+ * @function
413
+ * @name sap.uxap.IHeaderTitle.getCompatibleHeaderContentClass
414
+ * @ui5-restricted
415
+ * @private
416
+ * @returns {sap.uxap.ObjectPageHeaderContent} The header content.
417
+ */
418
+
419
+ /**
420
+ * Method for checking if the header title can be toggled on click.
421
+ *
422
+ * @function
423
+ * @name sap.uxap.IHeaderTitle.supportsToggleHeaderOnTitleClick
424
+ * @ui5-restricted
425
+ * @private
426
+ * @returns {boolean} Whether or not the header title can be toggled on click.
427
+ */
428
+
429
+ /**
430
+ * Method for checking if header title is supported in header content.
431
+ *
432
+ * @function
433
+ * @name sap.uxap.IHeaderTitle.supportsTitleInHeaderContent
434
+ * @ui5-restricted
435
+ * @private
436
+ * @returns {boolean} Whether or not header title is supported in header content.
437
+ */
438
+
439
+ /**
440
+ * Method for checking if header title supports adapt layout for DOM element.
441
+ *
442
+ * @function
443
+ * @name sap.uxap.IHeaderTitle.supportsAdaptLayoutForDomElement
444
+ * @ui5-restricted
445
+ * @param {boolean} bToggle Whether or not header title supports adapt layout for DOM element.
446
+ * @private
447
+ */
448
+
449
+ /**
450
+ * Method for checking if header title supports background design.
451
+ *
452
+ * @function
453
+ * @name sap.uxap.IHeaderTitle.supportsBackgroundDesign
454
+ * @ui5-restricted
455
+ * @param {boolean} bToggle Whether or not header title supports background design.
456
+ * @private
457
+ */
458
+
459
+ /**
460
+ * Getter method for getting the header title text.
461
+ *
462
+ * @function
463
+ * @name sap.uxap.IHeaderTitle.getTitleText
464
+ * @ui5-restricted
465
+ * @private
466
+ * @returns {string} The header title text.
467
+ */
468
+
469
+ /**
470
+ * Method for snapping/collapsing the header title.
471
+ *
472
+ * @function
473
+ * @name sap.uxap.IHeaderTitle.snap
474
+ * @ui5-restricted
475
+ * @private
476
+ */
477
+
478
+ /**
479
+ * Method for unsnapping/expanding the header title.
480
+ *
481
+ * @function
482
+ * @name sap.uxap.IHeaderTitle.unSnap
483
+ * @ui5-restricted
484
+ * @private
485
+ */
486
+
487
+ /**
488
+ * Method toggling .the visibility of the expand button of the header title
489
+ *
490
+ * @function
491
+ * @name sap.uxap.IHeaderTitle._toggleExpandButton
492
+ * @ui5-restricted
493
+ * @param {boolean} bToggle Whether or not header title expand button should be shown.
494
+ * @private
495
+ */
496
+
497
+ /**
498
+ * Setter method for toggling .the visibility of the expand button of the header title
499
+ *
500
+ * @function
501
+ * @name sap.uxap.IHeaderTitle._setShowExpandButton
502
+ * @ui5-restricted
503
+ * @param {boolean} bVisible Whether or not header title expand button should be shown.
504
+ * @private
505
+ */
506
+
507
+ /**
508
+ * Method for focusing the expand button of the header title.
509
+ *
510
+ * @function
511
+ * @name sap.uxap.IHeaderTitle._focusExpandButton
512
+ * @ui5-restricted
513
+ * @private
514
+ */
515
+
516
+ /**
517
+ * Method for toggling the focusing ability of the header title.
518
+ *
519
+ * @function
520
+ * @name sap.uxap.IHeaderTitle._toggleFocusableState
521
+ * @ui5-restricted
522
+ * @param {boolean} bFocusable Whether or not header title should be focusable.
523
+ * @private
524
+ */
525
+
399
526
  /**
400
527
  *
401
528
  * Interface for controls that are eligible for the <code>headerContent</code> aggregation
@@ -420,6 +547,87 @@ sap.ui.define([
420
547
  * @see {@link topic:d2ef0099542d44dc868719d908e576d0 Object Page Headers}
421
548
  */
422
549
 
423
- return thisLib;
550
+ /**
551
+ * Static method for creating an instance of the header content.
552
+ *
553
+ * @function
554
+ * @name sap.uxap.IHeaderContent.createInstance
555
+ * @ui5-restricted
556
+ * @param {array} aContent The content array for the instance
557
+ * @param {boolean} bVisible Whether the instance should be visible
558
+ * @param {string} sContentDesign The content design
559
+ * @param {boolean} bPinnable Whether the instance is pinnable
560
+ * @param {string} sStableId Stable ID text
561
+ * @private
562
+ */
563
+
564
+ /**
565
+ * Method for checking if the header content supports pin button.
566
+ *
567
+ * @function
568
+ * @name sap.uxap.IHeaderContent.supportsPinUnpin
569
+ * @ui5-restricted
570
+ * @private
571
+ * @returns {boolean} Whether or not the header content supports pin button.
572
+ */
573
+
574
+ /**
575
+ * Method for checking if the header content supports child page design (ObjectPageLayout related).
576
+ *
577
+ * @function
578
+ * @name sap.uxap.IHeaderContent.supportsChildPageDesign
579
+ * @ui5-restricted
580
+ * @private
581
+ * @returns {boolean} Whether or not the header content supports child page design (ObjectPageLayout related).
582
+ */
424
583
 
584
+ /**
585
+ * Method for checking if always expanded header content is supported.
586
+ *
587
+ * @function
588
+ * @name sap.uxap.IHeaderContent.supportsAlwaysExpanded
589
+ * @ui5-restricted
590
+ * @private
591
+ * @returns {boolean} Whether or not supports always expanded header content.
592
+ */
593
+
594
+ /**
595
+ * Toggles the collapse button's visibility of the header content.
596
+ *
597
+ * @function
598
+ * @name sap.uxap.IHeaderContent._toggleCollapseButton
599
+ * @ui5-restricted
600
+ * @param {boolean} bToggle Whether the collapse button should be shown or not
601
+ * @private
602
+ */
603
+
604
+ /**
605
+ * Internal setter for the collapse button's visibility of the header content.
606
+ *
607
+ * @function
608
+ * @name sap.uxap.IHeaderContent._setShowCollapseButton
609
+ * @ui5-restricted
610
+ * @param {boolean} bToggle Whether the collapse button should be shown or not
611
+ * @private
612
+ */
613
+
614
+ /**
615
+ * Focuses the collapse button of the header content.
616
+ *
617
+ * @function
618
+ * @name sap.uxap.IHeaderContent._focusCollapseButton
619
+ * @ui5-restricted
620
+ * @private
621
+ */
622
+
623
+ /**
624
+ * Focuses the pin button of the header content.
625
+ *
626
+ * @function
627
+ * @name sap.uxap.IHeaderContent._focusPinButton
628
+ * @ui5-restricted
629
+ * @private
630
+ */
631
+
632
+ return thisLib;
425
633
  });