// For Library Version: 1.149.0 declare namespace sap { /** * SAP library: sap.ovp */ namespace ovp { namespace app { /** * Describes the settings that can be provided to the Component constructor. */ interface $ComponentSettings extends sap.fe.core.$AppComponentSettings { renderLeanView?: | boolean | sap.ui.base.ManagedObject.PropertyBindingInfo | `{${string}}`; } /** * This class contains all extension functions that can be implemented by the application developers in * their extension code. Application developers must not override any methods that are not mentioned in * this documentation. * * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework) */ interface TemplateBaseExtension extends sap.ui.core.mvc.ControllerExtension { /** * Creates a new subclass of class sap.ovp.app.TemplateBaseExtension with name `sClassName` and enriches * it with the information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.mvc.ControllerExtension.extend}. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Created class / constructor function */ extend( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: object, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.ovp.app.TemplateBaseExtension. * * @ui5-protected Do not call from applications (only from related classes in the framework) * * @returns Metadata object describing this class */ getMetadata(): sap.ui.base.Metadata; } /** * Overview Page Application Component */ class Component extends sap.fe.core.AppComponent implements /* was: sap.fe.core.buildingBlocks.IBuildingBlockOwnerComponent */ Object { __implements__sap_fe_core_buildingBlocks_IBuildingBlockOwnerComponent: boolean; /** * Main class used for Overview Page Application Component * * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description * of the syntax of the settings object. */ constructor(); /** * Creates a new subclass of class sap.ovp.app.Component with name `sClassName` and enriches it with the * information contained in `oClassInfo`. * * `oClassInfo` might contain the same kind of information as described in {@link sap.fe.core.AppComponent.extend}. * * * @returns Created class / constructor function */ static extend>( /** * Name of the class being created */ sClassName: string, /** * Object literal with information about the class */ oClassInfo?: sap.ClassInfo, /** * Constructor function for the metadata object; if not given, it defaults to the metadata implementation * used by this class */ FNMetaImpl?: Function ): Function; /** * Returns a metadata object for class sap.ovp.app.Component. * * * @returns Metadata object describing this class */ static getMetadata(): sap.ui.core.ComponentMetadata; /** * Gets current value of property {@link #getPreprocessorContext preprocessorContext}. * * Default value is `{}`. * * * @returns Value of property `preprocessorContext` */ getPreprocessorContext(): object; /** * Gets current value of property {@link #getRenderLeanView renderLeanView}. * * Default value is `true`. * * * @returns Value of property `renderLeanView` */ getRenderLeanView(): boolean; /** * Sets a new value for property {@link #getPreprocessorContext preprocessorContext}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `{}`. * * * @returns Reference to `this` in order to allow method chaining */ setPreprocessorContext( /** * New value for property `preprocessorContext` */ oPreprocessorContext?: object ): this; /** * Sets a new value for property {@link #getRenderLeanView renderLeanView}. * * When called with a value of `null` or `undefined`, the default value of the property will be restored. * * Default value is `true`. * * * @returns Reference to `this` in order to allow method chaining */ setRenderLeanView( /** * New value for property `renderLeanView` */ bRenderLeanView?: boolean ): this; } } } interface IUI5DefineDependencyNames { "sap/ovp/app/Component": undefined; "sap/ovp/app/TemplateBaseExtension": undefined; "sap/ovp/library": undefined; } }