@sapui5/ts-types-esm 1.127.1 → 1.128.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +221 -22
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +1414 -225
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.core.d.ts +13 -28
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +7 -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 +327 -26
- 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 +110 -29
- 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 +997 -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 +55 -5
- package/types/sap.ui.layout.d.ts +5 -5
- package/types/sap.ui.mdc.d.ts +426 -212
- 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 +91 -23
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +624 -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 +48 -23
- 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 +44 -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 module "sap/ui/comp/library" {
|
|
4
4
|
/**
|
|
@@ -36762,6 +36762,997 @@ declare module "sap/ui/comp/smartvariants/SmartVariantManagementBase" {
|
|
|
36762
36762
|
>;
|
|
36763
36763
|
}
|
|
36764
36764
|
|
|
36765
|
+
declare module "sap/ui/comp/smartvariants/SmartVariantManagementMediator" {
|
|
36766
|
+
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
36767
|
+
|
|
36768
|
+
import { IShrinkable, ID, TitleLevel, CSSSize } from "sap/ui/core/library";
|
|
36769
|
+
|
|
36770
|
+
import { IOverflowToolbarContent } from "sap/m/library";
|
|
36771
|
+
|
|
36772
|
+
import Event from "sap/ui/base/Event";
|
|
36773
|
+
|
|
36774
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
36775
|
+
|
|
36776
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
36777
|
+
|
|
36778
|
+
/**
|
|
36779
|
+
* Can be used to manage variants. You can use this control in most controls that are enabled for key
|
|
36780
|
+
* user adaptation.
|
|
36781
|
+
* **Note: **On the user interface, variants are generally referred to as "views".
|
|
36782
|
+
*
|
|
36783
|
+
* @since 1.56
|
|
36784
|
+
*/
|
|
36785
|
+
export default class SmartVariantManagementMediator
|
|
36786
|
+
extends Control
|
|
36787
|
+
implements
|
|
36788
|
+
IShrinkable,
|
|
36789
|
+
IOverflowToolbarContent,
|
|
36790
|
+
/* was: sap.m.IToolbarInteractiveControl */ Object
|
|
36791
|
+
{
|
|
36792
|
+
__implements__sap_ui_core_IShrinkable: boolean;
|
|
36793
|
+
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
36794
|
+
__implements__sap_m_IToolbarInteractiveControl: boolean;
|
|
36795
|
+
/**
|
|
36796
|
+
* Constructor for a new `SmartVariantManagementMediator`.
|
|
36797
|
+
*
|
|
36798
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
36799
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
36800
|
+
* of the syntax of the settings object.
|
|
36801
|
+
* See:
|
|
36802
|
+
* {@link https://ui5.sap.com/#/topic/f1430c0337534d469da3a56307ff76af Key User Adaptation: Enable Your App}
|
|
36803
|
+
*/
|
|
36804
|
+
constructor(
|
|
36805
|
+
/**
|
|
36806
|
+
* Initial settings for the new control
|
|
36807
|
+
*/
|
|
36808
|
+
mSettings?: $SmartVariantManagementMediatorSettings
|
|
36809
|
+
);
|
|
36810
|
+
/**
|
|
36811
|
+
* Constructor for a new `SmartVariantManagementMediator`.
|
|
36812
|
+
*
|
|
36813
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
36814
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
36815
|
+
* of the syntax of the settings object.
|
|
36816
|
+
* See:
|
|
36817
|
+
* {@link https://ui5.sap.com/#/topic/f1430c0337534d469da3a56307ff76af Key User Adaptation: Enable Your App}
|
|
36818
|
+
*/
|
|
36819
|
+
constructor(
|
|
36820
|
+
/**
|
|
36821
|
+
* ID for the new control, generated automatically if no ID is given
|
|
36822
|
+
*/
|
|
36823
|
+
sId?: string,
|
|
36824
|
+
/**
|
|
36825
|
+
* Initial settings for the new control
|
|
36826
|
+
*/
|
|
36827
|
+
mSettings?: $SmartVariantManagementMediatorSettings
|
|
36828
|
+
);
|
|
36829
|
+
|
|
36830
|
+
/**
|
|
36831
|
+
* Creates a new subclass of class sap.ui.comp.smartvariants.SmartVariantManagementMediator with name `sClassName`
|
|
36832
|
+
* and enriches it with the information contained in `oClassInfo`.
|
|
36833
|
+
*
|
|
36834
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
|
|
36835
|
+
*
|
|
36836
|
+
*
|
|
36837
|
+
* @returns Created class / constructor function
|
|
36838
|
+
*/
|
|
36839
|
+
static extend<T extends Record<string, unknown>>(
|
|
36840
|
+
/**
|
|
36841
|
+
* Name of the class being created
|
|
36842
|
+
*/
|
|
36843
|
+
sClassName: string,
|
|
36844
|
+
/**
|
|
36845
|
+
* Object literal with information about the class
|
|
36846
|
+
*/
|
|
36847
|
+
oClassInfo?: sap.ClassInfo<T, SmartVariantManagementMediator>,
|
|
36848
|
+
/**
|
|
36849
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
36850
|
+
* used by this class
|
|
36851
|
+
*/
|
|
36852
|
+
FNMetaImpl?: Function
|
|
36853
|
+
): Function;
|
|
36854
|
+
/**
|
|
36855
|
+
* Returns a metadata object for class sap.ui.comp.smartvariants.SmartVariantManagementMediator.
|
|
36856
|
+
*
|
|
36857
|
+
*
|
|
36858
|
+
* @returns Metadata object describing this class
|
|
36859
|
+
*/
|
|
36860
|
+
static getMetadata(): ElementMetadata;
|
|
36861
|
+
/**
|
|
36862
|
+
* Adds some for into the association {@link #getFor for}.
|
|
36863
|
+
*
|
|
36864
|
+
*
|
|
36865
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
36866
|
+
*/
|
|
36867
|
+
addFor(
|
|
36868
|
+
/**
|
|
36869
|
+
* The for to add; if empty, nothing is inserted
|
|
36870
|
+
*/
|
|
36871
|
+
vFor: ID | Control
|
|
36872
|
+
): this;
|
|
36873
|
+
/**
|
|
36874
|
+
* Attaches event handler `fnFunction` to the {@link #event:cancel cancel} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
36875
|
+
*
|
|
36876
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
36877
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
36878
|
+
*
|
|
36879
|
+
* This event is fired when users press the Cancel button inside the Save As dialog.
|
|
36880
|
+
*
|
|
36881
|
+
*
|
|
36882
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
36883
|
+
*/
|
|
36884
|
+
attachCancel(
|
|
36885
|
+
/**
|
|
36886
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
36887
|
+
* object when firing the event
|
|
36888
|
+
*/
|
|
36889
|
+
oData: object,
|
|
36890
|
+
/**
|
|
36891
|
+
* The function to be called when the event occurs
|
|
36892
|
+
*/
|
|
36893
|
+
fnFunction: (p1: Event) => void,
|
|
36894
|
+
/**
|
|
36895
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
36896
|
+
* itself
|
|
36897
|
+
*/
|
|
36898
|
+
oListener?: object
|
|
36899
|
+
): this;
|
|
36900
|
+
/**
|
|
36901
|
+
* Attaches event handler `fnFunction` to the {@link #event:cancel cancel} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
36902
|
+
*
|
|
36903
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
36904
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
36905
|
+
*
|
|
36906
|
+
* This event is fired when users press the Cancel button inside the Save As dialog.
|
|
36907
|
+
*
|
|
36908
|
+
*
|
|
36909
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
36910
|
+
*/
|
|
36911
|
+
attachCancel(
|
|
36912
|
+
/**
|
|
36913
|
+
* The function to be called when the event occurs
|
|
36914
|
+
*/
|
|
36915
|
+
fnFunction: (p1: Event) => void,
|
|
36916
|
+
/**
|
|
36917
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
36918
|
+
* itself
|
|
36919
|
+
*/
|
|
36920
|
+
oListener?: object
|
|
36921
|
+
): this;
|
|
36922
|
+
/**
|
|
36923
|
+
* Attaches event handler `fnFunction` to the {@link #event:manage manage} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
36924
|
+
*
|
|
36925
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
36926
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
36927
|
+
*
|
|
36928
|
+
* This event is fired when users apply changes to variants in the Manage Views dialog.
|
|
36929
|
+
*
|
|
36930
|
+
*
|
|
36931
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
36932
|
+
*/
|
|
36933
|
+
attachManage(
|
|
36934
|
+
/**
|
|
36935
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
36936
|
+
* object when firing the event
|
|
36937
|
+
*/
|
|
36938
|
+
oData: object,
|
|
36939
|
+
/**
|
|
36940
|
+
* The function to be called when the event occurs
|
|
36941
|
+
*/
|
|
36942
|
+
fnFunction: (p1: SmartVariantManagementMediator$ManageEvent) => void,
|
|
36943
|
+
/**
|
|
36944
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
36945
|
+
* itself
|
|
36946
|
+
*/
|
|
36947
|
+
oListener?: object
|
|
36948
|
+
): this;
|
|
36949
|
+
/**
|
|
36950
|
+
* Attaches event handler `fnFunction` to the {@link #event:manage manage} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
36951
|
+
*
|
|
36952
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
36953
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
36954
|
+
*
|
|
36955
|
+
* This event is fired when users apply changes to variants in the Manage Views dialog.
|
|
36956
|
+
*
|
|
36957
|
+
*
|
|
36958
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
36959
|
+
*/
|
|
36960
|
+
attachManage(
|
|
36961
|
+
/**
|
|
36962
|
+
* The function to be called when the event occurs
|
|
36963
|
+
*/
|
|
36964
|
+
fnFunction: (p1: SmartVariantManagementMediator$ManageEvent) => void,
|
|
36965
|
+
/**
|
|
36966
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
36967
|
+
* itself
|
|
36968
|
+
*/
|
|
36969
|
+
oListener?: object
|
|
36970
|
+
): this;
|
|
36971
|
+
/**
|
|
36972
|
+
* Attaches event handler `fnFunction` to the {@link #event:save save} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
36973
|
+
*
|
|
36974
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
36975
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
36976
|
+
*
|
|
36977
|
+
* This event is fired when the Save View dialog or the Save As dialog is closed with the Save button.
|
|
36978
|
+
*
|
|
36979
|
+
*
|
|
36980
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
36981
|
+
*/
|
|
36982
|
+
attachSave(
|
|
36983
|
+
/**
|
|
36984
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
36985
|
+
* object when firing the event
|
|
36986
|
+
*/
|
|
36987
|
+
oData: object,
|
|
36988
|
+
/**
|
|
36989
|
+
* The function to be called when the event occurs
|
|
36990
|
+
*/
|
|
36991
|
+
fnFunction: (p1: SmartVariantManagementMediator$SaveEvent) => void,
|
|
36992
|
+
/**
|
|
36993
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
36994
|
+
* itself
|
|
36995
|
+
*/
|
|
36996
|
+
oListener?: object
|
|
36997
|
+
): this;
|
|
36998
|
+
/**
|
|
36999
|
+
* Attaches event handler `fnFunction` to the {@link #event:save save} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37000
|
+
*
|
|
37001
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37002
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37003
|
+
*
|
|
37004
|
+
* This event is fired when the Save View dialog or the Save As dialog is closed with the Save button.
|
|
37005
|
+
*
|
|
37006
|
+
*
|
|
37007
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37008
|
+
*/
|
|
37009
|
+
attachSave(
|
|
37010
|
+
/**
|
|
37011
|
+
* The function to be called when the event occurs
|
|
37012
|
+
*/
|
|
37013
|
+
fnFunction: (p1: SmartVariantManagementMediator$SaveEvent) => void,
|
|
37014
|
+
/**
|
|
37015
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37016
|
+
* itself
|
|
37017
|
+
*/
|
|
37018
|
+
oListener?: object
|
|
37019
|
+
): this;
|
|
37020
|
+
/**
|
|
37021
|
+
* Attaches event handler `fnFunction` to the {@link #event:select select} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37022
|
+
*
|
|
37023
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37024
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37025
|
+
*
|
|
37026
|
+
* This event is fired when a new variant is selected.
|
|
37027
|
+
*
|
|
37028
|
+
*
|
|
37029
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37030
|
+
*/
|
|
37031
|
+
attachSelect(
|
|
37032
|
+
/**
|
|
37033
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
37034
|
+
* object when firing the event
|
|
37035
|
+
*/
|
|
37036
|
+
oData: object,
|
|
37037
|
+
/**
|
|
37038
|
+
* The function to be called when the event occurs
|
|
37039
|
+
*/
|
|
37040
|
+
fnFunction: (p1: SmartVariantManagementMediator$SelectEvent) => void,
|
|
37041
|
+
/**
|
|
37042
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37043
|
+
* itself
|
|
37044
|
+
*/
|
|
37045
|
+
oListener?: object
|
|
37046
|
+
): this;
|
|
37047
|
+
/**
|
|
37048
|
+
* Attaches event handler `fnFunction` to the {@link #event:select select} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37049
|
+
*
|
|
37050
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
37051
|
+
* otherwise it will be bound to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator` itself.
|
|
37052
|
+
*
|
|
37053
|
+
* This event is fired when a new variant is selected.
|
|
37054
|
+
*
|
|
37055
|
+
*
|
|
37056
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37057
|
+
*/
|
|
37058
|
+
attachSelect(
|
|
37059
|
+
/**
|
|
37060
|
+
* The function to be called when the event occurs
|
|
37061
|
+
*/
|
|
37062
|
+
fnFunction: (p1: SmartVariantManagementMediator$SelectEvent) => void,
|
|
37063
|
+
/**
|
|
37064
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`
|
|
37065
|
+
* itself
|
|
37066
|
+
*/
|
|
37067
|
+
oListener?: object
|
|
37068
|
+
): this;
|
|
37069
|
+
/**
|
|
37070
|
+
* Detaches event handler `fnFunction` from the {@link #event:cancel cancel} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37071
|
+
*
|
|
37072
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
37073
|
+
*
|
|
37074
|
+
*
|
|
37075
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37076
|
+
*/
|
|
37077
|
+
detachCancel(
|
|
37078
|
+
/**
|
|
37079
|
+
* The function to be called, when the event occurs
|
|
37080
|
+
*/
|
|
37081
|
+
fnFunction: (p1: Event) => void,
|
|
37082
|
+
/**
|
|
37083
|
+
* Context object on which the given function had to be called
|
|
37084
|
+
*/
|
|
37085
|
+
oListener?: object
|
|
37086
|
+
): this;
|
|
37087
|
+
/**
|
|
37088
|
+
* Detaches event handler `fnFunction` from the {@link #event:manage manage} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37089
|
+
*
|
|
37090
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
37091
|
+
*
|
|
37092
|
+
*
|
|
37093
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37094
|
+
*/
|
|
37095
|
+
detachManage(
|
|
37096
|
+
/**
|
|
37097
|
+
* The function to be called, when the event occurs
|
|
37098
|
+
*/
|
|
37099
|
+
fnFunction: (p1: SmartVariantManagementMediator$ManageEvent) => void,
|
|
37100
|
+
/**
|
|
37101
|
+
* Context object on which the given function had to be called
|
|
37102
|
+
*/
|
|
37103
|
+
oListener?: object
|
|
37104
|
+
): this;
|
|
37105
|
+
/**
|
|
37106
|
+
* Detaches event handler `fnFunction` from the {@link #event:save save} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37107
|
+
*
|
|
37108
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
37109
|
+
*
|
|
37110
|
+
*
|
|
37111
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37112
|
+
*/
|
|
37113
|
+
detachSave(
|
|
37114
|
+
/**
|
|
37115
|
+
* The function to be called, when the event occurs
|
|
37116
|
+
*/
|
|
37117
|
+
fnFunction: (p1: SmartVariantManagementMediator$SaveEvent) => void,
|
|
37118
|
+
/**
|
|
37119
|
+
* Context object on which the given function had to be called
|
|
37120
|
+
*/
|
|
37121
|
+
oListener?: object
|
|
37122
|
+
): this;
|
|
37123
|
+
/**
|
|
37124
|
+
* Detaches event handler `fnFunction` from the {@link #event:select select} event of this `sap.ui.comp.smartvariants.SmartVariantManagementMediator`.
|
|
37125
|
+
*
|
|
37126
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
37127
|
+
*
|
|
37128
|
+
*
|
|
37129
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37130
|
+
*/
|
|
37131
|
+
detachSelect(
|
|
37132
|
+
/**
|
|
37133
|
+
* The function to be called, when the event occurs
|
|
37134
|
+
*/
|
|
37135
|
+
fnFunction: (p1: SmartVariantManagementMediator$SelectEvent) => void,
|
|
37136
|
+
/**
|
|
37137
|
+
* Context object on which the given function had to be called
|
|
37138
|
+
*/
|
|
37139
|
+
oListener?: object
|
|
37140
|
+
): this;
|
|
37141
|
+
/**
|
|
37142
|
+
* Fires event {@link #event:cancel cancel} to attached listeners.
|
|
37143
|
+
*
|
|
37144
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37145
|
+
*
|
|
37146
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37147
|
+
*/
|
|
37148
|
+
fireCancel(
|
|
37149
|
+
/**
|
|
37150
|
+
* Parameters to pass along with the event
|
|
37151
|
+
*/
|
|
37152
|
+
mParameters?: object
|
|
37153
|
+
): this;
|
|
37154
|
+
/**
|
|
37155
|
+
* Fires event {@link #event:manage manage} to attached listeners.
|
|
37156
|
+
*
|
|
37157
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37158
|
+
*
|
|
37159
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37160
|
+
*/
|
|
37161
|
+
fireManage(
|
|
37162
|
+
/**
|
|
37163
|
+
* Parameters to pass along with the event
|
|
37164
|
+
*/
|
|
37165
|
+
mParameters?: SmartVariantManagementMediator$ManageEventParameters
|
|
37166
|
+
): this;
|
|
37167
|
+
/**
|
|
37168
|
+
* Fires event {@link #event:save save} to attached listeners.
|
|
37169
|
+
*
|
|
37170
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37171
|
+
*
|
|
37172
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37173
|
+
*/
|
|
37174
|
+
fireSave(
|
|
37175
|
+
/**
|
|
37176
|
+
* Parameters to pass along with the event
|
|
37177
|
+
*/
|
|
37178
|
+
mParameters?: SmartVariantManagementMediator$SaveEventParameters
|
|
37179
|
+
): this;
|
|
37180
|
+
/**
|
|
37181
|
+
* Fires event {@link #event:select select} to attached listeners.
|
|
37182
|
+
*
|
|
37183
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37184
|
+
*
|
|
37185
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37186
|
+
*/
|
|
37187
|
+
fireSelect(
|
|
37188
|
+
/**
|
|
37189
|
+
* Parameters to pass along with the event
|
|
37190
|
+
*/
|
|
37191
|
+
mParameters?: SmartVariantManagementMediator$SelectEventParameters
|
|
37192
|
+
): this;
|
|
37193
|
+
/**
|
|
37194
|
+
* Gets the currently selected variant key.
|
|
37195
|
+
*
|
|
37196
|
+
*
|
|
37197
|
+
* @returns Key of the currently selected variant. In case the model is not yet set `null` will be returned
|
|
37198
|
+
*/
|
|
37199
|
+
getCurrentVariantKey(): string | null;
|
|
37200
|
+
/**
|
|
37201
|
+
* Gets current value of property {@link #getDisplayTextForExecuteOnSelectionForStandardVariant displayTextForExecuteOnSelectionForStandardVariant}.
|
|
37202
|
+
*
|
|
37203
|
+
* Defines the Apply Automatically text for the standard variant in the Manage Views dialog if the application
|
|
37204
|
+
* controls this behavior. **Note:** The usage of this property is restricted to `sap.fe` components
|
|
37205
|
+
* only.
|
|
37206
|
+
*
|
|
37207
|
+
* Default value is `empty string`.
|
|
37208
|
+
*
|
|
37209
|
+
*
|
|
37210
|
+
* @returns Value of property `displayTextForExecuteOnSelectionForStandardVariant`
|
|
37211
|
+
*/
|
|
37212
|
+
getDisplayTextForExecuteOnSelectionForStandardVariant(): string;
|
|
37213
|
+
/**
|
|
37214
|
+
* Gets current value of property {@link #getEditable editable}.
|
|
37215
|
+
*
|
|
37216
|
+
* Indicates whether the buttons on My Views are visible.
|
|
37217
|
+
*
|
|
37218
|
+
* Default value is `true`.
|
|
37219
|
+
*
|
|
37220
|
+
*
|
|
37221
|
+
* @returns Value of property `editable`
|
|
37222
|
+
*/
|
|
37223
|
+
getEditable(): boolean;
|
|
37224
|
+
/**
|
|
37225
|
+
* Gets current value of property {@link #getExecuteOnSelectionForStandardDefault executeOnSelectionForStandardDefault}.
|
|
37226
|
+
*
|
|
37227
|
+
* Determines the behavior for Apply Automatically if the standard variant is marked as the default variant.
|
|
37228
|
+
*
|
|
37229
|
+
* Default value is `false`.
|
|
37230
|
+
*
|
|
37231
|
+
*
|
|
37232
|
+
* @returns Value of property `executeOnSelectionForStandardDefault`
|
|
37233
|
+
*/
|
|
37234
|
+
getExecuteOnSelectionForStandardDefault(): boolean;
|
|
37235
|
+
/**
|
|
37236
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getFor for}.
|
|
37237
|
+
*/
|
|
37238
|
+
getFor(): ID[];
|
|
37239
|
+
/**
|
|
37240
|
+
* Gets current value of property {@link #getHeaderLevel headerLevel}.
|
|
37241
|
+
*
|
|
37242
|
+
* Semantic level of the header. For more information, see {@link sap.m.Title#setLevel}.
|
|
37243
|
+
*
|
|
37244
|
+
* Default value is `Auto`.
|
|
37245
|
+
*
|
|
37246
|
+
* @since 1.104
|
|
37247
|
+
*
|
|
37248
|
+
* @returns Value of property `headerLevel`
|
|
37249
|
+
*/
|
|
37250
|
+
getHeaderLevel(): TitleLevel | keyof typeof TitleLevel;
|
|
37251
|
+
/**
|
|
37252
|
+
* Gets current value of property {@link #getInErrorState inErrorState}.
|
|
37253
|
+
*
|
|
37254
|
+
* Indicates whether the control is in error state. If set to `true`, an error message will be displayed
|
|
37255
|
+
* when the variant is opened.
|
|
37256
|
+
*
|
|
37257
|
+
* Default value is `false`.
|
|
37258
|
+
*
|
|
37259
|
+
*
|
|
37260
|
+
* @returns Value of property `inErrorState`
|
|
37261
|
+
*/
|
|
37262
|
+
getInErrorState(): boolean;
|
|
37263
|
+
/**
|
|
37264
|
+
* Gets current value of property {@link #getMaxWidth maxWidth}.
|
|
37265
|
+
*
|
|
37266
|
+
* Sets the maximum width of the control.
|
|
37267
|
+
*
|
|
37268
|
+
* Default value is `"100%"`.
|
|
37269
|
+
*
|
|
37270
|
+
* @since 1.109
|
|
37271
|
+
*
|
|
37272
|
+
* @returns Value of property `maxWidth`
|
|
37273
|
+
*/
|
|
37274
|
+
getMaxWidth(): CSSSize;
|
|
37275
|
+
/**
|
|
37276
|
+
* Gets current value of property {@link #getModelName modelName}.
|
|
37277
|
+
*
|
|
37278
|
+
* The name of the model containing the data.
|
|
37279
|
+
*
|
|
37280
|
+
* Default value is `empty string`.
|
|
37281
|
+
*
|
|
37282
|
+
*
|
|
37283
|
+
* @returns Value of property `modelName`
|
|
37284
|
+
*/
|
|
37285
|
+
getModelName(): string;
|
|
37286
|
+
/**
|
|
37287
|
+
* Determines whether the current variant is modified.
|
|
37288
|
+
*
|
|
37289
|
+
*
|
|
37290
|
+
* @returns Returns `true`, if the current variant is modified, otherwise `false`
|
|
37291
|
+
*/
|
|
37292
|
+
getModified(): boolean;
|
|
37293
|
+
/**
|
|
37294
|
+
* Registers an invalidation event that is fired when the width of the control is changed. **Note:** This
|
|
37295
|
+
* is required by the {@link sap.m.IOverflowToolbarContent} interface.
|
|
37296
|
+
*
|
|
37297
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37298
|
+
*
|
|
37299
|
+
* @returns Configuration information for the {@link sap.m.IOverflowToolbarContent} interface
|
|
37300
|
+
*/
|
|
37301
|
+
getOverflowToolbarConfig(): {
|
|
37302
|
+
canOverflow: boolean;
|
|
37303
|
+
|
|
37304
|
+
invalidationEvents: string[];
|
|
37305
|
+
};
|
|
37306
|
+
/**
|
|
37307
|
+
* Gets current value of property {@link #getShowSetAsDefault showSetAsDefault}.
|
|
37308
|
+
*
|
|
37309
|
+
* Indicates whether the functionality of setting a default variant is enabled. The Default column in Manage
|
|
37310
|
+
* Views and the Set as Default checkbox in Save View will be disabled if set to `false`.
|
|
37311
|
+
*
|
|
37312
|
+
* Default value is `true`.
|
|
37313
|
+
*
|
|
37314
|
+
*
|
|
37315
|
+
* @returns Value of property `showSetAsDefault`
|
|
37316
|
+
*/
|
|
37317
|
+
getShowSetAsDefault(): boolean;
|
|
37318
|
+
/**
|
|
37319
|
+
* Gets current value of property {@link #getTitleStyle titleStyle}.
|
|
37320
|
+
*
|
|
37321
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
37322
|
+
*
|
|
37323
|
+
* Default value is `Auto`.
|
|
37324
|
+
*
|
|
37325
|
+
* @since 1.109
|
|
37326
|
+
*
|
|
37327
|
+
* @returns Value of property `titleStyle`
|
|
37328
|
+
*/
|
|
37329
|
+
getTitleStyle(): TitleLevel | keyof typeof TitleLevel;
|
|
37330
|
+
/**
|
|
37331
|
+
* Gets all variants.
|
|
37332
|
+
*
|
|
37333
|
+
*
|
|
37334
|
+
* @returns All variants; if the model is not yet set, an empty array will be returned.
|
|
37335
|
+
*/
|
|
37336
|
+
getVariants(): any[];
|
|
37337
|
+
/**
|
|
37338
|
+
* Removes all the controls in the association named {@link #getFor for}.
|
|
37339
|
+
*
|
|
37340
|
+
*
|
|
37341
|
+
* @returns An array of the removed elements (might be empty)
|
|
37342
|
+
*/
|
|
37343
|
+
removeAllFor(): ID[];
|
|
37344
|
+
/**
|
|
37345
|
+
* Removes an for from the association named {@link #getFor for}.
|
|
37346
|
+
*
|
|
37347
|
+
*
|
|
37348
|
+
* @returns The removed for or `null`
|
|
37349
|
+
*/
|
|
37350
|
+
removeFor(
|
|
37351
|
+
/**
|
|
37352
|
+
* The for to be removed or its index or ID
|
|
37353
|
+
*/
|
|
37354
|
+
vFor: int | ID | Control
|
|
37355
|
+
): ID | null;
|
|
37356
|
+
/**
|
|
37357
|
+
* Sets a new value for property {@link #getDisplayTextForExecuteOnSelectionForStandardVariant displayTextForExecuteOnSelectionForStandardVariant}.
|
|
37358
|
+
*
|
|
37359
|
+
* Defines the Apply Automatically text for the standard variant in the Manage Views dialog if the application
|
|
37360
|
+
* controls this behavior. **Note:** The usage of this property is restricted to `sap.fe` components
|
|
37361
|
+
* only.
|
|
37362
|
+
*
|
|
37363
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37364
|
+
*
|
|
37365
|
+
* Default value is `empty string`.
|
|
37366
|
+
*
|
|
37367
|
+
*
|
|
37368
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37369
|
+
*/
|
|
37370
|
+
setDisplayTextForExecuteOnSelectionForStandardVariant(
|
|
37371
|
+
/**
|
|
37372
|
+
* New value for property `displayTextForExecuteOnSelectionForStandardVariant`
|
|
37373
|
+
*/
|
|
37374
|
+
sDisplayTextForExecuteOnSelectionForStandardVariant?: string
|
|
37375
|
+
): this;
|
|
37376
|
+
/**
|
|
37377
|
+
* Sets a new value for property {@link #getEditable editable}.
|
|
37378
|
+
*
|
|
37379
|
+
* Indicates whether the buttons on My Views are visible.
|
|
37380
|
+
*
|
|
37381
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37382
|
+
*
|
|
37383
|
+
* Default value is `true`.
|
|
37384
|
+
*
|
|
37385
|
+
*
|
|
37386
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37387
|
+
*/
|
|
37388
|
+
setEditable(
|
|
37389
|
+
/**
|
|
37390
|
+
* New value for property `editable`
|
|
37391
|
+
*/
|
|
37392
|
+
bEditable?: boolean
|
|
37393
|
+
): this;
|
|
37394
|
+
/**
|
|
37395
|
+
* Sets a new value for property {@link #getExecuteOnSelectionForStandardDefault executeOnSelectionForStandardDefault}.
|
|
37396
|
+
*
|
|
37397
|
+
* Determines the behavior for Apply Automatically if the standard variant is marked as the default variant.
|
|
37398
|
+
*
|
|
37399
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37400
|
+
*
|
|
37401
|
+
* Default value is `false`.
|
|
37402
|
+
*
|
|
37403
|
+
*
|
|
37404
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37405
|
+
*/
|
|
37406
|
+
setExecuteOnSelectionForStandardDefault(
|
|
37407
|
+
/**
|
|
37408
|
+
* New value for property `executeOnSelectionForStandardDefault`
|
|
37409
|
+
*/
|
|
37410
|
+
bExecuteOnSelectionForStandardDefault?: boolean
|
|
37411
|
+
): this;
|
|
37412
|
+
/**
|
|
37413
|
+
* Sets a new value for property {@link #getHeaderLevel headerLevel}.
|
|
37414
|
+
*
|
|
37415
|
+
* Semantic level of the header. For more information, see {@link sap.m.Title#setLevel}.
|
|
37416
|
+
*
|
|
37417
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37418
|
+
*
|
|
37419
|
+
* Default value is `Auto`.
|
|
37420
|
+
*
|
|
37421
|
+
* @since 1.104
|
|
37422
|
+
*
|
|
37423
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37424
|
+
*/
|
|
37425
|
+
setHeaderLevel(
|
|
37426
|
+
/**
|
|
37427
|
+
* New value for property `headerLevel`
|
|
37428
|
+
*/
|
|
37429
|
+
sHeaderLevel?: TitleLevel | keyof typeof TitleLevel
|
|
37430
|
+
): this;
|
|
37431
|
+
/**
|
|
37432
|
+
* Sets a new value for property {@link #getInErrorState inErrorState}.
|
|
37433
|
+
*
|
|
37434
|
+
* Indicates whether the control is in error state. If set to `true`, an error message will be displayed
|
|
37435
|
+
* when the variant is opened.
|
|
37436
|
+
*
|
|
37437
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37438
|
+
*
|
|
37439
|
+
* Default value is `false`.
|
|
37440
|
+
*
|
|
37441
|
+
*
|
|
37442
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37443
|
+
*/
|
|
37444
|
+
setInErrorState(
|
|
37445
|
+
/**
|
|
37446
|
+
* New value for property `inErrorState`
|
|
37447
|
+
*/
|
|
37448
|
+
bInErrorState?: boolean
|
|
37449
|
+
): this;
|
|
37450
|
+
/**
|
|
37451
|
+
* Sets a new value for property {@link #getMaxWidth maxWidth}.
|
|
37452
|
+
*
|
|
37453
|
+
* Sets the maximum width of the control.
|
|
37454
|
+
*
|
|
37455
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37456
|
+
*
|
|
37457
|
+
* Default value is `"100%"`.
|
|
37458
|
+
*
|
|
37459
|
+
* @since 1.109
|
|
37460
|
+
*
|
|
37461
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37462
|
+
*/
|
|
37463
|
+
setMaxWidth(
|
|
37464
|
+
/**
|
|
37465
|
+
* New value for property `maxWidth`
|
|
37466
|
+
*/
|
|
37467
|
+
sMaxWidth?: CSSSize
|
|
37468
|
+
): this;
|
|
37469
|
+
/**
|
|
37470
|
+
* Sets a new value for property {@link #getModelName modelName}.
|
|
37471
|
+
*
|
|
37472
|
+
* The name of the model containing the data.
|
|
37473
|
+
*
|
|
37474
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37475
|
+
*
|
|
37476
|
+
* Default value is `empty string`.
|
|
37477
|
+
*
|
|
37478
|
+
*
|
|
37479
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37480
|
+
*/
|
|
37481
|
+
setModelName(
|
|
37482
|
+
/**
|
|
37483
|
+
* New value for property `modelName`
|
|
37484
|
+
*/
|
|
37485
|
+
sModelName?: string
|
|
37486
|
+
): this;
|
|
37487
|
+
/**
|
|
37488
|
+
* Sets a new value for property {@link #getShowSetAsDefault showSetAsDefault}.
|
|
37489
|
+
*
|
|
37490
|
+
* Indicates whether the functionality of setting a default variant is enabled. The Default column in Manage
|
|
37491
|
+
* Views and the Set as Default checkbox in Save View will be disabled if set to `false`.
|
|
37492
|
+
*
|
|
37493
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37494
|
+
*
|
|
37495
|
+
* Default value is `true`.
|
|
37496
|
+
*
|
|
37497
|
+
*
|
|
37498
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37499
|
+
*/
|
|
37500
|
+
setShowSetAsDefault(
|
|
37501
|
+
/**
|
|
37502
|
+
* New value for property `showSetAsDefault`
|
|
37503
|
+
*/
|
|
37504
|
+
bShowSetAsDefault?: boolean
|
|
37505
|
+
): this;
|
|
37506
|
+
/**
|
|
37507
|
+
* Sets a new value for property {@link #getTitleStyle titleStyle}.
|
|
37508
|
+
*
|
|
37509
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
37510
|
+
*
|
|
37511
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
37512
|
+
*
|
|
37513
|
+
* Default value is `Auto`.
|
|
37514
|
+
*
|
|
37515
|
+
* @since 1.109
|
|
37516
|
+
*
|
|
37517
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
37518
|
+
*/
|
|
37519
|
+
setTitleStyle(
|
|
37520
|
+
/**
|
|
37521
|
+
* New value for property `titleStyle`
|
|
37522
|
+
*/
|
|
37523
|
+
sTitleStyle?: TitleLevel | keyof typeof TitleLevel
|
|
37524
|
+
): this;
|
|
37525
|
+
}
|
|
37526
|
+
/**
|
|
37527
|
+
* Describes the settings that can be provided to the SmartVariantManagementMediator constructor.
|
|
37528
|
+
*/
|
|
37529
|
+
export interface $SmartVariantManagementMediatorSettings
|
|
37530
|
+
extends $ControlSettings {
|
|
37531
|
+
/**
|
|
37532
|
+
* The name of the model containing the data.
|
|
37533
|
+
*/
|
|
37534
|
+
modelName?: string | PropertyBindingInfo;
|
|
37535
|
+
|
|
37536
|
+
/**
|
|
37537
|
+
* Indicates whether the buttons on My Views are visible.
|
|
37538
|
+
*/
|
|
37539
|
+
editable?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
37540
|
+
|
|
37541
|
+
/**
|
|
37542
|
+
* Indicates whether the functionality of setting a default variant is enabled. The Default column in Manage
|
|
37543
|
+
* Views and the Set as Default checkbox in Save View will be disabled if set to `false`.
|
|
37544
|
+
*/
|
|
37545
|
+
showSetAsDefault?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
37546
|
+
|
|
37547
|
+
/**
|
|
37548
|
+
* Indicates whether the control is in error state. If set to `true`, an error message will be displayed
|
|
37549
|
+
* when the variant is opened.
|
|
37550
|
+
*/
|
|
37551
|
+
inErrorState?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
37552
|
+
|
|
37553
|
+
/**
|
|
37554
|
+
* Determines the behavior for Apply Automatically if the standard variant is marked as the default variant.
|
|
37555
|
+
*/
|
|
37556
|
+
executeOnSelectionForStandardDefault?:
|
|
37557
|
+
| boolean
|
|
37558
|
+
| PropertyBindingInfo
|
|
37559
|
+
| `{${string}}`;
|
|
37560
|
+
|
|
37561
|
+
/**
|
|
37562
|
+
* Defines the Apply Automatically text for the standard variant in the Manage Views dialog if the application
|
|
37563
|
+
* controls this behavior. **Note:** The usage of this property is restricted to `sap.fe` components
|
|
37564
|
+
* only.
|
|
37565
|
+
*/
|
|
37566
|
+
displayTextForExecuteOnSelectionForStandardVariant?:
|
|
37567
|
+
| string
|
|
37568
|
+
| PropertyBindingInfo;
|
|
37569
|
+
|
|
37570
|
+
/**
|
|
37571
|
+
* Semantic level of the header. For more information, see {@link sap.m.Title#setLevel}.
|
|
37572
|
+
*
|
|
37573
|
+
* @since 1.104
|
|
37574
|
+
*/
|
|
37575
|
+
headerLevel?:
|
|
37576
|
+
| (TitleLevel | keyof typeof TitleLevel)
|
|
37577
|
+
| PropertyBindingInfo
|
|
37578
|
+
| `{${string}}`;
|
|
37579
|
+
|
|
37580
|
+
/**
|
|
37581
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
37582
|
+
*
|
|
37583
|
+
* @since 1.109
|
|
37584
|
+
*/
|
|
37585
|
+
titleStyle?:
|
|
37586
|
+
| (TitleLevel | keyof typeof TitleLevel)
|
|
37587
|
+
| PropertyBindingInfo
|
|
37588
|
+
| `{${string}}`;
|
|
37589
|
+
|
|
37590
|
+
/**
|
|
37591
|
+
* Sets the maximum width of the control.
|
|
37592
|
+
*
|
|
37593
|
+
* @since 1.109
|
|
37594
|
+
*/
|
|
37595
|
+
maxWidth?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
37596
|
+
|
|
37597
|
+
/**
|
|
37598
|
+
* Contains the IDs of the relevant controls for which the variant management is used.
|
|
37599
|
+
*/
|
|
37600
|
+
for?: Array<Control | string>;
|
|
37601
|
+
|
|
37602
|
+
/**
|
|
37603
|
+
* This event is fired when the Save View dialog or the Save As dialog is closed with the Save button.
|
|
37604
|
+
*/
|
|
37605
|
+
save?: (oEvent: SmartVariantManagementMediator$SaveEvent) => void;
|
|
37606
|
+
|
|
37607
|
+
/**
|
|
37608
|
+
* This event is fired when users press the Cancel button inside the Save As dialog.
|
|
37609
|
+
*/
|
|
37610
|
+
cancel?: (oEvent: Event) => void;
|
|
37611
|
+
|
|
37612
|
+
/**
|
|
37613
|
+
* This event is fired when users apply changes to variants in the Manage Views dialog.
|
|
37614
|
+
*/
|
|
37615
|
+
manage?: (oEvent: SmartVariantManagementMediator$ManageEvent) => void;
|
|
37616
|
+
|
|
37617
|
+
/**
|
|
37618
|
+
* This event is fired when a new variant is selected.
|
|
37619
|
+
*/
|
|
37620
|
+
select?: (oEvent: SmartVariantManagementMediator$SelectEvent) => void;
|
|
37621
|
+
}
|
|
37622
|
+
|
|
37623
|
+
/**
|
|
37624
|
+
* Parameters of the SmartVariantManagementMediator#cancel event.
|
|
37625
|
+
*/
|
|
37626
|
+
export interface SmartVariantManagementMediator$CancelEventParameters {}
|
|
37627
|
+
|
|
37628
|
+
/**
|
|
37629
|
+
* Event object of the SmartVariantManagementMediator#cancel event.
|
|
37630
|
+
*/
|
|
37631
|
+
export type SmartVariantManagementMediator$CancelEvent = Event<
|
|
37632
|
+
SmartVariantManagementMediator$CancelEventParameters,
|
|
37633
|
+
SmartVariantManagementMediator
|
|
37634
|
+
>;
|
|
37635
|
+
|
|
37636
|
+
/**
|
|
37637
|
+
* Parameters of the SmartVariantManagementMediator#manage event.
|
|
37638
|
+
*/
|
|
37639
|
+
export interface SmartVariantManagementMediator$ManageEventParameters {
|
|
37640
|
+
/**
|
|
37641
|
+
* List of changed variants. Each entry contains a `key` (the variant key) and a `name` (the new title of
|
|
37642
|
+
* the variant).
|
|
37643
|
+
*/
|
|
37644
|
+
renamed?: object[];
|
|
37645
|
+
|
|
37646
|
+
/**
|
|
37647
|
+
* List of deleted variant keys
|
|
37648
|
+
*/
|
|
37649
|
+
deleted?: string[];
|
|
37650
|
+
|
|
37651
|
+
/**
|
|
37652
|
+
* List of variant keys and the associated Execute on Selection indicator. Each entry contains a `key` (the
|
|
37653
|
+
* variant key) and an `exe` flag describing the intention.
|
|
37654
|
+
*/
|
|
37655
|
+
exe?: object[];
|
|
37656
|
+
|
|
37657
|
+
/**
|
|
37658
|
+
* List of variant keys and the associated favorite indicator. Each entry contains a `key` (the variant
|
|
37659
|
+
* key) and a `visible` flag describing the intention.
|
|
37660
|
+
*/
|
|
37661
|
+
fav?: object[];
|
|
37662
|
+
|
|
37663
|
+
/**
|
|
37664
|
+
* The default variant key
|
|
37665
|
+
*/
|
|
37666
|
+
def?: string;
|
|
37667
|
+
|
|
37668
|
+
/**
|
|
37669
|
+
* List of variant keys and the associated contexts array. Each entry contains a `key` (the variant key)
|
|
37670
|
+
* and a `contexts` array describing the contexts. **Note:** It is only used internally by the SAPUI5 flexibility
|
|
37671
|
+
* layer.
|
|
37672
|
+
*/
|
|
37673
|
+
contexts?: object[];
|
|
37674
|
+
}
|
|
37675
|
+
|
|
37676
|
+
/**
|
|
37677
|
+
* Event object of the SmartVariantManagementMediator#manage event.
|
|
37678
|
+
*/
|
|
37679
|
+
export type SmartVariantManagementMediator$ManageEvent = Event<
|
|
37680
|
+
SmartVariantManagementMediator$ManageEventParameters,
|
|
37681
|
+
SmartVariantManagementMediator
|
|
37682
|
+
>;
|
|
37683
|
+
|
|
37684
|
+
/**
|
|
37685
|
+
* Parameters of the SmartVariantManagementMediator#save event.
|
|
37686
|
+
*/
|
|
37687
|
+
export interface SmartVariantManagementMediator$SaveEventParameters {
|
|
37688
|
+
/**
|
|
37689
|
+
* Variant title
|
|
37690
|
+
*/
|
|
37691
|
+
name?: string;
|
|
37692
|
+
|
|
37693
|
+
/**
|
|
37694
|
+
* Indicates whether an existing variant is overwritten or whether a new variant is created
|
|
37695
|
+
*/
|
|
37696
|
+
overwrite?: boolean;
|
|
37697
|
+
|
|
37698
|
+
/**
|
|
37699
|
+
* Variant key. This property is set if `overwrite` is set to `true`.
|
|
37700
|
+
*/
|
|
37701
|
+
key?: string;
|
|
37702
|
+
|
|
37703
|
+
/**
|
|
37704
|
+
* Apply Automatically indicator
|
|
37705
|
+
*/
|
|
37706
|
+
execute?: boolean;
|
|
37707
|
+
|
|
37708
|
+
/**
|
|
37709
|
+
* Indicates the checkbox state for Public
|
|
37710
|
+
*/
|
|
37711
|
+
public?: boolean;
|
|
37712
|
+
|
|
37713
|
+
/**
|
|
37714
|
+
* The default variant indicator
|
|
37715
|
+
*/
|
|
37716
|
+
def?: boolean;
|
|
37717
|
+
|
|
37718
|
+
/**
|
|
37719
|
+
* Array describing the contexts. **Note:** It is only used internally by the SAPUI5 flexibility layer.
|
|
37720
|
+
*/
|
|
37721
|
+
contexts?: object[];
|
|
37722
|
+
|
|
37723
|
+
/**
|
|
37724
|
+
* Indicates the checkbox state for Create Tile **Note:** This event parameter is used only internally.
|
|
37725
|
+
*/
|
|
37726
|
+
tile?: boolean;
|
|
37727
|
+
}
|
|
37728
|
+
|
|
37729
|
+
/**
|
|
37730
|
+
* Event object of the SmartVariantManagementMediator#save event.
|
|
37731
|
+
*/
|
|
37732
|
+
export type SmartVariantManagementMediator$SaveEvent = Event<
|
|
37733
|
+
SmartVariantManagementMediator$SaveEventParameters,
|
|
37734
|
+
SmartVariantManagementMediator
|
|
37735
|
+
>;
|
|
37736
|
+
|
|
37737
|
+
/**
|
|
37738
|
+
* Parameters of the SmartVariantManagementMediator#select event.
|
|
37739
|
+
*/
|
|
37740
|
+
export interface SmartVariantManagementMediator$SelectEventParameters {
|
|
37741
|
+
/**
|
|
37742
|
+
* Variant key
|
|
37743
|
+
*/
|
|
37744
|
+
key?: string;
|
|
37745
|
+
}
|
|
37746
|
+
|
|
37747
|
+
/**
|
|
37748
|
+
* Event object of the SmartVariantManagementMediator#select event.
|
|
37749
|
+
*/
|
|
37750
|
+
export type SmartVariantManagementMediator$SelectEvent = Event<
|
|
37751
|
+
SmartVariantManagementMediator$SelectEventParameters,
|
|
37752
|
+
SmartVariantManagementMediator
|
|
37753
|
+
>;
|
|
37754
|
+
}
|
|
37755
|
+
|
|
36765
37756
|
declare module "sap/ui/comp/smartvariants/SmartVariantManagementUi2" {
|
|
36766
37757
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
36767
37758
|
|
|
@@ -38825,7 +39816,7 @@ declare module "sap/ui/comp/valuehelpdialog/ValueHelpDialog" {
|
|
|
38825
39816
|
*
|
|
38826
39817
|
* Sets usage of `MultiSelectionPlugin`. If enabled the default behaviour is changed and the `ValueHelpDialog`
|
|
38827
39818
|
* table uses the plugin which provides only "Deselect all" option and the ability for range selection.
|
|
38828
|
-
* Also a limit of
|
|
39819
|
+
* Also a limit of 200 items that are able to be selected as a restriction.
|
|
38829
39820
|
*
|
|
38830
39821
|
* Note: Using `MultiSelectionPlugin` mode the method `update` will return a promise.
|
|
38831
39822
|
*
|
|
@@ -39047,7 +40038,7 @@ declare module "sap/ui/comp/valuehelpdialog/ValueHelpDialog" {
|
|
|
39047
40038
|
*
|
|
39048
40039
|
* Sets usage of `MultiSelectionPlugin`. If enabled the default behaviour is changed and the `ValueHelpDialog`
|
|
39049
40040
|
* table uses the plugin which provides only "Deselect all" option and the ability for range selection.
|
|
39050
|
-
* Also a limit of
|
|
40041
|
+
* Also a limit of 200 items that are able to be selected as a restriction.
|
|
39051
40042
|
*
|
|
39052
40043
|
* Note: Using `MultiSelectionPlugin` mode the method `update` will return a promise.
|
|
39053
40044
|
*
|
|
@@ -39457,7 +40448,7 @@ declare module "sap/ui/comp/valuehelpdialog/ValueHelpDialog" {
|
|
|
39457
40448
|
/**
|
|
39458
40449
|
* Sets usage of `MultiSelectionPlugin`. If enabled the default behaviour is changed and the `ValueHelpDialog`
|
|
39459
40450
|
* table uses the plugin which provides only "Deselect all" option and the ability for range selection.
|
|
39460
|
-
* Also a limit of
|
|
40451
|
+
* Also a limit of 200 items that are able to be selected as a restriction.
|
|
39461
40452
|
*
|
|
39462
40453
|
* Note: Using `MultiSelectionPlugin` mode the method `update` will return a promise.
|
|
39463
40454
|
*
|
|
@@ -41963,6 +42954,8 @@ declare namespace sap {
|
|
|
41963
42954
|
|
|
41964
42955
|
"sap/ui/comp/smartvariants/SmartVariantManagementBase": undefined;
|
|
41965
42956
|
|
|
42957
|
+
"sap/ui/comp/smartvariants/SmartVariantManagementMediator": undefined;
|
|
42958
|
+
|
|
41966
42959
|
"sap/ui/comp/smartvariants/SmartVariantManagementUi2": undefined;
|
|
41967
42960
|
|
|
41968
42961
|
"sap/ui/comp/state/UIState": undefined;
|