@openui5/types 1.135.0 → 1.136.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.135.0
1
+ // For Library Version: 1.136.1
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -39836,7 +39836,9 @@ declare module "sap/m/IllustratedMessage" {
39836
39836
  /**
39837
39837
  * New value for property `illustrationSize`
39838
39838
  */
39839
- sIllustrationSize?: IllustratedMessageSize
39839
+ sIllustrationSize?:
39840
+ | IllustratedMessageSize
39841
+ | keyof typeof IllustratedMessageSize
39840
39842
  ): this;
39841
39843
  /**
39842
39844
  * Sets a new value for property {@link #getIllustrationType illustrationType}.
@@ -39972,7 +39974,7 @@ declare module "sap/m/IllustratedMessage" {
39972
39974
  * @since 1.98
39973
39975
  */
39974
39976
  illustrationSize?:
39975
- | IllustratedMessageSize
39977
+ | (IllustratedMessageSize | keyof typeof IllustratedMessageSize)
39976
39978
  | PropertyBindingInfo
39977
39979
  | `{${string}}`;
39978
39980
 
@@ -40099,19 +40101,19 @@ declare module "sap/m/IllustratedMessageSize" {
40099
40101
  *
40100
40102
  * @since 1.136
40101
40103
  */
40102
- ExtraSmall = "Dot",
40104
+ ExtraSmall = "ExtraSmall",
40103
40105
  /**
40104
40106
  * Large `Illustration` size. Alias for `Scene` size (L breakpoint). Suitable for a `Page` or a table.
40105
40107
  *
40106
40108
  * @since 1.136
40107
40109
  */
40108
- Large = "Scene",
40110
+ Large = "Large",
40109
40111
  /**
40110
40112
  * Medium `Illustration` size. Alias for `Dialog` size (M breakpoint). Suitable for dialogs.
40111
40113
  *
40112
40114
  * @since 1.136
40113
40115
  */
40114
- Medium = "Dialog",
40116
+ Medium = "Medium",
40115
40117
  /**
40116
40118
  * Scene `Illustration` size (L breakpoint). Suitable for a `Page` or a table.
40117
40119
  *
@@ -40123,7 +40125,7 @@ declare module "sap/m/IllustratedMessageSize" {
40123
40125
  *
40124
40126
  * @since 1.136
40125
40127
  */
40126
- Small = "Spot",
40128
+ Small = "Small",
40127
40129
  /**
40128
40130
  * Spot `Illustration` size (S breakpoint). Suitable for cards (four columns).
40129
40131
  *
@@ -40171,6 +40173,8 @@ declare module "sap/m/IllustratedMessageType" {
40171
40173
  AddPeopleToCalendar = "sapIllus-AddPeopleToCalendar",
40172
40174
  /**
40173
40175
  * "Balloon Sky" illustration type.
40176
+ *
40177
+ * @deprecated As of version 1.136. replaced by {@link sap.m.IllustratedMessageType.ReceiveAppreciation}
40174
40178
  */
40175
40179
  BalloonSky = "sapIllus-BalloonSky",
40176
40180
  /**
@@ -40179,6 +40183,8 @@ declare module "sap/m/IllustratedMessageType" {
40179
40183
  BeforeSearch = "sapIllus-BeforeSearch",
40180
40184
  /**
40181
40185
  * "Connection" illustration type.
40186
+ *
40187
+ * @deprecated As of version 1.136. replaced by {@link sap.m.IllustratedMessageType.UnableToLoad}
40182
40188
  */
40183
40189
  Connection = "sapIllus-Connection",
40184
40190
  /**
@@ -40369,6 +40375,8 @@ declare module "sap/m/IllustratedMessageType" {
40369
40375
  SimpleCheckMark = "sapIllus-SimpleCheckMark",
40370
40376
  /**
40371
40377
  * "Simple Connection" illustration type.
40378
+ *
40379
+ * @deprecated As of version 1.136. replaced by {@link sap.m.IllustratedMessageType.UnableToLoad}
40372
40380
  */
40373
40381
  SimpleConnection = "sapIllus-SimpleConnection",
40374
40382
  /**
@@ -54553,7 +54561,7 @@ declare module "sap/m/MaskInputRule" {
54553
54561
  declare module "sap/m/Menu" {
54554
54562
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
54555
54563
 
54556
- import { IContextMenu, Dock } from "sap/ui/core/library";
54564
+ import { IContextMenu } from "sap/ui/core/library";
54557
54565
 
54558
54566
  import { IMenuItem } from "sap/m/library";
54559
54567
 
@@ -54568,6 +54576,8 @@ declare module "sap/m/Menu" {
54568
54576
 
54569
54577
  import UI5Element from "sap/ui/core/Element";
54570
54578
 
54579
+ import Popup from "sap/ui/core/Popup";
54580
+
54571
54581
  import MenuItem from "sap/m/MenuItem";
54572
54582
 
54573
54583
  /**
@@ -55020,11 +55030,11 @@ declare module "sap/m/Menu" {
55020
55030
  /**
55021
55031
  * The reference docking location of the `Menu` for positioning the menu on the screen
55022
55032
  */
55023
- sDockMy?: Dock,
55033
+ sDockMy?: typeof Popup.Dock | keyof typeof Popup.Dock,
55024
55034
  /**
55025
55035
  * The `oControl` reference docking location for positioning the menu on the screen
55026
55036
  */
55027
- sDockAt?: Dock,
55037
+ sDockAt?: typeof Popup.Dock | keyof typeof Popup.Dock,
55028
55038
  /**
55029
55039
  * The offset relative to the docking point, specified as a string with space-separated pixel values (e.g.
55030
55040
  * "0 10" to move the popup 10 pixels to the right). If the docking of both "my" and "at" is RTL-sensitive
@@ -55768,7 +55778,7 @@ declare module "sap/m/MenuButton" {
55768
55778
  /**
55769
55779
  * New value for property `menuPosition`
55770
55780
  */
55771
- sMenuPosition?: typeof Popup.Dock
55781
+ sMenuPosition?: typeof Popup.Dock | keyof typeof Popup.Dock
55772
55782
  ): this;
