@openui5/ts-types 1.99.0 → 1.100.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.99.0
1
+ // For Library Version: 1.100.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -185,7 +185,7 @@ declare namespace sap {
185
185
  /**
186
186
  * The image to update. If undefined, a new image will be created.
187
187
  */
188
- oImageControl: sap.m.Image,
188
+ oImage: sap.m.Image,
189
189
  /**
190
190
  * oImageControl's parentControl.
191
191
  */
@@ -8071,6 +8071,16 @@ declare namespace sap {
8071
8071
  | boolean
8072
8072
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
8073
8073
 
8074
+ /**
8075
+ * @SINCE 1.100.0
8076
+ *
8077
+ * Allows the user to use the same name for a file while editing the file name. 'Same name' refers to an
8078
+ * already existing file name in the list.
8079
+ */
8080
+ sameFilenameAllowed?:
8081
+ | boolean
8082
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
8083
+
8074
8084
  /**
8075
8085
  * @SINCE 1.90
8076
8086
  *
@@ -8080,6 +8090,25 @@ declare namespace sap {
8080
8090
  | sap.m.upload.UploaderHttpRequestMethod
8081
8091
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
8082
8092
 
8093
+ /**
8094
+ * Lets the user select multiple files from the same folder and then upload them.
8095
+ *
8096
+ * If multiple property is set to false, the control shows an error message if more than one file is chosen
8097
+ * for drag & drop.
8098
+ */
8099
+ multiple?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
8100
+
8101
+ /**
8102
+ * @SINCE 1.100.0
8103
+ *
8104
+ * Defines the selection mode of the control (e.g. None, SingleSelect, MultiSelect, SingleSelectLeft, SingleSelectMaster).
8105
+ * Since the UploadSet reacts like a list for attachments, the API is close to the ListBase Interface. sap.m.ListMode.Delete
8106
+ * mode is not supported and will be automatically set to sap.m.ListMode.None. In addition, if instant upload
8107
+ * is set to false the mode sap.m.ListMode.MultiSelect is not supported and will be automatically set to
8108
+ * sap.m.ListMode.None.
8109
+ */
8110
+ mode?: sap.m.ListMode | sap.ui.base.ManagedObject.PropertyBindingInfo;
8111
+
8083
8112
  /**
8084
8113
  * Items representing files that have already been uploaded.
8085
8114
  */
@@ -8119,6 +8148,13 @@ declare namespace sap {
8119
8148
  */
8120
8149
  afterItemAdded?: (oEvent: sap.ui.base.Event) => void;
8121
8150
 
8151
+ /**
8152
+ * @SINCE 1.100.0
8153
+ *
8154
+ * The event is triggered when the file name is changed.
8155
+ */
8156
+ fileRenamed?: (oEvent: sap.ui.base.Event) => void;
8157
+
8122
8158
  /**
8123
8159
  * @SINCE 1.83
8124
8160
  *
@@ -8283,6 +8319,13 @@ declare namespace sap {
8283
8319
  */
8284
8320
  uploadUrl?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
8285
8321
 
8322
+ /**
8323
+ * @SINCE 1.100.0
8324
+ *
8325
+ * Defines the selected state of the UploadSetItem.
8326
+ */
8327
+ selected?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
8328
+
8286
8329
  /**
8287
8330
  * Attributes of the item.
8288
8331
  */
@@ -9334,6 +9377,51 @@ declare namespace sap {
9334
9377
  */
9335
9378
  oListener?: object
9336
9379
  ): this;
9380
+ /**
9381
+ * @SINCE 1.100.0
9382
+ *
9383
+ * Attaches event handler `fnFunction` to the {@link #event:fileRenamed fileRenamed} event of this `sap.m.upload.UploadSet`.
9384
+ *
9385
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
9386
+ * otherwise it will be bound to this `sap.m.upload.UploadSet` itself.
9387
+ *
9388
+ * The event is triggered when the file name is changed.
9389
+ */
9390
+ attachFileRenamed(
9391
+ /**
9392
+ * An application-specific payload object that will be passed to the event handler along with the event
9393
+ * object when firing the event
9394
+ */
9395
+ oData: object,
9396
+ /**
9397
+ * The function to be called when the event occurs
9398
+ */
9399
+ fnFunction: (p1: sap.ui.base.Event) => void,
9400
+ /**
9401
+ * Context object to call the event handler with. Defaults to this `sap.m.upload.UploadSet` itself
9402
+ */
9403
+ oListener?: object
9404
+ ): this;
9405
+ /**
9406
+ * @SINCE 1.100.0
9407
+ *
9408
+ * Attaches event handler `fnFunction` to the {@link #event:fileRenamed fileRenamed} event of this `sap.m.upload.UploadSet`.
9409
+ *
9410
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
9411
+ * otherwise it will be bound to this `sap.m.upload.UploadSet` itself.
9412
+ *
9413
+ * The event is triggered when the file name is changed.
9414
+ */
9415
+ attachFileRenamed(
9416
+ /**
9417
+ * The function to be called when the event occurs
9418
+ */
9419
+ fnFunction: (p1: sap.ui.base.Event) => void,
9420
+ /**
9421
+ * Context object to call the event handler with. Defaults to this `sap.m.upload.UploadSet` itself
9422
+ */
9423
+ oListener?: object
9424
+ ): this;
9337
9425
  /**
9338
9426
  * Attaches event handler `fnFunction` to the {@link #event:fileSizeExceeded fileSizeExceeded} event of
9339
9427
  * this `sap.m.upload.UploadSet`.
@@ -9872,6 +9960,23 @@ declare namespace sap {
9872
9960
  */
9873
9961
  oListener?: object
9874
9962
  ): this;
9963
+ /**
9964
+ * @SINCE 1.100.0
9965
+ *
9966
+ * Detaches event handler `fnFunction` from the {@link #event:fileRenamed fileRenamed} event of this `sap.m.upload.UploadSet`.
9967
+ *
9968
+ * The passed function and listener object must match the ones used for event registration.
9969
+ */
9970
+ detachFileRenamed(
9971
+ /**
9972
+ * The function to be called, when the event occurs
9973
+ */
9974
+ fnFunction: (p1: sap.ui.base.Event) => void,
9975
+ /**
9976
+ * Context object on which the given function had to be called
9977
+ */
9978
+ oListener?: object
9979
+ ): this;
9875
9980
  /**
9876
9981
  * Detaches event handler `fnFunction` from the {@link #event:fileSizeExceeded fileSizeExceeded} event of
9877
9982
  * this `sap.m.upload.UploadSet`.
@@ -10148,6 +10253,22 @@ declare namespace sap {
10148
10253
  item?: sap.m.upload.UploadSetItem;
10149
10254
  }
10150
10255
  ): this;
10256
+ /**
10257
+ * @SINCE 1.100.0
10258
+ *
10259
+ * Fires event {@link #event:fileRenamed fileRenamed} to attached listeners.
10260
+ */
10261
+ fireFileRenamed(
10262
+ /**
10263
+ * Parameters to pass along with the event
10264
+ */
10265
+ mParameters?: {
10266
+ /**
10267
+ * The renamed UI element as an UploadSetItem.
10268
+ */
10269
+ item?: sap.m.upload.UploadSetItem;
10270
+ }
10271
+ ): this;
10151
10272
  /**
10152
10273
  * Fires event {@link #event:fileSizeExceeded fileSizeExceeded} to attached listeners.
10153
10274
  */
@@ -10369,6 +10490,31 @@ declare namespace sap {
10369
10490
  * If this property is not set, any file can be uploaded.
10370
10491
  */
10371
10492
  getMediaTypes(): string[];
10493
+ /**
10494
+ * @SINCE 1.100.0
10495
+ *
10496
+ * Gets current value of property {@link #getMode mode}.
10497
+ *
10498
+ * Defines the selection mode of the control (e.g. None, SingleSelect, MultiSelect, SingleSelectLeft, SingleSelectMaster).
10499
+ * Since the UploadSet reacts like a list for attachments, the API is close to the ListBase Interface. sap.m.ListMode.Delete
10500
+ * mode is not supported and will be automatically set to sap.m.ListMode.None. In addition, if instant upload
10501
+ * is set to false the mode sap.m.ListMode.MultiSelect is not supported and will be automatically set to
10502
+ * sap.m.ListMode.None.
10503
+ *
10504
+ * Default value is `MultiSelect`.
10505
+ */
10506
+ getMode(): sap.m.ListMode;
10507
+ /**
10508
+ * Gets current value of property {@link #getMultiple multiple}.
10509
+ *
10510
+ * Lets the user select multiple files from the same folder and then upload them.
10511
+ *
10512
+ * If multiple property is set to false, the control shows an error message if more than one file is chosen
10513
+ * for drag & drop.
10514
+ *
10515
+ * Default value is `false`.
10516
+ */
10517
+ getMultiple(): boolean;
10372
10518
  /**
10373
10519
  * Gets current value of property {@link #getNoDataDescription noDataDescription}.
10374
10520
  *
@@ -10381,6 +10527,29 @@ declare namespace sap {
10381
10527
  * Defines custom text for the 'No data' text label.
10382
10528
  */
10383
10529
  getNoDataText(): string;
10530
+ /**
10531
+ * @SINCE 1.100.0
10532
+ *
10533
+ * Gets current value of property {@link #getSameFilenameAllowed sameFilenameAllowed}.
10534
+ *
10535
+ * Allows the user to use the same name for a file while editing the file name. 'Same name' refers to an
10536
+ * already existing file name in the list.
10537
+ *
10538
+ * Default value is `false`.
10539
+ */
10540
+ getSameFilenameAllowed(): boolean;
10541
+ /**
10542
+ * @SINCE 1.100.0
10543
+ *
10544
+ * Retrieves the currently selected UploadSetItem.
10545
+ */
10546
+ getSelectedItem(): /* was: sap.m.UploadSetItem */ any | null;
10547
+ /**
10548
+ * @SINCE 1.100.0
10549
+ *
10550
+ * Returns an array containing the selected UploadSetItems.
10551
+ */
10552
+ getSelectedItems(): /* was: sap.m.UploadSetItem */ any[];
10384
10553
  /**
10385
10554
  * Gets current value of property {@link #getShowIcons showIcons}.
10386
10555
  *
@@ -10563,6 +10732,12 @@ declare namespace sap {
10563
10732
  */
10564
10733
  vItem: int | string | sap.m.upload.UploadSetItem
10565
10734
  ): sap.m.upload.UploadSetItem;
10735
+ /**
10736
+ * @SINCE 1.100.0
10737
+ *
10738
+ * Select all items in "MultiSelection" mode.
10739
+ */
10740
+ selectAll(): this;
10566
10741
  /**
10567
10742
  * Sets a new value for property {@link #getFileTypes fileTypes}.
10568
10743
  *
@@ -10652,6 +10827,45 @@ declare namespace sap {
10652
10827
  */
10653
10828
  sMediaTypes?: string[]
10654
10829
  ): this;
