@sapui5/ts-types 1.135.0 → 1.136.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.
Files changed (68) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +1 -1
  4. package/types/sap.chart.d.ts +1 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.cux.home.d.ts +80 -0
  7. package/types/sap.esh.search.ui.d.ts +1 -1
  8. package/types/sap.f.d.ts +105 -1
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +30 -2
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +421 -47
  14. package/types/sap.fe.navigation.d.ts +1 -1
  15. package/types/sap.fe.placeholder.d.ts +1 -1
  16. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  17. package/types/sap.fe.templates.d.ts +1 -1
  18. package/types/sap.fe.test.d.ts +1 -1
  19. package/types/sap.fe.tools.d.ts +1 -1
  20. package/types/sap.feedback.ui.d.ts +1 -1
  21. package/types/sap.gantt.d.ts +78 -8
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/sap.m.d.ts +497 -32
  24. package/types/sap.makit.d.ts +1 -1
  25. package/types/sap.me.d.ts +1 -1
  26. package/types/sap.ndc.d.ts +1 -1
  27. package/types/sap.ovp.d.ts +1 -1
  28. package/types/sap.rules.ui.d.ts +1 -1
  29. package/types/sap.sac.df.d.ts +4 -4
  30. package/types/sap.suite.ui.commons.d.ts +12 -1
  31. package/types/sap.suite.ui.generic.template.d.ts +8 -2
  32. package/types/sap.suite.ui.microchart.d.ts +1 -1
  33. package/types/sap.tnt.d.ts +1 -1
  34. package/types/sap.ui.codeeditor.d.ts +1 -1
  35. package/types/sap.ui.commons.d.ts +1 -1
  36. package/types/sap.ui.comp.d.ts +3474 -380
  37. package/types/sap.ui.core.d.ts +108 -111
  38. package/types/sap.ui.dt.d.ts +1 -1
  39. package/types/sap.ui.export.d.ts +1 -1
  40. package/types/sap.ui.fl.d.ts +1 -1
  41. package/types/sap.ui.generic.app.d.ts +1 -1
  42. package/types/sap.ui.generic.template.d.ts +1 -1
  43. package/types/sap.ui.integration.d.ts +2 -2
  44. package/types/sap.ui.layout.d.ts +1 -1
  45. package/types/sap.ui.mdc.d.ts +127 -8
  46. package/types/sap.ui.richtexteditor.d.ts +8 -6
  47. package/types/sap.ui.rta.d.ts +1 -1
  48. package/types/sap.ui.suite.d.ts +1 -1
  49. package/types/sap.ui.support.d.ts +1 -1
  50. package/types/sap.ui.table.d.ts +7 -1
  51. package/types/sap.ui.testrecorder.d.ts +1 -1
  52. package/types/sap.ui.unified.d.ts +11 -31
  53. package/types/sap.ui.ux3.d.ts +1 -1
  54. package/types/sap.ui.vbm.d.ts +1 -1
  55. package/types/sap.ui.vk.d.ts +295 -25
  56. package/types/sap.ui.vtm.d.ts +1 -1
  57. package/types/sap.ui.webc.common.d.ts +1 -1
  58. package/types/sap.ui.webc.fiori.d.ts +1 -1
  59. package/types/sap.ui.webc.main.d.ts +1 -1
  60. package/types/sap.uiext.inbox.d.ts +1 -1
  61. package/types/sap.ushell.d.ts +46 -37
  62. package/types/sap.ushell_abap.d.ts +1 -1
  63. package/types/sap.uxap.d.ts +2 -21
  64. package/types/sap.viz.d.ts +1 -1
  65. package/types/sap.webanalytics.core.d.ts +1 -1
  66. package/types/sap.zen.commons.d.ts +1 -1
  67. package/types/sap.zen.crosstab.d.ts +1 -1
  68. package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.135.0
1
+ // For Library Version: 1.136.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -2678,6 +2678,43 @@ declare namespace sap {
2678
2678
  }
2679
2679
 