55773
55783
  /**
55774
55784
  * Sets a new value for property {@link #getText text}.
@@ -55959,7 +55969,10 @@ declare module "sap/m/MenuButton" {
55959
55969
  *
55960
55970
  * @since 1.56.0
55961
55971
  */
55962
- menuPosition?: typeof Popup.Dock | PropertyBindingInfo | `{${string}}`;
55972
+ menuPosition?:
55973
+ | (typeof Popup.Dock | keyof typeof Popup.Dock)
55974
+ | PropertyBindingInfo
55975
+ | `{${string}}`;
55963
55976
 
55964
55977
  /**
55965
55978
  * Controls whether the default action handler is invoked always or it is invoked only until a menu item
@@ -61473,12 +61486,12 @@ declare module "sap/m/MessageToast" {
61473
61486
  * Specifies which point of the message toast should be aligned (e.g. `Dock.LeftTop` To use as align point
61474
61487
  * the left top corner of the message toast).
61475
61488
  */
61476
- my?: typeof Popup.Dock;
61489
+ my?: typeof Popup.Dock | keyof typeof Popup.Dock;
61477
61490
  /**
61478
61491
  * Specifies the point of the reference element to which the message toast should be aligned (e.g. `Dock.RightBottom`
61479
61492
  * To position the message toast according to the bottom right corner of the reference element).
61480
61493
  */
