@openui5/types 1.141.2 → 1.143.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/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.141.2
1
+ // For Library Version: 1.143.0
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
  *
@@ -2944,9 +2974,6 @@ declare module "sap/m/library" {
2944
2974
  * Sets grid layout for rendering the table popins. The grid width for each table popin is comparatively
2945
2975
  * larger than `GridSmall`, hence this allows less content to be rendered in a single popin row.
2946
2976
  *
2947
- * **Note:** This feature is currently not supported with Internet Explorer and Edge (version lower than
2948
- * 16) browsers.
2949
- *
2950
2977
  * @since 1.52
2951
2978
  */
2952
2979
  GridLarge = "GridLarge",
@@ -2955,9 +2982,6 @@ declare module "sap/m/library" {
2955
2982
  * this allows more content to be rendered in a single popin row. This value defines small grid width for
2956
2983
  * the table popins.
2957
2984
  *
2958
- * **Note:** This feature is currently not supported with Internet Explorer and Edge (version lower than
2959
- * 16) browsers.
2960
- *
2961
2985
  * @since 1.52
2962
2986
  */
2963
2987
  GridSmall = "GridSmall",
@@ -3145,6 +3169,25 @@ declare module "sap/m/library" {
3145
3169
  */
3146
3170
  XXSmall = "XXSmall",
3147
3171
  }
3172
+ /**
3173
+ * Different SegmentedButton items sizing modes.
3174
+ *
3175
+ * This enum is part of the 'sap/m/library' module export and must be accessed by the property 'SegmentedButtonContentMode'.
3176
+ */
3177
+ export enum SegmentedButtonContentMode {
3178
+ /**
3179
+ * Each item fits its content and extra space is placed after the last item.
3180
+ *
3181
+ * @since 1.142.0
3182
+ */
3183
+ ContentFit = "ContentFit",
3184
+ /**
3185
+ * All items are sized equally to fill the available space.
3186
+ *
3187
+ * @since 1.142.0
3188
+ */
3189
+ EqualSized = "EqualSized",
3190
+ }
3148
3191
  /**
3149
3192
  * A string type that represents column ratio.
3150
3193
  *
@@ -7459,6 +7502,15 @@ declare module "sap/m/Avatar" {
7459
7502
  */
7460
7503
  mParameters?: object
7461
7504
  ): this;
7505
+ /**
7506
+ * See:
7507
+ * sap.ui.core.Control#getAccessibilityInfo
7508
+ *
7509
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
7510
+ *
7511
+ * @returns Current accessibility state of the Avatar
7512
+ */
7513
+ getAccessibilityInfo(): object;
7462
7514
  /**
7463
7515
  * Gets current value of property {@link #getActive active}.
7464
7516
  *
@@ -24279,11 +24331,11 @@ declare module "sap/m/Dialog" {
24279
24331
  rightButton?: Button | string;
24280
24332
 
24281
24333
  /**
24282
- * In the Dialog focus is set first on the `beginButton` and then on `endButton`, when available. If another
24283
- * control needs to get the focus, set the `initialFocus` with the control which should be focused on. Setting
24284
- * `initialFocus` to input controls doesn't open the On-Screen keyboard on mobile device as, due to browser
24285
- * restriction, the On-Screen keyboard can't be opened with JavaScript code. The opening of On-Screen keyboard
24286
- * must be triggered by real user action.
24334
+ * In the Dialog, focus is initially set on the first focusable element, or on the dialog itself if no such
24335
+ * element is available. If another control needs to receive focus, set the `initialFocus` to the control
24336
+ * that should be focused. Setting `initialFocus` on input controls does not open the on-screen keyboard
24337
+ * on mobile devices. Due to browser restrictions, the on-screen keyboard can't be opened with JavaScript
24338
+ * code; it must be triggered explicitly by the user.
24287
24339
  *
24288
24340
  * @since 1.15.0
24289
24341
  */
@@ -53415,7 +53467,7 @@ declare module "sap/m/ListBase" {
53415
53467
  /**
53416
53468
  * The list item action that fired the event
53417
53469
  */
53418
- itemAction?: ListItemAction;
53470
+ action?: ListItemAction;
53419
53471
 
53420
53472
  /**
53421
53473
  * The list item in which the action was performed
@@ -58148,7 +58200,7 @@ declare module "sap/m/MessageBox" {
58148
58200
  /**
58149
58201
  * callback function to be called when the user closes the dialog
58150
58202
  */
58151
- onClose?: Function;
58203
+ onClose?: (p1: (Action | keyof typeof Action) | string | null) => void;
58152
58204
  /**
58153
58205
  * Title to be displayed in the alert dialog
58154
58206
  */
@@ -58277,7 +58329,7 @@ declare module "sap/m/MessageBox" {
58277
58329
  /**
58278
58330
  * Callback to be called when the user closes the dialog
58279
58331
  */
58280
- onClose?: Function;
58332
+ onClose?: (p1: (Action | keyof typeof Action) | string | null) => void;
58281
58333
  /**
58282
58334
  * Title to display in the confirmation dialog
58283
58335
  */
@@ -58403,7 +58455,7 @@ declare module "sap/m/MessageBox" {
58403
58455
  /**
58404
58456
  * Callback when the user closes the dialog
58405
58457
  */
58406
- onClose?: Function;
58458
+ onClose?: (p1: (Action | keyof typeof Action) | string | null) => void;
58407
58459
  /**
58408
58460
  * Title of the error dialog
58409
58461
  */
@@ -58526,7 +58578,7 @@ declare module "sap/m/MessageBox" {
58526
58578
  /**
58527
58579
  * Callback when the user closes the dialog
58528
58580
  */
58529
- onClose?: Function;
58581
+ onClose?: (p1: (Action | keyof typeof Action) | string | null) => void;
58530
58582
  /**
58531
58583
  * Title of the information dialog
58532
58584
  */
@@ -58677,7 +58729,7 @@ declare module "sap/m/MessageBox" {
58677
58729
  /**
58678
58730
  * Function to be called when the user taps a button or closes the message box.
58679
58731
  */
58680
- onClose?: Function;
58732
+ onClose?: (p1: (Action | keyof typeof Action) | string | null) => void;
58681
58733
  /**
58682
58734
  * ID to be used for the dialog. Intended for test scenarios, not recommended for productive apps
58683
58735
  */
@@ -58781,7 +58833,7 @@ declare module "sap/m/MessageBox" {
58781
58833
  /**
58782
58834
  * Callback when the user closes the dialog
58783
58835
  */
58784
- onClose?: Function;
58836
+ onClose?: (p1: (Action | keyof typeof Action) | string | null) => void;
58785
58837
  /**
58786
58838
  * Title of the success dialog
58787
58839
  */
@@ -58904,7 +58956,7 @@ declare module "sap/m/MessageBox" {
58904
58956
  /**
58905
58957
  * Callback when the user closes the dialog
58906
58958
  */
58907
- onClose?: Function;
58959
+ onClose?: (p1: (Action | keyof typeof Action) | string | null) => void;
58908
58960
  /**
58909
58961
  * Title of the warning dialog
58910
58962
  */
@@ -61822,6 +61874,8 @@ declare module "sap/m/MessageStrip" {
61822
61874
 
61823
61875
  import Event from "sap/ui/base/Event";
61824
61876
 
61877
+ import { MessageStripColorSet } from "sap/m/library";
61878
+
61825
61879
  import { URI } from "sap/ui/core/library";
61826
61880
 
61827
61881
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -61836,7 +61890,8 @@ declare module "sap/m/MessageStrip" {
61836
61890
  /**
61837
61891
  * MessageStrip is a control that enables the embedding of application-related messages in the application.
61838
61892
  * Overview: The message strip displays 4 types of messages, each with a corresponding semantic color and
61839
- * 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.
61840
61895
  *
61841
61896
  * Each message can have a close button, so that it can be removed from the UI if needed.
61842
61897
  *
@@ -61848,10 +61903,14 @@ declare module "sap/m/MessageStrip" {
61848
61903
  * - <u> With version 1.85
61849
61904
  * - <br>
61850
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
+ *
61851
61910
  * Dynamically generated Message Strip: To meet the accessibility requirements when using dynamically generated
61852
61911
  * Message Strip you must implement it alongside `sap.ui.core.InvisibleMessage`. This will allow screen
61853
61912
  * readers to announce it in real time. We suggest such dynamically generated message strips to be announced
61854
- * 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."
61855
61914
  *
61856
61915
  * Usage: When to use:
61857
61916
  * - You want to provide information or status update within the detail area of an object When not
@@ -62039,6 +62098,41 @@ declare module "sap/m/MessageStrip" {
62039
62098
  */
62040
62099
  mParameters?: object
62041
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;
62042
62136
  /**
62043
62137
  * Gets content of aggregation {@link #getControls controls}.
62044
62138
  *
@@ -62053,7 +62147,7 @@ declare module "sap/m/MessageStrip" {
62053
62147
  * Gets current value of property {@link #getCustomIcon customIcon}.
62054
62148
  *
62055
62149
  * Determines a custom icon which is displayed. If none is set, the default icon for this message type is
62056
- * used.
62150
+ * used. **Note**: For ColorSet1 and ColorSet2 designs, no default icon is displayed unless explicitly provided.
62057
62151
  *
62058
62152
  * Default value is `empty string`.
62059
62153
  *
@@ -62191,11 +62285,60 @@ declare module "sap/m/MessageStrip" {
62191
62285
  */
62192
62286
  vControl: int | string | Link
62193
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;
62194
62337
  /**
62195
62338
  * Sets a new value for property {@link #getCustomIcon customIcon}.
62196
62339
  *
62197
62340
  * Determines a custom icon which is displayed. If none is set, the default icon for this message type is
62198
- * used.
62341
+ * used. **Note**: For ColorSet1 and ColorSet2 designs, no default icon is displayed unless explicitly provided.
62199
62342
  *
62200
62343
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
62201
62344
  *
@@ -62339,9 +62482,37 @@ declare module "sap/m/MessageStrip" {
62339
62482
  | PropertyBindingInfo
62340
62483
  | `{${string}}`;
62341
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
+
62342
62513
  /**
62343
62514
  * Determines a custom icon which is displayed. If none is set, the default icon for this message type is
62344
- * used.
62515
+ * used. **Note**: For ColorSet1 and ColorSet2 designs, no default icon is displayed unless explicitly provided.
62345
62516
  */
62346
62517
  customIcon?: URI | PropertyBindingInfo | `{${string}}`;
62347
62518
 
@@ -88950,9 +89121,8 @@ declare module "sap/m/PDFViewer" {
88950
89121
  * Gets current value of property {@link #getSource source}.
88951
89122
  *
88952
89123
  * Specifies the path to the PDF file to display. Can be set to a relative or an absolute path.
88953
- * Optionally, this property can also be set to a data URI path or a blob URL in all major web browsers
88954
- * except Internet Explorer and Microsoft Edge, provided that this data URI or blob URL is allowed in advance.
88955
- * For more information about URL filtering, see {@link https://ui5.sap.com/#/topic/91f3768f6f4d1014b6dd926db0e91070 URLList Validator Filtering}.
89124
+ * Optionally, this property can also be set to a data URI path or a blob URL, provided that this data
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}.
88956
89126
  *
88957
89127
  *
88958
89128
  * @returns Value of property `source`
@@ -89200,9 +89370,8 @@ declare module "sap/m/PDFViewer" {
89200
89370
  * Sets a new value for property {@link #getSource source}.
89201
89371
  *
89202
89372
  * Specifies the path to the PDF file to display. Can be set to a relative or an absolute path.
89203
- * Optionally, this property can also be set to a data URI path or a blob URL in all major web browsers
89204
- * except Internet Explorer and Microsoft Edge, provided that this data URI or blob URL is allowed in advance.
89205
- * For more information about URL filtering, see {@link https://ui5.sap.com/#/topic/91f3768f6f4d1014b6dd926db0e91070 URLList Validator Filtering}.
89373
+ * Optionally, this property can also be set to a data URI path or a blob URL, provided that this data
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}.
89206
89375
  *
89207
89376
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
89208
89377
  *
@@ -89269,9 +89438,8 @@ declare module "sap/m/PDFViewer" {
89269
89438
 
89270
89439
  /**
89271
89440
  * Specifies the path to the PDF file to display. Can be set to a relative or an absolute path.
89272
- * Optionally, this property can also be set to a data URI path or a blob URL in all major web browsers
89273
- * except Internet Explorer and Microsoft Edge, provided that this data URI or blob URL is allowed in advance.
89274
- * For more information about URL filtering, see {@link https://ui5.sap.com/#/topic/91f3768f6f4d1014b6dd926db0e91070 URLList Validator Filtering}.
89441
+ * Optionally, this property can also be set to a data URI path or a blob URL, provided that this data
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}.
89275
89443
  */
89276
89444
  source?: URI | PropertyBindingInfo | `{${string}}`;
89277
89445
 
@@ -90647,7 +90815,7 @@ declare module "sap/m/PlanningCalendar" {
90647
90815
  * of the content.
90648
90816
  *
90649
90817
  * **Note:** There is limited browser support, hence the API is in experimental state. Browsers that currently
90650
- * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge 41.
90818
+ * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge.
90651
90819
  *
90652
90820
  * There are also some known issues with respect to the scrolling behavior and focus handling. A few are
90653
90821
  * given below:
@@ -91457,7 +91625,7 @@ declare module "sap/m/PlanningCalendar" {
91457
91625
  * of the content.
91458
91626
  *
91459
91627
  * **Note:** There is limited browser support, hence the API is in experimental state. Browsers that currently
91460
- * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge 41.
91628
+ * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge.
91461
91629
  *
91462
91630
  * There are also some known issues with respect to the scrolling behavior and focus handling. A few are
91463
91631
  * given below:
@@ -91721,7 +91889,7 @@ declare module "sap/m/PlanningCalendar" {
91721
91889
  * of the content.
91722
91890
  *
91723
91891
  * **Note:** There is limited browser support, hence the API is in experimental state. Browsers that currently
91724
- * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge 41.
91892
+ * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge.
91725
91893
  *
91726
91894
  * There are also some known issues with respect to the scrolling behavior and focus handling. A few are
91727
91895
  * given below:
@@ -97606,6 +97774,57 @@ declare module "sap/m/plugins/UploadSetwithTable" {
97606
97774
  */
97607
97775
  oListener?: object
97608
97776
  ): this;
97777
+ /**
97778
+ * Attaches event handler `fnFunction` to the {@link #event:itemRenameCanceled itemRenameCanceled} event
97779
+ * of this `sap.m.plugins.UploadSetwithTable`.
97780
+ *
97781
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
97782
+ * otherwise it will be bound to this `sap.m.plugins.UploadSetwithTable` itself.
97783
+ *
97784
+ * The event is triggered when the file renaming process is canceled.
97785
+ *
97786
+ * @since 1.142
97787
+ *
97788
+ * @returns Reference to `this` in order to allow method chaining
97789
+ */
97790
+ attachItemRenameCanceled(
97791
+ /**
97792
+ * An application-specific payload object that will be passed to the event handler along with the event
97793
+ * object when firing the event
97794
+ */
97795
+ oData: object,
97796
+ /**
97797
+ * The function to be called when the event occurs
97798
+ */
97799
+ fnFunction: (p1: UploadSetwithTable$ItemRenameCanceledEvent) => void,
97800
+ /**
97801
+ * Context object to call the event handler with. Defaults to this `sap.m.plugins.UploadSetwithTable` itself
97802
+ */
97803
+ oListener?: object
97804
+ ): this;
97805
+ /**
97806
+ * Attaches event handler `fnFunction` to the {@link #event:itemRenameCanceled itemRenameCanceled} event
97807
+ * of this `sap.m.plugins.UploadSetwithTable`.
97808
+ *
97809
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
97810
+ * otherwise it will be bound to this `sap.m.plugins.UploadSetwithTable` itself.
97811
+ *
97812
+ * The event is triggered when the file renaming process is canceled.
97813
+ *
97814
+ * @since 1.142
97815
+ *
97816
+ * @returns Reference to `this` in order to allow method chaining
97817
+ */
97818
+ attachItemRenameCanceled(
97819
+ /**
97820
+ * The function to be called when the event occurs
97821
+ */
97822
+ fnFunction: (p1: UploadSetwithTable$ItemRenameCanceledEvent) => void,
97823
+ /**
97824
+ * Context object to call the event handler with. Defaults to this `sap.m.plugins.UploadSetwithTable` itself
97825
+ */
97826
+ oListener?: object
97827
+ ): this;
97609
97828
  /**
97610
97829
  * Attaches event handler `fnFunction` to the {@link #event:itemRenamed itemRenamed} event of this `sap.m.plugins.UploadSetwithTable`.
97611
97830
  *
@@ -97982,6 +98201,26 @@ declare module "sap/m/plugins/UploadSetwithTable" {
97982
98201
  */
97983
98202
  oListener?: object
97984
98203
  ): this;
98204
+ /**
98205
+ * Detaches event handler `fnFunction` from the {@link #event:itemRenameCanceled itemRenameCanceled} event
98206
+ * of this `sap.m.plugins.UploadSetwithTable`.
98207
+ *
98208
+ * The passed function and listener object must match the ones used for event registration.
98209
+ *
98210
+ * @since 1.142
98211
+ *
98212
+ * @returns Reference to `this` in order to allow method chaining
98213
+ */
98214
+ detachItemRenameCanceled(
98215
+ /**
98216
+ * The function to be called, when the event occurs
98217
+ */
98218
+ fnFunction: (p1: UploadSetwithTable$ItemRenameCanceledEvent) => void,
98219
+ /**
98220
+ * Context object on which the given function had to be called
98221
+ */
98222
+ oListener?: object
98223
+ ): this;
97985
98224
  /**
97986
98225
  * Detaches event handler `fnFunction` from the {@link #event:itemRenamed itemRenamed} event of this `sap.m.plugins.UploadSetwithTable`.
97987
98226
  *
@@ -98160,6 +98399,20 @@ declare module "sap/m/plugins/UploadSetwithTable" {
98160
98399
  */
98161
98400
  mParameters?: UploadSetwithTable$FileTypeMismatchEventParameters
98162
98401
  ): this;
98402
+ /**
98403
+ * Fires event {@link #event:itemRenameCanceled itemRenameCanceled} to attached listeners.
98404
+ *
98405
+ * @since 1.142
98406
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
98407
+ *
98408
+ * @returns Reference to `this` in order to allow method chaining
98409
+ */
98410
+ fireItemRenameCanceled(
98411
+ /**
98412
+ * Parameters to pass along with the event
98413
+ */
98414
+ mParameters?: UploadSetwithTable$ItemRenameCanceledEventParameters
98415
+ ): this;
98163
98416
  /**
98164
98417
  * Fires event {@link #event:itemRenamed itemRenamed} to attached listeners.
98165
98418
  *
@@ -99114,6 +99367,15 @@ declare module "sap/m/plugins/UploadSetwithTable" {
99114
99367
  */
99115
99368
  itemRenamed?: (oEvent: UploadSetwithTable$ItemRenamedEvent) => void;
99116
99369
 
99370
+ /**
99371
+ * The event is triggered when the file renaming process is canceled.
99372
+ *
99373
+ * @since 1.142
99374
+ */
99375
+ itemRenameCanceled?: (
99376
+ oEvent: UploadSetwithTable$ItemRenameCanceledEvent
99377
+ ) => void;
99378
+
99117
99379
  /**
99118
99380
  * This event is fired right before the upload process begins.
99119
99381
  */
@@ -99278,6 +99540,24 @@ declare module "sap/m/plugins/UploadSetwithTable" {
99278
99540
  UploadSetwithTable
99279
99541
  >;
99280
99542
 
99543
+ /**
99544
+ * Parameters of the UploadSetwithTable#itemRenameCanceled event.
99545
+ */
99546
+ export interface UploadSetwithTable$ItemRenameCanceledEventParameters {
99547
+ /**
99548
+ * The renamed UI element is of UploadItem type.
99549
+ */
99550
+ item?: UploadItem;
99551
+ }
99552
+
99553
+ /**
99554
+ * Event object of the UploadSetwithTable#itemRenameCanceled event.
99555
+ */
99556
+ export type UploadSetwithTable$ItemRenameCanceledEvent = Event<
99557
+ UploadSetwithTable$ItemRenameCanceledEventParameters,
99558
+ UploadSetwithTable
99559
+ >;
99560
+
99281
99561
  /**
99282
99562
  * Parameters of the UploadSetwithTable#itemRenamed event.
99283
99563
  */
@@ -111262,6 +111542,7 @@ declare module "sap/m/SegmentedButton" {
111262
111542
  import {
111263
111543
  IOverflowToolbarContent,
111264
111544
  IToolbarInteractiveControl,
111545
+ SegmentedButtonContentMode,
111265
111546
  } from "sap/m/library";
111266
111547
 
111267
111548
  import Button from "sap/m/Button";
@@ -111678,6 +111959,20 @@ declare module "sap/m/SegmentedButton" {
111678
111959
  * @deprecated As of version 1.28.0. replaced by `items` aggregation
111679
111960
  */
111680
111961
  getButtons(): Button[];
111962
+ /**
111963
+ * Gets current value of property {@link #getContentMode contentMode}.
111964
+ *
111965
+ * Defines how the content of the SegmentedButton is sized. Possible values:
111966
+ * - **ContentFit**: Each button is sized according to its content.
111967
+ * - **EqualSized**: All buttons have equal width, regardless of their content.
111968
+ *
111969
+ * Default value is `EqualSized`.
111970
+ *
111971
+ * @since 1.142.0
111972
+ *
111973
+ * @returns Value of property `contentMode`
111974
+ */
111975
+ getContentMode(): SegmentedButtonContentMode;
111681
111976
  /**
111682
111977
  * Gets current value of property {@link #getEnabled enabled}.
111683
111978
  *
@@ -111737,7 +112032,8 @@ declare module "sap/m/SegmentedButton" {
111737
112032
  * Gets current value of property {@link #getWidth width}.
111738
112033
  *
111739
112034
  * Defines the width of the SegmentedButton control. If not set, it uses the minimum required width to make
111740
- * all buttons inside of the same size (based on the biggest button).
112035
+ * all buttons inside of the same size (based on the biggest button). **Note:** This property functions
112036
+ * only when the {@link sap.m.SegmentedButton#getContentMode contentMode} is set to EqualSized.
111741
112037
  *
111742
112038
  *
111743
112039
  * @returns Value of property `width`
@@ -111885,6 +112181,29 @@ declare module "sap/m/SegmentedButton" {
111885
112181
  */
111886
112182
  oItem: SegmentedButtonItem
111887
112183
  ): void;
112184
+ /**
112185
+ * Sets a new value for property {@link #getContentMode contentMode}.
112186
+ *
112187
+ * Defines how the content of the SegmentedButton is sized. Possible values:
112188
+ * - **ContentFit**: Each button is sized according to its content.
112189
+ * - **EqualSized**: All buttons have equal width, regardless of their content.
112190
+ *
112191
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
112192
+ *
112193
+ * Default value is `EqualSized`.
112194
+ *
112195
+ * @since 1.142.0
112196
+ *
112197
+ * @returns Reference to `this` in order to allow method chaining
112198
+ */
112199
+ setContentMode(
112200
+ /**
112201
+ * New value for property `contentMode`
112202
+ */
112203
+ sContentMode?:
112204
+ | SegmentedButtonContentMode
112205
+ | keyof typeof SegmentedButtonContentMode
112206
+ ): this;
111888
112207
  /**
111889
112208
  * Sets a new value for property {@link #getEnabled enabled}.
111890
112209
  *
@@ -111950,7 +112269,8 @@ declare module "sap/m/SegmentedButton" {
111950
112269
  * Sets a new value for property {@link #getWidth width}.
111951
112270
  *
111952
112271
  * Defines the width of the SegmentedButton control. If not set, it uses the minimum required width to make
111953
- * all buttons inside of the same size (based on the biggest button).
112272
+ * all buttons inside of the same size (based on the biggest button). **Note:** This property functions
112273
+ * only when the {@link sap.m.SegmentedButton#getContentMode contentMode} is set to EqualSized.
111954
112274
  *
111955
112275
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
111956
112276
  *
@@ -111986,7 +112306,8 @@ declare module "sap/m/SegmentedButton" {
111986
112306
  export interface $SegmentedButtonSettings extends $ControlSettings {
111987
112307
  /**
111988
112308
  * Defines the width of the SegmentedButton control. If not set, it uses the minimum required width to make
111989
- * all buttons inside of the same size (based on the biggest button).
112309
+ * all buttons inside of the same size (based on the biggest button). **Note:** This property functions
112310
+ * only when the {@link sap.m.SegmentedButton#getContentMode contentMode} is set to EqualSized.
111990
112311
  */
111991
112312
  width?: CSSSize | PropertyBindingInfo | `{${string}}`;
111992
112313
 
@@ -112004,6 +112325,18 @@ declare module "sap/m/SegmentedButton" {
112004
112325
  */
112005
112326
  selectedKey?: string | PropertyBindingInfo;
112006
112327
 
112328
+ /**
112329
+ * Defines how the content of the SegmentedButton is sized. Possible values:
112330
+ * - **ContentFit**: Each button is sized according to its content.
112331
+ * - **EqualSized**: All buttons have equal width, regardless of their content.
112332
+ *
112333
+ * @since 1.142.0
112334
+ */
112335
+ contentMode?:
112336
+ | (SegmentedButtonContentMode | keyof typeof SegmentedButtonContentMode)
112337
+ | PropertyBindingInfo
112338
+ | `{${string}}`;
112339
+
112007
112340
  /**
112008
112341
  * The buttons of the SegmentedButton control. The items set in this aggregation are used as an interface
112009
112342
  * for the buttons displayed by the control. Only the properties ID, icon, text, enabled and textDirections
@@ -112310,7 +112643,8 @@ declare module "sap/m/SegmentedButtonItem" {
112310
112643
  /**
112311
112644
  * Gets current value of property {@link #getWidth width}.
112312
112645
  *
112313
- * Sets the width of the buttons.
112646
+ * Sets the width of the buttons **Note:** This property functions only when the {@link sap.m.SegmentedButton#getContentMode contentMode }
112647
+ * is set to EqualSized.
112314
112648
  *
112315
112649
  *
112316
112650
  * @returns Value of property `width`
@@ -112360,7 +112694,8 @@ declare module "sap/m/SegmentedButtonItem" {
112360
112694
  /**
112361
112695
  * Sets a new value for property {@link #getWidth width}.
112362
112696
  *
112363
- * Sets the width of the buttons.
112697
+ * Sets the width of the buttons **Note:** This property functions only when the {@link sap.m.SegmentedButton#getContentMode contentMode }
112698
+ * is set to EqualSized.
112364
112699
  *
112365
112700
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
112366
112701
  *
@@ -112390,7 +112725,8 @@ declare module "sap/m/SegmentedButtonItem" {
112390
112725
  visible?: boolean | PropertyBindingInfo | `{${string}}`;
112391
112726
 
112392
112727
  /**
112393
- * Sets the width of the buttons.
112728
+ * Sets the width of the buttons **Note:** This property functions only when the {@link sap.m.SegmentedButton#getContentMode contentMode }
112729
+ * is set to EqualSized.
112394
112730
  */
112395
112731
  width?: CSSSize | PropertyBindingInfo | `{${string}}`;
112396
112732
 
@@ -129026,11 +129362,6 @@ declare module "sap/m/SinglePlanningCalendar" {
129026
129362
  * Determines which part of the control will remain fixed at the top of the page during vertical scrolling
129027
129363
  * as long as the control is in the viewport.
129028
129364
  *
129029
- * **Note:** Limited browser support. Browsers which do not support this feature:
129030
- * - Microsoft Internet Explorer
129031
- * - Microsoft Edge lower than version 41 (EdgeHTML 16)
129032
- * - Mozilla Firefox lower than version 59
129033
- *
129034
129365
  * Default value is `None`.
129035
129366
  *
129036
129367
  * @since 1.62
@@ -129668,11 +129999,6 @@ declare module "sap/m/SinglePlanningCalendar" {
129668
129999
  * Determines which part of the control will remain fixed at the top of the page during vertical scrolling
129669
130000
  * as long as the control is in the viewport.
129670
130001
  *
129671
- * **Note:** Limited browser support. Browsers which do not support this feature:
129672
- * - Microsoft Internet Explorer
129673
- * - Microsoft Edge lower than version 41 (EdgeHTML 16)
129674
- * - Mozilla Firefox lower than version 59
129675
- *
129676
130002
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
129677
130003
  *
129678
130004
  * Default value is `None`.
@@ -129759,11 +130085,6 @@ declare module "sap/m/SinglePlanningCalendar" {
129759
130085
  * Determines which part of the control will remain fixed at the top of the page during vertical scrolling
129760
130086
  * as long as the control is in the viewport.
129761
130087
  *
129762
- * **Note:** Limited browser support. Browsers which do not support this feature:
129763
- * - Microsoft Internet Explorer
129764
- * - Microsoft Edge lower than version 41 (EdgeHTML 16)
129765
- * - Mozilla Firefox lower than version 59
129766
- *
129767
130088
  * @since 1.62
129768
130089
  */
129769
130090
  stickyMode?:
@@ -130198,6 +130519,11 @@ declare module "sap/m/SinglePlanningCalendar" {
130198
130519
  * The end date as a UI5Date or JavaScript Date object of the focused grid cell.
130199
130520
  */
130200
130521
  endDate?: object;
130522
+
130523
+ /**
130524
+ * The original browser event.
130525
+ */
130526
+ originalEvent?: object;
130201
130527
  }
130202
130528
 
130203
130529
  /**
@@ -153731,7 +154057,12 @@ declare module "sap/m/Token" {
153731
154057
  declare module "sap/m/Tokenizer" {
153732
154058
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
153733
154059
 
153734
- import { ID, CSSSize } from "sap/ui/core/library";
154060
+ import {
154061
+ ISemanticFormContent,
154062
+ IFormContent,
154063
+ ID,
154064
+ CSSSize,
154065
+ } from "sap/ui/core/library";
153735
154066
 
153736
154067
  import Token from "sap/m/Token";
153737
154068
 
@@ -153757,7 +154088,12 @@ declare module "sap/m/Tokenizer" {
153757
154088
  *
153758
154089
  * @since 1.22
153759
154090
  */
153760
- export default class Tokenizer extends Control {
154091
+ export default class Tokenizer
154092
+ extends Control
154093
+ implements ISemanticFormContent, IFormContent
154094
+ {
154095
+ __implements__sap_ui_core_ISemanticFormContent: boolean;
154096
+ __implements__sap_ui_core_IFormContent: boolean;
153761
154097
  /**
153762
154098
  * Constructor for a new Tokenizer.
153763
154099
  *
@@ -154268,6 +154604,20 @@ declare module "sap/m/Tokenizer" {
154268
154604
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
154269
154605
  */
154270
154606
  getAriaLabelledBy(): ID[];
154607
+ /**
154608
+ * Gets current value of property {@link #getDisplayOnly displayOnly}.
154609
+ *
154610
+ * Determines whether the `Tokenizer` is in display only state.
154611
+ *
154612
+ * When set to `true`, the `Tokenizer` is not editable. This setting is used for forms in review mode.
154613
+ *
154614
+ * Default value is `false`.
154615
+ *
154616
+ * @since 1.142.0
154617
+ *
154618
+ * @returns Value of property `displayOnly`
154619
+ */
154620
+ getDisplayOnly(): boolean;
154271
154621
  /**
154272
154622
  * Gets current value of property {@link #getEditable editable}.
154273
154623
  *
@@ -154318,6 +154668,31 @@ declare module "sap/m/Tokenizer" {
154318
154668
  * @returns Value of property `maxWidth`
154319
154669
  */
154320
154670
  getMaxWidth(): CSSSize;
154671
+ /**
154672
+ * Gets current value of property {@link #getMultiLine multiLine}.
154673
+ *
154674
+ * Defines whether tokens are displayed on multiple lines.
154675
+ *
154676
+ * Default value is `false`.
154677
+ *
154678
+ * @experimental As of version 1.142.
154679
+ *
154680
+ * @returns Value of property `multiLine`
154681
+ */
154682
+ getMultiLine(): boolean;
154683
+ /**
154684
+ * Gets current value of property {@link #getName name}.
154685
+ *
154686
+ * The name property to be used in the HTML code for the tokenizer (e.g. for HTML forms that send data to
154687
+ * the server via submit).
154688
+ *
154689
+ * Default value is `empty string`.
154690
+ *
154691
+ * @since 1.142.0
154692
+ *
154693
+ * @returns Value of property `name`
154694
+ */
154695
+ getName(): string;
154321
154696
  /**
154322
154697
  * Gets current value of property {@link #getRenderMode renderMode}.
154323
154698
  *
@@ -154356,6 +154731,19 @@ declare module "sap/m/Tokenizer" {
154356
154731
  * @returns Array of selected tokens or empty array
154357
154732
  */
154358
154733
  getSelectedTokens(): Token[];
154734
+ /**
154735
+ * Gets current value of property {@link #getShowClearAll showClearAll}.
154736
+ *
154737
+ * Defines whether "Clear All" button is present. Ensure `multiLine` is enabled, otherwise `showClearAll`
154738
+ * will have no effect.
154739
+ *
154740
+ * Default value is `false`.
154741
+ *
154742
+ * @experimental As of version 1.142.
154743
+ *
154744
+ * @returns Value of property `showClearAll`
154745
+ */
154746
+ getShowClearAll(): boolean;
154359
154747
  /**
154360
154748
  * Gets content of aggregation {@link #getTokens tokens}.
154361
154749
  *
@@ -154523,6 +154911,27 @@ declare module "sap/m/Tokenizer" {
154523
154911
  */
154524
154912
  bSelect: boolean
154525
154913
  ): this;
154914
+ /**
154915
+ * Sets a new value for property {@link #getDisplayOnly displayOnly}.
154916
+ *
154917
+ * Determines whether the `Tokenizer` is in display only state.
154918
+ *
154919
+ * When set to `true`, the `Tokenizer` is not editable. This setting is used for forms in review mode.
154920
+ *
154921
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
154922
+ *
154923
+ * Default value is `false`.
154924
+ *
154925
+ * @since 1.142.0
154926
+ *
154927
+ * @returns Reference to `this` in order to allow method chaining
154928
+ */
154929
+ setDisplayOnly(
154930
+ /**
154931
+ * New value for property `displayOnly`
154932
+ */
154933
+ bDisplayOnly?: boolean
154934
+ ): this;
154526
154935
  /**
154527
154936
  * Sets a new value for property {@link #getEditable editable}.
154528
154937
  *
@@ -154590,6 +154999,45 @@ declare module "sap/m/Tokenizer" {
154590
154999
  */
154591
155000
  sMaxWidth?: CSSSize
154592
155001
  ): this;
155002
+ /**
155003
+ * Sets a new value for property {@link #getMultiLine multiLine}.
155004
+ *
155005
+ * Defines whether tokens are displayed on multiple lines.
155006
+ *
155007
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
155008
+ *
155009
+ * Default value is `false`.
155010
+ *
155011
+ * @experimental As of version 1.142.
155012
+ *
155013
+ * @returns Reference to `this` in order to allow method chaining
155014
+ */
155015
+ setMultiLine(
155016
+ /**
155017
+ * New value for property `multiLine`
155018
+ */
155019
+ bMultiLine?: boolean
155020
+ ): this;
155021
+ /**
155022
+ * Sets a new value for property {@link #getName name}.
155023
+ *
155024
+ * The name property to be used in the HTML code for the tokenizer (e.g. for HTML forms that send data to
155025
+ * the server via submit).
155026
+ *
155027
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
155028
+ *
155029
+ * Default value is `empty string`.
155030
+ *
155031
+ * @since 1.142.0
155032
+ *
155033
+ * @returns Reference to `this` in order to allow method chaining
155034
+ */
155035
+ setName(
155036
+ /**
155037
+ * New value for property `name`
155038
+ */
155039
+ sName?: string
155040
+ ): this;
154593
155041
  /**
154594
155042
  * Function sets the tokenizer's width in pixels.
154595
155043
  */
@@ -154634,6 +155082,26 @@ declare module "sap/m/Tokenizer" {
154634
155082
  */
154635
155083
  bShouldRenderTabIndex: boolean
154636
155084
  ): void;
155085
+ /**
155086
+ * Sets a new value for property {@link #getShowClearAll showClearAll}.
155087
+ *
155088
+ * Defines whether "Clear All" button is present. Ensure `multiLine` is enabled, otherwise `showClearAll`
155089
+ * will have no effect.
155090
+ *
155091
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
155092
+ *
155093
+ * Default value is `false`.
155094
+ *
155095
+ * @experimental As of version 1.142.
155096
+ *
155097
+ * @returns Reference to `this` in order to allow method chaining
155098
+ */
155099
+ setShowClearAll(
155100
+ /**
155101
+ * New value for property `showClearAll`
155102
+ */
155103
+ bShowClearAll?: boolean
155104
+ ): this;
154637
155105
  /**
154638
155106
  * Sets a new value for property {@link #getWidth width}.
154639
155107
  *
@@ -154686,6 +155154,38 @@ declare module "sap/m/Tokenizer" {
154686
155154
  */
154687
155155
  renderMode?: string | PropertyBindingInfo;
154688
155156
 
155157
+ /**
155158
+ * The name property to be used in the HTML code for the tokenizer (e.g. for HTML forms that send data to
155159
+ * the server via submit).
155160
+ *
155161
+ * @since 1.142.0
155162
+ */
155163
+ name?: string | PropertyBindingInfo;
155164
+
155165
+ /**
155166
+ * Determines whether the `Tokenizer` is in display only state.
155167
+ *
155168
+ * When set to `true`, the `Tokenizer` is not editable. This setting is used for forms in review mode.
155169
+ *
155170
+ * @since 1.142.0
155171
+ */
155172
+ displayOnly?: boolean | PropertyBindingInfo | `{${string}}`;
155173
+
155174
+ /**
155175
+ * Defines whether tokens are displayed on multiple lines.
155176
+ *
155177
+ * @experimental As of version 1.142.
155178
+ */
155179
+ multiLine?: boolean | PropertyBindingInfo | `{${string}}`;
155180
+
155181
+ /**
155182
+ * Defines whether "Clear All" button is present. Ensure `multiLine` is enabled, otherwise `showClearAll`
155183
+ * will have no effect.
155184
+ *
155185
+ * @experimental As of version 1.142.
155186
+ */
155187
+ showClearAll?: boolean | PropertyBindingInfo | `{${string}}`;
155188
+
154689
155189
  /**
154690
155190
  * the currently displayed tokens
154691
155191
  */
@@ -173924,6 +174424,8 @@ declare namespace sap {
173924
174424
 
173925
174425
  "sap/m/p13n/modules/AdaptationProvider": undefined;
173926
174426
 
174427
+ "sap/m/p13n/PersistenceProvider": undefined;
174428
+
173927
174429
  "sap/m/p13n/Popup": undefined;
173928
174430
 
173929
174431
  "sap/m/p13n/QueryPanel": undefined;