@openui5/types 1.120.10 → 1.121.1

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/types",
3
- "version": "1.120.10",
3
+ "version": "1.121.1",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://sap.github.io/ui5-typescript",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.10
1
+ // For Library Version: 1.121.1
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -40,6 +40,8 @@ declare module "sap/f/library" {
40
40
  /**
41
41
  * Group modes for the {@link sap.f.AvatarGroup} control.
42
42
  *
43
+ * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'AvatarGroupType'.
44
+ *
43
45
  * @since 1.73
44
46
  * @experimental (since 1.73)
45
47
  */
@@ -98,6 +100,8 @@ declare module "sap/f/library" {
98
100
  /**
99
101
  * Defines the areas within the `sap.f.DynamicPageTitle` control.
100
102
  *
103
+ * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'DynamicPageTitleArea'.
104
+ *
101
105
  * @since 1.50
102
106
  * @deprecated (since 1.54) - Consumers of the {@link sap.f.DynamicPageTitle} control should now use the
103
107
  * `areaShrinkRatio` property instead of the `primaryArea` property.
@@ -182,19 +186,25 @@ declare module "sap/f/library" {
182
186
  * Layouts, representing the number of columns to be displayed and their relative widths for a {@link sap.f.FlexibleColumnLayout }
183
187
  * control.
184
188
  *
185
- * Each layout has a predefined ratio for the three columns, depending on device size. Based on the device
186
- * and layout, some columns are hidden. For more information, refer to the ratios (in %) for each value,
187
- * listed below: (dash "-" means non-accessible columns).
189
+ * Each layout has a default predefined ratio for the three columns, depending on device size. Based on
190
+ * the device and layout, some columns are hidden. For more information, refer to the ratios (in %) for
191
+ * each value, listed below: (dash "-" means non-accessible columns).
188
192
  *
189
- * **Note:** Please note that on a phone device, due to the limited screen size, only one column can be
190
- * displayed at a time. For all two-column layouts, this column is the `Mid` column, and for all three-column
191
- * layouts - the `End` column, even though the respective column may be hidden on desktop and tablet for
192
- * that particular layout. Therefore some of the names (such as `ThreeColumnsMidExpandedEndHidden` for example)
193
- * are representative of the desktop scenario only.
193
+ * **Notes:**
194
+ * - The user is allowed to customize the default ratio by dragging the column separators to resize the
195
+ * columns. The user preferences are then internally saved (in browser localStorage) and automatically re-applied
196
+ * whenever the user re-visits the same layout.
197
+ * - Please note that on a phone device, due to the limited screen size, only one column can be displayed
198
+ * at a time. For all two-column layouts, this column is the `Mid` column, and for all three-column layouts
199
+ * - the `End` column, even though the respective column may be hidden on desktop and tablet for that particular
200
+ * layout. Therefore some of the names (such as `ThreeColumnsMidExpandedEndHidden` for example) are representative
201
+ * of the desktop scenario only.
194
202
  *
195
203
  * For more information, see {@link https://ui5.sap.com/#/topic/3b9f760da5b64adf8db7f95247879086 Types of Layout }
196
204
  * in the documentation.
197
205
  *
206
+ * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'LayoutType'.
207
+ *
198
208
  * @since 1.46
199
209
  */
200
210
  export enum LayoutType {
@@ -229,20 +239,23 @@ declare module "sap/f/library" {
229
239
  */
230
240
  OneColumn = "OneColumn",
231
241
  /**
232
- * Desktop: 67/33/0 Begin (expanded) and Mid columns are displayed, End is accessible by layout arrows
242
+ * Desktop: default ratio is 67/33/0 Begin (expanded) and Mid columns are displayed, End is accessible by
243
+ * dragging the column separators
233
244
  *
234
- * Tablet: 67/33/0 Begin (expanded) and Mid columns are displayed, End is accessible by layout arrows
245
+ * Tablet: default ratio is 67/33/0 Begin (expanded) and Mid columns are displayed, End is accessible by
246
+ * dragging the column separators
235
247
  *
236
248
  * Phone: -/-/100 only the End column is displayed
237
249
  *
238
250
  * Use to display the master and detail pages when the user should focus on the master. The detail-detail
239
- * is still loaded and easily accessible with layout arrows.
251
+ * is still loaded and easily accessible by dragging the column separators.
240
252
  */
241
253
  ThreeColumnsBeginExpandedEndHidden = "ThreeColumnsBeginExpandedEndHidden",
242
254
  /**
243
- * Desktop: 25/25/50 Begin, Mid and End (expanded) columns are displayed
255
+ * Desktop: default ratio is 25/25/50 Begin, Mid and End (expanded) columns are displayed
244
256
  *
245
- * Tablet: 0/33/67 Mid and End (expanded) columns are displayed, Begin is accessible by layout arrows
257
+ * Tablet: default ratio is 0/33/67 Mid and End (expanded) columns are displayed, Begin is accessible by
258
+ * dragging the column separator to expand the column
246
259
  *
247
260
  * Phone: -/-/100 (only the End column is displayed)
248
261
  *
@@ -250,9 +263,10 @@ declare module "sap/f/library" {
250
263
  */
251
264
  ThreeColumnsEndExpanded = "ThreeColumnsEndExpanded",
252
265
  /**
253
- * Desktop: 25/50/25 Begin, Mid (expanded) and End columns are displayed
266
+ * Desktop: default ratio is 25/50/25 Begin, Mid (expanded) and End columns are displayed
254
267
  *
255
- * Tablet: 0/67/33 Mid (expanded) and End columns are displayed, Begin is accessible by a layout arrow
268
+ * Tablet: default ratio is 0/67/33 Mid (expanded) and End columns are displayed, Begin is accessible by
269
+ * dragging its adjacent column separator to expand the column.
256
270
  *
257
271
  * Phone: -/-/100 only the End column is displayed
258
272
  *
@@ -260,20 +274,22 @@ declare module "sap/f/library" {
260
274
  */
261
275
  ThreeColumnsMidExpanded = "ThreeColumnsMidExpanded",
262
276
  /**
263
- * Desktop: 33/67/0 Begin and Mid (expanded) columns are displayed, End is accessible by a layout arrow
277
+ * Desktop: default ratio is 33/67/0 Begin and Mid (expanded) columns are displayed, End is accessible by
278
+ * dragging the column-separator to expand the column.
264
279
  *
265
- * Tablet: 33/67/0 Begin and Mid (expanded) columns are displayed, End is accessible by a layout arrow
280
+ * Tablet: default ratio is 33/67/0 Begin and Mid (expanded) columns are displayed, End is accessible by
281
+ * dragging the column-separator to expand the column.
266
282
  *
267
283
  * Phone: -/-/100 only the End column is displayed
268
284
  *
269
285
  * Use to display the master and detail pages when the user should focus on the detail. The detail-detail
270
- * is still loaded and easily accessible with a layout arrow.
286
+ * is still loaded and easily accessible upon dragging the column-separator to expand the column.
271
287
  */
272
288
  ThreeColumnsMidExpandedEndHidden = "ThreeColumnsMidExpandedEndHidden",
273
289
  /**
274
- * Desktop: 67/33/- Begin (expanded) and Mid columns are displayed
290
+ * Desktop: default ratio is 67/33/- Begin (expanded) and Mid columns are displayed
275
291
  *
276
- * Tablet: 67/33/- Begin (expanded) and Mid columns are displayed
292
+ * Tablet: default ratio is 67/33/- Begin (expanded) and Mid columns are displayed
277
293
  *
278
294
  * Phone: -/100/- only the Mid column is displayed
279
295
  *
@@ -281,9 +297,9 @@ declare module "sap/f/library" {
281
297
  */
282
298
  TwoColumnsBeginExpanded = "TwoColumnsBeginExpanded",
283
299
  /**
284
- * Desktop: 33/67/- Begin and Mid (expanded) columns are displayed
300
+ * Desktop: default ratio is 33/67/- Begin and Mid (expanded) columns are displayed
285
301
  *
286
- * Tablet: 33/67/- Begin and Mid (expanded) columns are displayed
302
+ * Tablet: default ratio is 33/67/- Begin and Mid (expanded) columns are displayed
287
303
  *
288
304
  * Phone: -/100/- only the Mid column is displayed
289
305
  *
@@ -294,6 +310,8 @@ declare module "sap/f/library" {
294
310
  /**
295
311
  * Enumeration for different navigation directions.
296
312
  *
313
+ * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'NavigationDirection'.
314
+ *
297
315
  * @since 1.85
298
316
  */
299
317
  export enum NavigationDirection {
@@ -317,6 +335,8 @@ declare module "sap/f/library" {
317
335
  /**
318
336
  * Enumeration for different SidePanel position.
319
337
  *
338
+ * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'SidePanelPosition'.
339
+ *
320
340
  * @since 1.104
321
341
  */
322
342
  export enum SidePanelPosition {
@@ -344,6 +364,8 @@ declare module "sap/f/library" {
344
364
  /**
345
365
  * Different options for the position of the header in controls that implement the {@link sap.f.ICard} interface.
346
366
  *
367
+ * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'cards.HeaderPosition'.
368
+ *
347
369
  * @since 1.65
348
370
  */
349
371
  enum HeaderPosition {
@@ -359,6 +381,8 @@ declare module "sap/f/library" {
359
381
  /**
360
382
  * Different options for the alignment of the side indicators in the numeric header.
361
383
  *
384
+ * This enum is part of the 'sap/f/library' module export and must be accessed by the property 'cards.NumericHeaderSideIndicatorsAlignment'.
385
+ *
362
386
  * @since 1.96
363
387
  */
364
388
  enum NumericHeaderSideIndicatorsAlignment {
@@ -544,8 +568,6 @@ declare module "sap/f/AvatarGroup" {
544
568
  * - You want to use it for other visual content than avatars.
545
569
  *
546
570
  * @since 1.73
547
- * @experimental (since 1.73) - This class is experimental and provides only limited functionality. Also
548
- * the API might be changed in future.
549
571
  */
550
572
  export default class AvatarGroup extends Control {
551
573
  /**
@@ -1769,6 +1791,30 @@ declare module "sap/f/cards/BaseHeader" {
1769
1791
  */
1770
1792
  vBannerLine: int | string | Text
1771
1793
  ): Text | null;
1794
+ /**
1795
+ * Sets a new value for property {@link #getDataTimestamp dataTimestamp}.
1796
+ *
1797
+ * Defines the timestamp of the oldest data in the card. Use this to show to the end user how fresh the
1798
+ * information in the card is.
1799
+ *
1800
+ * Must be specified in ISO 8601 format.
1801
+ *
1802
+ * Will be shown as a relative time like "5 minutes ago".
1803
+ *
1804
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1805
+ *
1806
+ * Default value is `empty string`.
1807
+ *
1808
+ * @experimental (since 1.89) - this feature is experimental and the API may change.
1809
+ *
1810
+ * @returns Reference to `this` in order to allow method chaining
1811
+ */
1812
+ setDataTimestamp(
1813
+ /**
1814
+ * New value for property `dataTimestamp`
1815
+ */
1816
+ sDataTimestamp?: string
1817
+ ): this;
1772
1818
  /**
1773
1819
  * Sets a new value for property {@link #getStatusVisible statusVisible}.
1774
1820
  *
@@ -4541,7 +4587,7 @@ declare module "sap/f/DynamicPage" {
4541
4587
  *
4542
4588
  * @since 1.65
4543
4589
  */
4544
- getStickySubheaderProvider(): ID;
4590
+ getStickySubheaderProvider(): ID | null;
4545
4591
  /**
4546
4592
  * Gets content of aggregation {@link #getTitle title}.
4547
4593
  *
@@ -6883,7 +6929,11 @@ declare module "sap/f/FlexibleColumnLayout" {
6883
6929
  * The width of the three columns is variable.
6884
6930
  *
6885
6931
  * There are several possible layouts that can be changed either with the control's API, or by the user
6886
- * with the help of layout arrows.
6932
+ * with the help of the draggable column separators. The draggable column separators allow the user to customize
6933
+ * the column widths for the current layout, or to switch to a new layout (if the user drags the column
6934
+ * separator past a breakpoint that delimits two different layouts). After the user customized the column
6935
+ * widths for a given layout, these user preferences are internally saved and automatically re-applied whenever
6936
+ * the user re-visits the same layout.
6887
6937
  *
6888
6938
  * Internally the control makes use of three instances of {@link sap.m.NavContainer}, thus forming the three
6889
6939
  * columns.
@@ -7413,9 +7463,10 @@ declare module "sap/f/FlexibleColumnLayout" {
7413
7463
  * displayed at once.
7414
7464
  *
7415
7465
  * The interactions that may lead to a state change are:
7416
- * - the property `layout` was changed indirectly by the user clicking a layout arrow
7417
- * - the user resized the browser beyond a breakpoint, thus changing the maximum number of columns that
7418
- * can be displayed at once.
7466
+ * - The property `layout` was changed indirectly by the user dragging the column separator or clicking
7467
+ * on its arrow (where arrow is available).
7468
+ * - The user resized the browser window beyond a breakpoint, thus changing the maximum number of columns
7469
+ * that can be displayed at once.
7419
7470
  *
7420
7471
  * **Note: **The event is suppressed while the control has zero width and will be fired the first time
7421
7472
  * it gets a non-zero width
@@ -7448,9 +7499,10 @@ declare module "sap/f/FlexibleColumnLayout" {
7448
7499
  * displayed at once.
7449
7500
  *
7450
7501
  * The interactions that may lead to a state change are:
7451
- * - the property `layout` was changed indirectly by the user clicking a layout arrow
7452
- * - the user resized the browser beyond a breakpoint, thus changing the maximum number of columns that
7453
- * can be displayed at once.
7502
+ * - The property `layout` was changed indirectly by the user dragging the column separator or clicking
7503
+ * on its arrow (where arrow is available).
7504
+ * - The user resized the browser window beyond a breakpoint, thus changing the maximum number of columns
7505
+ * that can be displayed at once.
7454
7506
  *
7455
7507
  * **Note: **The event is suppressed while the control has zero width and will be fired the first time
7456
7508
  * it gets a non-zero width
@@ -8034,17 +8086,17 @@ declare module "sap/f/FlexibleColumnLayout" {
8034
8086
  * ID of the element which is the current target of the association {@link #getInitialBeginColumnPage initialBeginColumnPage},
8035
8087
  * or `null`.
8036
8088
  */
8037
- getInitialBeginColumnPage(): ID;
8089
+ getInitialBeginColumnPage(): ID | null;
8038
8090
  /**
8039
8091
  * ID of the element which is the current target of the association {@link #getInitialEndColumnPage initialEndColumnPage},
8040
8092
  * or `null`.
8041
8093
  */
8042
- getInitialEndColumnPage(): ID;
8094
+ getInitialEndColumnPage(): ID | null;
8043
8095
  /**
8044
8096
  * ID of the element which is the current target of the association {@link #getInitialMidColumnPage initialMidColumnPage},
8045
8097
  * or `null`.
8046
8098
  */
8047
- getInitialMidColumnPage(): ID;
8099
+ getInitialMidColumnPage(): ID | null;
8048
8100
  /**
8049
8101
  * Gets content of aggregation {@link #getLandmarkInfo landmarkInfo}.
8050
8102
  *
@@ -8903,9 +8955,10 @@ declare module "sap/f/FlexibleColumnLayout" {
8903
8955
  * displayed at once.
8904
8956
  *
8905
8957
  * The interactions that may lead to a state change are:
8906
- * - the property `layout` was changed indirectly by the user clicking a layout arrow
8907
- * - the user resized the browser beyond a breakpoint, thus changing the maximum number of columns that
8908
- * can be displayed at once.
8958
+ * - The property `layout` was changed indirectly by the user dragging the column separator or clicking
8959
+ * on its arrow (where arrow is available).
8960
+ * - The user resized the browser window beyond a breakpoint, thus changing the maximum number of columns
8961
+ * that can be displayed at once.
8909
8962
  *
8910
8963
  * **Note: **The event is suppressed while the control has zero width and will be fired the first time
8911
8964
  * it gets a non-zero width
@@ -9362,12 +9415,14 @@ declare module "sap/f/FlexibleColumnLayout" {
9362
9415
  maxColumnsCount?: int;
9363
9416
 
9364
9417
  /**
9365
- * Indicates whether the layout changed as a result of the user clicking a layout arrow
9418
+ * Indicates whether the layout changed as a result of the user clicking a column separator's arrow or dragging
9419
+ * the column separators
9366
9420
  */
9367
9421
  isNavigationArrow?: boolean;
9368
9422
 
9369
9423
  /**
9370
- * Indicates whether the maximum number of columns that can be displayed at once changed
9424
+ * Indicates whether the maximum number of columns that can be displayed at once changed due to resize of
9425
+ * the entire browser window
9371
9426
  */
9372
9427
  isResize?: boolean;
9373
9428
  }
@@ -10860,7 +10915,7 @@ declare module "sap/f/GridContainer" {
10860
10915
  /**
10861
10916
  * The item to remove or its index or ID.
10862
10917
  */
10863
- vItem: int | string | Control
10918
+ vItem: int | ID | Control
10864
10919
  ): Control | null;
10865
10920
  /**
10866
10921
  * Sets a new value for property {@link #getAllowDenseFill allowDenseFill}.
@@ -12706,7 +12761,7 @@ declare module "sap/f/ProductSwitch" {
12706
12761
  * ID of the element which is the current target of the association {@link #getSelectedItem selectedItem},
12707
12762
  * or `null`.
12708
12763
  */
12709
- getSelectedItem(): ID;
12764
+ getSelectedItem(): ID | null;
12710
12765
  /**
12711
12766
  * Checks for the provided `sap.f.ProductSwitchItem` in the aggregation {@link #getItems items}. and returns
12712
12767
  * its index if found or -1 otherwise.
@@ -12771,7 +12826,7 @@ declare module "sap/f/ProductSwitch" {
12771
12826
  * the item with this ID becomes the `selectedItem` association. Alternatively, a `sap.f.ProductSwitchItem`
12772
12827
  * instance may be given or `null` to clear the selection.
12773
12828
  */
12774
- vItem: string | ProductSwitchItem | null
12829
+ vItem: ID | ProductSwitchItem | null
12775
12830
  ): this;
12776
12831
  }
12777
12832
 
@@ -20149,6 +20204,25 @@ declare module "sap/f/ShellBar" {
20149
20204
  */
20150
20205
  oMenu: Menu
20151
20206
  ): this;
20207
+ /**
20208
+ * Sets a new value for property {@link #getNotificationsNumber notificationsNumber}.
20209
+ *
20210
+ * Defines the displayed number of upcoming notifications.
20211
+ *
20212
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20213
+ *
20214
+ * Default value is `empty string`.
20215
+ *
20216
+ * @since 1.64
20217
+ *
20218
+ * @returns Reference to `this` in order to allow method chaining
20219
+ */
20220
+ setNotificationsNumber(
20221
+ /**
20222
+ * New value for property `notificationsNumber`
20223
+ */
20224
+ sNotificationsNumber?: string
20225
+ ): this;
20152
20226
  /**
20153
20227
  * Sets the aggregated {@link #getProfile profile}.
20154
20228
  *
@@ -20472,6 +20546,11 @@ declare module "sap/f/ShellBar" {
20472
20546
  * Reference to the button that has been pressed
20473
20547
  */
20474
20548
  image?: Image;
20549
+
20550
+ /**
20551
+ * Reference to the button that has been pressed
20552
+ */
20553
+ button?: Button;
20475
20554
  }
20476
20555
 
20477
20556
  export type ShellBar$CopilotPressedEvent = Event<
@@ -20887,7 +20966,7 @@ declare module "sap/f/SidePanel" {
20887
20966
  * ID of the element which is the current target of the association {@link #getSelectedItem selectedItem},
20888
20967
  * or `null`.
20889
20968
  */
20890
- getSelectedItem(): ID;
20969
+ getSelectedItem(): ID | null;
20891
20970
  /**
20892
20971
  * Gets current value of property {@link #getSidePanelMaxWidth sidePanelMaxWidth}.
20893
20972
  *