@openui5/ts-types 1.141.2 → 1.142.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/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.141.2
1
+ // For Library Version: 1.142.1
2
2
 
3
3
  declare module "sap/m/p13n/Engine" {
4
4
  /**
@@ -3288,6 +3288,15 @@ declare namespace sap {
3288
3288
  */
3289
3289
  itemRenamed?: (oEvent: UploadSetwithTable$ItemRenamedEvent) => void;
3290
3290
 
3291
+ /**
3292
+ * The event is triggered when the file renaming process is canceled.
3293
+ *
3294
+ * @since 1.142
3295
+ */
3296
+ itemRenameCanceled?: (
3297
+ oEvent: UploadSetwithTable$ItemRenameCanceledEvent
3298
+ ) => void;
3299
+
3291
3300
  /**
3292
3301
  * This event is fired right before the upload process begins.
3293
3302
  */
@@ -3507,6 +3516,16 @@ declare namespace sap {
3507
3516
  item?: sap.m.upload.UploadItem;
3508
3517
  }
3509
3518
 
3519
+ /**
3520
+ * Parameters of the UploadSetwithTable#itemRenameCanceled event.
3521
+ */
3522
+ interface UploadSetwithTable$ItemRenameCanceledEventParameters {
3523
+ /**
3524
+ * The renamed UI element is of UploadItem type.
3525
+ */
3526
+ item?: sap.m.upload.UploadItem;
3527
+ }
3528
+
3510
3529
  /**
3511
3530
  * Parameters of the UploadSetwithTable#itemRenamed event.
3512
3531
  */
@@ -5937,6 +5956,57 @@ declare namespace sap {
5937
5956
  */
5938
5957
  oListener?: object
5939
5958
  ): this;
5959
+ /**
5960
+ * Attaches event handler `fnFunction` to the {@link #event:itemRenameCanceled itemRenameCanceled} event
5961
+ * of this `sap.m.plugins.UploadSetwithTable`.
5962
+ *
5963
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
5964
+ * otherwise it will be bound to this `sap.m.plugins.UploadSetwithTable` itself.
5965
+ *
5966
+ * The event is triggered when the file renaming process is canceled.
5967
+ *
5968
+ * @since 1.142
5969
+ *
5970
+ * @returns Reference to `this` in order to allow method chaining
5971
+ */
5972
+ attachItemRenameCanceled(
5973
+ /**
5974
+ * An application-specific payload object that will be passed to the event handler along with the event
5975
+ * object when firing the event
5976
+ */
5977
+ oData: object,
5978
+ /**
5979
+ * The function to be called when the event occurs
5980
+ */
5981
+ fnFunction: (p1: UploadSetwithTable$ItemRenameCanceledEvent) => void,
5982
+ /**
5983
+ * Context object to call the event handler with. Defaults to this `sap.m.plugins.UploadSetwithTable` itself
5984
+ */
5985
+ oListener?: object
5986
+ ): this;
5987
+ /**
5988
+ * Attaches event handler `fnFunction` to the {@link #event:itemRenameCanceled itemRenameCanceled} event
5989
+ * of this `sap.m.plugins.UploadSetwithTable`.
5990
+ *
5991
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
5992
+ * otherwise it will be bound to this `sap.m.plugins.UploadSetwithTable` itself.
5993
+ *
5994
+ * The event is triggered when the file renaming process is canceled.
5995
+ *
5996
+ * @since 1.142
5997
+ *
5998
+ * @returns Reference to `this` in order to allow method chaining
5999
+ */
6000
+ attachItemRenameCanceled(
6001
+ /**
6002
+ * The function to be called when the event occurs
6003
+ */
6004
+ fnFunction: (p1: UploadSetwithTable$ItemRenameCanceledEvent) => void,
6005
+ /**
6006
+ * Context object to call the event handler with. Defaults to this `sap.m.plugins.UploadSetwithTable` itself
6007
+ */
6008
+ oListener?: object
6009
+ ): this;
5940
6010
  /**
5941
6011
  * Attaches event handler `fnFunction` to the {@link #event:itemRenamed itemRenamed} event of this `sap.m.plugins.UploadSetwithTable`.
5942
6012
  *
@@ -6315,6 +6385,26 @@ declare namespace sap {
6315
6385
  */
6316
6386
  oListener?: object
6317
6387
  ): this;
