@openui5/types 1.142.1 → 1.143.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.142.1",
3
+ "version": "1.143.1",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://ui5.github.io/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.142.1
1
+ // For Library Version: 1.143.1
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -21074,6 +21074,13 @@ declare module "sap/f/ShellBar" {
21074
21074
  import Button from "sap/m/Button";
21075
21075
 
21076
21076
  /**
21077
+ * **Note:** `sap.f.ShellBar` is not UXC-compliant and will no longer be aligned with future UXC design
21078
+ * updates. For UXC-compliant applications, use the ui5-shellbar web component instead. It can be integrated
21079
+ * seamlessly using ui5-tooling-modules. See {@link https://ui5.sap.com/#/topic/1c80793df5bb424091954697fc0b2828 Using Web Components}.
21080
+ *
21081
+ *
21082
+ *
21083
+ *
21077
21084
  * A horizontal bar control holding multiple child controls used as application shell header.
21078
21085
  *
21079
21086
  * Overview:
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.1
1
+ // For Library Version: 1.143.1
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -2224,6 +2224,8 @@ declare module "sap/m/library" {
2224
2224
  None = "None",
2225
2225
  /**
2226
2226
  * Right-positioned single selection mode (only one list item can be selected).
2227
+ *
2228
+ * @deprecated As of version 1.143. replaced by {@link sap.m.ListMode.SingleSelectLeft}.
2227
2229
  */
2228
2230
  SingleSelect = "SingleSelect",
2229
2231
  /**
@@ -2325,6 +2327,34 @@ declare module "sap/m/library" {
2325
2327
  */
2326
2328
  Split = "Split",
2327
2329
  }
2330
+ /**
2331
+ * Available color set variants for the {@link sap.m.MessageStrip} control.
2332
+ *
2333
+ * **Notes:**
2334
+ * - The Default color set uses standard semantic colors based on the message type (Information, Success,
2335
+ * Warning, Error).
2336
+ * - ColorSet1 and ColorSet2 provide custom color palettes with 10 predefined color schemes each.
2337
+ * - When using ColorSet1 or ColorSet2, the `colorScheme` property determines which color variation is
2338
+ * applied.
2339
+ *
2340
+ * This enum is part of the 'sap/m/library' module export and must be accessed by the property 'MessageStripColorSet'.
2341
+ *
2342
+ * @since 1.143.0
2343
+ */
2344
+ export enum MessageStripColorSet {
2345
+ /**
2346
+ * Uses a custom color palette with predefined color schemes
2347
+ */
2348
+ ColorSet1 = "ColorSet1",
2349
+ /**
2350
+ * Uses an alternative custom color palette with predefined color schemes
2351
+ */
2352
+ ColorSet2 = "ColorSet2",
2353
+ /**
2354
+ * Uses standard semantic colors based on the type property (Information, Success, Warning, Error)
2355
+ */
2356
+ Default = "Default",
2357
+ }
2328
2358
  /**
2329
2359
  * Enumeration of the `multiSelectMode>/code> in ListBase`.
2330
2360
  *
@@ -3148,13 +3178,13 @@ declare module "sap/m/library" {
3148
3178
  /**
3149
3179
  * Each item fits its content and extra space is placed after the last item.
3150
3180
  *
3151
- * @since 1.42
3181
+ * @since 1.142.0
3152
3182
  */
3153
3183
  ContentFit = "ContentFit",
3154
3184
  /**
3155
3185
  * All items are sized equally to fill the available space.
3156
3186
  *
3157
- * @since 1.42
3187
+ * @since 1.142.0
3158
3188
  */
3159
3189
  EqualSized = "EqualSized",
3160
3190
  }