10830
+ /**
10831
+ * @SINCE 1.100.0
10832
+ *
10833
+ * Sets a new value for property {@link #getMode mode}.
10834
+ *
10835
+ * Defines the selection mode of the control (e.g. None, SingleSelect, MultiSelect, SingleSelectLeft, SingleSelectMaster).
10836
+ * Since the UploadSet reacts like a list for attachments, the API is close to the ListBase Interface. sap.m.ListMode.Delete
10837
+ * mode is not supported and will be automatically set to sap.m.ListMode.None. In addition, if instant upload
10838
+ * is set to false the mode sap.m.ListMode.MultiSelect is not supported and will be automatically set to
10839
+ * sap.m.ListMode.None.
10840
+ *
10841
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10842
+ *
10843
+ * Default value is `MultiSelect`.
10844
+ */
10845
+ setMode(
10846
+ /**
10847
+ * New value for property `mode`
10848
+ */
10849
+ sMode?: sap.m.ListMode
10850
+ ): this;
10851
+ /**
10852
+ * Sets a new value for property {@link #getMultiple multiple}.
10853
+ *
10854
+ * Lets the user select multiple files from the same folder and then upload them.
10855
+ *
10856
+ * If multiple property is set to false, the control shows an error message if more than one file is chosen
10857
+ * for drag & drop.
10858
+ *
10859
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10860
+ *
10861
+ * Default value is `false`.
10862
+ */
10863
+ setMultiple(
10864
+ /**
10865
+ * New value for property `multiple`
10866
+ */
10867
+ bMultiple?: boolean
10868
+ ): this;
10655
10869
  /**
10656
10870
  * Sets a new value for property {@link #getNoDataDescription noDataDescription}.
10657
10871
  *
@@ -10678,6 +10892,55 @@ declare namespace sap {
10678
10892
  */