6388
+ /**
6389
+ * Detaches event handler `fnFunction` from the {@link #event:itemRenameCanceled itemRenameCanceled} event
6390
+ * of this `sap.m.plugins.UploadSetwithTable`.
6391
+ *
6392
+ * The passed function and listener object must match the ones used for event registration.
6393
+ *
6394
+ * @since 1.142
6395
+ *
6396
+ * @returns Reference to `this` in order to allow method chaining
6397
+ */
6398
+ detachItemRenameCanceled(
6399
+ /**
6400
+ * The function to be called, when the event occurs
6401
+ */
6402
+ fnFunction: (p1: UploadSetwithTable$ItemRenameCanceledEvent) => void,
6403
+ /**
6404
+ * Context object on which the given function had to be called
6405
+ */
6406
+ oListener?: object
6407
+ ): this;
6318
6408
  /**
6319
6409
  * Detaches event handler `fnFunction` from the {@link #event:itemRenamed itemRenamed} event of this `sap.m.plugins.UploadSetwithTable`.
6320
6410
  *
@@ -6493,6 +6583,20 @@ declare namespace sap {
6493
6583
  */
6494
6584
  mParameters?: sap.m.plugins.UploadSetwithTable$FileTypeMismatchEventParameters
6495
6585
  ): this;
6586
+ /**
6587
+ * Fires event {@link #event:itemRenameCanceled itemRenameCanceled} to attached listeners.
6588
+ *
6589
+ * @since 1.142
6590
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
6591
+ *
6592
+ * @returns Reference to `this` in order to allow method chaining
6593
+ */
6594
+ fireItemRenameCanceled(
6595
+ /**
6596
+ * Parameters to pass along with the event
6597
+ */
6598
+ mParameters?: sap.m.plugins.UploadSetwithTable$ItemRenameCanceledEventParameters
6599
+ ): this;
6496
6600
  /**
6497
6601
  * Fires event {@link #event:itemRenamed itemRenamed} to attached listeners.
6498
6602
  *
@@ -7381,6 +7485,14 @@ declare namespace sap {
7381
7485
  UploadSetwithTable
7382
7486
  >;
7383
7487
 
7488
+ /**
7489
+ * Event object of the UploadSetwithTable#itemRenameCanceled event.
7490
+ */
7491
+ type UploadSetwithTable$ItemRenameCanceledEvent = sap.ui.base.Event<
7492
+ UploadSetwithTable$ItemRenameCanceledEventParameters,
7493
+ UploadSetwithTable
7494
+ >;
7495
+
7384
7496
  /**
7385
7497
  * Event object of the UploadSetwithTable#itemRenamed event.
7386
7498
  */
