@openui5/ts-types 1.145.1 → 1.147.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/index.d.ts +0 -3
- package/types/sap.f.d.ts +214 -528
- package/types/sap.m.d.ts +607 -48
- package/types/sap.tnt.d.ts +9 -19
- package/types/sap.ui.codeeditor.d.ts +82 -46
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +1209 -376
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +9 -1
- package/types/sap.ui.integration.d.ts +87 -289
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +108 -21
- 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 +2 -2
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +41 -11
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.uxap.d.ts +146 -1
- package/types/sap.ui.webc.common.d.ts +0 -173
- package/types/sap.ui.webc.fiori.d.ts +0 -16012
- package/types/sap.ui.webc.main.d.ts +0 -51158
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
// For Library Version: 1.145.1
|
|
2
|
-
|
|
3
|
-
declare namespace sap {
|
|
4
|
-
namespace ui {
|
|
5
|
-
/**
|
|
6
|
-
* Namespace for UI5 Web Components Retrofit libraries
|
|
7
|
-
*
|
|
8
|
-
* @since 1.92.0
|
|
9
|
-
* @deprecated As of version 1.120. this Web Components consumption model has been discarded. An alternative
|
|
10
|
-
* consumption model is planned for the future.
|
|
11
|
-
* @experimental As of version 1.92.0.
|
|
12
|
-
*/
|
|
13
|
-
namespace webc {
|
|
14
|
-
/**
|
|
15
|
-
* UI5 library: sap.ui.webc.common
|
|
16
|
-
*
|
|
17
|
-
* @since 1.92.0
|
|
18
|
-
* @deprecated As of version 1.120. this Web Components consumption model has been discarded. An alternative
|
|
19
|
-
* consumption model is planned for the future.
|
|
20
|
-
* @experimental As of version 1.92.0.
|
|
21
|
-
*/
|
|
22
|
-
namespace common {
|
|
23
|
-
namespace WebComponent {
|
|
24
|
-
/**
|
|
25
|
-
* The structure of the "metadata" object which is passed when inheriting from sap.ui.core.Element using
|
|
26
|
-
* its static "extend" method. See {@link sap.ui.core.Element.extend} for details on its usage.
|
|
27
|
-
*
|
|
28
|
-
* @deprecated As of version 1.118.0. because it is part of the deprecated package sap.ui.webc.common.WebComponent
|
|
29
|
-
*/
|
|
30
|
-
type MetadataOptions = sap.ui.core.webc.WebComponent.MetadataOptions;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Describes the settings that can be provided to the WebComponent constructor.
|
|
34
|
-
*
|
|
35
|
-
* @deprecated As of version 1.118.0. Use sap.ui.core.webc.WebComponent instead!
|
|
36
|
-
* @experimental As of version 1.92.0. The API might change. It is not intended for productive usage yet!
|
|
37
|
-
*/
|
|
38
|
-
interface $WebComponentSettings
|
|
39
|
-
extends sap.ui.core.webc.$WebComponentSettings {}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Base Class for Web Components. Web Components are agnostic UI elements which can be integrated into the
|
|
43
|
-
* UI5 programming model by using this wrapper control. This wrapper control takes care to propagate the
|
|
44
|
-
* properties, the aggregations and the events. It also ensures to render the control and put the aggregated
|
|
45
|
-
* controls in the dedicated slots of the Web Component.
|
|
46
|
-
*
|
|
47
|
-
* @since 1.92.0
|
|
48
|
-
* @deprecated As of version 1.118.0. Use sap.ui.core.webc.WebComponent instead!
|
|
49
|
-
* @experimental As of version 1.92.0. The API might change. It is not intended for productive usage yet!
|
|
50
|
-
*/
|
|
51
|
-
class WebComponent extends sap.ui.core.webc.WebComponent {
|
|
52
|
-
/**
|
|
53
|
-
* Constructs and initializes a Web Component Wrapper with the given `sId` and settings.
|
|
54
|
-
*/
|
|
55
|
-
constructor(
|
|
56
|
-
/**
|
|
57
|
-
* Object with initial settings for the new control
|
|
58
|
-
*/
|
|
59
|
-
mSettings?: sap.ui.webc.common.$WebComponentSettings
|
|
60
|
-
);
|
|
61
|
-
/**
|
|
62
|
-
* Constructs and initializes a Web Component Wrapper with the given `sId` and settings.
|
|
63
|
-
*/
|
|
64
|
-
constructor(
|
|
65
|
-
/**
|
|
66
|
-
* Optional ID for the new control; generated automatically if no non-empty ID is given Note: this can be
|
|
67
|
-
* omitted, no matter whether `mSettings` will be given or not!
|
|
68
|
-
*/
|
|
69
|
-
sId?: string,
|
|
70
|
-
/**
|
|
71
|
-
* Object with initial settings for the new control
|
|
72
|
-
*/
|
|
73
|
-
mSettings?: sap.ui.webc.common.$WebComponentSettings
|
|
74
|
-
);
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Defines a new subclass of WebComponent with the name `sClassName` and enriches it with the information
|
|
78
|
-
* contained in `oClassInfo`.
|
|
79
|
-
*
|
|
80
|
-
* `oClassInfo` can contain the same information that {@link sap.ui.base.ManagedObject.extend} already accepts,
|
|
81
|
-
* plus the `dnd` property in the metadata object literal to configure drag-and-drop behavior (see {@link sap.ui.core.webc.WebComponent.MetadataOptions MetadataOptions }
|
|
82
|
-
* for details). Objects describing aggregations can also have a `dnd` property when used for a class extending
|
|
83
|
-
* `WebComponent` (see {@link sap.ui.base.ManagedObject.MetadataOptions.AggregationDnD AggregationDnD}).
|
|
84
|
-
*
|
|
85
|
-
* Example:
|
|
86
|
-
* ```javascript
|
|
87
|
-
*
|
|
88
|
-
* WebComponent.extend('sap.mylib.MyElement', {
|
|
89
|
-
* metadata : {
|
|
90
|
-
* library : 'sap.mylib',
|
|
91
|
-
* tag : 'my-webcomponent',
|
|
92
|
-
* properties : {
|
|
93
|
-
* value : 'string',
|
|
94
|
-
* width : {
|
|
95
|
-
* type: 'sap.ui.core.CSSSize',
|
|
96
|
-
* mapping: 'style'
|
|
97
|
-
* }
|
|
98
|
-
* },
|
|
99
|
-
* defaultAggregation: "content",
|
|
100
|
-
* aggregations : {
|
|
101
|
-
* content : {
|
|
102
|
-
* type: 'sap.ui.core.Control',
|
|
103
|
-
* multiple : true
|
|
104
|
-
* },
|
|
105
|
-
* header : {
|
|
106
|
-
* type : 'sap.ui.core.Control',
|
|
107
|
-
* multiple : false,
|
|
108
|
-
* slot: 'header'
|
|
109
|
-
* }
|
|
110
|
-
* }
|
|
111
|
-
* }
|
|
112
|
-
* });
|
|
113
|
-
* ```
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* @returns Created class / constructor function
|
|
118
|
-
*/
|
|
119
|
-
static extend<T extends Record<string, unknown>>(
|
|
120
|
-
/**
|
|
121
|
-
* Name of the class to be created
|
|
122
|
-
*/
|
|
123
|
-
sClassName: string,
|
|
124
|
-
/**
|
|
125
|
-
* Object literal with information about the class
|
|
126
|
-
*/
|
|
127
|
-
oClassInfo?: sap.ClassInfo<T, sap.ui.webc.common.WebComponent>,
|
|
128
|
-
/**
|
|
129
|
-
* Constructor function for the metadata object. If not given, it defaults to `sap.ui.core.ElementMetadata`.
|
|
130
|
-
*/
|
|
131
|
-
FNMetaImpl?: Function
|
|
132
|
-
): Function;
|
|
133
|
-
/**
|
|
134
|
-
* Returns a metadata object for class sap.ui.webc.common.WebComponent.
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
* @returns Metadata object describing this class
|
|
138
|
-
*/
|
|
139
|
-
static getMetadata(): sap.ui.webc.common.WebComponentMetadata;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* @since 1.92.0
|
|
143
|
-
* @deprecated As of version 1.118.0. Use sap.ui.core.webc.WebComponentMetadata instead!
|
|
144
|
-
* @experimental As of version 1.92.0. The API might change. It is not intended for productive usage yet!
|
|
145
|
-
*/
|
|
146
|
-
class WebComponentMetadata extends sap.ui.core.webc
|
|
147
|
-
.WebComponentMetadata {
|
|
148
|
-
/**
|
|
149
|
-
* Creates a new metadata object for a WebComponent Wrapper subclass.
|
|
150
|
-
*/
|
|
151
|
-
constructor(
|
|
152
|
-
/**
|
|
153
|
-
* fully qualified name of the class that is described by this metadata object
|
|
154
|
-
*/
|
|
155
|
-
sClassName: string,
|
|
156
|
-
/**
|
|
157
|
-
* static info to construct the metadata from
|
|
158
|
-
*/
|
|
159
|
-
oClassInfo: object
|
|
160
|
-
);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
interface IUI5DefineDependencyNames {
|
|
167
|
-
"sap/ui/webc/common/library": undefined;
|
|
168
|
-
|
|
169
|
-
"sap/ui/webc/common/WebComponent": undefined;
|
|
170
|
-
|
|
171
|
-
"sap/ui/webc/common/WebComponentMetadata": undefined;
|
|
172
|
-
}
|
|
173
|
-
}
|