10679
10893
  sNoDataText?: string
10680
10894
  ): this;
10895
+ /**
10896
+ * @SINCE 1.100.0
10897
+ *
10898
+ * Sets a new value for property {@link #getSameFilenameAllowed sameFilenameAllowed}.
10899
+ *
10900
+ * Allows the user to use the same name for a file while editing the file name. 'Same name' refers to an
10901
+ * already existing file name in the list.
10902
+ *
10903
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10904
+ *
10905
+ * Default value is `false`.
10906
+ */
10907
+ setSameFilenameAllowed(
10908
+ /**
10909
+ * New value for property `sameFilenameAllowed`
10910
+ */
10911
+ bSameFilenameAllowed?: boolean
10912
+ ): this;
10913
+ /**
10914
+ * @SINCE 1.100.0
10915
+ *
10916
+ * Selects or deselects the given list item.
10917
+ */
10918
+ setSelectedItem(
10919
+ /**
10920
+ * The item whose selection is to be changed. This parameter is mandatory.
10921
+ */
10922
+ uploadSetItem: /* was: sap.m.UploadSetItem */ any,
10923
+ /**
10924
+ * The selection state of the item.
10925
+ */
10926
+ select?: boolean
10927
+ ): this;
10928
+ /**
10929
+ * @SINCE 1.100.0
10930
+ *
10931
+ * Sets an UploadSetItem to be selected by ID. In single selection mode, the method removes the previous
10932
+ * selection.
10933
+ */
10934
+ setSelectedItemById(
10935
+ /**
10936
+ * The ID of the item whose selection is to be changed.
10937
+ */
10938
+ id: string,
10939
+ /**
10940
+ * The selection state of the item.
10941
+ */
10942
+ select?: boolean
10943
+ ): this;
10681
10944
  /**
10682
10945
  * Sets a new value for property {@link #getShowIcons showIcons}.
10683
10946
  *
@@ -11109,6 +11372,16 @@ declare namespace sap {
11109
11372
  * Specifies the MIME type of the file.
11110
11373
  */
