@sapui5/types 1.120.16 → 1.120.17

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/types",
3
- "version": "1.120.16",
3
+ "version": "1.120.17",
4
4
  "description": "SAPUI5 TypeScript Definitions",
5
5
  "homepage": "https://sap.github.io/ui5-typescript/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.7
1
+ // For Library Version: 1.120.8
2
2
 
3
3
  declare module "sap/gantt/library" {
4
4
  import ChartScheme from "sap/gantt/config/ChartScheme";
@@ -1,16 +1,31 @@
1
- // For Library Version: 1.120.10
1
+ // For Library Version: 1.120.11
2
2
 
3
3
  declare module "sap/ovp/library" {}
4
4
 
5
5
  declare module "sap/ovp/app/Component" {
6
- import AppComponent from "sap/fe/core/AppComponent";
6
+ import {
7
+ default as AppComponent,
8
+ $AppComponentSettings,
9
+ } from "sap/fe/core/AppComponent";
7
10
 
8
11
  import ComponentMetadata from "sap/ui/core/ComponentMetadata";
9
12
 
10
13
  /**
11
14
  * Overview Page Application Component
12
15
  */
13
- interface Component extends AppComponent {
16
+ export default class Component extends AppComponent {
17
+ /**
18
+ * Main class used for Overview Page Application Component
19
+ *
20
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
21
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
22
+ * of the syntax of the settings object.
23
+ *
24
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.fe.core.AppComponent#constructor sap.fe.core.AppComponent }
25
+ * can be used.@ui5-updated-doclet
26
+ */
27
+ constructor();
28
+
14
29
  /**
15
30
  * Creates a new subclass of class sap.ovp.app.Component with name `sClassName` and enriches it with the
16
31
  * information contained in `oClassInfo`.
@@ -20,7 +35,7 @@ declare module "sap/ovp/app/Component" {
20
35
  *
21
36
  * @returns Created class / constructor function
22
37
  */
23
- extend(
38
+ static extend<T extends Record<string, unknown>>(
24
39
  /**
25
40
  * Name of the class being created
26
41
  */
@@ -28,7 +43,7 @@ declare module "sap/ovp/app/Component" {
28
43
  /**
29
44
  * Object literal with information about the class
30
45
  */
31
- oClassInfo?: object,
46
+ oClassInfo?: sap.ClassInfo<T, Component>,
32
47
  /**
33
48
  * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
34
49
  * used by this class
@@ -41,10 +56,12 @@ declare module "sap/ovp/app/Component" {
41
56
  *
42
57
  * @returns Metadata object describing this class
43
58
  */
44
- getMetadata(): ComponentMetadata;
59
+ static getMetadata(): ComponentMetadata;
45
60
  }
46
- const Component: Component;
47
- export default Component;
61
+ /**
62
+ * Describes the settings that can be provided to the Component constructor.
63
+ */
64
+ export interface $ComponentSettings extends $AppComponentSettings {}
48
65
  }
49
66
 
50
67
  declare module "sap/ovp/app/TemplateBaseExtension" {