2680
2680
  namespace UploadSetwithTable {
2681
+ /**
2682
+ * This property type is used to define the file name validation configuration. Object is passed to {@link sap.m.plugins.UploadSetwithTable fileNameValidationConfig property}
2683
+ */
2684
+ type FilenameValidationConfig = {
2685
+ /**
2686
+ * The file name validation config mode.
2687
+ */
2688
+ mode: sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode;
2689
+ /**
2690
+ * The file name validation configuration characters.
2691
+ *
2692
+ * The default restricted filename character set is: \:/*?"<>|[]{}@#$
2693
+ */
2694
+ characters: string;
2695
+ };
2696
+
2697
+ /**
2698
+ * Key property of {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfig FileNameValidationConfig}.
2699
+ * Used to determine the mode for file name validation.
2700
+ *
2701
+ * @since 1.136
2702
+ */
2703
+ type FilenameValidationConfigMode = {
2704
+ /**
2705
+ * The file name validation mode. The allowed values are 'include', 'exclude', or 'override'.
2706
+ *
2707
+ * If the mode is 'include', the specified characters are added to the default restricted character set.
2708
+ *
2709
+ * If the mode is 'exclude', the specified characters are excluded from the default resrtricted character
2710
+ * set.
2711
+ * If the mode is 'override', the specified characters replace the entire default restricted character
2712
+ * set.
2713
+ * If the mode is not set, the default restricted file name character set is used.
2714
+ */
2715
+ mode: string;
2716
+ };
2717
+
2681
2718
  /**
2682
2719
  * Item info object sent as paramter to {@link sap.m.plugins.UploadSetwithTable.itemValidationHandler itemValidationHandler callback}
2683
2720
  */
@@ -2741,6 +2778,16 @@ declare namespace sap {
2741
2778
  selectionChange?: (oEvent: sap.ui.base.Event) => void;
2742
2779
  }
2743
2780
 
2781
+ /**
2782
+ * Describes the settings that can be provided to the ColumnAIAction constructor.
2783
+ */
2784
+ interface $ColumnAIActionSettings extends sap.ui.core.$ElementSettings {
2785
+ /**
2786
+ * Fired when the AI action is pressed.
2787
+ */
2788
+ press?: (oEvent: ColumnAIAction$PressEvent) => void;
2789
+ }
2790
+
2744
2791
  /**
2745
2792
  * Describes the settings that can be provided to the ColumnResizer constructor.
2746
2793
  */
@@ -3065,6 +3112,24 @@ declare namespace sap {
3065
3112
  | string
3066
3113
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
3067
3114
 
3115
+ /**
3116
+ * File name validation configuration.
3117
+ * Set this property to configure the file name validation characters and the validation mode.
3118
+ * This configuration is used to validate the file name when a file is selected for renaming.
3119
+ * For the plugin to pick up this configuration, mode and characters of the property must be set to validate
3120
+ * the file name.
3121
+ * see {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode mode} to configure the file
3122
+ * name validation mode.
3123
+ *
3124
+ * The default restricted filename character set is: \:/*?"<>|[]{}@#$
3125
+ *
3126
+ * @since 1.136
3127
+ */
3128
+ fileNameValidationConfig?:
3129
+ | sap.m.plugins.UploadSetwithTable.FilenameValidationConfig
3130
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
3131
+ | `{${string}}`;
3132
+
3068
3133
  /**
3069
3134
  * Defines the uploader to be used. If not specified, the default implementation is used.
3070
3135
  */
@@ -3192,6 +3257,16 @@ declare namespace sap {
3192
3257
  */
3193
3258
  interface CellSelector$SelectionChangeEventParameters {}
3194
3259
 
3260
+ /**
3261
+ * Parameters of the ColumnAIAction#press event.
3262
+ */
3263
+ interface ColumnAIAction$PressEventParameters {
3264
+ /**
3265
+ * The column action that triggered the event.
3266
+ */
3267
+ action?: sap.ui.core.Control;
3268
+ }
3269
+
3195
3270
  /**
3196
3271
  * Parameters of the ColumnResizer#columnResize event.
3197
3272
  */
@@ -3722,6 +3797,168 @@ declare namespace sap {
3722
3797
  iRangeLimit?: int
3723
3798
  ): this;
3724
3799
  }
3800
+ /**
3801
+ * This plugin adds an AI related action to a table column.
3802
+ *
3803
+ * @since 1.136
3804
+ */
3805
+ class ColumnAIAction extends sap.ui.core.Element {
3806
+ /**
3807
+ * Constructor for a new `ColumnAIAction` plugin that can be used to add an AI related action for table
3808
+ * columns.
3809
+ *
3810
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
3811
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
3812
+ * of the syntax of the settings object.
3813
+ */
3814
+ constructor(
3815
+ /**
3816
+ * Initial settings for the `ColumnAIAction`
3817
+ */
3818
+ mSettings?: sap.m.plugins.$ColumnAIActionSettings
3819
+ );
3820
+ /**
3821
+ * Constructor for a new `ColumnAIAction` plugin that can be used to add an AI related action for table
3822
+ * columns.
3823
+ *
3824
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
3825
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
3826
+ * of the syntax of the settings object.
3827
+ */
3828
+ constructor(
3829
+ /**
3830
+ * ID for the new `ColumnAIAction`, generated automatically if no ID is given
3831
+ */
3832
+ sId?: string,
3833
+ /**
3834
+ * Initial settings for the `ColumnAIAction`
3835
+ */
3836
+ mSettings?: sap.m.plugins.$ColumnAIActionSettings
3837
+ );
3838
+
3839
+ /**
3840
+ * Creates a new subclass of class sap.m.plugins.ColumnAIAction with name `sClassName` and enriches it with
3841
+ * the information contained in `oClassInfo`.
3842
+ *
3843
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
3844
+ *
3845
+ *
3846
+ * @returns Created class / constructor function
3847
+ */
3848
+ static extend<T extends Record<string, unknown>>(
3849
+ /**
3850
+ * Name of the class being created
3851
+ */
3852
+ sClassName: string,
3853
+ /**
3854
+ * Object literal with information about the class
3855
+ */
3856
+ oClassInfo?: sap.ClassInfo<T, sap.m.plugins.ColumnAIAction>,
3857
+ /**
3858
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3859
+ * used by this class
3860
+ */
3861
+ FNMetaImpl?: Function
3862
+ ): Function;
3863
+ /**
3864
+ * Searches a plugin of the corresponding type in the aggregations of the given `Element` instance. The
3865
+ * first plugin that is found is returned.
3866
+ *
3867
+ *
3868
+ * @returns The found plugin instance or `undefined` if not found
3869
+ */
3870
+ static findOn(
3871
+ /**
3872
+ * The `Element` instance to check for
3873
+ */
3874
+ oElement: sap.ui.core.Element
3875
+ ): sap.ui.core.Element | undefined;
3876
+ /**
3877
+ * Returns a metadata object for class sap.m.plugins.ColumnAIAction.
3878
+ *
3879
+ *
3880
+ * @returns Metadata object describing this class
3881
+ */
3882
+ static getMetadata(): sap.ui.core.ElementMetadata;
3883
+ /**
3884
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.plugins.ColumnAIAction`.
3885
+ *
3886
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
3887
+ * otherwise it will be bound to this `sap.m.plugins.ColumnAIAction` itself.
3888
+ *
3889
+ * Fired when the AI action is pressed.
3890
+ *
3891
+ *
3892
+ * @returns Reference to `this` in order to allow method chaining
3893
+ */
3894
+ attachPress(
3895
+ /**
3896
+ * An application-specific payload object that will be passed to the event handler along with the event
3897
+ * object when firing the event
3898
+ */
3899
+ oData: object,
3900
+ /**
3901
+ * The function to be called when the event occurs
3902
+ */
3903
+ fnFunction: (p1: ColumnAIAction$PressEvent) => void,
3904
+ /**
3905
+ * Context object to call the event handler with. Defaults to this `sap.m.plugins.ColumnAIAction` itself
3906
+ */
3907
+ oListener?: object
3908
+ ): this;
3909
+ /**
3910
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.plugins.ColumnAIAction`.
3911
+ *
3912
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
3913
+ * otherwise it will be bound to this `sap.m.plugins.ColumnAIAction` itself.
3914
+ *
3915
+ * Fired when the AI action is pressed.
3916
+ *
3917
+ *
3918
+ * @returns Reference to `this` in order to allow method chaining
3919
+ */
3920
+ attachPress(
3921
+ /**
3922
+ * The function to be called when the event occurs
3923
+ */
3924
+ fnFunction: (p1: ColumnAIAction$PressEvent) => void,
3925
+ /**
3926
+ * Context object to call the event handler with. Defaults to this `sap.m.plugins.ColumnAIAction` itself
3927
+ */
3928
+ oListener?: object
3929
+ ): this;
3930
+ /**
3931
+ * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.m.plugins.ColumnAIAction`.
3932
+ *
3933
+ * The passed function and listener object must match the ones used for event registration.
3934
+ *
3935
+ *
3936
+ * @returns Reference to `this` in order to allow method chaining
3937
+ */
3938
+ detachPress(
3939
+ /**
3940
+ * The function to be called, when the event occurs
3941
+ */
3942
+ fnFunction: (p1: ColumnAIAction$PressEvent) => void,
3943
+ /**
3944
+ * Context object on which the given function had to be called
3945
+ */
3946
+ oListener?: object
3947
+ ): this;
3948
+ /**
3949
+ * Fires event {@link #event:press press} to attached listeners.
3950
+ *
3951
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
3952
+ *
3953
+ * @returns Reference to `this` in order to allow method chaining
3954
+ */
3955
+ firePress(
3956
+ /**
3957
+ * Parameters to pass along with the event
3958
+ */
3959
+ mParameters?: sap.m.plugins.ColumnAIAction$PressEventParameters
3960
+ ): this;
3961
+ }
3725
3962
  /**
3726
3963
  * Enables column resizing for the `sap.m.Table`. This plugin can be added to the control via its `dependents`
3727
3964
  * aggregation and there must only be 1 instance of the plugin per control.
@@ -6257,6 +6494,24 @@ declare namespace sap {
6257
6494
  * @returns Value of property `directory`
6258
6495
  */
6259
6496
  getDirectory(): boolean;
6497
+ /**
6498
+ * Gets current value of property {@link #getFileNameValidationConfig fileNameValidationConfig}.
6499
+ *
6500
+ * File name validation configuration.
6501
+ * Set this property to configure the file name validation characters and the validation mode.
6502
+ * This configuration is used to validate the file name when a file is selected for renaming.
6503
+ * For the plugin to pick up this configuration, mode and characters of the property must be set to validate
6504
+ * the file name.
6505
+ * see {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode mode} to configure the file
6506
+ * name validation mode.
6507
+ *
6508
+ * The default restricted filename character set is: \:/*?"<>|[]{}@#$
6509
+ *
6510
+ * @since 1.136
6511
+ *
6512
+ * @returns Value of property `fileNameValidationConfig`
6513
+ */
6514
+ getFileNameValidationConfig(): sap.m.plugins.UploadSetwithTable.FilenameValidationConfig;
6260
6515
  /**
6261
6516
  * Gets current value of property {@link #getFileTypes fileTypes}.
6262
6517
  *
@@ -6568,6 +6823,31 @@ declare namespace sap {
6568
6823
  */
6569
6824
  bDirectory?: boolean
6570
6825
  ): this;
6826
+ /**
6827
+ * Sets a new value for property {@link #getFileNameValidationConfig fileNameValidationConfig}.
6828
+ *
6829
+ * File name validation configuration.
6830
+ * Set this property to configure the file name validation characters and the validation mode.
6831
+ * This configuration is used to validate the file name when a file is selected for renaming.
6832
+ * For the plugin to pick up this configuration, mode and characters of the property must be set to validate
6833
+ * the file name.
6834
+ * see {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode mode} to configure the file
6835
+ * name validation mode.
6836
+ *
6837
+ * The default restricted filename character set is: \:/*?"<>|[]{}@#$
6838
+ *
6839
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
6840
+ *
6841
+ * @since 1.136
6842
+ *
6843
+ * @returns Reference to `this` in order to allow method chaining
6844
+ */
6845
+ setFileNameValidationConfig(
6846
+ /**
6847
+ * New value for property `fileNameValidationConfig`
6848
+ */
6849
+ sFileNameValidationConfig?: sap.m.plugins.UploadSetwithTable.FilenameValidationConfig
6850
+ ): this;
6571
6851
  /**
6572
6852
  * Sets a new value for property {@link #getFileTypes fileTypes}.
6573
6853
  *
@@ -6874,6 +7154,14 @@ declare namespace sap {
6874
7154
  CellSelector
6875
7155
  >;
6876
7156
 
7157
+ /**
7158
+ * Event object of the ColumnAIAction#press event.
7159
+ */
7160
+ type ColumnAIAction$PressEvent = sap.ui.base.Event<
7161
+ ColumnAIAction$PressEventParameters,
7162
+ ColumnAIAction
7163
+ >;
7164
+
6877
7165
  /**
6878
7166
  * Event object of the ColumnResizer#columnResize event.
6879
7167
  */
@@ -17688,6 +17976,64 @@ declare namespace sap {
17688
17976
  | sap.ui.base.ManagedObject.PropertyBindingInfo
17689
17977
  | `{${string}}`;
17690
17978
 
17979
+ /**
17980
+ * Callback function to insert custom content into the preview dialog using a control to display the preview
17981
+ * of unsupported file types.
17982
+ * Use this property as callback function to insert a control with the content into the preview dialog.
17983
+ *
17984
+ * Callback function returns a promise that resolves with a control that is displayed in the preview dialog.
17985
+ * Reject the promise to display the default illustrated message.
17986
+ * Callback function is invoked with {@link sap.m.upload.UploadItem item} for each unsupported file type.
17987
+ *
17988
+ *
17989
+ * Example: There is a file with an xml extension and you want to display the content inside a codeeditor
17990
+ * control for the file type.
17991
+ *
17992
+ *
17993
+ * ```javascript
17994
+ *
17995
+ * <UploadSetwithTable>
17996
+ * <upload:FilePreviewDialog customPageContentHandler="{onCustomContentHandler}"></upload:FilePreviewDialog>
17997
+ * </UploadSetwithTable>
17998
+ * ```
17999
+ *
18000
+ *
18001
+ *
18002
+ * ```javascript
18003
+ *
18004
+ * onCustomContentHandler: function(oItem) {
18005
+ *
18006
+ * return new Promise(function(resolve, reject) {
18007
+ *
18008
+ * switch (oItem.getMediaType().toLowerCase()) {
18009
+ *
18010
+ * case "application/xml":
18011
+ *
18012
+ * var oCodeEditor = new CodeEditor({
18013
+ * value: "XML content",
18014
+ * width: "100%",
18015
+ * height: "100%"
18016
+ * });
18017
+ *
18018
+ * resolve(oCodeEditor);
18019
+ * break;
18020
+ *
18021
+ * default:
18022
+ * reject(); // reject the promise to display the default illustrated message.
18023
+ * break;
18024
+ * }
18025
+ * });
18026
+ * }
18027
+ * ```
18028
+ *
18029
+ *
18030
+ * @since 1.136
18031
+ */
18032
+ customPageContentHandler?:
18033
+ | Function
18034
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
18035
+ | `{${string}}`;
18036
+
17691
18037
  /**
17692
18038
  * Custom buttons, to be displayed in the preview dialog footer.
17693
18039
  * Control by default adds two buttons (download and close).
@@ -19313,6 +19659,64 @@ declare namespace sap {
19313
19659
  * Control by default adds two buttons (download and close).
19314
19660
  */
19315
19661
  getAdditionalFooterButtons(): sap.m.Button[];
19662
+ /**
19663
+ * Gets current value of property {@link #getCustomPageContentHandler customPageContentHandler}.
19664
+ *
19665
+ * Callback function to insert custom content into the preview dialog using a control to display the preview
19666
+ * of unsupported file types.
19667
+ * Use this property as callback function to insert a control with the content into the preview dialog.
19668
+ *
19669
+ * Callback function returns a promise that resolves with a control that is displayed in the preview dialog.
19670
+ * Reject the promise to display the default illustrated message.
19671
+ * Callback function is invoked with {@link sap.m.upload.UploadItem item} for each unsupported file type.
19672
+ *
19673
+ *
19674
+ * Example: There is a file with an xml extension and you want to display the content inside a codeeditor
19675
+ * control for the file type.
19676
+ *
19677
+ *
19678
+ * ```javascript
19679
+ *
19680
+ * <UploadSetwithTable>
19681
+ * <upload:FilePreviewDialog customPageContentHandler="{onCustomContentHandler}"></upload:FilePreviewDialog>
19682
+ * </UploadSetwithTable>
19683
+ * ```
19684
+ *
19685
+ *
19686
+ *
19687
+ * ```javascript
19688
+ *
19689
+ * onCustomContentHandler: function(oItem) {
19690
+ *
19691
+ * return new Promise(function(resolve, reject) {
19692
+ *
19693
+ * switch (oItem.getMediaType().toLowerCase()) {
19694
+ *
19695
+ * case "application/xml":
19696
+ *
19697
+ * var oCodeEditor = new CodeEditor({
19698
+ * value: "XML content",
19699
+ * width: "100%",
19700
+ * height: "100%"
19701
+ * });
19702
+ *
19703
+ * resolve(oCodeEditor);
19704
+ * break;
19705
+ *
19706
+ * default:
19707
+ * reject(); // reject the promise to display the default illustrated message.
19708
+ * break;
19709
+ * }
19710
+ * });
19711
+ * }
19712
+ * ```
19713
+ *
19714
+ *
19715
+ * @since 1.136
19716
+ *
19717
+ * @returns Value of property `customPageContentHandler`
19718
+ */
19719
+ getCustomPageContentHandler(): Function;
19316
19720
  /**
19317
19721
  * Gets current value of property {@link #getMaxFileSizeforPreview maxFileSizeforPreview}.
19318
19722
  *
@@ -19386,6 +19790,71 @@ declare namespace sap {
19386
19790
  * @returns An array of the removed elements (might be empty)
19387
19791
  */
19388
19792
  removeAllAdditionalFooterButtons(): sap.m.Button[];
19793
+ /**
19794
+ * Sets a new value for property {@link #getCustomPageContentHandler customPageContentHandler}.
19795
+ *
19796
+ * Callback function to insert custom content into the preview dialog using a control to display the preview
19797
+ * of unsupported file types.
19798
+ * Use this property as callback function to insert a control with the content into the preview dialog.
19799
+ *
19800
+ * Callback function returns a promise that resolves with a control that is displayed in the preview dialog.
19801
+ * Reject the promise to display the default illustrated message.
19802
+ * Callback function is invoked with {@link sap.m.upload.UploadItem item} for each unsupported file type.
19803
+ *
19804
+ *
19805
+ * Example: There is a file with an xml extension and you want to display the content inside a codeeditor
19806
+ * control for the file type.
19807
+ *
19808
+ *
19809
+ * ```javascript
19810
+ *
19811
+ * <UploadSetwithTable>
19812
+ * <upload:FilePreviewDialog customPageContentHandler="{onCustomContentHandler}"></upload:FilePreviewDialog>
19813
+ * </UploadSetwithTable>
19814
+ * ```
19815
+ *
19816
+ *
19817
+ *
19818
+ * ```javascript
19819
+ *
19820
+ * onCustomContentHandler: function(oItem) {
19821
+ *
19822
+ * return new Promise(function(resolve, reject) {
19823
+ *
19824
+ * switch (oItem.getMediaType().toLowerCase()) {
19825
+ *
19826
+ * case "application/xml":
19827
+ *
19828
+ * var oCodeEditor = new CodeEditor({
19829
+ * value: "XML content",
19830
+ * width: "100%",
19831
+ * height: "100%"
19832
+ * });
19833
+ *
19834
+ * resolve(oCodeEditor);
19835
+ * break;
19836
+ *
19837
+ * default:
19838
+ * reject(); // reject the promise to display the default illustrated message.
19839
+ * break;
19840
+ * }
19841
+ * });
19842
+ * }
19843
+ * ```
19844
+ *
19845
+ *
19846
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19847
+ *
19848
+ * @since 1.136
19849
+ *
19850
+ * @returns Reference to `this` in order to allow method chaining
19851
+ */
19852
+ setCustomPageContentHandler(
19853
+ /**
19854
+ * New value for property `customPageContentHandler`
19855
+ */
19856
+ fnCustomPageContentHandler?: Function
19857
+ ): this;
19389
19858
  /**
19390
19859
  * Sets a new value for property {@link #getMaxFileSizeforPreview maxFileSizeforPreview}.
19391
19860
  *
@@ -20327,7 +20796,9 @@ declare namespace sap {
20327
20796
  oListener?: object
20328
20797
  ): this;
20329
20798
  /**
20330
- * Starts the process of downloading a file.
20799
+ * Starts the process of downloading a file. Plugin uses the URL set in the item or the downloadUrl set
20800
+ * in the uploader class to download the file. If the URL is not set, a warning is logged. API downloads
20801
+ * the file with xhr response of blob type or string type.
20331
20802
  *
20332
20803
  *
20333
20804
  * @returns It returns true if the download is processed successfully
@@ -42958,7 +43429,8 @@ declare namespace sap {
42958
43429
  | `{${string}}`;
42959
43430
 
42960
43431
  /**
42961
- * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
43432
+ * Adds a priority badge before the content. Works only in Generic Tiles in ActionMode or Article Mode containing
43433
+ * NewsContent.
42962
43434
  *
42963
43435
  * @since 1.96
42964
43436
  */
@@ -42968,7 +43440,8 @@ declare namespace sap {
42968
43440
  | `{${string}}`;
42969
43441
 
42970
43442
  /**
42971
- * Sets the Text inside the Priority badge in Generic Tile ActionMode.
43443
+ * Sets the Text inside the Priority badge in Generic Tile. Works only in Generic Tiles in ActionMode or
43444
+ * Article Mode containing NewsContent.
42972
43445
  *
42973
43446
  * @since 1.103
42974
43447
  */
@@ -91067,11 +91540,11 @@ declare namespace sap {
91067
91540
  /**
91068
91541
  * The reference docking location of the `Menu` for positioning the menu on the screen
91069
91542
  */
91070
- sDockMy?: sap.ui.core.Dock,
91543
+ sDockMy?: sap.ui.core.Popup.Dock,
91071
91544
  /**
91072
91545
  * The `oControl` reference docking location for positioning the menu on the screen
91073
91546
  */
91074
- sDockAt?: sap.ui.core.Dock,
91547
+ sDockAt?: sap.ui.core.Popup.Dock,
91075
91548
  /**
91076
91549
  * The offset relative to the docking point, specified as a string with space-separated pixel values (e.g.
91077
91550
  * "0 10" to move the popup 10 pixels to the right). If the docking of both "my" and "at" is RTL-sensitive
@@ -148798,7 +149271,8 @@ declare namespace sap {
148798
149271
  /**
148799
149272
  * Gets current value of property {@link #getPriority priority}.
148800
149273
  *
148801
- * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
149274
+ * Adds a priority badge before the content. Works only in Generic Tiles in ActionMode or Article Mode containing
149275
+ * NewsContent.
148802
149276
  *
148803
149277
  * Default value is `None`.
148804
149278
  *
@@ -148810,7 +149284,8 @@ declare namespace sap {
148810
149284
  /**
148811
149285
  * Gets current value of property {@link #getPriorityText priorityText}.
148812
149286
  *
148813
- * Sets the Text inside the Priority badge in Generic Tile ActionMode.
149287
+ * Sets the Text inside the Priority badge in Generic Tile. Works only in Generic Tiles in ActionMode or
149288
+ * Article Mode containing NewsContent.
148814
149289
  *
148815
149290
  * @since 1.103
148816
149291
  *
@@ -148936,40 +149411,28 @@ declare namespace sap {
148936
149411
  sFrameType?: sap.m.FrameType
148937
149412
  ): this;
148938
149413
  /**
148939
- * Sets a new value for property {@link #getPriority priority}.
148940
- *
148941
- * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
148942
- *
148943
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
149414
+ * Sets the priority of the tile content.
148944
149415
  *
148945
- * Default value is `None`.
148946
149416
  *
148947
- * @since 1.96
148948
- *
148949
- * @returns Reference to `this` in order to allow method chaining
149417
+ * @returns Reference to the current instance for method chaining.
148950
149418
  */
148951
149419
  setPriority(
148952
149420
  /**
148953
- * New value for property `priority`
149421
+ * The priority level.
148954
149422
  */
148955
- sPriority?: sap.m.Priority
149423
+ sPriority: sap.m.Priority
148956
149424
  ): this;
148957
149425
  /**
148958
- * Sets a new value for property {@link #getPriorityText priorityText}.
149426
+ * Sets the text for the priority badge.
148959
149427
  *
148960
- * Sets the Text inside the Priority badge in Generic Tile ActionMode.
148961
- *
148962
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
148963
149428
  *
148964
- * @since 1.103
148965
- *
148966
- * @returns Reference to `this` in order to allow method chaining
149429
+ * @returns Reference to the current instance for method chaining.
148967
149430
  */
148968
149431
  setPriorityText(
148969
149432
  /**
148970
- * New value for property `priorityText`
149433
+ * The text to be displayed on the badge.
148971
149434
  */
148972
- sPriorityText?: string
149435
+ sPriorityText: string
148973
149436
  ): this;
148974
149437
  /**
148975
149438
  * Setter for protected property to enable or disable content rendering. This function does not invalidate
@@ -164350,19 +164813,19 @@ declare namespace sap {
164350
164813
  *
164351
164814
  * @since 1.136
164352
164815
  */
164353
- ExtraSmall = "Dot",
164816
+ ExtraSmall = "ExtraSmall",
164354
164817
  /**
164355
164818
  * Large `Illustration` size. Alias for `Scene` size (L breakpoint). Suitable for a `Page` or a table.
164356
164819
  *
164357
164820
  * @since 1.136
164358
164821
  */
164359
- Large = "Scene",
164822
+ Large = "Large",
164360
164823
  /**
164361
164824
  * Medium `Illustration` size. Alias for `Dialog` size (M breakpoint). Suitable for dialogs.
164362
164825
  *
164363
164826
  * @since 1.136
164364
164827
  */
164365
- Medium = "Dialog",
164828
+ Medium = "Medium",
164366
164829
  /**
164367
164830
  * Scene `Illustration` size (L breakpoint). Suitable for a `Page` or a table.
164368
164831
  *
@@ -164374,7 +164837,7 @@ declare namespace sap {
164374
164837
  *
164375
164838
  * @since 1.136
164376
164839
  */
164377
- Small = "Spot",
164840
+ Small = "Small",
164378
164841
  /**
164379
164842
  * Spot `Illustration` size (S breakpoint). Suitable for cards (four columns).
164380
164843
  *
@@ -169950,6 +170413,8 @@ declare namespace sap {
169950
170413
 
169951
170414
  "sap/m/plugins/CellSelector": undefined;
169952
170415
 
170416
+ "sap/m/plugins/ColumnAIAction": undefined;
170417
+
169953
170418
  "sap/m/plugins/ColumnResizer": undefined;
169954
170419
 
169955
170420
  "sap/m/plugins/ContextMenuSetting": undefined;