11111
11374
  getMediaType(): string;
11375
+ /**
11376
+ * @SINCE 1.100.0
11377
+ *
11378
+ * Gets current value of property {@link #getSelected selected}.
11379
+ *
11380
+ * Defines the selected state of the UploadSetItem.
11381
+ *
11382
+ * Default value is `false`.
11383
+ */
11384
+ getSelected(): boolean;
11112
11385
  /**
11113
11386
  * Gets content of aggregation {@link #getStatuses statuses}.
11114
11387
  *
@@ -11399,6 +11672,23 @@ declare namespace sap {
11399
11672
  */
11400
11673
  iProgress: int
11401
11674
  ): this;
11675
+ /**
11676
+ * @SINCE 1.100.0
11677
+ *
11678
+ * Sets a new value for property {@link #getSelected selected}.
11679
+ *
11680
+ * Defines the selected state of the UploadSetItem.
11681
+ *
11682
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11683
+ *
11684
+ * Default value is `false`.
11685
+ */
11686
+ setSelected(
11687
+ /**
11688
+ * New value for property `selected`
11689
+ */
11690
+ bSelected?: boolean
11691
+ ): this;
11402
11692
  /**
11403
11693
  * Sets a new value for property {@link #getThumbnailUrl thumbnailUrl}.
11404
11694
  *
@@ -22833,6 +23123,18 @@ declare namespace sap {
22833
23123
  * - The item is pressed
22834
23124
  */
22835
23125
  change?: (oEvent: sap.ui.base.Event) => void;
23126
+
23127
+ /**
23128
+ * @SINCE 1.100
23129
+ *
23130
+ * Fires when the user navigates through the `Select` items. It's also fired on revert of the currently
23131
+ * selected item.
23132
+ *
23133
+ * **Note:** Revert occurs in some of the following actions:
23134
+ * - The user clicks outside of the `Select`
23135
+ * - The Escape key is pressed
23136
+ */
23137
+ liveChange?: (oEvent: sap.ui.base.Event) => void;
22836
23138
  }
22837
23139
 