@@ -29301,11 +29413,11 @@ declare namespace sap {
29301
29413
  rightButton?: sap.m.Button | string;
29302
29414
 
29303
29415
  /**
29304
- * In the Dialog focus is set first on the `beginButton` and then on `endButton`, when available. If another
29305
- * control needs to get the focus, set the `initialFocus` with the control which should be focused on. Setting
29306
- * `initialFocus` to input controls doesn't open the On-Screen keyboard on mobile device as, due to browser
29307
- * restriction, the On-Screen keyboard can't be opened with JavaScript code. The opening of On-Screen keyboard
29308
- * must be triggered by real user action.
29416
+ * In the Dialog, focus is initially set on the first focusable element, or on the dialog itself if no such
29417
+ * element is available. If another control needs to receive focus, set the `initialFocus` to the control
29418
+ * that should be focused. Setting `initialFocus` on input controls does not open the on-screen keyboard
29419
+ * on mobile devices. Due to browser restrictions, the on-screen keyboard can't be opened with JavaScript
29420
+ * code; it must be triggered explicitly by the user.
29309
29421
  *
29310
29422
  * @since 1.15.0
29311
29423
  */
@@ -38041,9 +38153,13 @@ declare namespace sap {
38041
38153
 
38042
38154
  /**
38043
38155
  * Specifies the path to the PDF file to display. Can be set to a relative or an absolute path.
38044
- * Optionally, this property can also be set to a data URI path or a blob URL in all major web browsers
38045
- * except Internet Explorer and Microsoft Edge, provided that this data URI or blob URL is allowed in advance.
38046
- * For more information about URL filtering, see {@link https://ui5.sap.com/#/topic/91f3768f6f4d1014b6dd926db0e91070 URLList Validator Filtering}.
38156
+ * Optionally, this property can also be set to a data URI path or a blob URL, provided that this data
38157
+ * 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}.
38158
+ *
38159
+ * Source Validation: When the source is set, the PDFViewer automatically validates the resource using a
38160
+ * GET request to ensure it exists and is accessible. This validation:
38161
+ * - Prevents loading invalid or non-existent PDF files
38162
+ * - If validation fails, error content is displayed instead of attempting PDF load
38047
38163
  */
38048
38164
  source?:
38049
38165
  | sap.ui.core.URI
@@ -38380,7 +38496,7 @@ declare namespace sap {
38380
38496
  * of the content.
38381
38497
  *
38382
38498
  * **Note:** There is limited browser support, hence the API is in experimental state. Browsers that currently
38383
- * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge 41.
38499
+ * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge.
38384
38500
  *
38385
38501
  * There are also some known issues with respect to the scrolling behavior and focus handling. A few are
38386
38502
  * given below:
@@ -40634,7 +40750,8 @@ declare namespace sap {
40634
40750
  interface $SegmentedButtonSettings extends sap.ui.core.$ControlSettings {
40635
40751
  /**
40636
40752
  * Defines the width of the SegmentedButton control. If not set, it uses the minimum required width to make
40637
- * all buttons inside of the same size (based on the biggest button).
40753
+ * all buttons inside of the same size (based on the biggest button). **Note:** This property functions
40754
+ * only when the {@link sap.m.SegmentedButton#getContentMode contentMode} is set to EqualSized.
40638
40755
  */
40639
40756
  width?:
40640
40757
  | sap.ui.core.CSSSize
@@ -40658,6 +40775,18 @@ declare namespace sap {
40658
40775
  */
40659
40776
  selectedKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
40660
40777
 
40778
+ /**
40779
+ * Defines how the content of the SegmentedButton is sized. Possible values:
40780
+ * - **ContentFit**: Each button is sized according to its content.
40781
+ * - **EqualSized**: All buttons have equal width, regardless of their content.
40782
+ *
40783
+ * @since 1.42.0
40784
+ */
40785
+ contentMode?:
40786
+ | sap.m.SegmentedButtonContentMode
40787
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
40788
+ | `{${string}}`;
40789
+
40661
40790
  /**
40662
40791
  * The buttons of the SegmentedButton control. The items set in this aggregation are used as an interface
40663
40792
  * for the buttons displayed by the control. Only the properties ID, icon, text, enabled and textDirections
@@ -40748,7 +40877,8 @@ declare namespace sap {
40748
40877
  | `{${string}}`;
40749
40878
 
40750
40879
  /**
40751
- * Sets the width of the buttons.
40880
+ * Sets the width of the buttons **Note:** This property functions only when the {@link sap.m.SegmentedButton#getContentMode contentMode }
40881
+ * is set to EqualSized.
40752
40882
  */
40753
40883
  width?:
40754
40884
  | sap.ui.core.CSSSize
@@ -41698,11 +41828,6 @@ declare namespace sap {
41698
41828
  * Determines which part of the control will remain fixed at the top of the page during vertical scrolling
41699
41829
  * as long as the control is in the viewport.
41700
41830
  *
41701
- * **Note:** Limited browser support. Browsers which do not support this feature:
41702
- * - Microsoft Internet Explorer
41703
- * - Microsoft Edge lower than version 41 (EdgeHTML 16)
41704
- * - Mozilla Firefox lower than version 59
41705
- *
41706
41831
  * @since 1.62
41707
41832
  */
41708
41833
  stickyMode?:
@@ -44679,6 +44804,47 @@ declare namespace sap {
44679
44804
  */
44680
44805
  renderMode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
44681
44806
 
44807
+ /**
44808
+ * The name property to be used in the HTML code for the tokenizer (e.g. for HTML forms that send data to
44809
+ * the server via submit).
44810
+ *
44811
+ * @since 1.142.0
44812
+ */
44813
+ name?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
44814
+
44815
+ /**
44816
+ * Determines whether the `Tokenizer` is in display only state.
44817
+ *
44818
+ * When set to `true`, the `Tokenizer` is not editable. This setting is used for forms in review mode.
44819
+ *
44820
+ * @since 1.142.0
44821
+ */
44822
+ displayOnly?:
44823
+ | boolean
44824
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
44825
+ | `{${string}}`;
44826
+
44827
+ /**
44828
+ * Defines whether tokens are displayed on multiple lines.
44829
+ *
44830
+ * @experimental As of version 1.142.
44831
+ */
44832
+ multiLine?:
44833
+ | boolean
44834
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
44835
+ | `{${string}}`;
44836
+
44837
+ /**
44838
+ * Defines whether "Clear All" button is present. Ensure `multiLine` is enabled, otherwise `showClearAll`
44839
+ * will have no effect.
44840
+ *
44841
+ * @experimental As of version 1.142.
44842
+ */
44843
+ showClearAll?:
44844
+ | boolean
44845
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
44846
+ | `{${string}}`;
44847
+
44682
44848
  /**
44683
44849
  * the currently displayed tokens
44684
44850
  */
@@ -47083,7 +47249,7 @@ declare namespace sap {
47083
47249
  /**
47084
47250
  * The list item action that fired the event
47085
47251
  */
47086
- itemAction?: sap.m.ListItemAction;
47252
+ action?: sap.m.ListItemAction;
47087
47253
 
47088
47254
  /**
47089
47255
  * The list item in which the action was performed
@@ -49004,6 +49170,11 @@ declare namespace sap {
49004
49170
  * The end date as a UI5Date or JavaScript Date object of the focused grid cell.
49005
49171
  */
49006
49172
  endDate?: object;
49173
+
49174
+ /**
49175
+ * The original browser event.
49176
+ */
49177
+ originalEvent?: object;
49007
49178
  }
49008
49179
 
49009
49180
  /**
@@ -51525,7 +51696,7 @@ declare namespace sap {
51525
51696
  /**
51526
51697
  * callback function to be called when the user closes the dialog
51527
51698
  */
51528
- onClose?: Function;
51699
+ onClose?: (p1: sap.m.MessageBox.Action | string | null) => void;
51529
51700
  /**
51530
51701
  * Title to be displayed in the alert dialog
51531
51702
  */
@@ -51654,7 +51825,7 @@ declare namespace sap {
51654
51825
  /**
51655
51826
  * Callback to be called when the user closes the dialog
51656
51827
  */
51657
- onClose?: Function;
51828
+ onClose?: (p1: sap.m.MessageBox.Action | string | null) => void;
51658
51829
  /**
51659
51830
  * Title to display in the confirmation dialog
51660
51831
  */
@@ -51780,7 +51951,7 @@ declare namespace sap {
51780
51951
  /**
51781
51952
  * Callback when the user closes the dialog
51782
51953
  */
51783
- onClose?: Function;
51954
+ onClose?: (p1: sap.m.MessageBox.Action | string | null) => void;
51784
51955
  /**
51785
51956
  * Title of the error dialog
51786
51957
  */
@@ -51903,7 +52074,7 @@ declare namespace sap {
51903
52074
  /**
51904
52075
  * Callback when the user closes the dialog
51905
52076
  */
51906
- onClose?: Function;
52077
+ onClose?: (p1: sap.m.MessageBox.Action | string | null) => void;
51907
52078
  /**
51908
52079
  * Title of the information dialog
51909
52080
  */
@@ -52054,7 +52225,7 @@ declare namespace sap {
52054
52225
  /**
52055
52226
  * Function to be called when the user taps a button or closes the message box.
52056
52227
  */
52057
- onClose?: Function;
52228
+ onClose?: (p1: sap.m.MessageBox.Action | string | null) => void;
52058
52229
  /**
52059
52230
  * ID to be used for the dialog. Intended for test scenarios, not recommended for productive apps
52060
52231
  */
@@ -52158,7 +52329,7 @@ declare namespace sap {
52158
52329
  /**
52159
52330
  * Callback when the user closes the dialog
52160
52331
  */
52161
- onClose?: Function;
52332
+ onClose?: (p1: sap.m.MessageBox.Action | string | null) => void;
52162
52333
  /**
52163
52334
  * Title of the success dialog
52164
52335
  */
@@ -52281,7 +52452,7 @@ declare namespace sap {
52281
52452
  /**
52282
52453
  * Callback when the user closes the dialog
52283
52454
  */
52284
- onClose?: Function;
52455
+ onClose?: (p1: sap.m.MessageBox.Action | string | null) => void;
52285
52456
  /**
52286
52457
  * Title of the warning dialog
52287
52458
  */
@@ -54889,6 +55060,15 @@ declare namespace sap {
54889
55060
  */
54890
55061
  mParameters?: object
54891
55062
  ): this;
55063
+ /**
55064
+ * See:
55065
+ * sap.ui.core.Control#getAccessibilityInfo
55066
+ *
55067
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
55068
+ *
55069
+ * @returns Current accessibility state of the Avatar
55070
+ */
55071
+ getAccessibilityInfo(): object;
54892
55072
  /**
54893
55073
  * Gets current value of property {@link #getActive active}.
54894
55074
  *
@@ -116520,9 +116700,13 @@ declare namespace sap {
116520
116700
  * Gets current value of property {@link #getSource source}.
116521
116701
  *
116522
116702
  * Specifies the path to the PDF file to display. Can be set to a relative or an absolute path.
116523
- * Optionally, this property can also be set to a data URI path or a blob URL in all major web browsers
116524
- * except Internet Explorer and Microsoft Edge, provided that this data URI or blob URL is allowed in advance.
116525
- * For more information about URL filtering, see {@link https://ui5.sap.com/#/topic/91f3768f6f4d1014b6dd926db0e91070 URLList Validator Filtering}.
116703
+ * Optionally, this property can also be set to a data URI path or a blob URL, provided that this data
116704
+ * 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}.
116705
+ *
116706
+ * Source Validation: When the source is set, the PDFViewer automatically validates the resource using a
116707
+ * GET request to ensure it exists and is accessible. This validation:
116708
+ * - Prevents loading invalid or non-existent PDF files
116709
+ * - If validation fails, error content is displayed instead of attempting PDF load
116526
116710
  *
116527
116711
  *
116528
116712
  * @returns Value of property `source`
@@ -116770,9 +116954,13 @@ declare namespace sap {
116770
116954
  * Sets a new value for property {@link #getSource source}.
116771
116955
  *
116772
116956
  * Specifies the path to the PDF file to display. Can be set to a relative or an absolute path.
116773
- * Optionally, this property can also be set to a data URI path or a blob URL in all major web browsers
116774
- * except Internet Explorer and Microsoft Edge, provided that this data URI or blob URL is allowed in advance.
116775
- * For more information about URL filtering, see {@link https://ui5.sap.com/#/topic/91f3768f6f4d1014b6dd926db0e91070 URLList Validator Filtering}.
116957
+ * Optionally, this property can also be set to a data URI path or a blob URL, provided that this data
116958
+ * 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}.
116959
+ *
116960
+ * Source Validation: When the source is set, the PDFViewer automatically validates the resource using a
116961
+ * GET request to ensure it exists and is accessible. This validation:
116962
+ * - Prevents loading invalid or non-existent PDF files
116963
+ * - If validation fails, error content is displayed instead of attempting PDF load
116776
116964
  *
116777
116965
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
116778
116966
  *
@@ -118008,7 +118196,7 @@ declare namespace sap {
118008
118196
  * of the content.
118009
118197
  *
118010
118198
  * **Note:** There is limited browser support, hence the API is in experimental state. Browsers that currently
118011
- * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge 41.
118199
+ * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge.
118012
118200
  *
118013
118201
  * There are also some known issues with respect to the scrolling behavior and focus handling. A few are
118014
118202
  * given below:
@@ -118808,7 +118996,7 @@ declare namespace sap {
118808
118996
  * of the content.
118809
118997
  *
118810
118998
  * **Note:** There is limited browser support, hence the API is in experimental state. Browsers that currently
118811
- * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge 41.
118999
+ * support this feature are Chrome (desktop and mobile), Safari (desktop and mobile) and Edge.
118812
119000
  *
118813
119001
  * There are also some known issues with respect to the scrolling behavior and focus handling. A few are
118814
119002
  * given below:
@@ -128678,11 +128866,13 @@ declare namespace sap {
128678
128866
  implements
128679
128867
  sap.ui.core.IFormContent,
128680
128868
  sap.f.IShellBar,
128681
- sap.m.IToolbarInteractiveControl
128869
+ sap.m.IToolbarInteractiveControl,
128870
+ sap.m.IOverflowToolbarContent
128682
128871
  {
128683
128872
  __implements__sap_ui_core_IFormContent: boolean;
128684
128873
  __implements__sap_f_IShellBar: boolean;
128685
128874
  __implements__sap_m_IToolbarInteractiveControl: boolean;
128875
+ __implements__sap_m_IOverflowToolbarContent: boolean;
128686
128876
  /**
128687
128877
  * Constructor for a new SearchField.
128688
128878
  *
@@ -129185,6 +129375,14 @@ declare namespace sap {
129185
129375
  * @returns Value of property `maxLength`
129186
129376
  */
129187
129377
  getMaxLength(): int;
129378
+ /**
129379
+ * Enables the `sap.m.SearchField` to be used inside sap.m.OverflowToolbar. Required by the {@link sap.m.IOverflowToolbarContent }
129380
+ * interface.
129381
+ *
129382
+ *
129383
+ * @returns Configuration information for the `sap.m.IOverflowToolbarContent` interface.
129384
+ */
129385
+ getOverflowToolbarConfig(): sap.m.OverflowToolbarConfig;
129188
129386
  /**
129189
129387
  * Gets current value of property {@link #getPlaceholder placeholder}.
129190
129388
  *
@@ -130067,6 +130265,20 @@ declare namespace sap {
130067
130265
  * @deprecated As of version 1.28.0. replaced by `items` aggregation
130068
130266
  */
130069
130267
  getButtons(): sap.m.Button[];
130268
+ /**
130269
+ * Gets current value of property {@link #getContentMode contentMode}.
130270
+ *
130271
+ * Defines how the content of the SegmentedButton is sized. Possible values:
130272
+ * - **ContentFit**: Each button is sized according to its content.
130273
+ * - **EqualSized**: All buttons have equal width, regardless of their content.
130274
+ *
130275
+ * Default value is `EqualSized`.
130276
+ *
130277
+ * @since 1.42.0
130278
+ *
130279
+ * @returns Value of property `contentMode`
130280
+ */
130281
+ getContentMode(): sap.m.SegmentedButtonContentMode;
130070
130282
  /**
130071
130283
  * Gets current value of property {@link #getEnabled enabled}.
130072
130284
  *
@@ -130126,7 +130338,8 @@ declare namespace sap {
130126
130338
  * Gets current value of property {@link #getWidth width}.
130127
130339
  *
130128
130340
  * Defines the width of the SegmentedButton control. If not set, it uses the minimum required width to make
130129
- * all buttons inside of the same size (based on the biggest button).
130341
+ * all buttons inside of the same size (based on the biggest button). **Note:** This property functions
130342
+ * only when the {@link sap.m.SegmentedButton#getContentMode contentMode} is set to EqualSized.
130130
130343
  *
130131
130344
  *
130132
130345
  * @returns Value of property `width`
@@ -130274,6 +130487,27 @@ declare namespace sap {
130274
130487
  */
130275
130488
  oItem: sap.m.SegmentedButtonItem
130276
130489
  ): void;
130490
+ /**
130491
+ * Sets a new value for property {@link #getContentMode contentMode}.
130492
+ *
130493
+ * Defines how the content of the SegmentedButton is sized. Possible values:
130494
+ * - **ContentFit**: Each button is sized according to its content.
130495
+ * - **EqualSized**: All buttons have equal width, regardless of their content.
130496
+ *
130497
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
130498
+ *
130499
+ * Default value is `EqualSized`.
130500
+ *
130501
+ * @since 1.42.0
130502
+ *
130503
+ * @returns Reference to `this` in order to allow method chaining
130504
+ */
130505
+ setContentMode(
130506
+ /**
130507
+ * New value for property `contentMode`
130508
+ */
130509
+ sContentMode?: sap.m.SegmentedButtonContentMode
130510
+ ): this;
130277
130511
  /**
130278
130512
  * Sets a new value for property {@link #getEnabled enabled}.
130279
130513
  *
@@ -130339,7 +130573,8 @@ declare namespace sap {
130339
130573
  * Sets a new value for property {@link #getWidth width}.
130340
130574
  *
130341
130575
  * Defines the width of the SegmentedButton control. If not set, it uses the minimum required width to make
130342
- * all buttons inside of the same size (based on the biggest button).
130576
+ * all buttons inside of the same size (based on the biggest button). **Note:** This property functions
130577
+ * only when the {@link sap.m.SegmentedButton#getContentMode contentMode} is set to EqualSized.
130343
130578
  *
130344
130579
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
130345
130580
  *
@@ -130545,7 +130780,8 @@ declare namespace sap {
130545
130780
  /**
130546
130781
  * Gets current value of property {@link #getWidth width}.
130547
130782
  *
130548
- * Sets the width of the buttons.
130783
+ * Sets the width of the buttons **Note:** This property functions only when the {@link sap.m.SegmentedButton#getContentMode contentMode }
130784
+ * is set to EqualSized.
130549
130785
  *
130550
130786
  *
130551
130787
  * @returns Value of property `width`
@@ -130595,7 +130831,8 @@ declare namespace sap {
130595
130831
  /**
130596
130832
  * Sets a new value for property {@link #getWidth width}.
130597
130833
  *
130598
- * Sets the width of the buttons.
130834
+ * Sets the width of the buttons **Note:** This property functions only when the {@link sap.m.SegmentedButton#getContentMode contentMode }
130835
+ * is set to EqualSized.
130599
130836
  *
130600
130837
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
130601
130838
  *
@@ -137614,11 +137851,6 @@ declare namespace sap {
137614
137851
  * Determines which part of the control will remain fixed at the top of the page during vertical scrolling
137615
137852
  * as long as the control is in the viewport.
137616
137853
  *
137617
- * **Note:** Limited browser support. Browsers which do not support this feature:
137618
- * - Microsoft Internet Explorer
137619
- * - Microsoft Edge lower than version 41 (EdgeHTML 16)
137620
- * - Mozilla Firefox lower than version 59
137621
- *
137622
137854
  * Default value is `None`.
137623
137855
  *
137624
137856
  * @since 1.62
@@ -138252,11 +138484,6 @@ declare namespace sap {
138252
138484
  * Determines which part of the control will remain fixed at the top of the page during vertical scrolling
138253
138485
  * as long as the control is in the viewport.
138254
138486
  *
138255
- * **Note:** Limited browser support. Browsers which do not support this feature:
138256
- * - Microsoft Internet Explorer
138257
- * - Microsoft Edge lower than version 41 (EdgeHTML 16)
138258
- * - Mozilla Firefox lower than version 59
138259
- *
138260
138487
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
138261
138488
  *
138262
138489
  * Default value is `None`.
@@ -154001,7 +154228,12 @@ declare namespace sap {
154001
154228
  *
154002
154229
  * @since 1.22
154003
154230
  */
154004
- class Tokenizer extends sap.ui.core.Control {
154231
+ class Tokenizer
154232
+ extends sap.ui.core.Control
154233
+ implements sap.ui.core.ISemanticFormContent, sap.ui.core.IFormContent
154234
+ {
154235
+ __implements__sap_ui_core_ISemanticFormContent: boolean;
154236
+ __implements__sap_ui_core_IFormContent: boolean;
154005
154237
  /**
154006
154238
  * Constructor for a new Tokenizer.
154007
154239
  *
@@ -154512,6 +154744,20 @@ declare namespace sap {
154512
154744
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
154513
154745
  */
154514
154746
  getAriaLabelledBy(): sap.ui.core.ID[];
154747
+ /**
154748
+ * Gets current value of property {@link #getDisplayOnly displayOnly}.
154749
+ *
154750
+ * Determines whether the `Tokenizer` is in display only state.
154751
+ *
154752
+ * When set to `true`, the `Tokenizer` is not editable. This setting is used for forms in review mode.
154753
+ *
154754
+ * Default value is `false`.
154755
+ *
154756
+ * @since 1.142.0
154757
+ *
154758
+ * @returns Value of property `displayOnly`
154759
+ */
154760
+ getDisplayOnly(): boolean;
154515
154761
  /**
154516
154762
  * Gets current value of property {@link #getEditable editable}.
154517
154763
  *
@@ -154562,6 +154808,31 @@ declare namespace sap {
154562
154808
  * @returns Value of property `maxWidth`
154563
154809
  */
154564
154810
  getMaxWidth(): sap.ui.core.CSSSize;
154811
+ /**
154812
+ * Gets current value of property {@link #getMultiLine multiLine}.
154813
+ *
154814
+ * Defines whether tokens are displayed on multiple lines.
154815
+ *
154816
+ * Default value is `false`.
154817
+ *
154818
+ * @experimental As of version 1.142.
154819
+ *
154820
+ * @returns Value of property `multiLine`
154821
+ */
154822
+ getMultiLine(): boolean;
154823
+ /**
154824
+ * Gets current value of property {@link #getName name}.
154825
+ *
154826
+ * The name property to be used in the HTML code for the tokenizer (e.g. for HTML forms that send data to
154827
+ * the server via submit).
154828
+ *
154829
+ * Default value is `empty string`.
154830
+ *
154831
+ * @since 1.142.0
154832
+ *
154833
+ * @returns Value of property `name`
154834
+ */
154835
+ getName(): string;
154565
154836
  /**
154566
154837
  * Gets current value of property {@link #getRenderMode renderMode}.
154567
154838
  *
@@ -154600,6 +154871,19 @@ declare namespace sap {
154600
154871
  * @returns Array of selected tokens or empty array
154601
154872
  */
154602
154873
  getSelectedTokens(): sap.m.Token[];
154874
+ /**
154875
+ * Gets current value of property {@link #getShowClearAll showClearAll}.
154876
+ *
154877
+ * Defines whether "Clear All" button is present. Ensure `multiLine` is enabled, otherwise `showClearAll`
154878
+ * will have no effect.
154879
+ *
154880
+ * Default value is `false`.
154881
+ *
154882
+ * @experimental As of version 1.142.
154883
+ *
154884
+ * @returns Value of property `showClearAll`
154885
+ */
154886
+ getShowClearAll(): boolean;
154603
154887
  /**
154604
154888
  * Gets content of aggregation {@link #getTokens tokens}.
154605
154889
  *
@@ -154767,6 +155051,27 @@ declare namespace sap {
154767
155051
  */
154768
155052
  bSelect: boolean
154769
155053
  ): this;
155054
+ /**
155055
+ * Sets a new value for property {@link #getDisplayOnly displayOnly}.
155056
+ *
155057
+ * Determines whether the `Tokenizer` is in display only state.
155058
+ *
155059
+ * When set to `true`, the `Tokenizer` is not editable. This setting is used for forms in review mode.
155060
+ *
155061
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
155062
+ *
155063
+ * Default value is `false`.
155064
+ *
155065
+ * @since 1.142.0
155066
+ *
155067
+ * @returns Reference to `this` in order to allow method chaining
155068
+ */
155069
+ setDisplayOnly(
155070
+ /**
155071
+ * New value for property `displayOnly`
155072
+ */
155073
+ bDisplayOnly?: boolean
155074
+ ): this;
154770
155075
  /**
154771
155076
  * Sets a new value for property {@link #getEditable editable}.
154772
155077
  *
@@ -154834,6 +155139,45 @@ declare namespace sap {
154834
155139
  */
154835
155140
  sMaxWidth?: sap.ui.core.CSSSize
154836
155141
  ): this;
155142
+ /**
155143
+ * Sets a new value for property {@link #getMultiLine multiLine}.
155144
+ *
155145
+ * Defines whether tokens are displayed on multiple lines.
155146
+ *
155147
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
155148
+ *
155149
+ * Default value is `false`.
155150
+ *
155151
+ * @experimental As of version 1.142.
155152
+ *
155153
+ * @returns Reference to `this` in order to allow method chaining
155154
+ */
155155
+ setMultiLine(
155156
+ /**
155157
+ * New value for property `multiLine`
155158
+ */
155159
+ bMultiLine?: boolean
155160
+ ): this;
155161
+ /**
155162
+ * Sets a new value for property {@link #getName name}.
155163
+ *
155164
+ * The name property to be used in the HTML code for the tokenizer (e.g. for HTML forms that send data to
155165
+ * the server via submit).
155166
+ *
155167
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
155168
+ *
155169
+ * Default value is `empty string`.
155170
+ *
155171
+ * @since 1.142.0
155172
+ *
155173
+ * @returns Reference to `this` in order to allow method chaining
155174
+ */
155175
+ setName(
155176
+ /**
155177
+ * New value for property `name`
155178
+ */
155179
+ sName?: string
155180
+ ): this;
154837
155181
  /**
154838
155182
  * Function sets the tokenizer's width in pixels.
154839
155183
  */
@@ -154878,6 +155222,26 @@ declare namespace sap {
154878
155222
  */
154879
155223
  bShouldRenderTabIndex: boolean
154880
155224
  ): void;
155225
+ /**
155226
+ * Sets a new value for property {@link #getShowClearAll showClearAll}.
155227
+ *
155228
+ * Defines whether "Clear All" button is present. Ensure `multiLine` is enabled, otherwise `showClearAll`
155229
+ * will have no effect.
155230
+ *
155231
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
155232
+ *
155233
+ * Default value is `false`.
155234
+ *
155235
+ * @experimental As of version 1.142.
155236
+ *
155237
+ * @returns Reference to `this` in order to allow method chaining
155238
+ */
155239
+ setShowClearAll(
155240
+ /**
155241
+ * New value for property `showClearAll`
155242
+ */
155243
+ bShowClearAll?: boolean
155244
+ ): this;
154881
155245
  /**
154882
155246
  * Sets a new value for property {@link #getWidth width}.
154883
155247
  *
@@ -167691,9 +168055,6 @@ declare namespace sap {
167691
168055
  * Sets grid layout for rendering the table popins. The grid width for each table popin is comparatively
167692
168056
  * larger than `GridSmall`, hence this allows less content to be rendered in a single popin row.
167693
168057
  *
167694
- * **Note:** This feature is currently not supported with Internet Explorer and Edge (version lower than
167695
- * 16) browsers.
167696
- *
167697
168058
  * @since 1.52
167698
168059
  */
167699
168060
  GridLarge = "GridLarge",
@@ -167702,9 +168063,6 @@ declare namespace sap {
167702
168063
  * this allows more content to be rendered in a single popin row. This value defines small grid width for
167703
168064
  * the table popins.
167704
168065
  *
167705
- * **Note:** This feature is currently not supported with Internet Explorer and Edge (version lower than
167706
- * 16) browsers.
167707
- *
167708
168066
  * @since 1.52
167709
168067
  */
167710
168068
  GridSmall = "GridSmall",
@@ -167864,6 +168222,25 @@ declare namespace sap {
167864
168222
  */
167865
168223
  XXSmall = "XXSmall",
167866
168224
  }
168225
+ /**
168226
+ * Different SegmentedButton items sizing modes.
168227
+ *
168228
+ * This enum is part of the 'sap/m/library' module export and must be accessed by the property 'SegmentedButtonContentMode'.
168229
+ */
168230
+ enum SegmentedButtonContentMode {
168231
+ /**
168232
+ * Each item fits its content and extra space is placed after the last item.
168233
+ *
168234
+ * @since 1.42
168235
+ */
168236
+ ContentFit = "ContentFit",
168237
+ /**
168238
+ * All items are sized equally to fill the available space.
168239
+ *
168240
+ * @since 1.42
168241
+ */
168242
+ EqualSized = "EqualSized",
168243
+ }
167867
168244
  /**
167868
168245
  * Defines the control that will receive the initial focus in the `sap.m.SelectDialog` or `sap.m.TableSelectDialog`.
167869
168246
  *