@@ -61844,6 +61874,8 @@ declare module "sap/m/MessageStrip" {
61844
61874
 
61845
61875
  import Event from "sap/ui/base/Event";
61846
61876
 
61877
+ import { MessageStripColorSet } from "sap/m/library";
61878
+
61847
61879
  import { URI } from "sap/ui/core/library";
61848
61880
 
61849
61881
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -61858,7 +61890,8 @@ declare module "sap/m/MessageStrip" {
61858
61890
  /**
61859
61891
  * MessageStrip is a control that enables the embedding of application-related messages in the application.
61860
61892
  * Overview: The message strip displays 4 types of messages, each with a corresponding semantic color and
61861
- * icon: Information, Success, Warning and Error.
61893
+ * icon: Information, Success, Warning and Error. Additionally, it supports custom color schemes through
61894
+ * ColorSet1 and ColorSet2 design types, each providing 10 predefined color variations.
61862
61895
  *
61863
61896
  * Each message can have a close button, so that it can be removed from the UI if needed.
61864
61897
  *
@@ -61870,10 +61903,14 @@ declare module "sap/m/MessageStrip" {
61870
61903
  * - <u> With version 1.85
61871
61904
  * - <br>
61872
61905
  *
61906
+ * Color Schemes: When using ColorSet1 or ColorSet2 as the design type, you can specify a `colorScheme`
61907
+ * from "1" to "10" to apply different color variations. This allows for better visual categorization and
61908
+ * theming flexibility while maintaining accessibility standards.
61909
+ *
61873
61910
  * Dynamically generated Message Strip: To meet the accessibility requirements when using dynamically generated
61874
61911
  * Message Strip you must implement it alongside `sap.ui.core.InvisibleMessage`. This will allow screen
61875
61912
  * readers to announce it in real time. We suggest such dynamically generated message strips to be announced
61876
- * as Information Bar, as shown in our Dynamic Message Strip Generator sample.”
61913
+ * as Information Bar, as shown in our "Dynamic Message Strip Generator sample."
61877
61914
  *
61878
61915
  * Usage: When to use:
61879
61916
  * - You want to provide information or status update within the detail area of an object When not
@@ -62061,6 +62098,41 @@ declare module "sap/m/MessageStrip" {
62061
62098
  */
62062
62099
  mParameters?: object
62063
62100
  ): this;
62101
+ /**
62102
+ * Gets current value of property {@link #getColorScheme colorScheme}.
62103
+ *
62104
+ * Determines the color scheme when using ColorSet1 or ColorSet2 colorSet variants. Available values are
62105
+ * 1 through 10, each providing a different color variation. This property is only effective when `colorSet`
62106
+ * is set to "ColorSet1" or "ColorSet2".
62107
+ *
62108
+ * Default value is `1`.
62109
+ *
62110
+ * @since 1.143.0
62111
+ *
62112
+ * @returns Value of property `colorScheme`
62113
+ */
62114
+ getColorScheme(): int;
62115
+ /**
62116
+ * Gets current value of property {@link #getColorSet colorSet}.
62117
+ *
62118
+ * Determines the color set variant of the MessageStrip. Available options:
62119
+ * - **Default** - Uses standard semantic colors based on the type property (Information, Success, Warning,
62120
+ * Error)
62121
+ * - **ColorSet1** - Uses a custom color palette with 10 predefined color schemes
62122
+ * - **ColorSet2** - Uses an alternative custom color palette with 10 predefined color schemes When
62123
+ * ColorSet1 or ColorSet2 is selected, the `colorScheme` property determines which of the 10 color variations
62124
+ * is applied.
62125
+ *
62126
+ * **Note:** When using ColorSet1 or ColorSet2 designs, the type property is still used for semantic purposes
62127
+ * but will be ignored for visual styling.
62128
+ *
62129
+ * Default value is `Default`.
62130
+ *
62131
+ * @since 1.143.0
62132
+ *
62133
+ * @returns Value of property `colorSet`
62134
+ */
62135
+ getColorSet(): MessageStripColorSet;
62064
62136
  /**
62065
62137
  * Gets content of aggregation {@link #getControls controls}.
62066
62138
  *
@@ -62075,7 +62147,7 @@ declare module "sap/m/MessageStrip" {
62075
62147
  * Gets current value of property {@link #getCustomIcon customIcon}.
62076
62148
  *
62077
62149
  * Determines a custom icon which is displayed. If none is set, the default icon for this message type is
62078
- * used.
62150
+ * used. **Note**: For ColorSet1 and ColorSet2 designs, no default icon is displayed unless explicitly provided.
62079
62151
  *
62080
62152
  * Default value is `empty string`.
62081
62153
  *
@@ -62213,11 +62285,60 @@ declare module "sap/m/MessageStrip" {
62213
62285
  */
62214
62286
  vControl: int | string | Link
62215
62287
  ): Link | null;