22838
23140
  interface $SelectDialogSettings extends sap.m.$SelectDialogBaseSettings {
@@ -25211,6 +25513,13 @@ declare namespace sap {
25211
25513
  | sap.ui.core.Priority
25212
25514
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
25213
25515
 
25516
+ /**
25517
+ * @SINCE 1.100.0
25518
+ *
25519
+ * The load status.
25520
+ */
25521
+ state?: sap.m.LoadState | sap.ui.base.ManagedObject.PropertyBindingInfo;
25522
+
25214
25523
  /**
25215
25524
  * The switchable view that depends on the tile type.
25216
25525
  */
@@ -27095,13 +27404,9 @@ declare namespace sap {
27095
27404
  */
27096
27405
  oRm: sap.ui.core.RenderManager,
27097
27406
  /**
27098
- * An object representation of the control that should be rendered.
27099
- */
27100
- oControl: sap.m.InputBase,
27101
- /**
27102
- * An aggregation from which the icon should be rendered - begin or end.
27407
+ * List of icons to render
27103
27408
  */
27104
- sPosition: string
27409
+ aIcons: sap.ui.core.Icon[]
27105
27410
  ): void;
27106
27411
  /**
27107
27412
  * This method is reserved for derived classes to add extra attributes for the input element.
@@ -64692,8 +64997,8 @@ declare namespace sap {
64692
64997
  * using the given data. For back navigation this can be used e.g. when returning from a detail page to
64693
64998
  * transfer any settings done there.
64694
64999
  *
64695
- * When the "transitionParameters" object is used, this "data" object must also be given (either as object
64696
- * or as null) in order to have a proper parameter order.
65000
+ * When the `oTransitionParameters` parameter is used, this `backData` parameter must also be given (either
65001
+ * as object or as `null` or `undefined`) in order to have a proper parameter order.
64697
65002
  */
64698
65003
  backData?: object,
64699
65004
  /**
@@ -64701,8 +65006,8 @@ declare namespace sap {
64701
65006
  * like the DOM element which triggered the transition or the desired transition duration. The animation
64702
65007
  * type can NOT be selected here - it is always the inverse of the "to" navigation.
64703
65008
  *
64704
- * In order to use the "transitionParameters" property, the "data" property must be used (at least "null"
64705
- * must be given) for a proper parameter order.
65009
+ * In order to use the `oTransitionParameters parameter, the backData` parameter must be used
65010
+ * (at least `null` or `undefined` must be given) for a proper parameter order.
64706
65011
  *
64707
65012
  * NOTE: it depends on the transition function how the object should be structured and which parameters
64708
65013
  * are actually used to influence the transition.
@@ -64734,22 +65039,22 @@ declare namespace sap {
64734
65039
  * the "backToPage" navigation. The event on the target page will contain this data object as "backData"
64735
65040
  * property.
64736
65041
  *
64737
- * When the "transitionParameters" object is used, this "data" object must also be given (either as object
64738
- * or as null) in order to have a proper parameter order.
65042
+ * When the `oTransitionParameters` parameter is used, this `backData` parameter must also be given (either
65043
+ * as object or as `null` or `undefined`) in order to have a proper parameter order.
64739
65044
  */
64740
- backData: object,
65045
+ backData?: object,
64741
65046
  /**
64742
65047
  * This optional object can give additional information to the transition function, like the DOM element
64743
65048
  * which triggered the transition or the desired transition duration. The animation type can NOT be selected
64744
65049
  * here - it is always the inverse of the "to" navigation.
64745
65050
  *
64746
- * In order to use the "transitionParameters" property, the "data" property must be used (at least "null"
64747
- * must be given) for a proper parameter order.
65051
+ * In order to use the `oTransitionParameters parameter, the backData` parameter must be used
65052
+ * (at least `null` or `undefined` must be given) for a proper parameter order.
64748
65053
  *
64749
65054
  * NOTE: it depends on the transition function how the object should be structured and which parameters
64750
65055
  * are actually used to influence the transition.
64751
65056
  */
64752
- oTransitionParameters: object
65057
+ oTransitionParameters?: object
64753
65058
  ): this;
64754
65059
  /**
64755
65060
  * @SINCE 1.7.1
@@ -64770,8 +65075,8 @@ declare namespace sap {
64770
65075
  * the "backToTop" navigation. The event on the target page will contain this data object as "backData"
64771
65076
  * property.
64772
65077
  *
64773
- * When the "transitionParameters" object is used, this "data" object must also be given (either as object
64774
- * or as null) in order to have a proper parameter order.
65078
+ * When the `oTransitionParameters` parameter is used, this `backData` parameter must also be given (either
65079
+ * as object or as `null` or `undefined`) in order to have a proper parameter order.
64775
65080
  */
64776
65081
  backData?: object,
64777
65082
  /**
@@ -64779,8 +65084,8 @@ declare namespace sap {
64779
65084
  * which triggered the transition or the desired transition duration. The animation type can NOT be selected
64780
65085
  * here - it is always the inverse of the "to" navigation.
64781
65086
  *
64782
- * In order to use the "transitionParameters" property, the "data" property must be used (at least "null"
64783
- * must be given) for a proper parameter order.
65087
+ * In order to use the `oTransitionParameters parameter, the backData` parameter must be used
65088
+ * (at least `null` or `undefined` must be given) for a proper parameter order.
64784
65089
  *
64785
65090
  * NOTE: it depends on the transition function how the object should be structured and which parameters
64786
65091
  * are actually used to influence the transition.
@@ -65267,53 +65572,7 @@ declare namespace sap {
65267
65572
  *
65268
65573
  * None of the standard transitions is currently making use of any given transition parameters.
65269
65574
  */
65270
- transitionName: string,
65271
- /**
65272
- * Since version 1.7.1. This optional object can carry any payload data which should be made available to
65273
- * the target page. The "BeforeShow" event on the target page will contain this data object as "data" property.
65274
- * Use case: in scenarios where the entity triggering the navigation can or should not directly initialize
65275
- * the target page, it can fill this object and the target page itself (or a listener on it) can take over
65276
- * the initialization, using the given data.
65277
- *
65278
- * When the "transitionParameters" object is used, this "data" object must also be given (either as object
65279
- * or as null) in order to have a proper parameter order.
65280
- */
65281
- data: object,
65282
- /**
65283
- * Since version 1.7.1. This optional object can contain additional information for the transition function,
65284
- * like the DOM element which triggered the transition or the desired transition duration.
65285
- *
65286
- * For a proper parameter order, the "data" parameter must be given when the "transitionParameters" parameter
65287
- * is used. (it can be given as "null")
65288
- *
65289
- * NOTE: it depends on the transition function how the object should be structured and which parameters
65290
- * are actually used to influence the transition. The "show", "slide", "baseSlide" and "fade" transitions
65291
- * do not use any parameter.
65292
- */
65293
- oTransitionParameters: object
65294
- ): this;
65295
- /**
65296
- * Navigates to the next page (with drill-down semantic) with the given (or default) animation. This creates
65297
- * a new history item inside the NavContainer and allows going back.
65298
- *
65299
- * Note that any modifications to the target page (like setting its title, or anything else that could cause
65300
- * a re-rendering) should be done BEFORE calling to(), in order to avoid unwanted side effects, e.g. related
65301
- * to the page animation.
65302
- *
65303
- * Available transitions currently include "slide" (default), "baseSlide", "fade", "flip", and "show". None
65304
- * of these is currently making use of any given transitionParameters.
65305
- *
65306
- * Calling this navigation method triggers first the (cancelable) "navigate" event on the NavContainer,
65307
- * then the "BeforeHide" pseudo event on the source page and "BeforeFirstShow" (if applicable) and"BeforeShow"
65308
- * on the target page. Later - after the transition has completed - the "AfterShow" pseudo event is triggered
65309
- * on the target page and "AfterHide" on the page which has been left. The given data object is available
65310
- * in the "BeforeFirstShow", "BeforeShow" and "AfterShow" event object as "data" property.
65311
- */
65312
- to(
65313
- /**
65314
- * The screen to which drilldown should happen. The ID or the control itself can be given.
65315
- */
65316
- pageId: string,
65575
+ transitionName?: string,
65317
65576
  /**
65318
65577
  * Since version 1.7.1. This optional object can carry any payload data which should be made available to
65319
65578
  * the target page. The "BeforeShow" event on the target page will contain this data object as "data" property.
@@ -65321,22 +65580,22 @@ declare namespace sap {
65321
65580
  * the target page, it can fill this object and the target page itself (or a listener on it) can take over
65322
65581
  * the initialization, using the given data.
65323
65582
  *
65324
- * When the "transitionParameters" object is used, this "data" object must also be given (either as object
65325
- * or as null) in order to have a proper parameter order.
65583
+ * When the `oTransitionParameters` parameter is used, this `data` parameter must also be given (either
65584
+ * as object or as `null` or `undefined`) in order to have a proper parameter order.
65326
65585
  */
65327
- data: object,
65586
+ data?: object,
65328
65587
  /**
65329
65588
  * Since version 1.7.1. This optional object can contain additional information for the transition function,
65330
65589
  * like the DOM element which triggered the transition or the desired transition duration.
65331
65590
  *
65332
- * For a proper parameter order, the "data" parameter must be given when the "transitionParameters" parameter
65333
- * is used. (it can be given as "null")
65591
+ * For a proper parameter order, the `data` parameter must be given when the `oTransitionParameters` parameter
65592
+ * is used (it can be given as `null` or `undefined`).
65334
65593
  *
65335
65594
  * NOTE: it depends on the transition function how the object should be structured and which parameters
65336
65595
  * are actually used to influence the transition. The "show", "slide", "baseSlide" and "fade" transitions
65337
65596
  * do not use any parameter.
65338
65597
  */
65339
- oTransitionParameters: object
65598
+ oTransitionParameters?: object
65340
65599
  ): this;