61481
- at?: typeof Popup.Dock;
61494
+ at?: typeof Popup.Dock | keyof typeof Popup.Dock;
61482
61495
  /**
61483
61496
  * Specifies the reference element to which the message toast should be aligned, by default it is aligned
61484
61497
  * to the browser visual viewport.
@@ -93892,6 +93905,206 @@ declare module "sap/m/plugins/CellSelector" {
93892
93905
  >;
93893
93906
  }
93894
93907
 
93908
+ declare module "sap/m/plugins/ColumnAIAction" {
93909
+ import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
93910
+
93911
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
93912
+
93913
+ import Control from "sap/ui/core/Control";
93914
+
93915
+ import Event from "sap/ui/base/Event";
93916
+
93917
+ /**
93918
+ * This plugin adds an AI related action to a table column.
93919
+ *
93920
+ * @since 1.136
93921
+ */
93922
+ export default class ColumnAIAction extends UI5Element {
93923
+ /**
93924
+ * Constructor for a new `ColumnAIAction` plugin that can be used to add an AI related action for table
93925
+ * columns.
93926
+ *
93927
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
93928
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
93929
+ * of the syntax of the settings object.
93930
+ */
93931
+ constructor(
93932
+ /**
93933
+ * Initial settings for the `ColumnAIAction`
93934
+ */
93935
+ mSettings?: $ColumnAIActionSettings
93936
+ );
93937
+ /**
93938
+ * Constructor for a new `ColumnAIAction` plugin that can be used to add an AI related action for table
93939
+ * columns.
93940
+ *
93941
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
93942
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
93943
+ * of the syntax of the settings object.
93944
+ */
93945
+ constructor(
93946
+ /**
93947
+ * ID for the new `ColumnAIAction`, generated automatically if no ID is given
93948
+ */
93949
+ sId?: string,
93950
+ /**
93951
+ * Initial settings for the `ColumnAIAction`
93952
+ */
93953
+ mSettings?: $ColumnAIActionSettings
93954
+ );
93955
+
93956
+ /**
93957
+ * Creates a new subclass of class sap.m.plugins.ColumnAIAction with name `sClassName` and enriches it with
93958
+ * the information contained in `oClassInfo`.
93959
+ *
93960
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
93961
+ *
93962
+ *
93963
+ * @returns Created class / constructor function
93964
+ */
93965
+ static extend<T extends Record<string, unknown>>(
93966
+ /**
93967
+ * Name of the class being created
93968
+ */
93969
+ sClassName: string,
93970
+ /**
93971
+ * Object literal with information about the class
93972
+ */
93973
+ oClassInfo?: sap.ClassInfo<T, ColumnAIAction>,
93974
+ /**
93975
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
93976
+ * used by this class
93977
+ */
93978
+ FNMetaImpl?: Function
93979
+ ): Function;
93980
+ /**
93981
+ * Searches a plugin of the corresponding type in the aggregations of the given `Element` instance. The
93982
+ * first plugin that is found is returned.
93983
+ *
93984
+ *
93985
+ * @returns The found plugin instance or `undefined` if not found
93986
+ */
93987
+ static findOn(
93988
+ /**
93989
+ * The `Element` instance to check for
93990
+ */
93991
+ oElement: UI5Element
93992
+ ): UI5Element | undefined;
93993
+ /**
93994
+ * Returns a metadata object for class sap.m.plugins.ColumnAIAction.
93995
+ *
93996
+ *
93997
+ * @returns Metadata object describing this class
93998
+ */
93999
+ static getMetadata(): ElementMetadata;
94000
+ /**
94001
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.plugins.ColumnAIAction`.
94002
+ *
94003
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
94004
+ * otherwise it will be bound to this `sap.m.plugins.ColumnAIAction` itself.
94005
+ *
94006
+ * Fired when the AI action is pressed.
94007
+ *
94008
+ *
94009
+ * @returns Reference to `this` in order to allow method chaining
94010
+ */
94011
+ attachPress(
94012
+ /**
94013
+ * An application-specific payload object that will be passed to the event handler along with the event
94014
+ * object when firing the event
94015
+ */
94016
+ oData: object,
94017
+ /**
94018
+ * The function to be called when the event occurs
94019
+ */
94020
+ fnFunction: (p1: ColumnAIAction$PressEvent) => void,
94021
+ /**
94022
+ * Context object to call the event handler with. Defaults to this `sap.m.plugins.ColumnAIAction` itself
94023
+ */
94024
+ oListener?: object
94025
+ ): this;
94026
+ /**
94027
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.plugins.ColumnAIAction`.
94028
+ *
94029
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
94030
+ * otherwise it will be bound to this `sap.m.plugins.ColumnAIAction` itself.
94031
+ *
94032
+ * Fired when the AI action is pressed.
94033
+ *
94034
+ *
94035
+ * @returns Reference to `this` in order to allow method chaining
94036
+ */
94037
+ attachPress(
94038
+ /**
94039
+ * The function to be called when the event occurs
94040
+ */
94041
+ fnFunction: (p1: ColumnAIAction$PressEvent) => void,
94042
+ /**
94043
+ * Context object to call the event handler with. Defaults to this `sap.m.plugins.ColumnAIAction` itself
94044
+ */
94045
+ oListener?: object
94046
+ ): this;
94047
+ /**
94048
+ * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.m.plugins.ColumnAIAction`.
94049
+ *
94050
+ * The passed function and listener object must match the ones used for event registration.
94051
+ *
94052
+ *
94053
+ * @returns Reference to `this` in order to allow method chaining
94054
+ */
94055
+ detachPress(
94056
+ /**
94057
+ * The function to be called, when the event occurs
94058
+ */
94059
+ fnFunction: (p1: ColumnAIAction$PressEvent) => void,
94060
+ /**
94061
+ * Context object on which the given function had to be called
94062
+ */
94063
+ oListener?: object
94064
+ ): this;
94065
+ /**
94066
+ * Fires event {@link #event:press press} to attached listeners.
94067
+ *
94068
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
94069
+ *
94070
+ * @returns Reference to `this` in order to allow method chaining
94071
+ */
94072
+ firePress(
94073
+ /**
94074
+ * Parameters to pass along with the event
94075
+ */
94076
+ mParameters?: ColumnAIAction$PressEventParameters
94077
+ ): this;
94078
+ }
94079
+ /**
94080
+ * Describes the settings that can be provided to the ColumnAIAction constructor.
94081
+ */
94082
+ export interface $ColumnAIActionSettings extends $ElementSettings {
94083
+ /**
94084
+ * Fired when the AI action is pressed.
94085
+ */
94086
+ press?: (oEvent: ColumnAIAction$PressEvent) => void;
94087
+ }
94088
+
94089
+ /**
94090
+ * Parameters of the ColumnAIAction#press event.
94091
+ */
94092
+ export interface ColumnAIAction$PressEventParameters {
94093
+ /**
94094
+ * The column action that triggered the event.
94095
+ */
94096
+ action?: Control;
94097
+ }
94098
+
94099
+ /**
94100
+ * Event object of the ColumnAIAction#press event.
94101
+ */
94102
+ export type ColumnAIAction$PressEvent = Event<
94103
+ ColumnAIAction$PressEventParameters,
94104
+ ColumnAIAction
94105
+ >;
94106
+ }
94107
+
93895
94108
  declare module "sap/m/plugins/ColumnResizer" {
93896
94109
  import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
93897
94110
 
@@ -96893,6 +97106,24 @@ declare module "sap/m/plugins/UploadSetwithTable" {
96893
97106
  * @returns Value of property `directory`
96894
97107
  */
96895
97108
  getDirectory(): boolean;
97109
+ /**
97110
+ * Gets current value of property {@link #getFileNameValidationConfig fileNameValidationConfig}.
97111
+ *
97112
+ * File name validation configuration.
97113
+ * Set this property to configure the file name validation characters and the validation mode.
97114
+ * This configuration is used to validate the file name when a file is selected for renaming.
97115
+ * For the plugin to pick up this configuration, mode and characters of the property must be set to validate
97116
+ * the file name.
97117
+ * see {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode mode} to configure the file
97118
+ * name validation mode.
97119
+ *
97120
+ * The default restricted filename character set is: \:/*?"<>|[]{}@#$
97121
+ *
97122
+ * @since 1.136
97123
+ *
97124
+ * @returns Value of property `fileNameValidationConfig`
97125
+ */
97126
+ getFileNameValidationConfig(): FilenameValidationConfig;
96896
97127
  /**
96897
97128
  * Gets current value of property {@link #getFileTypes fileTypes}.
96898
97129
  *
@@ -97204,6 +97435,31 @@ declare module "sap/m/plugins/UploadSetwithTable" {
97204
97435
  */
97205
97436
  bDirectory?: boolean
97206
97437
  ): this;
97438
+ /**
97439
+ * Sets a new value for property {@link #getFileNameValidationConfig fileNameValidationConfig}.
97440
+ *
97441
+ * File name validation configuration.
97442
+ * Set this property to configure the file name validation characters and the validation mode.
97443
+ * This configuration is used to validate the file name when a file is selected for renaming.
97444
+ * For the plugin to pick up this configuration, mode and characters of the property must be set to validate
97445
+ * the file name.
97446
+ * see {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode mode} to configure the file
97447
+ * name validation mode.
97448
+ *
97449
+ * The default restricted filename character set is: \:/*?"<>|[]{}@#$
97450
+ *
97451
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
97452
+ *
97453
+ * @since 1.136
97454
+ *
97455
+ * @returns Reference to `this` in order to allow method chaining
97456
+ */
97457
+ setFileNameValidationConfig(
97458
+ /**
97459
+ * New value for property `fileNameValidationConfig`
97460
+ */
97461
+ sFileNameValidationConfig?: FilenameValidationConfig
97462
+ ): this;
97207
97463
  /**
97208
97464
  * Sets a new value for property {@link #getFileTypes fileTypes}.
97209
97465
  *
@@ -97466,6 +97722,43 @@ declare module "sap/m/plugins/UploadSetwithTable" {
97466
97722
  oPromise: Promise<any>
97467
97723
  ): UploadItem;
97468
97724
  }
97725
+ /**
97726
+ * This property type is used to define the file name validation configuration. Object is passed to {@link sap.m.plugins.UploadSetwithTable fileNameValidationConfig property}
97727
+ */
97728
+ export type FilenameValidationConfig = {
97729
+ /**
97730
+ * The file name validation config mode.
97731
+ */
97732
+ mode: FilenameValidationConfigMode;
97733
+ /**
97734
+ * The file name validation configuration characters.
97735
+ *
97736
+ * The default restricted filename character set is: \:/*?"<>|[]{}@#$
97737
+ */
97738
+ characters: string;
97739
+ };
97740
+
97741
+ /**
97742
+ * Key property of {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfig FileNameValidationConfig}.
97743
+ * Used to determine the mode for file name validation.
97744
+ *
97745
+ * @since 1.136
97746
+ */
97747
+ export type FilenameValidationConfigMode = {
97748
+ /**
97749
+ * The file name validation mode. The allowed values are 'include', 'exclude', or 'override'.
97750
+ *
97751
+ * If the mode is 'include', the specified characters are added to the default restricted character set.
97752
+ *
97753
+ * If the mode is 'exclude', the specified characters are excluded from the default resrtricted character
97754
+ * set.
97755
+ * If the mode is 'override', the specified characters replace the entire default restricted character
97756
+ * set.
97757
+ * If the mode is not set, the default restricted file name character set is used.
97758
+ */
97759
+ mode: string;
97760
+ };
97761
+
97469
97762
  /**
97470
97763
  * Item info object sent as paramter to {@link sap.m.plugins.UploadSetwithTable.itemValidationHandler itemValidationHandler callback}
97471
97764
  */
@@ -97582,6 +97875,24 @@ declare module "sap/m/plugins/UploadSetwithTable" {
97582
97875
  */
97583
97876
  cloudFilePickerButtonText?: string | PropertyBindingInfo;
97584
97877
 
97878
+ /**
97879
+ * File name validation configuration.
97880
+ * Set this property to configure the file name validation characters and the validation mode.
97881
+ * This configuration is used to validate the file name when a file is selected for renaming.
97882
+ * For the plugin to pick up this configuration, mode and characters of the property must be set to validate
97883
+ * the file name.
97884
+ * see {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode mode} to configure the file
97885
+ * name validation mode.
97886
+ *
97887
+ * The default restricted filename character set is: \:/*?"<>|[]{}@#$
97888
+ *
97889
+ * @since 1.136
97890
+ */
97891
+ fileNameValidationConfig?:
97892
+ | FilenameValidationConfig
97893
+ | PropertyBindingInfo
97894
+ | `{${string}}`;
97895
+
97585
97896
  /**
97586
97897
  * Defines the uploader to be used. If not specified, the default implementation is used.
97587
97898
  */
@@ -130883,7 +131194,8 @@ declare module "sap/m/SlideTile" {
130883
131194
  /**
130884
131195
  * Gets current value of property {@link #getWidth width}.
130885
131196
  *
130886
- * Width of the control.
131197
+ * Width of the control. If the tiles within the SlideTile are in ArticleMode and have a frameType of Stretch,
131198
+ * and if the SlideTile's width exceeds 799px, the image in the tile appears on the right side
130887
131199
  *
130888
131200
  * @since 1.72
130889
131201
  *
@@ -131038,7 +131350,8 @@ declare module "sap/m/SlideTile" {
131038
131350
  /**
131039
131351
  * Sets a new value for property {@link #getWidth width}.
131040
131352
  *
131041
- * Width of the control.
131353
+ * Width of the control. If the tiles within the SlideTile are in ArticleMode and have a frameType of Stretch,
131354
+ * and if the SlideTile's width exceeds 799px, the image in the tile appears on the right side
131042
131355
  *
131043
131356
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
131044
131357
  *
@@ -131096,7 +131409,8 @@ declare module "sap/m/SlideTile" {
131096
131409
  | `{${string}}`;
131097
131410
 
131098
131411
  /**
131099
- * Width of the control.
131412
+ * Width of the control. If the tiles within the SlideTile are in ArticleMode and have a frameType of Stretch,
131413
+ * and if the SlideTile's width exceeds 799px, the image in the tile appears on the right side
131100
131414
  *
131101
131415
  * @since 1.72
131102
131416
  */
@@ -147815,7 +148129,8 @@ declare module "sap/m/TileContent" {
147815
148129
  /**
147816
148130
  * Gets current value of property {@link #getPriority priority}.
147817
148131
  *
147818
- * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
148132
+ * Adds a priority badge before the content. Works only in Generic Tiles in ActionMode or Article Mode containing
148133
+ * FrameType Stretch.
147819
148134
  *
147820
148135
  * Default value is `None`.
147821
148136
  *
@@ -147827,7 +148142,8 @@ declare module "sap/m/TileContent" {
147827
148142
  /**
147828
148143
  * Gets current value of property {@link #getPriorityText priorityText}.
147829
148144
  *
147830
- * Sets the Text inside the Priority badge in Generic Tile ActionMode.
148145
+ * Sets the Text inside the Priority badge in Generic Tile. Works only in Generic Tiles in ActionMode or
148146
+ * Article Mode containing FrameType Stretch.
147831
148147
  *
147832
148148
  * @since 1.103
147833
148149
  *
@@ -147953,40 +148269,28 @@ declare module "sap/m/TileContent" {
147953
148269
  sFrameType?: FrameType | keyof typeof FrameType
147954
148270
  ): this;
147955
148271
  /**
147956
- * Sets a new value for property {@link #getPriority priority}.
147957
- *
147958
- * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
147959
- *
147960
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
148272
+ * Sets the priority of the tile content.
147961
148273
  *
147962
- * Default value is `None`.
147963
148274
  *
147964
- * @since 1.96
147965
- *
147966
- * @returns Reference to `this` in order to allow method chaining
148275
+ * @returns Reference to the current instance for method chaining.
147967
148276
  */
147968
148277
  setPriority(
147969
148278
  /**
147970
- * New value for property `priority`
148279
+ * The priority level.
147971
148280
  */
147972
- sPriority?: Priority | keyof typeof Priority
148281
+ sPriority: Priority | keyof typeof Priority
147973
148282
  ): this;
147974
148283
  /**
147975
- * Sets a new value for property {@link #getPriorityText priorityText}.
147976
- *
147977
- * Sets the Text inside the Priority badge in Generic Tile ActionMode.
147978
- *
147979
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
148284
+ * Sets the text for the priority badge.
147980
148285
  *
147981
- * @since 1.103
147982
148286
  *
147983
- * @returns Reference to `this` in order to allow method chaining
148287
+ * @returns Reference to the current instance for method chaining.
147984
148288
  */
147985
148289
  setPriorityText(
147986
148290
  /**
147987
- * New value for property `priorityText`
148291
+ * The text to be displayed on the badge.
147988
148292
  */
147989
- sPriorityText?: string
148293
+ sPriorityText: string
147990
148294
  ): this;
147991
148295
  /**
147992
148296
  * Setter for protected property to enable or disable content rendering. This function does not invalidate
@@ -148127,7 +148431,8 @@ declare module "sap/m/TileContent" {
148127
148431
  | `{${string}}`;
148128
148432
 
148129
148433
  /**
148130
- * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
148434
+ * Adds a priority badge before the content. Works only in Generic Tiles in ActionMode or Article Mode containing
148435
+ * FrameType Stretch.
148131
148436
  *
148132
148437
  * @since 1.96
148133
148438
  */
@@ -148137,7 +148442,8 @@ declare module "sap/m/TileContent" {
148137
148442
  | `{${string}}`;
148138
148443
 
148139
148444
  /**
148140
- * Sets the Text inside the Priority badge in Generic Tile ActionMode.
148445
+ * Sets the Text inside the Priority badge in Generic Tile. Works only in Generic Tiles in ActionMode or
148446
+ * Article Mode containing FrameType Stretch.
148141
148447
  *
148142
148448
  * @since 1.103
148143
148449
  */
@@ -155164,6 +155470,64 @@ declare module "sap/m/upload/FilePreviewDialog" {
155164
155470
  * Control by default adds two buttons (download and close).
155165
155471
  */
155166
155472
  getAdditionalFooterButtons(): Button[];
155473
+ /**
155474
+ * Gets current value of property {@link #getCustomPageContentHandler customPageContentHandler}.
155475
+ *
155476
+ * Callback function to insert custom content into the preview dialog using a control to display the preview
155477
+ * of unsupported file types.
155478
+ * Use this property as callback function to insert a control with the content into the preview dialog.
155479
+ *
155480
+ * Callback function returns a promise that resolves with a control that is displayed in the preview dialog.
155481
+ * Reject the promise to display the default illustrated message.
155482
+ * Callback function is invoked with {@link sap.m.upload.UploadItem item} for each unsupported file type.
155483
+ *
155484
+ *
155485
+ * Example: There is a file with an xml extension and you want to display the content inside a codeeditor
155486
+ * control for the file type.
155487
+ *
155488
+ *
155489
+ * ```javascript
155490
+ *
155491
+ * <UploadSetwithTable>
155492
+ * <upload:FilePreviewDialog customPageContentHandler="{onCustomContentHandler}"></upload:FilePreviewDialog>
155493
+ * </UploadSetwithTable>
155494
+ * ```
155495
+ *
155496
+ *
155497
+ *
155498
+ * ```javascript
155499
+ *
155500
+ * onCustomContentHandler: function(oItem) {
155501
+ *
155502
+ * return new Promise(function(resolve, reject) {
155503
+ *
155504
+ * switch (oItem.getMediaType().toLowerCase()) {
155505
+ *
155506
+ * case "application/xml":
155507
+ *
155508
+ * var oCodeEditor = new CodeEditor({
155509
+ * value: "XML content",
155510
+ * width: "100%",
155511
+ * height: "100%"
155512
+ * });
155513
+ *
155514
+ * resolve(oCodeEditor);
155515
+ * break;
155516
+ *
155517
+ * default:
155518
+ * reject(); // reject the promise to display the default illustrated message.
155519
+ * break;
155520
+ * }
155521
+ * });
155522
+ * }
155523
+ * ```
155524
+ *
155525
+ *
155526
+ * @since 1.136
155527
+ *
155528
+ * @returns Value of property `customPageContentHandler`
155529
+ */
155530
+ getCustomPageContentHandler(): Function;
155167
155531
  /**
155168
155532
  * Gets current value of property {@link #getMaxFileSizeforPreview maxFileSizeforPreview}.
155169
155533
  *
@@ -155237,6 +155601,71 @@ declare module "sap/m/upload/FilePreviewDialog" {
155237
155601
  * @returns An array of the removed elements (might be empty)
155238
155602
  */
155239
155603
  removeAllAdditionalFooterButtons(): Button[];
155604
+ /**
155605
+ * Sets a new value for property {@link #getCustomPageContentHandler customPageContentHandler}.
155606
+ *
155607
+ * Callback function to insert custom content into the preview dialog using a control to display the preview
155608
+ * of unsupported file types.
155609
+ * Use this property as callback function to insert a control with the content into the preview dialog.
155610
+ *
155611
+ * Callback function returns a promise that resolves with a control that is displayed in the preview dialog.
155612
+ * Reject the promise to display the default illustrated message.
155613
+ * Callback function is invoked with {@link sap.m.upload.UploadItem item} for each unsupported file type.
155614
+ *
155615
+ *
155616
+ * Example: There is a file with an xml extension and you want to display the content inside a codeeditor
155617
+ * control for the file type.
155618
+ *
155619
+ *
155620
+ * ```javascript
155621
+ *
155622
+ * <UploadSetwithTable>
155623
+ * <upload:FilePreviewDialog customPageContentHandler="{onCustomContentHandler}"></upload:FilePreviewDialog>
155624
+ * </UploadSetwithTable>
155625
+ * ```
155626
+ *
155627
+ *
155628
+ *
155629
+ * ```javascript
155630
+ *
155631
+ * onCustomContentHandler: function(oItem) {
155632
+ *
155633
+ * return new Promise(function(resolve, reject) {
155634
+ *
155635
+ * switch (oItem.getMediaType().toLowerCase()) {
155636
+ *
155637
+ * case "application/xml":
155638
+ *
155639
+ * var oCodeEditor = new CodeEditor({
155640
+ * value: "XML content",
155641
+ * width: "100%",
155642
+ * height: "100%"
155643
+ * });
155644
+ *
155645
+ * resolve(oCodeEditor);
155646
+ * break;
155647
+ *
155648
+ * default:
155649
+ * reject(); // reject the promise to display the default illustrated message.
155650
+ * break;
155651
+ * }
155652
+ * });
155653
+ * }
155654
+ * ```
155655
+ *
155656
+ *
155657
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
155658
+ *
155659
+ * @since 1.136
155660
+ *
155661
+ * @returns Reference to `this` in order to allow method chaining
155662
+ */
155663
+ setCustomPageContentHandler(
155664
+ /**
155665
+ * New value for property `customPageContentHandler`
155666
+ */
155667
+ fnCustomPageContentHandler?: Function
155668
+ ): this;
155240
155669
  /**
155241
155670
  * Sets a new value for property {@link #getMaxFileSizeforPreview maxFileSizeforPreview}.
155242
155671
  *
@@ -155288,6 +155717,61 @@ declare module "sap/m/upload/FilePreviewDialog" {
155288
155717
  */
155289
155718
  maxFileSizeforPreview?: float | PropertyBindingInfo | `{${string}}`;
155290
155719
 
155720
+ /**
155721
+ * Callback function to insert custom content into the preview dialog using a control to display the preview
155722
+ * of unsupported file types.
155723
+ * Use this property as callback function to insert a control with the content into the preview dialog.
155724
+ *
155725
+ * Callback function returns a promise that resolves with a control that is displayed in the preview dialog.
155726
+ * Reject the promise to display the default illustrated message.
155727
+ * Callback function is invoked with {@link sap.m.upload.UploadItem item} for each unsupported file type.
155728
+ *
155729
+ *
155730
+ * Example: There is a file with an xml extension and you want to display the content inside a codeeditor
155731
+ * control for the file type.
155732
+ *
155733
+ *
155734
+ * ```javascript
155735
+ *
155736
+ * <UploadSetwithTable>
155737
+ * <upload:FilePreviewDialog customPageContentHandler="{onCustomContentHandler}"></upload:FilePreviewDialog>
155738
+ * </UploadSetwithTable>
155739
+ * ```
155740
+ *
155741
+ *
155742
+ *
155743
+ * ```javascript
155744
+ *
155745
+ * onCustomContentHandler: function(oItem) {
155746
+ *
155747
+ * return new Promise(function(resolve, reject) {
155748
+ *
155749
+ * switch (oItem.getMediaType().toLowerCase()) {
155750
+ *
155751
+ * case "application/xml":
155752
+ *
155753
+ * var oCodeEditor = new CodeEditor({
155754
+ * value: "XML content",
155755
+ * width: "100%",
155756
+ * height: "100%"
155757
+ * });
155758
+ *
155759
+ * resolve(oCodeEditor);
155760
+ * break;
155761
+ *
155762
+ * default:
155763
+ * reject(); // reject the promise to display the default illustrated message.
155764
+ * break;
155765
+ * }
155766
+ * });
155767
+ * }
155768
+ * ```
155769
+ *
155770
+ *
155771
+ * @since 1.136
155772
+ */
155773
+ customPageContentHandler?: Function | PropertyBindingInfo | `{${string}}`;
155774
+
155291
155775
  /**
155292
155776
  * Custom buttons, to be displayed in the preview dialog footer.
155293
155777
  * Control by default adds two buttons (download and close).
@@ -156410,7 +156894,9 @@ declare module "sap/m/upload/UploaderTableItem" {
156410
156894
  oListener?: object
156411
156895
  ): this;
156412
156896
  /**
156413
- * Starts the process of downloading a file.
156897
+ * Starts the process of downloading a file. Plugin uses the URL set in the item or the downloadUrl set
156898
+ * in the uploader class to download the file. If the URL is not set, a warning is logged. API downloads
156899
+ * the file with xhr response of blob type or string type.
156414
156900
  *
156415
156901
  *
156416
156902
  * @returns It returns true if the download is processed successfully
@@ -171849,6 +172335,8 @@ declare namespace sap {
171849
172335
 
171850
172336
  "sap/m/p13n/SortPanel": undefined;
171851
172337
 
172338
+ "sap/m/p13n/util/diff": undefined;
172339
+
171852
172340
  "sap/m/P13nColumnsItem": undefined;
171853
172341
 
171854
172342
  "sap/m/P13nColumnsPanel": undefined;
@@ -171899,6 +172387,8 @@ declare namespace sap {
171899
172387
 
171900
172388
  "sap/m/plugins/CellSelector": undefined;
171901
172389
 
172390
+ "sap/m/plugins/ColumnAIAction": undefined;
172391
+
171902
172392
  "sap/m/plugins/ColumnResizer": undefined;
171903
172393
 
171904
172394
  "sap/m/plugins/ContextMenuSetting": undefined;