62288
+ /**
62289
+ * Sets a new value for property {@link #getColorScheme colorScheme}.
62290
+ *
62291
+ * Determines the color scheme when using ColorSet1 or ColorSet2 colorSet variants. Available values are
62292
+ * 1 through 10, each providing a different color variation. This property is only effective when `colorSet`
62293
+ * is set to "ColorSet1" or "ColorSet2".
62294
+ *
62295
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
62296
+ *
62297
+ * Default value is `1`.
62298
+ *
62299
+ * @since 1.143.0
62300
+ *
62301
+ * @returns Reference to `this` in order to allow method chaining
62302
+ */
62303
+ setColorScheme(
62304
+ /**
62305
+ * New value for property `colorScheme`
62306
+ */
62307
+ iColorScheme?: int
62308
+ ): this;
62309
+ /**
62310
+ * Sets a new value for property {@link #getColorSet colorSet}.
62311
+ *
62312
+ * Determines the color set variant of the MessageStrip. Available options:
62313
+ * - **Default** - Uses standard semantic colors based on the type property (Information, Success, Warning,
62314
+ * Error)
62315
+ * - **ColorSet1** - Uses a custom color palette with 10 predefined color schemes
62316
+ * - **ColorSet2** - Uses an alternative custom color palette with 10 predefined color schemes When
62317
+ * ColorSet1 or ColorSet2 is selected, the `colorScheme` property determines which of the 10 color variations
62318
+ * is applied.
62319
+ *
62320
+ * **Note:** When using ColorSet1 or ColorSet2 designs, the type property is still used for semantic purposes
62321
+ * but will be ignored for visual styling.
62322
+ *
62323
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
62324
+ *
62325
+ * Default value is `Default`.
62326
+ *
62327
+ * @since 1.143.0
62328
+ *
62329
+ * @returns Reference to `this` in order to allow method chaining
62330
+ */
62331
+ setColorSet(
62332
+ /**
62333
+ * New value for property `colorSet`
62334
+ */
62335
+ sColorSet?: MessageStripColorSet | keyof typeof MessageStripColorSet
62336
+ ): this;
62216
62337
  /**
62217
62338
  * Sets a new value for property {@link #getCustomIcon customIcon}.
62218
62339
  *
62219
62340
  * Determines a custom icon which is displayed. If none is set, the default icon for this message type is
62220
- * used.
62341
+ * used. **Note**: For ColorSet1 and ColorSet2 designs, no default icon is displayed unless explicitly provided.
62221
62342
  *
62222
62343
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
62223
62344
  *
@@ -62361,9 +62482,37 @@ declare module "sap/m/MessageStrip" {
62361
62482
  | PropertyBindingInfo
62362
62483
  | `{${string}}`;
62363
62484
 
62485
+ /**
62486
+ * Determines the color set variant of the MessageStrip. Available options:
62487
+ * - **Default** - Uses standard semantic colors based on the type property (Information, Success, Warning,
62488
+ * Error)
62489
+ * - **ColorSet1** - Uses a custom color palette with 10 predefined color schemes
62490
+ * - **ColorSet2** - Uses an alternative custom color palette with 10 predefined color schemes When
62491
+ * ColorSet1 or ColorSet2 is selected, the `colorScheme` property determines which of the 10 color variations
62492
+ * is applied.
62493
+ *
62494
+ * **Note:** When using ColorSet1 or ColorSet2 designs, the type property is still used for semantic purposes
62495
+ * but will be ignored for visual styling.
62496
+ *
62497
+ * @since 1.143.0
62498
+ */
62499
+ colorSet?:
62500
+ | (MessageStripColorSet | keyof typeof MessageStripColorSet)
62501
+ | PropertyBindingInfo
62502
+ | `{${string}}`;
62503
+
62504
+ /**
62505
+ * Determines the color scheme when using ColorSet1 or ColorSet2 colorSet variants. Available values are
62506
+ * 1 through 10, each providing a different color variation. This property is only effective when `colorSet`
62507
+ * is set to "ColorSet1" or "ColorSet2".
62508
+ *
62509
+ * @since 1.143.0
62510
+ */
62511
+ colorScheme?: int | PropertyBindingInfo | `{${string}}`;
62512
+
62364
62513
  /**
62365
62514
  * Determines a custom icon which is displayed. If none is set, the default icon for this message type is
62366
- * used.
62515
+ * used. **Note**: For ColorSet1 and ColorSet2 designs, no default icon is displayed unless explicitly provided.
62367
62516
  */