65341
65600
  }
65342
65601
  /**
@@ -87262,7 +87521,7 @@ declare namespace sap {
87262
87521
  /**
87263
87522
  * The rating value to be set.
87264
87523
  */
87265
- fValue: float
87524
+ vValue: float | string
87266
87525
  ): this;
87267
87526
  /**
87268
87527
  * Sets a new value for property {@link #getVisualMode visualMode}.
@@ -90472,6 +90731,61 @@ declare namespace sap {
90472
90731
  */
90473
90732
  oListener?: object
90474
90733
  ): this;
90734
+ /**
90735
+ * @SINCE 1.100
90736
+ *
90737
+ * Attaches event handler `fnFunction` to the {@link #event:liveChange liveChange} event of this `sap.m.Select`.
90738
+ *
90739
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
90740
+ * otherwise it will be bound to this `sap.m.Select` itself.
90741
+ *
90742
+ * Fires when the user navigates through the `Select` items. It's also fired on revert of the currently
90743
+ * selected item.
90744
+ *
90745
+ * **Note:** Revert occurs in some of the following actions:
90746
+ * - The user clicks outside of the `Select`
90747
+ * - The Escape key is pressed
90748
+ */
90749
+ attachLiveChange(
90750
+ /**
90751
+ * An application-specific payload object that will be passed to the event handler along with the event
90752
+ * object when firing the event
90753
+ */
90754
+ oData: object,
90755
+ /**
90756
+ * The function to be called when the event occurs
90757
+ */
90758
+ fnFunction: (p1: sap.ui.base.Event) => void,
90759
+ /**
90760
+ * Context object to call the event handler with. Defaults to this `sap.m.Select` itself
90761
+ */
90762
+ oListener?: object
90763
+ ): this;
90764
+ /**
90765
+ * @SINCE 1.100
90766
+ *
90767
+ * Attaches event handler `fnFunction` to the {@link #event:liveChange liveChange} event of this `sap.m.Select`.
90768
+ *
90769
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
90770
+ * otherwise it will be bound to this `sap.m.Select` itself.
90771
+ *
90772
+ * Fires when the user navigates through the `Select` items. It's also fired on revert of the currently
90773
+ * selected item.
90774
+ *
90775
+ * **Note:** Revert occurs in some of the following actions:
90776
+ * - The user clicks outside of the `Select`
90777
+ * - The Escape key is pressed
90778
+ */
90779
+ attachLiveChange(
90780
+ /**
90781
+ * The function to be called when the event occurs
90782
+ */
90783
+ fnFunction: (p1: sap.ui.base.Event) => void,
90784
+ /**
90785
+ * Context object to call the event handler with. Defaults to this `sap.m.Select` itself
90786
+ */
90787
+ oListener?: object
90788
+ ): this;
90475
90789
  /**
90476
90790
  * Binds aggregation {@link #getItems items} to model data.
90477
90791
  *
@@ -90518,6 +90832,23 @@ declare namespace sap {
90518
90832
  */
