@sapui5/ts-types-esm 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/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.home.d.ts +82 -0
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +101 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +27 -3
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +446 -57
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +80 -8
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +518 -39
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +14 -6
- package/types/sap.suite.ui.commons.d.ts +12 -1
- package/types/sap.suite.ui.generic.template.d.ts +8 -2
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +3278 -212
- package/types/sap.ui.core.d.ts +114 -117
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +8 -2
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +5 -3
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +135 -8
- package/types/sap.ui.richtexteditor.d.ts +8 -8
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +7 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +14 -32
- package/types/sap.ui.ux3.d.ts +3 -3
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +310 -39
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +46 -37
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +2 -21
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- 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.
|
|
1
|
+
// For Library Version: 1.136.0
|
|
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?:
|
|
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 = "
|
|
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 = "
|
|
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 = "
|
|
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 = "
|
|
40128
|
+
Small = "Small",
|
|
40127
40129
|
/**
|
|
40128
40130
|
* Spot `Illustration` size (S breakpoint). Suitable for cards (four columns).
|
|
40129
40131
|
*
|
|
@@ -54553,7 +54555,7 @@ declare module "sap/m/MaskInputRule" {
|
|
|
54553
54555
|
declare module "sap/m/Menu" {
|
|
54554
54556
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
54555
54557
|
|
|
54556
|
-
import { IContextMenu
|
|
54558
|
+
import { IContextMenu } from "sap/ui/core/library";
|
|
54557
54559
|
|
|
54558
54560
|
import { IMenuItem } from "sap/m/library";
|
|
54559
54561
|
|
|
@@ -54568,6 +54570,8 @@ declare module "sap/m/Menu" {
|
|
|
54568
54570
|
|
|
54569
54571
|
import UI5Element from "sap/ui/core/Element";
|
|
54570
54572
|
|
|
54573
|
+
import Popup from "sap/ui/core/Popup";
|
|
54574
|
+
|
|
54571
54575
|
import MenuItem from "sap/m/MenuItem";
|
|
54572
54576
|
|
|
54573
54577
|
/**
|
|
@@ -55020,11 +55024,11 @@ declare module "sap/m/Menu" {
|
|
|
55020
55024
|
/**
|
|
55021
55025
|
* The reference docking location of the `Menu` for positioning the menu on the screen
|
|
55022
55026
|
*/
|
|
55023
|
-
sDockMy?: Dock,
|
|
55027
|
+
sDockMy?: typeof Popup.Dock | keyof typeof Popup.Dock,
|
|
55024
55028
|
/**
|
|
55025
55029
|
* The `oControl` reference docking location for positioning the menu on the screen
|
|
55026
55030
|
*/
|
|
55027
|
-
sDockAt?: Dock,
|
|
55031
|
+
sDockAt?: typeof Popup.Dock | keyof typeof Popup.Dock,
|
|
55028
55032
|
/**
|
|
55029
55033
|
* The offset relative to the docking point, specified as a string with space-separated pixel values (e.g.
|
|
55030
55034
|
* "0 10" to move the popup 10 pixels to the right). If the docking of both "my" and "at" is RTL-sensitive
|
|
@@ -55768,7 +55772,7 @@ declare module "sap/m/MenuButton" {
|
|
|
55768
55772
|
/**
|
|
55769
55773
|
* New value for property `menuPosition`
|
|
55770
55774
|
*/
|
|
55771
|
-
sMenuPosition?: typeof Popup.Dock
|
|
55775
|
+
sMenuPosition?: typeof Popup.Dock | keyof typeof Popup.Dock
|
|
55772
55776
|
): this;
|
|
55773
55777
|
/**
|
|
55774
55778
|
* Sets a new value for property {@link #getText text}.
|
|
@@ -55959,7 +55963,10 @@ declare module "sap/m/MenuButton" {
|
|
|
55959
55963
|
*
|
|
55960
55964
|
* @since 1.56.0
|
|
55961
55965
|
*/
|
|
55962
|
-
menuPosition?:
|
|
55966
|
+
menuPosition?:
|
|
55967
|
+
| (typeof Popup.Dock | keyof typeof Popup.Dock)
|
|
55968
|
+
| PropertyBindingInfo
|
|
55969
|
+
| `{${string}}`;
|
|
55963
55970
|
|
|
55964
55971
|
/**
|
|
55965
55972
|
* Controls whether the default action handler is invoked always or it is invoked only until a menu item
|
|
@@ -61473,12 +61480,12 @@ declare module "sap/m/MessageToast" {
|
|
|
61473
61480
|
* Specifies which point of the message toast should be aligned (e.g. `Dock.LeftTop` To use as align point
|
|
61474
61481
|
* the left top corner of the message toast).
|
|
61475
61482
|
*/
|
|
61476
|
-
my?: typeof Popup.Dock;
|
|
61483
|
+
my?: typeof Popup.Dock | keyof typeof Popup.Dock;
|
|
61477
61484
|
/**
|
|
61478
61485
|
* Specifies the point of the reference element to which the message toast should be aligned (e.g. `Dock.RightBottom`
|
|
61479
61486
|
* To position the message toast according to the bottom right corner of the reference element).
|
|
61480
61487
|
*/
|
|
61481
|
-
at?: typeof Popup.Dock;
|
|
61488
|
+
at?: typeof Popup.Dock | keyof typeof Popup.Dock;
|
|
61482
61489
|
/**
|
|
61483
61490
|
* Specifies the reference element to which the message toast should be aligned, by default it is aligned
|
|
61484
61491
|
* to the browser visual viewport.
|
|
@@ -93892,6 +93899,206 @@ declare module "sap/m/plugins/CellSelector" {
|
|
|
93892
93899
|
>;
|
|
93893
93900
|
}
|
|
93894
93901
|
|
|
93902
|
+
declare module "sap/m/plugins/ColumnAIAction" {
|
|
93903
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
93904
|
+
|
|
93905
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
93906
|
+
|
|
93907
|
+
import Control from "sap/ui/core/Control";
|
|
93908
|
+
|
|
93909
|
+
import Event from "sap/ui/base/Event";
|
|
93910
|
+
|
|
93911
|
+
/**
|
|
93912
|
+
* This plugin adds an AI related action to a table column.
|
|
93913
|
+
*
|
|
93914
|
+
* @since 1.136
|
|
93915
|
+
*/
|
|
93916
|
+
export default class ColumnAIAction extends UI5Element {
|
|
93917
|
+
/**
|
|
93918
|
+
* Constructor for a new `ColumnAIAction` plugin that can be used to add an AI related action for table
|
|
93919
|
+
* columns.
|
|
93920
|
+
*
|
|
93921
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
93922
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
93923
|
+
* of the syntax of the settings object.
|
|
93924
|
+
*/
|
|
93925
|
+
constructor(
|
|
93926
|
+
/**
|
|
93927
|
+
* Initial settings for the `ColumnAIAction`
|
|
93928
|
+
*/
|
|
93929
|
+
mSettings?: $ColumnAIActionSettings
|
|
93930
|
+
);
|
|
93931
|
+
/**
|
|
93932
|
+
* Constructor for a new `ColumnAIAction` plugin that can be used to add an AI related action for table
|
|
93933
|
+
* columns.
|
|
93934
|
+
*
|
|
93935
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
93936
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
93937
|
+
* of the syntax of the settings object.
|
|
93938
|
+
*/
|
|
93939
|
+
constructor(
|
|
93940
|
+
/**
|
|
93941
|
+
* ID for the new `ColumnAIAction`, generated automatically if no ID is given
|
|
93942
|
+
*/
|
|
93943
|
+
sId?: string,
|
|
93944
|
+
/**
|
|
93945
|
+
* Initial settings for the `ColumnAIAction`
|
|
93946
|
+
*/
|
|
93947
|
+
mSettings?: $ColumnAIActionSettings
|
|
93948
|
+
);
|
|
93949
|
+
|
|
93950
|
+
/**
|
|
93951
|
+
* Creates a new subclass of class sap.m.plugins.ColumnAIAction with name `sClassName` and enriches it with
|
|
93952
|
+
* the information contained in `oClassInfo`.
|
|
93953
|
+
*
|
|
93954
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
93955
|
+
*
|
|
93956
|
+
*
|
|
93957
|
+
* @returns Created class / constructor function
|
|
93958
|
+
*/
|
|
93959
|
+
static extend<T extends Record<string, unknown>>(
|
|
93960
|
+
/**
|
|
93961
|
+
* Name of the class being created
|
|
93962
|
+
*/
|
|
93963
|
+
sClassName: string,
|
|
93964
|
+
/**
|
|
93965
|
+
* Object literal with information about the class
|
|
93966
|
+
*/
|
|
93967
|
+
oClassInfo?: sap.ClassInfo<T, ColumnAIAction>,
|
|
93968
|
+
/**
|
|
93969
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
93970
|
+
* used by this class
|
|
93971
|
+
*/
|
|
93972
|
+
FNMetaImpl?: Function
|
|
93973
|
+
): Function;
|
|
93974
|
+
/**
|
|
93975
|
+
* Searches a plugin of the corresponding type in the aggregations of the given `Element` instance. The
|
|
93976
|
+
* first plugin that is found is returned.
|
|
93977
|
+
*
|
|
93978
|
+
*
|
|
93979
|
+
* @returns The found plugin instance or `undefined` if not found
|
|
93980
|
+
*/
|
|
93981
|
+
static findOn(
|
|
93982
|
+
/**
|
|
93983
|
+
* The `Element` instance to check for
|
|
93984
|
+
*/
|
|
93985
|
+
oElement: UI5Element
|
|
93986
|
+
): UI5Element | undefined;
|
|
93987
|
+
/**
|
|
93988
|
+
* Returns a metadata object for class sap.m.plugins.ColumnAIAction.
|
|
93989
|
+
*
|
|
93990
|
+
*
|
|
93991
|
+
* @returns Metadata object describing this class
|
|
93992
|
+
*/
|
|
93993
|
+
static getMetadata(): ElementMetadata;
|
|
93994
|
+
/**
|
|
93995
|
+
* Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.plugins.ColumnAIAction`.
|
|
93996
|
+
*
|
|
93997
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
93998
|
+
* otherwise it will be bound to this `sap.m.plugins.ColumnAIAction` itself.
|
|
93999
|
+
*
|
|
94000
|
+
* Fired when the AI action is pressed.
|
|
94001
|
+
*
|
|
94002
|
+
*
|
|
94003
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
94004
|
+
*/
|
|
94005
|
+
attachPress(
|
|
94006
|
+
/**
|
|
94007
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
94008
|
+
* object when firing the event
|
|
94009
|
+
*/
|
|
94010
|
+
oData: object,
|
|
94011
|
+
/**
|
|
94012
|
+
* The function to be called when the event occurs
|
|
94013
|
+
*/
|
|
94014
|
+
fnFunction: (p1: ColumnAIAction$PressEvent) => void,
|
|
94015
|
+
/**
|
|
94016
|
+
* Context object to call the event handler with. Defaults to this `sap.m.plugins.ColumnAIAction` itself
|
|
94017
|
+
*/
|
|
94018
|
+
oListener?: object
|
|
94019
|
+
): this;
|
|
94020
|
+
/**
|
|
94021
|
+
* Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.plugins.ColumnAIAction`.
|
|
94022
|
+
*
|
|
94023
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
94024
|
+
* otherwise it will be bound to this `sap.m.plugins.ColumnAIAction` itself.
|
|
94025
|
+
*
|
|
94026
|
+
* Fired when the AI action is pressed.
|
|
94027
|
+
*
|
|
94028
|
+
*
|
|
94029
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
94030
|
+
*/
|
|
94031
|
+
attachPress(
|
|
94032
|
+
/**
|
|
94033
|
+
* The function to be called when the event occurs
|
|
94034
|
+
*/
|
|
94035
|
+
fnFunction: (p1: ColumnAIAction$PressEvent) => void,
|
|
94036
|
+
/**
|
|
94037
|
+
* Context object to call the event handler with. Defaults to this `sap.m.plugins.ColumnAIAction` itself
|
|
94038
|
+
*/
|
|
94039
|
+
oListener?: object
|
|
94040
|
+
): this;
|
|
94041
|
+
/**
|
|
94042
|
+
* Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.m.plugins.ColumnAIAction`.
|
|
94043
|
+
*
|
|
94044
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
94045
|
+
*
|
|
94046
|
+
*
|
|
94047
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
94048
|
+
*/
|
|
94049
|
+
detachPress(
|
|
94050
|
+
/**
|
|
94051
|
+
* The function to be called, when the event occurs
|
|
94052
|
+
*/
|
|
94053
|
+
fnFunction: (p1: ColumnAIAction$PressEvent) => void,
|
|
94054
|
+
/**
|
|
94055
|
+
* Context object on which the given function had to be called
|
|
94056
|
+
*/
|
|
94057
|
+
oListener?: object
|
|
94058
|
+
): this;
|
|
94059
|
+
/**
|
|
94060
|
+
* Fires event {@link #event:press press} to attached listeners.
|
|
94061
|
+
*
|
|
94062
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
94063
|
+
*
|
|
94064
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
94065
|
+
*/
|
|
94066
|
+
firePress(
|
|
94067
|
+
/**
|
|
94068
|
+
* Parameters to pass along with the event
|
|
94069
|
+
*/
|
|
94070
|
+
mParameters?: ColumnAIAction$PressEventParameters
|
|
94071
|
+
): this;
|
|
94072
|
+
}
|
|
94073
|
+
/**
|
|
94074
|
+
* Describes the settings that can be provided to the ColumnAIAction constructor.
|
|
94075
|
+
*/
|
|
94076
|
+
export interface $ColumnAIActionSettings extends $ElementSettings {
|
|
94077
|
+
/**
|
|
94078
|
+
* Fired when the AI action is pressed.
|
|
94079
|
+
*/
|
|
94080
|
+
press?: (oEvent: ColumnAIAction$PressEvent) => void;
|
|
94081
|
+
}
|
|
94082
|
+
|
|
94083
|
+
/**
|
|
94084
|
+
* Parameters of the ColumnAIAction#press event.
|
|
94085
|
+
*/
|
|
94086
|
+
export interface ColumnAIAction$PressEventParameters {
|
|
94087
|
+
/**
|
|
94088
|
+
* The column action that triggered the event.
|
|
94089
|
+
*/
|
|
94090
|
+
action?: Control;
|
|
94091
|
+
}
|
|
94092
|
+
|
|
94093
|
+
/**
|
|
94094
|
+
* Event object of the ColumnAIAction#press event.
|
|
94095
|
+
*/
|
|
94096
|
+
export type ColumnAIAction$PressEvent = Event<
|
|
94097
|
+
ColumnAIAction$PressEventParameters,
|
|
94098
|
+
ColumnAIAction
|
|
94099
|
+
>;
|
|
94100
|
+
}
|
|
94101
|
+
|
|
93895
94102
|
declare module "sap/m/plugins/ColumnResizer" {
|
|
93896
94103
|
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
93897
94104
|
|
|
@@ -96893,6 +97100,24 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
96893
97100
|
* @returns Value of property `directory`
|
|
96894
97101
|
*/
|
|
96895
97102
|
getDirectory(): boolean;
|
|
97103
|
+
/**
|
|
97104
|
+
* Gets current value of property {@link #getFileNameValidationConfig fileNameValidationConfig}.
|
|
97105
|
+
*
|
|
97106
|
+
* File name validation configuration.
|
|
97107
|
+
* Set this property to configure the file name validation characters and the validation mode.
|
|
97108
|
+
* This configuration is used to validate the file name when a file is selected for renaming.
|
|
97109
|
+
* For the plugin to pick up this configuration, mode and characters of the property must be set to validate
|
|
97110
|
+
* the file name.
|
|
97111
|
+
* see {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode mode} to configure the file
|
|
97112
|
+
* name validation mode.
|
|
97113
|
+
*
|
|
97114
|
+
* The default restricted filename character set is: \:/*?"<>|[]{}@#$
|
|
97115
|
+
*
|
|
97116
|
+
* @since 1.136
|
|
97117
|
+
*
|
|
97118
|
+
* @returns Value of property `fileNameValidationConfig`
|
|
97119
|
+
*/
|
|
97120
|
+
getFileNameValidationConfig(): FilenameValidationConfig;
|
|
96896
97121
|
/**
|
|
96897
97122
|
* Gets current value of property {@link #getFileTypes fileTypes}.
|
|
96898
97123
|
*
|
|
@@ -97204,6 +97429,31 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
97204
97429
|
*/
|
|
97205
97430
|
bDirectory?: boolean
|
|
97206
97431
|
): this;
|
|
97432
|
+
/**
|
|
97433
|
+
* Sets a new value for property {@link #getFileNameValidationConfig fileNameValidationConfig}.
|
|
97434
|
+
*
|
|
97435
|
+
* File name validation configuration.
|
|
97436
|
+
* Set this property to configure the file name validation characters and the validation mode.
|
|
97437
|
+
* This configuration is used to validate the file name when a file is selected for renaming.
|
|
97438
|
+
* For the plugin to pick up this configuration, mode and characters of the property must be set to validate
|
|
97439
|
+
* the file name.
|
|
97440
|
+
* see {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode mode} to configure the file
|
|
97441
|
+
* name validation mode.
|
|
97442
|
+
*
|
|
97443
|
+
* The default restricted filename character set is: \:/*?"<>|[]{}@#$
|
|
97444
|
+
*
|
|
97445
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
97446
|
+
*
|
|
97447
|
+
* @since 1.136
|
|
97448
|
+
*
|
|
97449
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
97450
|
+
*/
|
|
97451
|
+
setFileNameValidationConfig(
|
|
97452
|
+
/**
|
|
97453
|
+
* New value for property `fileNameValidationConfig`
|
|
97454
|
+
*/
|
|
97455
|
+
sFileNameValidationConfig?: FilenameValidationConfig
|
|
97456
|
+
): this;
|
|
97207
97457
|
/**
|
|
97208
97458
|
* Sets a new value for property {@link #getFileTypes fileTypes}.
|
|
97209
97459
|
*
|
|
@@ -97466,6 +97716,43 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
97466
97716
|
oPromise: Promise<any>
|
|
97467
97717
|
): UploadItem;
|
|
97468
97718
|
}
|
|
97719
|
+
/**
|
|
97720
|
+
* This property type is used to define the file name validation configuration. Object is passed to {@link sap.m.plugins.UploadSetwithTable fileNameValidationConfig property}
|
|
97721
|
+
*/
|
|
97722
|
+
export type FilenameValidationConfig = {
|
|
97723
|
+
/**
|
|
97724
|
+
* The file name validation config mode.
|
|
97725
|
+
*/
|
|
97726
|
+
mode: FilenameValidationConfigMode;
|
|
97727
|
+
/**
|
|
97728
|
+
* The file name validation configuration characters.
|
|
97729
|
+
*
|
|
97730
|
+
* The default restricted filename character set is: \:/*?"<>|[]{}@#$
|
|
97731
|
+
*/
|
|
97732
|
+
characters: string;
|
|
97733
|
+
};
|
|
97734
|
+
|
|
97735
|
+
/**
|
|
97736
|
+
* Key property of {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfig FileNameValidationConfig}.
|
|
97737
|
+
* Used to determine the mode for file name validation.
|
|
97738
|
+
*
|
|
97739
|
+
* @since 1.136
|
|
97740
|
+
*/
|
|
97741
|
+
export type FilenameValidationConfigMode = {
|
|
97742
|
+
/**
|
|
97743
|
+
* The file name validation mode. The allowed values are 'include', 'exclude', or 'override'.
|
|
97744
|
+
*
|
|
97745
|
+
* If the mode is 'include', the specified characters are added to the default restricted character set.
|
|
97746
|
+
*
|
|
97747
|
+
* If the mode is 'exclude', the specified characters are excluded from the default resrtricted character
|
|
97748
|
+
* set.
|
|
97749
|
+
* If the mode is 'override', the specified characters replace the entire default restricted character
|
|
97750
|
+
* set.
|
|
97751
|
+
* If the mode is not set, the default restricted file name character set is used.
|
|
97752
|
+
*/
|
|
97753
|
+
mode: string;
|
|
97754
|
+
};
|
|
97755
|
+
|
|
97469
97756
|
/**
|
|
97470
97757
|
* Item info object sent as paramter to {@link sap.m.plugins.UploadSetwithTable.itemValidationHandler itemValidationHandler callback}
|
|
97471
97758
|
*/
|
|
@@ -97582,6 +97869,24 @@ declare module "sap/m/plugins/UploadSetwithTable" {
|
|
|
97582
97869
|
*/
|
|
97583
97870
|
cloudFilePickerButtonText?: string | PropertyBindingInfo;
|
|
97584
97871
|
|
|
97872
|
+
/**
|
|
97873
|
+
* File name validation configuration.
|
|
97874
|
+
* Set this property to configure the file name validation characters and the validation mode.
|
|
97875
|
+
* This configuration is used to validate the file name when a file is selected for renaming.
|
|
97876
|
+
* For the plugin to pick up this configuration, mode and characters of the property must be set to validate
|
|
97877
|
+
* the file name.
|
|
97878
|
+
* see {@link sap.m.plugins.UploadSetwithTable.FilenameValidationConfigMode mode} to configure the file
|
|
97879
|
+
* name validation mode.
|
|
97880
|
+
*
|
|
97881
|
+
* The default restricted filename character set is: \:/*?"<>|[]{}@#$
|
|
97882
|
+
*
|
|
97883
|
+
* @since 1.136
|
|
97884
|
+
*/
|
|
97885
|
+
fileNameValidationConfig?:
|
|
97886
|
+
| FilenameValidationConfig
|
|
97887
|
+
| PropertyBindingInfo
|
|
97888
|
+
| `{${string}}`;
|
|
97889
|
+
|
|
97585
97890
|
/**
|
|
97586
97891
|
* Defines the uploader to be used. If not specified, the default implementation is used.
|
|
97587
97892
|
*/
|
|
@@ -147815,7 +148120,8 @@ declare module "sap/m/TileContent" {
|
|
|
147815
148120
|
/**
|
|
147816
148121
|
* Gets current value of property {@link #getPriority priority}.
|
|
147817
148122
|
*
|
|
147818
|
-
* Adds a priority badge before the content. Works only in Generic
|
|
148123
|
+
* Adds a priority badge before the content. Works only in Generic Tiles in ActionMode or Article Mode containing
|
|
148124
|
+
* NewsContent.
|
|
147819
148125
|
*
|
|
147820
148126
|
* Default value is `None`.
|
|
147821
148127
|
*
|
|
@@ -147827,7 +148133,8 @@ declare module "sap/m/TileContent" {
|
|
|
147827
148133
|
/**
|
|
147828
148134
|
* Gets current value of property {@link #getPriorityText priorityText}.
|
|
147829
148135
|
*
|
|
147830
|
-
* Sets the Text inside the Priority badge in Generic Tile ActionMode
|
|
148136
|
+
* Sets the Text inside the Priority badge in Generic Tile. Works only in Generic Tiles in ActionMode or
|
|
148137
|
+
* Article Mode containing NewsContent.
|
|
147831
148138
|
*
|
|
147832
148139
|
* @since 1.103
|
|
147833
148140
|
*
|
|
@@ -147953,40 +148260,28 @@ declare module "sap/m/TileContent" {
|
|
|
147953
148260
|
sFrameType?: FrameType | keyof typeof FrameType
|
|
147954
148261
|
): this;
|
|
147955
148262
|
/**
|
|
147956
|
-
* Sets
|
|
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.
|
|
148263
|
+
* Sets the priority of the tile content.
|
|
147961
148264
|
*
|
|
147962
|
-
* Default value is `None`.
|
|
147963
|
-
*
|
|
147964
|
-
* @since 1.96
|
|
147965
148265
|
*
|
|
147966
|
-
* @returns Reference to
|
|
148266
|
+
* @returns Reference to the current instance for method chaining.
|
|
147967
148267
|
*/
|
|
147968
148268
|
setPriority(
|
|
147969
148269
|
/**
|
|
147970
|
-
*
|
|
148270
|
+
* The priority level.
|
|
147971
148271
|
*/
|
|
147972
|
-
sPriority
|
|
148272
|
+
sPriority: Priority | keyof typeof Priority
|
|
147973
148273
|
): this;
|
|
147974
148274
|
/**
|
|
147975
|
-
* Sets
|
|
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.
|
|
148275
|
+
* Sets the text for the priority badge.
|
|
147980
148276
|
*
|
|
147981
|
-
* @since 1.103
|
|
147982
148277
|
*
|
|
147983
|
-
* @returns Reference to
|
|
148278
|
+
* @returns Reference to the current instance for method chaining.
|
|
147984
148279
|
*/
|
|
147985
148280
|
setPriorityText(
|
|
147986
148281
|
/**
|
|
147987
|
-
*
|
|
148282
|
+
* The text to be displayed on the badge.
|
|
147988
148283
|
*/
|
|
147989
|
-
sPriorityText
|
|
148284
|
+
sPriorityText: string
|
|
147990
148285
|
): this;
|
|
147991
148286
|
/**
|
|
147992
148287
|
* Setter for protected property to enable or disable content rendering. This function does not invalidate
|
|
@@ -148127,7 +148422,8 @@ declare module "sap/m/TileContent" {
|
|
|
148127
148422
|
| `{${string}}`;
|
|
148128
148423
|
|
|
148129
148424
|
/**
|
|
148130
|
-
* Adds a priority badge before the content. Works only in Generic
|
|
148425
|
+
* Adds a priority badge before the content. Works only in Generic Tiles in ActionMode or Article Mode containing
|
|
148426
|
+
* NewsContent.
|
|
148131
148427
|
*
|
|
148132
148428
|
* @since 1.96
|
|
148133
148429
|
*/
|
|
@@ -148137,7 +148433,8 @@ declare module "sap/m/TileContent" {
|
|
|
148137
148433
|
| `{${string}}`;
|
|
148138
148434
|
|
|
148139
148435
|
/**
|
|
148140
|
-
* Sets the Text inside the Priority badge in Generic Tile ActionMode
|
|
148436
|
+
* Sets the Text inside the Priority badge in Generic Tile. Works only in Generic Tiles in ActionMode or
|
|
148437
|
+
* Article Mode containing NewsContent.
|
|
148141
148438
|
*
|
|
148142
148439
|
* @since 1.103
|
|
148143
148440
|
*/
|
|
@@ -155164,6 +155461,64 @@ declare module "sap/m/upload/FilePreviewDialog" {
|
|
|
155164
155461
|
* Control by default adds two buttons (download and close).
|
|
155165
155462
|
*/
|
|
155166
155463
|
getAdditionalFooterButtons(): Button[];
|
|
155464
|
+
/**
|
|
155465
|
+
* Gets current value of property {@link #getCustomPageContentHandler customPageContentHandler}.
|
|
155466
|
+
*
|
|
155467
|
+
* Callback function to insert custom content into the preview dialog using a control to display the preview
|
|
155468
|
+
* of unsupported file types.
|
|
155469
|
+
* Use this property as callback function to insert a control with the content into the preview dialog.
|
|
155470
|
+
*
|
|
155471
|
+
* Callback function returns a promise that resolves with a control that is displayed in the preview dialog.
|
|
155472
|
+
* Reject the promise to display the default illustrated message.
|
|
155473
|
+
* Callback function is invoked with {@link sap.m.upload.UploadItem item} for each unsupported file type.
|
|
155474
|
+
*
|
|
155475
|
+
*
|
|
155476
|
+
* Example: There is a file with an xml extension and you want to display the content inside a codeeditor
|
|
155477
|
+
* control for the file type.
|
|
155478
|
+
*
|
|
155479
|
+
*
|
|
155480
|
+
* ```javascript
|
|
155481
|
+
*
|
|
155482
|
+
* <UploadSetwithTable>
|
|
155483
|
+
* <upload:FilePreviewDialog customPageContentHandler="{onCustomContentHandler}"></upload:FilePreviewDialog>
|
|
155484
|
+
* </UploadSetwithTable>
|
|
155485
|
+
* ```
|
|
155486
|
+
*
|
|
155487
|
+
*
|
|
155488
|
+
*
|
|
155489
|
+
* ```javascript
|
|
155490
|
+
*
|
|
155491
|
+
* onCustomContentHandler: function(oItem) {
|
|
155492
|
+
*
|
|
155493
|
+
* return new Promise(function(resolve, reject) {
|
|
155494
|
+
*
|
|
155495
|
+
* switch (oItem.getMediaType().toLowerCase()) {
|
|
155496
|
+
*
|
|
155497
|
+
* case "application/xml":
|
|
155498
|
+
*
|
|
155499
|
+
* var oCodeEditor = new CodeEditor({
|
|
155500
|
+
* value: "XML content",
|
|
155501
|
+
* width: "100%",
|
|
155502
|
+
* height: "100%"
|
|
155503
|
+
* });
|
|
155504
|
+
*
|
|
155505
|
+
* resolve(oCodeEditor);
|
|
155506
|
+
* break;
|
|
155507
|
+
*
|
|
155508
|
+
* default:
|
|
155509
|
+
* reject(); // reject the promise to display the default illustrated message.
|
|
155510
|
+
* break;
|
|
155511
|
+
* }
|
|
155512
|
+
* });
|
|
155513
|
+
* }
|
|
155514
|
+
* ```
|
|
155515
|
+
*
|
|
155516
|
+
*
|
|
155517
|
+
* @since 1.136
|
|
155518
|
+
*
|
|
155519
|
+
* @returns Value of property `customPageContentHandler`
|
|
155520
|
+
*/
|
|
155521
|
+
getCustomPageContentHandler(): Function;
|
|
155167
155522
|
/**
|
|
155168
155523
|
* Gets current value of property {@link #getMaxFileSizeforPreview maxFileSizeforPreview}.
|
|
155169
155524
|
*
|
|
@@ -155237,6 +155592,71 @@ declare module "sap/m/upload/FilePreviewDialog" {
|
|
|
155237
155592
|
* @returns An array of the removed elements (might be empty)
|
|
155238
155593
|
*/
|
|
155239
155594
|
removeAllAdditionalFooterButtons(): Button[];
|
|
155595
|
+
/**
|
|
155596
|
+
* Sets a new value for property {@link #getCustomPageContentHandler customPageContentHandler}.
|
|
155597
|
+
*
|
|
155598
|
+
* Callback function to insert custom content into the preview dialog using a control to display the preview
|
|
155599
|
+
* of unsupported file types.
|
|
155600
|
+
* Use this property as callback function to insert a control with the content into the preview dialog.
|
|
155601
|
+
*
|
|
155602
|
+
* Callback function returns a promise that resolves with a control that is displayed in the preview dialog.
|
|
155603
|
+
* Reject the promise to display the default illustrated message.
|
|
155604
|
+
* Callback function is invoked with {@link sap.m.upload.UploadItem item} for each unsupported file type.
|
|
155605
|
+
*
|
|
155606
|
+
*
|
|
155607
|
+
* Example: There is a file with an xml extension and you want to display the content inside a codeeditor
|
|
155608
|
+
* control for the file type.
|
|
155609
|
+
*
|
|
155610
|
+
*
|
|
155611
|
+
* ```javascript
|
|
155612
|
+
*
|
|
155613
|
+
* <UploadSetwithTable>
|
|
155614
|
+
* <upload:FilePreviewDialog customPageContentHandler="{onCustomContentHandler}"></upload:FilePreviewDialog>
|
|
155615
|
+
* </UploadSetwithTable>
|
|
155616
|
+
* ```
|
|
155617
|
+
*
|
|
155618
|
+
*
|
|
155619
|
+
*
|
|
155620
|
+
* ```javascript
|
|
155621
|
+
*
|
|
155622
|
+
* onCustomContentHandler: function(oItem) {
|
|
155623
|
+
*
|
|
155624
|
+
* return new Promise(function(resolve, reject) {
|
|
155625
|
+
*
|
|
155626
|
+
* switch (oItem.getMediaType().toLowerCase()) {
|
|
155627
|
+
*
|
|
155628
|
+
* case "application/xml":
|
|
155629
|
+
*
|
|
155630
|
+
* var oCodeEditor = new CodeEditor({
|
|
155631
|
+
* value: "XML content",
|
|
155632
|
+
* width: "100%",
|
|
155633
|
+
* height: "100%"
|
|
155634
|
+
* });
|
|
155635
|
+
*
|
|
155636
|
+
* resolve(oCodeEditor);
|
|
155637
|
+
* break;
|
|
155638
|
+
*
|
|
155639
|
+
* default:
|
|
155640
|
+
* reject(); // reject the promise to display the default illustrated message.
|
|
155641
|
+
* break;
|
|
155642
|
+
* }
|
|
155643
|
+
* });
|
|
155644
|
+
* }
|
|
155645
|
+
* ```
|
|
155646
|
+
*
|
|
155647
|
+
*
|
|
155648
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
155649
|
+
*
|
|
155650
|
+
* @since 1.136
|
|
155651
|
+
*
|
|
155652
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
155653
|
+
*/
|
|
155654
|
+
setCustomPageContentHandler(
|
|
155655
|
+
/**
|
|
155656
|
+
* New value for property `customPageContentHandler`
|
|
155657
|
+
*/
|
|
155658
|
+
fnCustomPageContentHandler?: Function
|
|
155659
|
+
): this;
|
|
155240
155660
|
/**
|
|
155241
155661
|
* Sets a new value for property {@link #getMaxFileSizeforPreview maxFileSizeforPreview}.
|
|
155242
155662
|
*
|
|
@@ -155288,6 +155708,61 @@ declare module "sap/m/upload/FilePreviewDialog" {
|
|
|
155288
155708
|
*/
|
|
155289
155709
|
maxFileSizeforPreview?: float | PropertyBindingInfo | `{${string}}`;
|
|
155290
155710
|
|
|
155711
|
+
/**
|
|
155712
|
+
* Callback function to insert custom content into the preview dialog using a control to display the preview
|
|
155713
|
+
* of unsupported file types.
|
|
155714
|
+
* Use this property as callback function to insert a control with the content into the preview dialog.
|
|
155715
|
+
*
|
|
155716
|
+
* Callback function returns a promise that resolves with a control that is displayed in the preview dialog.
|
|
155717
|
+
* Reject the promise to display the default illustrated message.
|
|
155718
|
+
* Callback function is invoked with {@link sap.m.upload.UploadItem item} for each unsupported file type.
|
|
155719
|
+
*
|
|
155720
|
+
*
|
|
155721
|
+
* Example: There is a file with an xml extension and you want to display the content inside a codeeditor
|
|
155722
|
+
* control for the file type.
|
|
155723
|
+
*
|
|
155724
|
+
*
|
|
155725
|
+
* ```javascript
|
|
155726
|
+
*
|
|
155727
|
+
* <UploadSetwithTable>
|
|
155728
|
+
* <upload:FilePreviewDialog customPageContentHandler="{onCustomContentHandler}"></upload:FilePreviewDialog>
|
|
155729
|
+
* </UploadSetwithTable>
|
|
155730
|
+
* ```
|
|
155731
|
+
*
|
|
155732
|
+
*
|
|
155733
|
+
*
|
|
155734
|
+
* ```javascript
|
|
155735
|
+
*
|
|
155736
|
+
* onCustomContentHandler: function(oItem) {
|
|
155737
|
+
*
|
|
155738
|
+
* return new Promise(function(resolve, reject) {
|
|
155739
|
+
*
|
|
155740
|
+
* switch (oItem.getMediaType().toLowerCase()) {
|
|
155741
|
+
*
|
|
155742
|
+
* case "application/xml":
|
|
155743
|
+
*
|
|
155744
|
+
* var oCodeEditor = new CodeEditor({
|
|
155745
|
+
* value: "XML content",
|
|
155746
|
+
* width: "100%",
|
|
155747
|
+
* height: "100%"
|
|
155748
|
+
* });
|
|
155749
|
+
*
|
|
155750
|
+
* resolve(oCodeEditor);
|
|
155751
|
+
* break;
|
|
155752
|
+
*
|
|
155753
|
+
* default:
|
|
155754
|
+
* reject(); // reject the promise to display the default illustrated message.
|
|
155755
|
+
* break;
|
|
155756
|
+
* }
|
|
155757
|
+
* });
|
|
155758
|
+
* }
|
|
155759
|
+
* ```
|
|
155760
|
+
*
|
|
155761
|
+
*
|
|
155762
|
+
* @since 1.136
|
|
155763
|
+
*/
|
|
155764
|
+
customPageContentHandler?: Function | PropertyBindingInfo | `{${string}}`;
|
|
155765
|
+
|
|
155291
155766
|
/**
|
|
155292
155767
|
* Custom buttons, to be displayed in the preview dialog footer.
|
|
155293
155768
|
* Control by default adds two buttons (download and close).
|
|
@@ -156410,7 +156885,9 @@ declare module "sap/m/upload/UploaderTableItem" {
|
|
|
156410
156885
|
oListener?: object
|
|
156411
156886
|
): this;
|
|
156412
156887
|
/**
|
|
156413
|
-
* Starts the process of downloading a file.
|
|
156888
|
+
* Starts the process of downloading a file. Plugin uses the URL set in the item or the downloadUrl set
|
|
156889
|
+
* in the uploader class to download the file. If the URL is not set, a warning is logged. API downloads
|
|
156890
|
+
* the file with xhr response of blob type or string type.
|
|
156414
156891
|
*
|
|
156415
156892
|
*
|
|
156416
156893
|
* @returns It returns true if the download is processed successfully
|
|
@@ -171899,6 +172376,8 @@ declare namespace sap {
|
|
|
171899
172376
|
|
|
171900
172377
|
"sap/m/plugins/CellSelector": undefined;
|
|
171901
172378
|
|
|
172379
|
+
"sap/m/plugins/ColumnAIAction": undefined;
|
|
172380
|
+
|
|
171902
172381
|
"sap/m/plugins/ColumnResizer": undefined;
|
|
171903
172382
|
|
|
171904
172383
|
"sap/m/plugins/ContextMenuSetting": undefined;
|