@sapui5/ts-types 1.127.2 → 1.128.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 +225 -19
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +1366 -198
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.core.d.ts +11 -26
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +10 -1
- 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 +14 -3
- package/types/sap.fe.test.d.ts +3 -3
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +123 -64
- package/types/sap.insights.d.ts +24 -1
- package/types/sap.m.d.ts +329 -23
- 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 +96 -23
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- 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 +10 -4
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +1010 -4
- package/types/sap.ui.core.d.ts +48 -28
- 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 +10 -4
- 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 +53 -4
- package/types/sap.ui.layout.d.ts +5 -5
- package/types/sap.ui.mdc.d.ts +426 -204
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- 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 +94 -23
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +601 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +47 -22
- 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 +16 -8
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +46 -1
- 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.ui.comp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.128.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -34851,6 +34851,115 @@ declare namespace sap {
|
|
|
34851
34851
|
select?: (oEvent: SmartVariantManagementBase$SelectEvent) => void;
|
|
34852
34852
|
}
|
|
34853
34853
|
|
|
34854
|
+
/**
|
|
34855
|
+
* Describes the settings that can be provided to the SmartVariantManagementMediator constructor.
|
|
34856
|
+
*/
|
|
34857
|
+
interface $SmartVariantManagementMediatorSettings
|
|
34858
|
+
extends sap.ui.core.$ControlSettings {
|
|
34859
|
+
/**
|
|
34860
|
+
* The name of the model containing the data.
|
|
34861
|
+
*/
|
|
34862
|
+
modelName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
34863
|
+
|
|
34864
|
+
/**
|
|
34865
|
+
* Indicates whether the buttons on My Views are visible.
|
|
34866
|
+
*/
|
|
34867
|
+
editable?:
|
|
34868
|
+
| boolean
|
|
34869
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
34870
|
+
| `{${string}}`;
|
|
34871
|
+
|
|
34872
|
+
/**
|
|
34873
|
+
* Indicates whether the functionality of setting a default variant is enabled. The Default column in Manage
|
|
34874
|
+
* Views and the Set as Default checkbox in Save View will be disabled if set to `false`.
|
|
34875
|
+
*/
|
|
34876
|
+
showSetAsDefault?:
|
|
34877
|
+
| boolean
|
|
34878
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
34879
|
+
| `{${string}}`;
|
|
34880
|
+
|
|
34881
|
+
/**
|
|
34882
|
+
* Indicates whether the control is in error state. If set to `true`, an error message will be displayed
|
|
34883
|
+
* when the variant is opened.
|
|
34884
|
+
*/
|
|
34885
|
+
inErrorState?:
|
|
34886
|
+
| boolean
|
|
34887
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
34888
|
+
| `{${string}}`;
|
|
34889
|
+
|
|
34890
|
+
/**
|
|
34891
|
+
* Determines the behavior for Apply Automatically if the standard variant is marked as the default variant.
|
|
34892
|
+
*/
|
|
34893
|
+
executeOnSelectionForStandardDefault?:
|
|
34894
|
+
| boolean
|
|
34895
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
34896
|
+
| `{${string}}`;
|
|
34897
|
+
|
|
34898
|
+
/**
|
|
34899
|
+
* Defines the Apply Automatically text for the standard variant in the Manage Views dialog if the application
|
|
34900
|
+
* controls this behavior. **Note:** The usage of this property is restricted to `sap.fe` components
|
|
34901
|
+
* only.
|
|
34902
|
+
*/
|
|
34903
|
+
displayTextForExecuteOnSelectionForStandardVariant?:
|
|
34904
|
+
| string
|
|
34905
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
34906
|
+
|
|
34907
|
+
/**
|
|
34908
|
+
* Semantic level of the header. For more information, see {@link sap.m.Title#setLevel}.
|
|
34909
|
+
*
|
|
34910
|
+
* @since 1.104
|
|
34911
|
+
*/
|
|
34912
|
+
headerLevel?:
|
|
34913
|
+
| sap.ui.core.TitleLevel
|
|
34914
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
34915
|
+
| `{${string}}`;
|
|
34916
|
+
|
|
34917
|
+
/**
|
|
34918
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
34919
|
+
*
|
|
34920
|
+
* @since 1.109
|
|
34921
|
+
*/
|
|
34922
|
+
titleStyle?:
|
|
34923
|
+
| sap.ui.core.TitleLevel
|
|
34924
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
34925
|
+
| `{${string}}`;
|
|
34926
|
+
|
|
34927
|
+
/**
|
|
34928
|
+
* Sets the maximum width of the control.
|
|
34929
|
+
*
|
|
34930
|
+
* @since 1.109
|
|
34931
|
+
*/
|
|
34932
|
+
maxWidth?:
|
|
34933
|
+
| sap.ui.core.CSSSize
|
|
34934
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
34935
|
+
| `{${string}}`;
|
|
34936
|
+
|
|
34937
|
+
/**
|
|
34938
|
+
* Contains the IDs of the relevant controls for which the variant management is used.
|
|
34939
|
+
*/
|
|
34940
|
+
for?: Array<sap.ui.core.Control | string>;
|
|
34941
|
+
|
|
34942
|
+
/**
|
|
34943
|
+
* This event is fired when the Save View dialog or the Save As dialog is closed with the Save button.
|
|
34944
|
+
*/
|
|
34945
|
+
save?: (oEvent: SmartVariantManagementMediator$SaveEvent) => void;
|
|
34946
|
+
|
|
34947
|
+
/**
|
|
34948
|
+
* This event is fired when users press the Cancel button inside the Save As dialog.
|
|
34949
|
+
*/
|
|
34950
|
+
cancel?: (oEvent: sap.ui.base.Event) => void;
|
|
34951
|
+
|
|
34952
|
+
/**
|
|
34953
|
+
* This event is fired when users apply changes to variants in the Manage Views dialog.
|
|
34954
|
+
*/
|
|
34955
|
+
manage?: (oEvent: SmartVariantManagementMediator$ManageEvent) => void;
|
|
34956
|
+
|
|
34957
|
+
/**
|
|
34958
|
+
* This event is fired when a new variant is selected.
|
|
34959
|
+
*/
|
|
34960
|
+
select?: (oEvent: SmartVariantManagementMediator$SelectEvent) => void;
|
|
34961
|
+
}
|
|
34962
|
+
|
|
34854
34963
|
/**
|
|
34855
34964
|
* Describes the settings that can be provided to the SmartVariantManagementUi2 constructor.
|
|
34856
34965
|
*/
|
|
@@ -35035,6 +35144,106 @@ declare namespace sap {
|
|
|
35035
35144
|
key?: string;
|
|
35036
35145
|
}
|
|
35037
35146
|
|
|
35147
|
+
/**
|
|
35148
|
+
* Parameters of the SmartVariantManagementMediator#cancel event.
|
|
35149
|
+
*/
|
|
35150
|
+
interface SmartVariantManagementMediator$CancelEventParameters {}
|
|
35151
|
+
|
|
35152
|
+
/**
|
|
35153
|
+
* Parameters of the SmartVariantManagementMediator#manage event.
|
|
35154
|
+
*/
|
|
35155
|
+
interface SmartVariantManagementMediator$ManageEventParameters {
|
|
35156
|
+
/**
|
|
35157
|
+
* List of changed variants. Each entry contains a `key` (the variant key) and a `name` (the new title of
|
|
35158
|
+
* the variant).
|
|
35159
|
+
*/
|
|
35160
|
+
renamed?: object[];
|
|
35161
|
+
|
|
35162
|
+
/**
|
|
35163
|
+
* List of deleted variant keys
|
|
35164
|
+
*/
|
|
35165
|
+
deleted?: string[];
|
|
35166
|
+
|
|
35167
|
+
/**
|
|
35168
|
+
* List of variant keys and the associated Execute on Selection indicator. Each entry contains a `key` (the
|
|
35169
|
+
* variant key) and an `exe` flag describing the intention.
|
|
35170
|
+
*/
|
|
35171
|
+
exe?: object[];
|
|
35172
|
+
|
|
35173
|
+
/**
|
|
35174
|
+
* List of variant keys and the associated favorite indicator. Each entry contains a `key` (the variant
|
|
35175
|
+
* key) and a `visible` flag describing the intention.
|
|
35176
|
+
*/
|
|
35177
|
+
fav?: object[];
|
|
35178
|
+
|
|
35179
|
+
/**
|
|
35180
|
+
* The default variant key
|
|
35181
|
+
*/
|
|
35182
|
+
def?: string;
|
|
35183
|
+
|
|
35184
|
+
/**
|
|
35185
|
+
* List of variant keys and the associated contexts array. Each entry contains a `key` (the variant key)
|
|
35186
|
+
* and a `contexts` array describing the contexts. **Note:** It is only used internally by the SAPUI5 flexibility
|
|
35187
|
+
* layer.
|
|
35188
|
+
*/
|
|
35189
|
+
contexts?: object[];
|
|
35190
|
+
}
|
|
35191
|
+
|
|
35192
|
+
/**
|
|
35193
|
+
* Parameters of the SmartVariantManagementMediator#save event.
|
|
35194
|
+
*/
|
|
35195
|
+
interface SmartVariantManagementMediator$SaveEventParameters {
|
|
35196
|
+
/**
|
|
35197
|
+
* Variant title
|
|
35198
|
+
*/
|
|
35199
|
+
name?: string;
|
|
35200
|
+
|
|
35201
|
+
/**
|
|
35202
|
+
* Indicates whether an existing variant is overwritten or whether a new variant is created
|
|
35203
|
+
*/
|
|
35204
|
+
overwrite?: boolean;
|
|
35205
|
+
|
|
35206
|
+
/**
|
|
35207
|
+
* Variant key. This property is set if `overwrite` is set to `true`.
|
|
35208
|
+
*/
|
|
35209
|
+
key?: string;
|
|
35210
|
+
|
|
35211
|
+
/**
|
|
35212
|
+
* Apply Automatically indicator
|
|
35213
|
+
*/
|
|
35214
|
+
execute?: boolean;
|
|
35215
|
+
|
|
35216
|
+
/**
|
|
35217
|
+
* Indicates the checkbox state for Public
|
|
35218
|
+
*/
|
|
35219
|
+
public?: boolean;
|
|
35220
|
+
|
|
35221
|
+
/**
|
|
35222
|
+
* The default variant indicator
|
|
35223
|
+
*/
|
|
35224
|
+
def?: boolean;
|
|
35225
|
+
|
|
35226
|
+
/**
|
|
35227
|
+
* Array describing the contexts. **Note:** It is only used internally by the SAPUI5 flexibility layer.
|
|
35228
|
+
*/
|
|
35229
|
+
contexts?: object[];
|
|
35230
|
+
|
|
35231
|
+
/**
|
|
35232
|
+
* Indicates the checkbox state for Create Tile **Note:** This event parameter is used only internally.
|
|
35233
|
+
*/
|
|
35234
|
+
tile?: boolean;
|
|
35235
|
+
}
|
|
35236
|
+
|
|
35237
|
+
/**
|
|
35238
|
+
* Parameters of the SmartVariantManagementMediator#select event.
|
|
35239
|
+
*/
|
|
35240
|
+
interface SmartVariantManagementMediator$SelectEventParameters {
|
|
35241
|
+
/**
|
|
35242
|
+
* Variant key
|
|
35243
|
+
*/
|
|
35244
|
+
key?: string;
|
|
35245
|
+
}
|
|
35246
|
+
|
|
35038
35247
|
/**
|
|
35039
35248
|
* Parameters of the SmartVariantManagementUi2#afterSave event.
|
|
35040
35249
|
*/
|
|
@@ -36838,6 +37047,769 @@ declare namespace sap {
|
|
|
36838
37047
|
bVariantCreationByUserAllowed?: boolean
|
|
36839
37048
|
): this;
|
|
36840
37049
|
}
|
|
37050
|
+
/**
|
|
37051
|
+
* Can be used to manage variants. You can use this control in most controls that are enabled for key
|
|
37052
|
+
* user adaptation.
|
|
37053
|
+
* **Note: **On the user interface, variants are generally referred to as "views".
|
|
37054
|
+
*
|
|
37055
|
+
* @since 1.56
|
|
37056
|
+
*/
|
|
37057
|
+
class SmartVariantManagementMediator
|
|
37058
|
+
extends sap.ui.core.Control
|
|
37059
|
+
implements
|
|
37060
|
+
sap.ui.core.IShrinkable,
|
|
37061
|
+
sap.m.IOverflowToolbarContent,
|
|
37062
|
+
/* was: sap.m.IToolbarInteractiveControl */ Object
|
|
37063
|
+
{
|
|
37064
|
+
__implements__sap_ui_core_IShrinkable: boolean;
|
|
37065
|
+
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
37066
|
+
__implements__sap_m_IToolbarInteractiveControl: boolean;
|
|
37067
|
+
/**
|
|
37068
|
+
* Constructor for a new `SmartVariantManagementMediator`.
|
|
37069
|
+
*
|
|
37070
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
37071
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
37072
|
+
* of the syntax of the settings object.
|
|
37073
|
+
* See:
|
|
37074
|
+
* {@link https://ui5.sap.com/#/topic/f1430c0337534d469da3a56307ff76af Key User Adaptation: Enable Your App}
|
|
37075
|
+
*/
|
|
37076
|
+
constructor(
|
|
37077
|
+
/**
|
|
37078
|
+
* Initial settings for the new control
|
|
37079
|
+
*/
|
|
37080
|
+
mSettings?: sap.ui.comp.smartvariants.$SmartVariantManagementMediatorSettings
|
|
37081
|
+
);
|
|
37082
|
+
/**
|
|
37083
|
+
* Constructor for a new `SmartVariantManagementMediator`.
|
|
37084
|
+
*
|
|
37085
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
37086
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
37087
|
+
* of the syntax of the settings object.
|
|
37088
|
+
* See:
|
|
37089
|
+
* {@link https://ui5.sap.com/#/topic/f1430c0337534d469da3a56307ff76af Key User Adaptation: Enable Your App}
|
|
37090
|
+
*/
|
|
37091
|
+
constructor(
|
|
37092
|
+
/**
|
|
37093
|
+
* ID for the new control, generated automatically if no ID is given
|
|
37094
|
+
*/
|
|
37095
|
+
sId?: string,
|
|
37096
|
+
/**
|
|
37097
|
+
* Initial settings for the new control
|
|
37098
|
+
*/
|
|
37099
|
+
mSettings?: sap.ui.comp.smartvariants.$SmartVariantManagementMediatorSettings
|
|
37100
|
+
);
|
|
37101
|
+
|
|
37102
|
+
/**
|
|
37103
|
+
* Creates a new subclass of class sap.ui.comp.smartvariants.SmartVariantManagementMediator with name `sClassName`
|
|
37104
|
+
* and enriches it with the information contained in `oClassInfo`.
|
|
37105
|
+
*
|
|
37106
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
|
|
37107
|
+
*
|
|
37108
|
+
*
|
|
37109
|
+
* @returns Created class / constructor function
|
|
37110
|
+
*/
|
|
37111
|
+
static extend<T extends Record<string, unknown>>(
|
|
37112
|
+
/**
|
|
37113
|
+
* Name of the class being created
|
|
37114
|
+
*/
|
|
37115
|
+
sClassName: string,
|
|
37116
|
+
/**
|
|
37117
|
+
* Object literal with information about the class
|
|
37118
|
+
*/
|
|
37119
|
+
oClassInfo?: sap.ClassInfo<
|
|
37120
|
+
T,
|
|
37121
|
+
sap.ui.comp.smartvariants.SmartVariantManagementMediator
|
|
37122
|
+
>,
|
|
37123
|
+
/**
|
|
37124
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
37125
|
+
* used by this class
|
|
37126
|
+
*/
|
|
37127
|
+
FNMetaImpl?: Function
|
|
37128
|
+
): Function;
|
|
37129
|
+
/**
|
|
37130
|
+
* Returns a metadata object for class sap.ui.comp.smartvariants.SmartVariantManagementMediator.
|
|
37131
|
+
*
|
|
37132
|
+
*
|
|
37133
|
+
* @returns Metadata object describing this class
|
|
37134
|
+
*/
|
|
37135
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
37136
|
+
/**
|
|
37137
|
+
* Adds some for into the association {@link #getFor for}.
|
|
37138
|
+
*
|
|
37139
|
+
*
|
|
37140
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37141
|
+
*/
|
|
37142
|
+
addFor(
|
|
37143
|
+
/**
|
|
37144
|
+
* The for to add; if empty, nothing is inserted
|
|
37145
|
+
*/
|
|
37146
|
+
vFor: sap.ui.core.ID | sap.ui.core.Control
|
|
37147
|
+
): this;
|
|
37148
|
+
/**
|
|
37149
|
+
* Attaches event handler `fnFunction` to the {@link #event:cancel cancel} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37150
|
+
*
|
|
37151
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37152
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37153
|
+
*
|
|
37154
|
+
* This event is fired when users press the Cancel button inside the Save As dialog.
|
|
37155
|
+
*
|
|
37156
|
+
*
|
|
37157
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37158
|
+
*/
|
|
37159
|
+
attachCancel(
|
|
37160
|
+
/**
|
|
37161
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
37162
|
+
* object when firing the event
|
|
37163
|
+
*/
|
|
37164
|
+
oData: object,
|
|
37165
|
+
/**
|
|
37166
|
+
* The function to be called when the event occurs
|
|
37167
|
+
*/
|
|
37168
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
37169
|
+
/**
|
|
37170
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37171
|
+
* itself
|
|
37172
|
+
*/
|
|
37173
|
+
oListener?: object
|
|
37174
|
+
): this;
|
|
37175
|
+
/**
|
|
37176
|
+
* Attaches event handler `fnFunction` to the {@link #event:cancel cancel} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37177
|
+
*
|
|
37178
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37179
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37180
|
+
*
|
|
37181
|
+
* This event is fired when users press the Cancel button inside the Save As dialog.
|
|
37182
|
+
*
|
|
37183
|
+
*
|
|
37184
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37185
|
+
*/
|
|
37186
|
+
attachCancel(
|
|
37187
|
+
/**
|
|
37188
|
+
* The function to be called when the event occurs
|
|
37189
|
+
*/
|
|
37190
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
37191
|
+
/**
|
|
37192
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37193
|
+
* itself
|
|
37194
|
+
*/
|
|
37195
|
+
oListener?: object
|
|
37196
|
+
): this;
|
|
37197
|
+
/**
|
|
37198
|
+
* Attaches event handler `fnFunction` to the {@link #event:manage manage} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37199
|
+
*
|
|
37200
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37201
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37202
|
+
*
|
|
37203
|
+
* This event is fired when users apply changes to variants in the Manage Views dialog.
|
|
37204
|
+
*
|
|
37205
|
+
*
|
|
37206
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37207
|
+
*/
|
|
37208
|
+
attachManage(
|
|
37209
|
+
/**
|
|
37210
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
37211
|
+
* object when firing the event
|
|
37212
|
+
*/
|
|
37213
|
+
oData: object,
|
|
37214
|
+
/**
|
|
37215
|
+
* The function to be called when the event occurs
|
|
37216
|
+
*/
|
|
37217
|
+
fnFunction: (
|
|
37218
|
+
p1: SmartVariantManagementMediator$ManageEvent
|
|
37219
|
+
) => void,
|
|
37220
|
+
/**
|
|
37221
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37222
|
+
* itself
|
|
37223
|
+
*/
|
|
37224
|
+
oListener?: object
|
|
37225
|
+
): this;
|
|
37226
|
+
/**
|
|
37227
|
+
* Attaches event handler `fnFunction` to the {@link #event:manage manage} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37228
|
+
*
|
|
37229
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37230
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37231
|
+
*
|
|
37232
|
+
* This event is fired when users apply changes to variants in the Manage Views dialog.
|
|
37233
|
+
*
|
|
37234
|
+
*
|
|
37235
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37236
|
+
*/
|
|
37237
|
+
attachManage(
|
|
37238
|
+
/**
|
|
37239
|
+
* The function to be called when the event occurs
|
|
37240
|
+
*/
|
|
37241
|
+
fnFunction: (
|
|
37242
|
+
p1: SmartVariantManagementMediator$ManageEvent
|
|
37243
|
+
) => void,
|
|
37244
|
+
/**
|
|
37245
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37246
|
+
* itself
|
|
37247
|
+
*/
|
|
37248
|
+
oListener?: object
|
|
37249
|
+
): this;
|
|
37250
|
+
/**
|
|
37251
|
+
* Attaches event handler `fnFunction` to the {@link #event:save save} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37252
|
+
*
|
|
37253
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37254
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37255
|
+
*
|
|
37256
|
+
* This event is fired when the Save View dialog or the Save As dialog is closed with the Save button.
|
|
37257
|
+
*
|
|
37258
|
+
*
|
|
37259
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37260
|
+
*/
|
|
37261
|
+
attachSave(
|
|
37262
|
+
/**
|
|
37263
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
37264
|
+
* object when firing the event
|
|
37265
|
+
*/
|
|
37266
|
+
oData: object,
|
|
37267
|
+
/**
|
|
37268
|
+
* The function to be called when the event occurs
|
|
37269
|
+
*/
|
|
37270
|
+
fnFunction: (p1: SmartVariantManagementMediator$SaveEvent) => void,
|
|
37271
|
+
/**
|
|
37272
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37273
|
+
* itself
|
|
37274
|
+
*/
|
|
37275
|
+
oListener?: object
|
|
37276
|
+
): this;
|
|
37277
|
+
/**
|
|
37278
|
+
* Attaches event handler `fnFunction` to the {@link #event:save save} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37279
|
+
*
|
|
37280
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37281
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37282
|
+
*
|
|
37283
|
+
* This event is fired when the Save View dialog or the Save As dialog is closed with the Save button.
|
|
37284
|
+
*
|
|
37285
|
+
*
|
|
37286
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37287
|
+
*/
|
|
37288
|
+
attachSave(
|
|
37289
|
+
/**
|
|
37290
|
+
* The function to be called when the event occurs
|
|
37291
|
+
*/
|
|
37292
|
+
fnFunction: (p1: SmartVariantManagementMediator$SaveEvent) => void,
|
|
37293
|
+
/**
|
|
37294
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37295
|
+
* itself
|
|
37296
|
+
*/
|
|
37297
|
+
oListener?: object
|
|
37298
|
+
): this;
|
|
37299
|
+
/**
|
|
37300
|
+
* Attaches event handler `fnFunction` to the {@link #event:select select} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37301
|
+
*
|
|
37302
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37303
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37304
|
+
*
|
|
37305
|
+
* This event is fired when a new variant is selected.
|
|
37306
|
+
*
|
|
37307
|
+
*
|
|
37308
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37309
|
+
*/
|
|
37310
|
+
attachSelect(
|
|
37311
|
+
/**
|
|
37312
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
37313
|
+
* object when firing the event
|
|
37314
|
+
*/
|
|
37315
|
+
oData: object,
|
|
37316
|
+
/**
|
|
37317
|
+
* The function to be called when the event occurs
|
|
37318
|
+
*/
|
|
37319
|
+
fnFunction: (
|
|
37320
|
+
p1: SmartVariantManagementMediator$SelectEvent
|
|
37321
|
+
) => void,
|
|
37322
|
+
/**
|
|
37323
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37324
|
+
* itself
|
|
37325
|
+
*/
|
|
37326
|
+
oListener?: object
|
|
37327
|
+
): this;
|
|
37328
|
+
/**
|
|
37329
|
+
* Attaches event handler `fnFunction` to the {@link #event:select select} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37330
|
+
*
|
|
37331
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37332
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37333
|
+
*
|
|
37334
|
+
* This event is fired when a new variant is selected.
|
|
37335
|
+
*
|
|
37336
|
+
*
|
|
37337
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37338
|
+
*/
|
|
37339
|
+
attachSelect(
|
|
37340
|
+
/**
|
|
37341
|
+
* The function to be called when the event occurs
|
|
37342
|
+
*/
|
|
37343
|
+
fnFunction: (
|
|
37344
|
+
p1: SmartVariantManagementMediator$SelectEvent
|
|
37345
|
+
) => void,
|
|
37346
|
+
/**
|
|
37347
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37348
|
+
* itself
|
|
37349
|
+
*/
|
|
37350
|
+
oListener?: object
|
|
37351
|
+
): this;
|
|
37352
|
+
/**
|
|
37353
|
+
* Detaches event handler `fnFunction` from the {@link #event:cancel cancel} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37354
|
+
*
|
|
37355
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
37356
|
+
*
|
|
37357
|
+
*
|
|
37358
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37359
|
+
*/
|
|
37360
|
+
detachCancel(
|
|
37361
|
+
/**
|
|
37362
|
+
* The function to be called, when the event occurs
|
|
37363
|
+
*/
|
|
37364
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
37365
|
+
/**
|
|
37366
|
+
* Context object on which the given function had to be called
|
|
37367
|
+
*/
|
|
37368
|
+
oListener?: object
|
|
37369
|
+
): this;
|
|
37370
|
+
/**
|
|
37371
|
+
* Detaches event handler `fnFunction` from the {@link #event:manage manage} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37372
|
+
*
|
|
37373
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
37374
|
+
*
|
|
37375
|
+
*
|
|
37376
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37377
|
+
*/
|
|
37378
|
+
detachManage(
|
|
37379
|
+
/**
|
|
37380
|
+
* The function to be called, when the event occurs
|
|
37381
|
+
*/
|
|
37382
|
+
fnFunction: (
|
|
37383
|
+
p1: SmartVariantManagementMediator$ManageEvent
|
|
37384
|
+
) => void,
|
|
37385
|
+
/**
|
|
37386
|
+
* Context object on which the given function had to be called
|
|
37387
|
+
*/
|
|
37388
|
+
oListener?: object
|
|
37389
|
+
): this;
|
|
37390
|
+
/**
|
|
37391
|
+
* Detaches event handler `fnFunction` from the {@link #event:save save} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37392
|
+
*
|
|
37393
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
37394
|
+
*
|
|
37395
|
+
*
|
|
37396
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37397
|
+
*/
|
|
37398
|
+
detachSave(
|
|
37399
|
+
/**
|
|
37400
|
+
* The function to be called, when the event occurs
|
|
37401
|
+
*/
|
|
37402
|
+
fnFunction: (p1: SmartVariantManagementMediator$SaveEvent) => void,
|
|
37403
|
+
/**
|
|
37404
|
+
* Context object on which the given function had to be called
|
|
37405
|
+
*/
|
|
37406
|
+
oListener?: object
|
|
37407
|
+
): this;
|
|
37408
|
+
/**
|
|
37409
|
+
* Detaches event handler `fnFunction` from the {@link #event:select select} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37410
|
+
*
|
|
37411
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
37412
|
+
*
|
|
37413
|
+
*
|
|
37414
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37415
|
+
*/
|
|
37416
|
+
detachSelect(
|
|
37417
|
+
/**
|
|
37418
|
+
* The function to be called, when the event occurs
|
|
37419
|
+
*/
|
|
37420
|
+
fnFunction: (
|
|
37421
|
+
p1: SmartVariantManagementMediator$SelectEvent
|
|
37422
|
+
) => void,
|
|
37423
|
+
/**
|
|
37424
|
+
* Context object on which the given function had to be called
|
|
37425
|
+
*/
|
|
37426
|
+
oListener?: object
|
|
37427
|
+
): this;
|
|
37428
|
+
/**
|
|
37429
|
+
* Fires event {@link #event:cancel cancel} to attached listeners.
|
|
37430
|
+
*
|
|
37431
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37432
|
+
*
|
|
37433
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37434
|
+
*/
|
|
37435
|
+
fireCancel(
|
|
37436
|
+
/**
|
|
37437
|
+
* Parameters to pass along with the event
|
|
37438
|
+
*/
|
|
37439
|
+
mParameters?: object
|
|
37440
|
+
): this;
|
|
37441
|
+
/**
|
|
37442
|
+
* Fires event {@link #event:manage manage} to attached listeners.
|
|
37443
|
+
*
|
|
37444
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37445
|
+
*
|
|
37446
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37447
|
+
*/
|
|
37448
|
+
fireManage(
|
|
37449
|
+
/**
|
|
37450
|
+
* Parameters to pass along with the event
|
|
37451
|
+
*/
|
|
37452
|
+
mParameters?: sap.ui.comp.smartvariants.SmartVariantManagementMediator$ManageEventParameters
|
|
37453
|
+
): this;
|
|
37454
|
+
/**
|
|
37455
|
+
* Fires event {@link #event:save save} to attached listeners.
|
|
37456
|
+
*
|
|
37457
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37458
|
+
*
|
|
37459
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37460
|
+
*/
|
|
37461
|
+
fireSave(
|
|
37462
|
+
/**
|
|
37463
|
+
* Parameters to pass along with the event
|
|
37464
|
+
*/
|
|
37465
|
+
mParameters?: sap.ui.comp.smartvariants.SmartVariantManagementMediator$SaveEventParameters
|
|
37466
|
+
): this;
|
|
37467
|
+
/**
|
|
37468
|
+
* Fires event {@link #event:select select} to attached listeners.
|
|
37469
|
+
*
|
|
37470
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37471
|
+
*
|
|
37472
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37473
|
+
*/
|
|
37474
|
+
fireSelect(
|
|
37475
|
+
/**
|
|
37476
|
+
* Parameters to pass along with the event
|
|
37477
|
+
*/
|
|
37478
|
+
mParameters?: sap.ui.comp.smartvariants.SmartVariantManagementMediator$SelectEventParameters
|
|
37479
|
+
): this;
|
|
37480
|
+
/**
|
|
37481
|
+
* Gets the currently selected variant key.
|
|
37482
|
+
*
|
|
37483
|
+
*
|
|
37484
|
+
* @returns Key of the currently selected variant. In case the model is not yet set `null` will be returned
|
|
37485
|
+
*/
|
|
37486
|
+
getCurrentVariantKey(): string | null;
|
|
37487
|
+
/**
|
|
37488
|
+
* Gets current value of property {@link #getDisplayTextForExecuteOnSelectionForStandardVariant displayTextForExecuteOnSelectionForStandardVariant}.
|
|
37489
|
+
*
|
|
37490
|
+
* Defines the Apply Automatically text for the standard variant in the Manage Views dialog if the application
|
|
37491
|
+
* controls this behavior. **Note:** The usage of this property is restricted to `sap.fe` components
|
|
37492
|
+
* only.
|
|
37493
|
+
*
|
|
37494
|
+
* Default value is `empty string`.
|
|
37495
|
+
*
|
|
37496
|
+
*
|
|
37497
|
+
* @returns Value of property `displayTextForExecuteOnSelectionForStandardVariant`
|
|
37498
|
+
*/
|
|
37499
|
+
getDisplayTextForExecuteOnSelectionForStandardVariant(): string;
|
|
37500
|
+
/**
|
|
37501
|
+
* Gets current value of property {@link #getEditable editable}.
|
|
37502
|
+
*
|
|
37503
|
+
* Indicates whether the buttons on My Views are visible.
|
|
37504
|
+
*
|
|
37505
|
+
* Default value is `true`.
|
|
37506
|
+
*
|
|
37507
|
+
*
|
|
37508
|
+
* @returns Value of property `editable`
|
|
37509
|
+
*/
|
|
37510
|
+
getEditable(): boolean;
|
|
37511
|
+
/**
|
|
37512
|
+
* Gets current value of property {@link #getExecuteOnSelectionForStandardDefault executeOnSelectionForStandardDefault}.
|
|
37513
|
+
*
|
|
37514
|
+
* Determines the behavior for Apply Automatically if the standard variant is marked as the default variant.
|
|
37515
|
+
*
|
|
37516
|
+
* Default value is `false`.
|
|
37517
|
+
*
|
|
37518
|
+
*
|
|
37519
|
+
* @returns Value of property `executeOnSelectionForStandardDefault`
|
|
37520
|
+
*/
|
|
37521
|
+
getExecuteOnSelectionForStandardDefault(): boolean;
|
|
37522
|
+
/**
|
|
37523
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getFor for}.
|
|
37524
|
+
*/
|
|
37525
|
+
getFor(): sap.ui.core.ID[];
|
|
37526
|
+
/**
|
|
37527
|
+
* Gets current value of property {@link #getHeaderLevel headerLevel}.
|
|
37528
|
+
*
|
|
37529
|
+
* Semantic level of the header. For more information, see {@link sap.m.Title#setLevel}.
|
|
37530
|
+
*
|
|
37531
|
+
* Default value is `Auto`.
|
|
37532
|
+
*
|
|
37533
|
+
* @since 1.104
|
|
37534
|
+
*
|
|
37535
|
+
* @returns Value of property `headerLevel`
|
|
37536
|
+
*/
|
|
37537
|
+
getHeaderLevel(): sap.ui.core.TitleLevel;
|
|
37538
|
+
/**
|
|
37539
|
+
* Gets current value of property {@link #getInErrorState inErrorState}.
|
|
37540
|
+
*
|
|
37541
|
+
* Indicates whether the control is in error state. If set to `true`, an error message will be displayed
|
|
37542
|
+
* when the variant is opened.
|
|
37543
|
+
*
|
|
37544
|
+
* Default value is `false`.
|
|
37545
|
+
*
|
|
37546
|
+
*
|
|
37547
|
+
* @returns Value of property `inErrorState`
|
|
37548
|
+
*/
|
|
37549
|
+
getInErrorState(): boolean;
|
|
37550
|
+
/**
|
|
37551
|
+
* Gets current value of property {@link #getMaxWidth maxWidth}.
|
|
37552
|
+
*
|
|
37553
|
+
* Sets the maximum width of the control.
|
|
37554
|
+
*
|
|
37555
|
+
* Default value is `"100%"`.
|
|
37556
|
+
*
|
|
37557
|
+
* @since 1.109
|
|
37558
|
+
*
|
|
37559
|
+
* @returns Value of property `maxWidth`
|
|
37560
|
+
*/
|
|
37561
|
+
getMaxWidth(): sap.ui.core.CSSSize;
|
|
37562
|
+
/**
|
|
37563
|
+
* Gets current value of property {@link #getModelName modelName}.
|
|
37564
|
+
*
|
|
37565
|
+
* The name of the model containing the data.
|
|
37566
|
+
*
|
|
37567
|
+
* Default value is `empty string`.
|
|
37568
|
+
*
|
|
37569
|
+
*
|
|
37570
|
+
* @returns Value of property `modelName`
|
|
37571
|
+
*/
|
|
37572
|
+
getModelName(): string;
|
|
37573
|
+
/**
|
|
37574
|
+
* Determines whether the current variant is modified.
|
|
37575
|
+
*
|
|
37576
|
+
*
|
|
37577
|
+
* @returns Returns `true`, if the current variant is modified, otherwise `false`
|
|
37578
|
+
*/
|
|
37579
|
+
getModified(): boolean;
|
|
37580
|
+
/**
|
|
37581
|
+
* Registers an invalidation event that is fired when the width of the control is changed. **Note:** This
|
|
37582
|
+
* is required by the {@link sap.m.IOverflowToolbarContent} interface.
|
|
37583
|
+
*
|
|
37584
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37585
|
+
*
|
|
37586
|
+
* @returns Configuration information for the {@link sap.m.IOverflowToolbarContent} interface
|
|
37587
|
+
*/
|
|
37588
|
+
getOverflowToolbarConfig(): {
|
|
37589
|
+
canOverflow: boolean;
|
|
37590
|
+
|
|
37591
|
+
invalidationEvents: string[];
|
|
37592
|
+
};
|
|
37593
|
+
/**
|
|
37594
|
+
* Gets current value of property {@link #getShowSetAsDefault showSetAsDefault}.
|
|
37595
|
+
*
|
|
37596
|
+
* Indicates whether the functionality of setting a default variant is enabled. The Default column in Manage
|
|
37597
|
+
* Views and the Set as Default checkbox in Save View will be disabled if set to `false`.
|
|
37598
|
+
*
|
|
37599
|
+
* Default value is `true`.
|
|
37600
|
+
*
|
|
37601
|
+
*
|
|
37602
|
+
* @returns Value of property `showSetAsDefault`
|
|
37603
|
+
*/
|
|
37604
|
+
getShowSetAsDefault(): boolean;
|
|
37605
|
+
/**
|
|
37606
|
+
* Gets current value of property {@link #getTitleStyle titleStyle}.
|
|
37607
|
+
*
|
|
37608
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
37609
|
+
*
|
|
37610
|
+
* Default value is `Auto`.
|
|
37611
|
+
*
|
|
37612
|
+
* @since 1.109
|
|
37613
|
+
*
|
|
37614
|
+
* @returns Value of property `titleStyle`
|
|
37615
|
+
*/
|
|
37616
|
+
getTitleStyle(): sap.ui.core.TitleLevel;
|
|
37617
|
+
/**
|
|
37618
|
+
* Gets all variants.
|
|
37619
|
+
*
|
|
37620
|
+
*
|
|
37621
|
+
* @returns All variants; if the model is not yet set, an empty array will be returned.
|
|
37622
|
+
*/
|
|
37623
|
+
getVariants(): any[];
|
|
37624
|
+
/**
|
|
37625
|
+
* Removes all the controls in the association named {@link #getFor for}.
|
|
37626
|
+
*
|
|
37627
|
+
*
|
|
37628
|
+
* @returns An array of the removed elements (might be empty)
|
|
37629
|
+
*/
|
|
37630
|
+
removeAllFor(): sap.ui.core.ID[];
|
|
37631
|
+
/**
|
|
37632
|
+
* Removes an for from the association named {@link #getFor for}.
|
|
37633
|
+
*
|
|
37634
|
+
*
|
|
37635
|
+
* @returns The removed for or `null`
|
|
37636
|
+
*/
|
|
37637
|
+
removeFor(
|
|
37638
|
+
/**
|
|
37639
|
+
* The for to be removed or its index or ID
|
|
37640
|
+
*/
|
|
37641
|
+
vFor: int | sap.ui.core.ID | sap.ui.core.Control
|
|
37642
|
+
): sap.ui.core.ID | null;
|
|
37643
|
+
/**
|
|
37644
|
+
* Sets a new value for property {@link #getDisplayTextForExecuteOnSelectionForStandardVariant displayTextForExecuteOnSelectionForStandardVariant}.
|
|
37645
|
+
*
|
|
37646
|
+
* Defines the Apply Automatically text for the standard variant in the Manage Views dialog if the application
|
|
37647
|
+
* controls this behavior. **Note:** The usage of this property is restricted to `sap.fe` components
|
|
37648
|
+
* only.
|
|
37649
|
+
*
|
|
37650
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37651
|
+
*
|
|
37652
|
+
* Default value is `empty string`.
|
|
37653
|
+
*
|
|
37654
|
+
*
|
|
37655
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37656
|
+
*/
|
|
37657
|
+
setDisplayTextForExecuteOnSelectionForStandardVariant(
|
|
37658
|
+
/**
|
|
37659
|
+
* New value for property `displayTextForExecuteOnSelectionForStandardVariant`
|
|
37660
|
+
*/
|
|
37661
|
+
sDisplayTextForExecuteOnSelectionForStandardVariant?: string
|
|
37662
|
+
): this;
|
|
37663
|
+
/**
|
|
37664
|
+
* Sets a new value for property {@link #getEditable editable}.
|
|
37665
|
+
*
|
|
37666
|
+
* Indicates whether the buttons on My Views are visible.
|
|
37667
|
+
*
|
|
37668
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37669
|
+
*
|
|
37670
|
+
* Default value is `true`.
|
|
37671
|
+
*
|
|
37672
|
+
*
|
|
37673
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37674
|
+
*/
|
|
37675
|
+
setEditable(
|
|
37676
|
+
/**
|
|
37677
|
+
* New value for property `editable`
|
|
37678
|
+
*/
|
|
37679
|
+
bEditable?: boolean
|
|
37680
|
+
): this;
|
|
37681
|
+
/**
|
|
37682
|
+
* Sets a new value for property {@link #getExecuteOnSelectionForStandardDefault executeOnSelectionForStandardDefault}.
|
|
37683
|
+
*
|
|
37684
|
+
* Determines the behavior for Apply Automatically if the standard variant is marked as the default variant.
|
|
37685
|
+
*
|
|
37686
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37687
|
+
*
|
|
37688
|
+
* Default value is `false`.
|
|
37689
|
+
*
|
|
37690
|
+
*
|
|
37691
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37692
|
+
*/
|
|
37693
|
+
setExecuteOnSelectionForStandardDefault(
|
|
37694
|
+
/**
|
|
37695
|
+
* New value for property `executeOnSelectionForStandardDefault`
|
|
37696
|
+
*/
|
|
37697
|
+
bExecuteOnSelectionForStandardDefault?: boolean
|
|
37698
|
+
): this;
|
|
37699
|
+
/**
|
|
37700
|
+
* Sets a new value for property {@link #getHeaderLevel headerLevel}.
|
|
37701
|
+
*
|
|
37702
|
+
* Semantic level of the header. For more information, see {@link sap.m.Title#setLevel}.
|
|
37703
|
+
*
|
|
37704
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37705
|
+
*
|
|
37706
|
+
* Default value is `Auto`.
|
|
37707
|
+
*
|
|
37708
|
+
* @since 1.104
|
|
37709
|
+
*
|
|
37710
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37711
|
+
*/
|
|
37712
|
+
setHeaderLevel(
|
|
37713
|
+
/**
|
|
37714
|
+
* New value for property `headerLevel`
|
|
37715
|
+
*/
|
|
37716
|
+
sHeaderLevel?: sap.ui.core.TitleLevel
|
|
37717
|
+
): this;
|
|
37718
|
+
/**
|
|
37719
|
+
* Sets a new value for property {@link #getInErrorState inErrorState}.
|
|
37720
|
+
*
|
|
37721
|
+
* Indicates whether the control is in error state. If set to `true`, an error message will be displayed
|
|
37722
|
+
* when the variant is opened.
|
|
37723
|
+
*
|
|
37724
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37725
|
+
*
|
|
37726
|
+
* Default value is `false`.
|
|
37727
|
+
*
|
|
37728
|
+
*
|
|
37729
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37730
|
+
*/
|
|
37731
|
+
setInErrorState(
|
|
37732
|
+
/**
|
|
37733
|
+
* New value for property `inErrorState`
|
|
37734
|
+
*/
|
|
37735
|
+
bInErrorState?: boolean
|
|
37736
|
+
): this;
|
|
37737
|
+
/**
|
|
37738
|
+
* Sets a new value for property {@link #getMaxWidth maxWidth}.
|
|
37739
|
+
*
|
|
37740
|
+
* Sets the maximum width of the control.
|
|
37741
|
+
*
|
|
37742
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37743
|
+
*
|
|
37744
|
+
* Default value is `"100%"`.
|
|
37745
|
+
*
|
|
37746
|
+
* @since 1.109
|
|
37747
|
+
*
|
|
37748
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37749
|
+
*/
|
|
37750
|
+
setMaxWidth(
|
|
37751
|
+
/**
|
|
37752
|
+
* New value for property `maxWidth`
|
|
37753
|
+
*/
|
|
37754
|
+
sMaxWidth?: sap.ui.core.CSSSize
|
|
37755
|
+
): this;
|
|
37756
|
+
/**
|
|
37757
|
+
* Sets a new value for property {@link #getModelName modelName}.
|
|
37758
|
+
*
|
|
37759
|
+
* The name of the model containing the data.
|
|
37760
|
+
*
|
|
37761
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37762
|
+
*
|
|
37763
|
+
* Default value is `empty string`.
|
|
37764
|
+
*
|
|
37765
|
+
*
|
|
37766
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37767
|
+
*/
|
|
37768
|
+
setModelName(
|
|
37769
|
+
/**
|
|
37770
|
+
* New value for property `modelName`
|
|
37771
|
+
*/
|
|
37772
|
+
sModelName?: string
|
|
37773
|
+
): this;
|
|
37774
|
+
/**
|
|
37775
|
+
* Sets a new value for property {@link #getShowSetAsDefault showSetAsDefault}.
|
|
37776
|
+
*
|
|
37777
|
+
* Indicates whether the functionality of setting a default variant is enabled. The Default column in Manage
|
|
37778
|
+
* Views and the Set as Default checkbox in Save View will be disabled if set to `false`.
|
|
37779
|
+
*
|
|
37780
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37781
|
+
*
|
|
37782
|
+
* Default value is `true`.
|
|
37783
|
+
*
|
|
37784
|
+
*
|
|
37785
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37786
|
+
*/
|
|
37787
|
+
setShowSetAsDefault(
|
|
37788
|
+
/**
|
|
37789
|
+
* New value for property `showSetAsDefault`
|
|
37790
|
+
*/
|
|
37791
|
+
bShowSetAsDefault?: boolean
|
|
37792
|
+
): this;
|
|
37793
|
+
/**
|
|
37794
|
+
* Sets a new value for property {@link #getTitleStyle titleStyle}.
|
|
37795
|
+
*
|
|
37796
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
37797
|
+
*
|
|
37798
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37799
|
+
*
|
|
37800
|
+
* Default value is `Auto`.
|
|
37801
|
+
*
|
|
37802
|
+
* @since 1.109
|
|
37803
|
+
*
|
|
37804
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37805
|
+
*/
|
|
37806
|
+
setTitleStyle(
|
|
37807
|
+
/**
|
|
37808
|
+
* New value for property `titleStyle`
|
|
37809
|
+
*/
|
|
37810
|
+
sTitleStyle?: sap.ui.core.TitleLevel
|
|
37811
|
+
): this;
|
|
37812
|
+
}
|
|
36841
37813
|
/**
|
|
36842
37814
|
* The SmartVariantManagementUi2 control communicates with the Ui2 personalization layer to manage the variants.
|
|
36843
37815
|
*/
|
|
@@ -37587,6 +38559,38 @@ declare namespace sap {
|
|
|
37587
38559
|
SmartVariantManagementBase
|
|
37588
38560
|
>;
|
|
37589
38561
|
|
|
38562
|
+
/**
|
|
38563
|
+
* Event object of the SmartVariantManagementMediator#cancel event.
|
|
38564
|
+
*/
|
|
38565
|
+
type SmartVariantManagementMediator$CancelEvent = sap.ui.base.Event<
|
|
38566
|
+
SmartVariantManagementMediator$CancelEventParameters,
|
|
38567
|
+
SmartVariantManagementMediator
|
|
38568
|
+
>;
|
|
38569
|
+
|
|
38570
|
+
/**
|
|
38571
|
+
* Event object of the SmartVariantManagementMediator#manage event.
|
|
38572
|
+
*/
|
|
38573
|
+
type SmartVariantManagementMediator$ManageEvent = sap.ui.base.Event<
|
|
38574
|
+
SmartVariantManagementMediator$ManageEventParameters,
|
|
38575
|
+
SmartVariantManagementMediator
|
|
38576
|
+
>;
|
|
38577
|
+
|
|
38578
|
+
/**
|
|
38579
|
+
* Event object of the SmartVariantManagementMediator#save event.
|
|
38580
|
+
*/
|
|
38581
|
+
type SmartVariantManagementMediator$SaveEvent = sap.ui.base.Event<
|
|
38582
|
+
SmartVariantManagementMediator$SaveEventParameters,
|
|
38583
|
+
SmartVariantManagementMediator
|
|
38584
|
+
>;
|
|
38585
|
+
|
|
38586
|
+
/**
|
|
38587
|
+
* Event object of the SmartVariantManagementMediator#select event.
|
|
38588
|
+
*/
|
|
38589
|
+
type SmartVariantManagementMediator$SelectEvent = sap.ui.base.Event<
|
|
38590
|
+
SmartVariantManagementMediator$SelectEventParameters,
|
|
38591
|
+
SmartVariantManagementMediator
|
|
38592
|
+
>;
|
|
38593
|
+
|
|
37590
38594
|
/**
|
|
37591
38595
|
* Event object of the SmartVariantManagementUi2#afterSave event.
|
|
37592
38596
|
*/
|
|
@@ -38364,7 +39368,7 @@ declare namespace sap {
|
|
|
38364
39368
|
/**
|
|
38365
39369
|
* Sets usage of `MultiSelectionPlugin`. If enabled the default behaviour is changed and the `ValueHelpDialog`
|
|
38366
39370
|
* table uses the plugin which provides only "Deselect all" option and the ability for range selection.
|
|
38367
|
-
* Also a limit of
|
|
39371
|
+
* Also a limit of 200 items that are able to be selected as a restriction.
|
|
38368
39372
|
*
|
|
38369
39373
|
* Note: Using `MultiSelectionPlugin` mode the method `update` will return a promise.
|
|
38370
39374
|
*
|
|
@@ -39068,7 +40072,7 @@ declare namespace sap {
|
|
|
39068
40072
|
*
|
|
39069
40073
|
* Sets usage of `MultiSelectionPlugin`. If enabled the default behaviour is changed and the `ValueHelpDialog`
|
|
39070
40074
|
* table uses the plugin which provides only "Deselect all" option and the ability for range selection.
|
|
39071
|
-
* Also a limit of
|
|
40075
|
+
* Also a limit of 200 items that are able to be selected as a restriction.
|
|
39072
40076
|
*
|
|
39073
40077
|
* Note: Using `MultiSelectionPlugin` mode the method `update` will return a promise.
|
|
39074
40078
|
*
|
|
@@ -39300,7 +40304,7 @@ declare namespace sap {
|
|
|
39300
40304
|
*
|
|
39301
40305
|
* Sets usage of `MultiSelectionPlugin`. If enabled the default behaviour is changed and the `ValueHelpDialog`
|
|
39302
40306
|
* table uses the plugin which provides only "Deselect all" option and the ability for range selection.
|
|
39303
|
-
* Also a limit of
|
|
40307
|
+
* Also a limit of 200 items that are able to be selected as a restriction.
|
|
39304
40308
|
*
|
|
39305
40309
|
* Note: Using `MultiSelectionPlugin` mode the method `update` will return a promise.
|
|
39306
40310
|
*
|
|
@@ -42098,6 +43102,8 @@ declare namespace sap {
|
|
|
42098
43102
|
|
|
42099
43103
|
"sap/ui/comp/smartvariants/SmartVariantManagementBase": undefined;
|
|
42100
43104
|
|
|
43105
|
+
"sap/ui/comp/smartvariants/SmartVariantManagementMediator": undefined;
|
|
43106
|
+
|
|
42101
43107
|
"sap/ui/comp/smartvariants/SmartVariantManagementUi2": undefined;
|
|
42102
43108
|
|
|
42103
43109
|
"sap/ui/comp/state/UIState": undefined;
|