90519
90833
  oListener?: object
90520
90834
  ): this;
90835
+ /**
90836
+ * @SINCE 1.100
90837
+ *
90838
+ * Detaches event handler `fnFunction` from the {@link #event:liveChange liveChange} event of this `sap.m.Select`.
90839
+ *
90840
+ * The passed function and listener object must match the ones used for event registration.
90841
+ */
90842
+ detachLiveChange(
90843
+ /**
90844
+ * The function to be called, when the event occurs
90845
+ */
90846
+ fnFunction: (p1: sap.ui.base.Event) => void,
90847
+ /**
90848
+ * Context object on which the given function had to be called
90849
+ */
90850
+ oListener?: object
90851
+ ): this;
90521
90852
  /**
90522
90853
  * Fires event {@link #event:change change} to attached listeners.
90523
90854
  */
@@ -90536,6 +90867,22 @@ declare namespace sap {
90536
90867
  previousSelectedItem?: sap.ui.core.Item;
90537
90868
  }
90538
90869
  ): this;
90870
+ /**
90871
+ * @SINCE 1.100
90872
+ *
90873
+ * Fires event {@link #event:liveChange liveChange} to attached listeners.
90874
+ */
90875
+ fireLiveChange(
90876
+ /**
90877
+ * Parameters to pass along with the event
90878
+ */
90879
+ mParameters?: {
90880
+ /**
90881
+ * The selected item.
90882
+ */
90883
+ selectedItem?: sap.ui.core.Item;
90884
+ }
90885
+ ): this;
90539
90886
  /**
90540
90887
  * Returns the `sap.m.Select` accessibility information.
90541
90888
  * See:
@@ -91140,8 +91487,8 @@ declare namespace sap {
91140
91487
  * `sKey` is an empty string `""` or `undefined`, the value of `sKey` is changed to match the `key` of the
91141
91488
  * first enabled item and the first enabled item is selected (if any items exist).
91142
91489
  *
91143
- * In the case that an item has the default key value, it is selected instead. If duplicate keys exist,
91144
- * the first item matching the key is selected.
91490
+ * In the case that an item has the default key value and `forceSelection` property is set to `true`, it
91491
+ * is selected instead. If duplicate keys exist, the first item matching the key is selected.
91145
91492
  */
