1- // For Library Version: 1.135 .0
1+ // For Library Version: 1.136 .0
22
33declare module "sap/tnt/library" {
44 export interface IToolHeader {
@@ -1907,6 +1907,20 @@ declare module "sap/f/cards/BaseHeader" {
19071907 */
19081908 oBannerLine: Text
19091909 ): this;
1910+ /**
1911+ * Adds some infoSection to the aggregation {@link #getInfoSection infoSection}.
1912+ *
1913+ * @since 1.136
1914+ * @experimental As of version 1.136.
1915+ *
1916+ * @returns Reference to `this` in order to allow method chaining
1917+ */
1918+ addInfoSection(
1919+ /**
1920+ * The infoSection to add; if empty, nothing is inserted
1921+ */
1922+ oInfoSection: Control
1923+ ): this;
19101924 /**
19111925 * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.f.cards.BaseHeader`.
19121926 *
@@ -1963,6 +1977,15 @@ declare module "sap/f/cards/BaseHeader" {
19631977 * @returns Reference to `this` in order to allow method chaining
19641978 */
19651979 destroyBannerLines(): this;
1980+ /**
1981+ * Destroys all the infoSection in the aggregation {@link #getInfoSection infoSection}.
1982+ *
1983+ * @since 1.136
1984+ * @experimental As of version 1.136.
1985+ *
1986+ * @returns Reference to `this` in order to allow method chaining
1987+ */
1988+ destroyInfoSection(): this;
19661989 /**
19671990 * Destroys the toolbar in the aggregation {@link #getToolbar toolbar}.
19681991 *
@@ -2039,6 +2062,15 @@ declare module "sap/f/cards/BaseHeader" {
20392062 * @returns Value of property `href`
20402063 */
20412064 getHref(): string;
2065+ /**
2066+ * Gets content of aggregation {@link #getInfoSection infoSection}.
2067+ *
2068+ * Info sections to be displayed in the header.
2069+ *
2070+ * @since 1.136
2071+ * @experimental As of version 1.136.
2072+ */
2073+ getInfoSection(): Control[];
20422074 /**
20432075 * Gets current value of property {@link #getStatusVisible statusVisible}.
20442076 *
@@ -2098,6 +2130,21 @@ declare module "sap/f/cards/BaseHeader" {
20982130 */
20992131 oBannerLine: Text
21002132 ): int;
2133+ /**
2134+ * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getInfoSection infoSection}.
2135+ * and returns its index if found or -1 otherwise.
2136+ *
2137+ * @since 1.136
2138+ * @experimental As of version 1.136.
2139+ *
2140+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
2141+ */
2142+ indexOfInfoSection(
2143+ /**
2144+ * The infoSection whose index is looked for
2145+ */
2146+ oInfoSection: Control
2147+ ): int;
21012148 /**
21022149 * Inserts a bannerLine into the aggregation {@link #getBannerLines bannerLines}.
21032150 *
@@ -2118,6 +2165,26 @@ declare module "sap/f/cards/BaseHeader" {
21182165 */
21192166 iIndex: int
21202167 ): this;
2168+ /**
2169+ * Inserts a infoSection into the aggregation {@link #getInfoSection infoSection}.
2170+ *
2171+ * @since 1.136
2172+ * @experimental As of version 1.136.
2173+ *
2174+ * @returns Reference to `this` in order to allow method chaining
2175+ */
2176+ insertInfoSection(
2177+ /**
2178+ * The infoSection to insert; if empty, nothing is inserted
2179+ */
2180+ oInfoSection: Control,
2181+ /**
2182+ * The `0`-based index the infoSection should be inserted at; for a negative value of `iIndex`, the infoSection
2183+ * is inserted at position 0; for a value greater than the current size of the aggregation, the infoSection
2184+ * is inserted at the last position
2185+ */
2186+ iIndex: int
2187+ ): this;
21212188 /**
21222189 * Removes all the controls from the aggregation {@link #getBannerLines bannerLines}.
21232190 *
@@ -2129,6 +2196,17 @@ declare module "sap/f/cards/BaseHeader" {
21292196 * @returns An array of the removed elements (might be empty)
21302197 */
21312198 removeAllBannerLines(): Text[];
2199+ /**
2200+ * Removes all the controls from the aggregation {@link #getInfoSection infoSection}.
2201+ *
2202+ * Additionally, it unregisters them from the hosting UIArea.
2203+ *
2204+ * @since 1.136
2205+ * @experimental As of version 1.136.
2206+ *
2207+ * @returns An array of the removed elements (might be empty)
2208+ */
2209+ removeAllInfoSection(): Control[];
21322210 /**
21332211 * Removes a bannerLine from the aggregation {@link #getBannerLines bannerLines}.
21342212 *
@@ -2143,6 +2221,20 @@ declare module "sap/f/cards/BaseHeader" {
21432221 */
21442222 vBannerLine: int | string | Text
21452223 ): Text | null;
2224+ /**
2225+ * Removes a infoSection from the aggregation {@link #getInfoSection infoSection}.
2226+ *
2227+ * @since 1.136
2228+ * @experimental As of version 1.136.
2229+ *
2230+ * @returns The removed infoSection or `null`
2231+ */
2232+ removeInfoSection(
2233+ /**
2234+ * The infoSection to remove or its index or id
2235+ */
2236+ vInfoSection: int | string | Control
2237+ ): Control | null;
21462238 /**
21472239 * Sets a new value for property {@link #getDataTimestamp dataTimestamp}.
21482240 *
@@ -2303,6 +2395,14 @@ declare module "sap/f/cards/BaseHeader" {
23032395 */
23042396 target?: string | PropertyBindingInfo;
23052397
2398+ /**
2399+ * Info sections to be displayed in the header.
2400+ *
2401+ * @since 1.136
2402+ * @experimental As of version 1.136.
2403+ */
2404+ infoSection?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
2405+
23062406 /**
23072407 * Defines the toolbar.
23082408 *
0 commit comments