62368
62517
  customIcon?: URI | PropertyBindingInfo | `{${string}}`;
62369
62518
 
@@ -88975,11 +89124,6 @@ declare module "sap/m/PDFViewer" {
88975
89124
  * Optionally, this property can also be set to a data URI path or a blob URL, provided that this data
88976
89125
  * URI or blob URL is allowed in advance. For more information about URL filtering, see {@link https://ui5.sap.com/#/topic/91f3768f6f4d1014b6dd926db0e91070 URLList Validator Filtering}.
88977
89126
  *
88978
- * Source Validation: When the source is set, the PDFViewer automatically validates the resource using a
88979
- * GET request to ensure it exists and is accessible. This validation:
88980
- * - Prevents loading invalid or non-existent PDF files
88981
- * - If validation fails, error content is displayed instead of attempting PDF load
88982
- *
88983
89127
  *
88984
89128
  * @returns Value of property `source`
88985
89129
  */
@@ -89229,11 +89373,6 @@ declare module "sap/m/PDFViewer" {
89229
89373
  * Optionally, this property can also be set to a data URI path or a blob URL, provided that this data
89230
89374
  * URI or blob URL is allowed in advance. For more information about URL filtering, see {@link https://ui5.sap.com/#/topic/91f3768f6f4d1014b6dd926db0e91070 URLList Validator Filtering}.
89231
89375
  *
89232
- * Source Validation: When the source is set, the PDFViewer automatically validates the resource using a
89233
- * GET request to ensure it exists and is accessible. This validation:
89234
- * - Prevents loading invalid or non-existent PDF files
89235
- * - If validation fails, error content is displayed instead of attempting PDF load
89236
- *
89237
89376
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
89238
89377
  *
89239
89378
  *
@@ -89301,11 +89440,6 @@ declare module "sap/m/PDFViewer" {
89301
89440
  * Specifies the path to the PDF file to display. Can be set to a relative or an absolute path.
89302
89441
  * Optionally, this property can also be set to a data URI path or a blob URL, provided that this data
89303
89442
  * URI or blob URL is allowed in advance. For more information about URL filtering, see {@link https://ui5.sap.com/#/topic/91f3768f6f4d1014b6dd926db0e91070 URLList Validator Filtering}.
89304
- *
89305
- * Source Validation: When the source is set, the PDFViewer automatically validates the resource using a
89306
- * GET request to ensure it exists and is accessible. This validation:
89307
- * - Prevents loading invalid or non-existent PDF files
89308
- * - If validation fails, error content is displayed instead of attempting PDF load
89309
89443
  */
89310
89444
  source?: URI | PropertyBindingInfo | `{${string}}`;
89311
89445
 
@@ -110131,11 +110265,7 @@ declare module "sap/m/SearchField" {
110131
110265
 
110132
110266
  import { IShellBar } from "sap/f/library";
110133
110267
 
110134
- import {
110135
- IToolbarInteractiveControl,
110136
- IOverflowToolbarContent,
110137
- OverflowToolbarConfig,
110138
- } from "sap/m/library";
110268
+ import { IToolbarInteractiveControl } from "sap/m/library";
110139
110269
 
110140
110270
  import SuggestionItem from "sap/m/SuggestionItem";
110141
110271
 
@@ -110166,16 +110296,11 @@ declare module "sap/m/SearchField" {
110166
110296
  */
110167
110297
  export default class SearchField
110168
110298
  extends Control
110169
- implements
110170
- IFormContent,
110171
- IShellBar,
110172
- IToolbarInteractiveControl,
110173
- IOverflowToolbarContent
110299
+ implements IFormContent, IShellBar, IToolbarInteractiveControl
110174
110300
  {
110175
110301
  __implements__sap_ui_core_IFormContent: boolean;
110176
110302
  __implements__sap_f_IShellBar: boolean;
110177
110303
  __implements__sap_m_IToolbarInteractiveControl: boolean;
110178
- __implements__sap_m_IOverflowToolbarContent: boolean;
110179
110304
  /**
110180
110305
  * Constructor for a new SearchField.
110181
110306
  *
@@ -110678,14 +110803,6 @@ declare module "sap/m/SearchField" {
110678
110803
  * @returns Value of property `maxLength`
110679
110804
  */
110680
110805
  getMaxLength(): int;
110681
- /**
110682
- * Enables the `sap.m.SearchField` to be used inside sap.m.OverflowToolbar. Required by the {@link sap.m.IOverflowToolbarContent }
110683
- * interface.
110684
- *
110685
- *
110686
- * @returns Configuration information for the `sap.m.IOverflowToolbarContent` interface.
110687
- */
110688
- getOverflowToolbarConfig(): OverflowToolbarConfig;
110689
110806
  /**
110690
110807
  * Gets current value of property {@link #getPlaceholder placeholder}.
110691
110808
  *
@@ -111851,7 +111968,7 @@ declare module "sap/m/SegmentedButton" {
111851
111968
  *
111852
111969
  * Default value is `EqualSized`.
111853
111970
  *
111854
- * @since 1.42.0
111971
+ * @since 1.142.0
111855
111972
  *
111856
111973
  * @returns Value of property `contentMode`
111857
111974
  */
@@ -112075,7 +112192,7 @@ declare module "sap/m/SegmentedButton" {
112075
112192
  *
112076
112193
  * Default value is `EqualSized`.
112077
112194
  *
112078
- * @since 1.42.0
112195
+ * @since 1.142.0
112079
112196
  *
112080
112197
  * @returns Reference to `this` in order to allow method chaining
112081
112198
  */
@@ -112213,7 +112330,7 @@ declare module "sap/m/SegmentedButton" {
112213
112330
  * - **ContentFit**: Each button is sized according to its content.
112214
112331
  * - **EqualSized**: All buttons have equal width, regardless of their content.
112215
112332
  *
112216
- * @since 1.42.0
112333
+ * @since 1.142.0
112217
112334
  */
112218
112335
  contentMode?:
112219
112336
  | (SegmentedButtonContentMode | keyof typeof SegmentedButtonContentMode)
@@ -174307,6 +174424,8 @@ declare namespace sap {
174307
174424
 
174308
174425
  "sap/m/p13n/modules/AdaptationProvider": undefined;
174309
174426
 
174427
+ "sap/m/p13n/PersistenceProvider": undefined;
174428
+
174310
174429
  "sap/m/p13n/Popup": undefined;
174311
174430
 
174312
174431
  "sap/m/p13n/QueryPanel": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.1
1
+ // For Library Version: 1.143.1
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.1
1
+ // For Library Version: 1.143.1
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.142.1
1
+ // For Library Version: 1.143.1
2
2
 
3
3
  declare module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";