91146
91493
  sKey: string
91147
91494
  ): this;
@@ -99441,7 +99788,7 @@ declare namespace sap {
99441
99788
  /**
99442
99789
  * The ID of the page that needs to be fetched.
99443
99790
  */
99444
- sId: string
99791
+ pageId: string
99445
99792
  ): sap.ui.core.Control | null;
99446
99793
  /**
99447
99794
  * Gets content of aggregation {@link #getDetailPages detailPages}.
@@ -99493,7 +99840,7 @@ declare namespace sap {
99493
99840
  /**
99494
99841
  * The ID of the page that needs to be fetched
99495
99842
  */
99496
- sId: string
99843
+ pageId: string
99497
99844
  ): sap.ui.core.Control | null;
99498
99845
  /**
99499
99846
  * Gets content of aggregation {@link #getMasterPages masterPages}.
@@ -107156,6 +107503,16 @@ declare namespace sap {
107156
107503
  * Default value is `"Auto"`.
107157
107504
  */
107158
107505
  getSize(): sap.m.Size;
107506
+ /**
107507
+ * @SINCE 1.100.0
107508
+ *
107509
+ * Gets current value of property {@link #getState state}.
107510
+ *
107511
+ * The load status.
107512
+ *
107513
+ * Default value is `Loaded`.
107514
+ */
107515
+ getState(): sap.m.LoadState;
107159
107516
  /**
107160
107517
  * Gets current value of property {@link #getUnit unit}.
107161
107518
  *
@@ -107287,6 +107644,23 @@ declare namespace sap {
107287
107644
  */
107288
107645
  sSize?: sap.m.Size
107289
107646
  ): this;
107647
+ /**
107648
+ * @SINCE 1.100.0
107649
+ *
107650
+ * Sets a new value for property {@link #getState state}.
107651
+ *
107652
+ * The load status.
107653
+ *
107654
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
107655
+ *
107656
+ * Default value is `Loaded`.
107657
+ */
107658
+ setState(
107659
+ /**
107660
+ * New value for property `state`
107661
+ */
107662
+ sState?: sap.m.LoadState
107663
+ ): this;
107290
107664
  /**
107291
107665
  * Sets a new value for property {@link #getUnit unit}.
107292
107666
  *
@@ -115419,11 +115793,11 @@ declare namespace sap {
115419
115793
  oSelectedFilterKeys: object
115420
115794
  ): this;
115421
115795
  /**
115422
- * Sets the selected group item (either by key or by item).
115796
+ * Sets the selected group item (either by key, item id or item instance).
115423
115797
  */
115424
115798
  setSelectedGroupItem(
115425
115799
  /**
115426
- * The selected item or the item's key string
115800
+ * The selected item, the item's string key or the item id
115427
115801
  */
115428
115802
  vItemOrKey: sap.m.ViewSettingsItem | string
115429
115803
  ): this;
@@ -115437,11 +115811,11 @@ declare namespace sap {
115437
115811
  vItemOrKey: sap.m.ViewSettingsItem | string | null
115438
115812
  ): this;
115439
115813
  /**
115440
- * Sets the selected sort item (either by key or by item).
115814
+ * Sets the selected sort item (either by key, item id or item instance).
115441
115815
  */
115442
115816
  setSelectedSortItem(
115443
115817
  /**
115444
- * The selected item or the item's key string
115818
+ * The selected item, the item's string key or the item id
115445
115819
  */
115446
115820
  vItemOrKey: sap.m.ViewSettingsItem | string
115447
115821
  ): this;
@@ -118284,12 +118658,14 @@ declare namespace sap {
118284
118658
  */
118285
118659
  HeaderMode = "HeaderMode",
118286
118660
  /**
118661
+ * @SINCE 1.96
118287
118662
  * @EXPERIMENTAL (since 1.96)
118288
118663
  *
118289
118664
  * Icon mode.
118290
118665
  *
118291
- * GenericTile displays a combination of icon and header title. It is applicable only for the OneByOne FrameType
118292
- * and TwoByHalf FrameType.
118666
+ * GenericTile displays a combination of icon and header title.
118667
+ *
118668
+ * It is applicable only for the OneByOne FrameType and TwoByHalf FrameType.
118293
118669
  */
118294
118670
  IconMode = "IconMode",
118295
118671
  /**