@openui5/ts-types 1.135.0 → 1.136.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/ts-types",
3
- "version": "1.135.0",
3
+ "version": "1.136.0",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.135.0
1
+ // For Library Version: 1.136.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -108,6 +108,18 @@ declare namespace sap {
108
108
  */
109
109
  target?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
110
110
 
111
+ /**
112
+ * Info sections to be displayed in the header.
113
+ *
114
+ * @since 1.136
115
+ * @experimental As of version 1.136.
116
+ */
117
+ infoSection?:
118
+ | sap.ui.core.Control[]
119
+ | sap.ui.core.Control
120
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
121
+ | `{${string}}`;
122
+
111
123
  /**
112
124
  * Defines the toolbar.
113
125
  *
@@ -642,6 +654,20 @@ declare namespace sap {
642
654
  */
643
655
  oBannerLine: sap.m.Text
644
656
  ): this;
657
+ /**
658
+ * Adds some infoSection to the aggregation {@link #getInfoSection infoSection}.
659
+ *
660
+ * @since 1.136
661
+ * @experimental As of version 1.136.
662
+ *
663
+ * @returns Reference to `this` in order to allow method chaining
664
+ */
665
+ addInfoSection(
666
+ /**
667
+ * The infoSection to add; if empty, nothing is inserted
668
+ */
669
+ oInfoSection: sap.ui.core.Control
670
+ ): this;
645
671
  /**
646
672
  * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.f.cards.BaseHeader`.
647
673
  *
@@ -698,6 +724,15 @@ declare namespace sap {
698
724
  * @returns Reference to `this` in order to allow method chaining
699
725
  */
700
726
  destroyBannerLines(): this;
727
+ /**
728
+ * Destroys all the infoSection in the aggregation {@link #getInfoSection infoSection}.
729
+ *
730
+ * @since 1.136
731
+ * @experimental As of version 1.136.
732
+ *
733
+ * @returns Reference to `this` in order to allow method chaining
734
+ */
735
+ destroyInfoSection(): this;
701
736
  /**
702
737
  * Destroys the toolbar in the aggregation {@link #getToolbar toolbar}.
703
738
  *
@@ -774,6 +809,15 @@ declare namespace sap {
774
809
  * @returns Value of property `href`
775
810
  */
776
811
  getHref(): string;
812
+ /**
813
+ * Gets content of aggregation {@link #getInfoSection infoSection}.
814
+ *
815
+ * Info sections to be displayed in the header.
816
+ *
817
+ * @since 1.136
818
+ * @experimental As of version 1.136.
819
+ */
820
+ getInfoSection(): sap.ui.core.Control[];
777
821
  /**
778
822
  * Gets current value of property {@link #getStatusVisible statusVisible}.
779
823
  *
@@ -833,6 +877,21 @@ declare namespace sap {
833
877
  */
834
878
  oBannerLine: sap.m.Text
835
879
  ): int;
880
+ /**
881
+ * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getInfoSection infoSection}.
882
+ * and returns its index if found or -1 otherwise.
883
+ *
884
+ * @since 1.136
885
+ * @experimental As of version 1.136.
886
+ *
887
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
888
+ */
889
+ indexOfInfoSection(
890
+ /**
891
+ * The infoSection whose index is looked for
892
+ */
893
+ oInfoSection: sap.ui.core.Control
894
+ ): int;
836
895
  /**
837
896
  * Inserts a bannerLine into the aggregation {@link #getBannerLines bannerLines}.
838
897
  *
@@ -853,6 +912,26 @@ declare namespace sap {
853
912
  */
854
913
  iIndex: int
855
914
  ): this;
915
+ /**
916
+ * Inserts a infoSection into the aggregation {@link #getInfoSection infoSection}.
917
+ *
918
+ * @since 1.136
919
+ * @experimental As of version 1.136.
920
+ *
921
+ * @returns Reference to `this` in order to allow method chaining
922
+ */
923
+ insertInfoSection(
924
+ /**
925
+ * The infoSection to insert; if empty, nothing is inserted
926
+ */
927
+ oInfoSection: sap.ui.core.Control,
928
+ /**
929
+ * The `0`-based index the infoSection should be inserted at; for a negative value of `iIndex`, the infoSection
930
+ * is inserted at position 0; for a value greater than the current size of the aggregation, the infoSection
931
+ * is inserted at the last position
932
+ */
933
+ iIndex: int
934
+ ): this;
856
935
  /**
857
936
  * Removes all the controls from the aggregation {@link #getBannerLines bannerLines}.
858
937
  *
@@ -864,6 +943,17 @@ declare namespace sap {
864
943
  * @returns An array of the removed elements (might be empty)
865
944
  */
866
945
  removeAllBannerLines(): sap.m.Text[];
946
+ /**
947
+ * Removes all the controls from the aggregation {@link #getInfoSection infoSection}.
948
+ *
949
+ * Additionally, it unregisters them from the hosting UIArea.
950
+ *
951
+ * @since 1.136
952
+ * @experimental As of version 1.136.
953
+ *
954
+ * @returns An array of the removed elements (might be empty)
955
+ */
956
+ removeAllInfoSection(): sap.ui.core.Control[];
867
957
  /**
868
958
  * Removes a bannerLine from the aggregation {@link #getBannerLines bannerLines}.
869
959
  *
@@ -878,6 +968,20 @@ declare namespace sap {
878
968
  */
879
969
  vBannerLine: int | string | sap.m.Text
880
970
  ): sap.m.Text | null;
971
+ /**
972
+ * Removes a infoSection from the aggregation {@link #getInfoSection infoSection}.
973
+ *
974
+ * @since 1.136
975
+ * @experimental As of version 1.136.
976
+ *
977
+ * @returns The removed infoSection or `null`
978
+ */
979
+ removeInfoSection(
980
+ /**
981
+ * The infoSection to remove or its index or id
982
+ */
983
+ vInfoSection: int | string | sap.ui.core.Control
984
+ ): sap.ui.core.Control | null;
881
985
  /**
882
986
  * Sets a new value for property {@link #getDataTimestamp dataTimestamp}.
883
987
  *