@sapui5/ts-types-esm 1.139.0 → 1.141.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 +0 -1623
- package/types/sap.esh.search.ui.d.ts +384 -1
- package/types/sap.f.d.ts +102 -13
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -5
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +98 -8
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +369 -51
- package/types/sap.fe.navigation.d.ts +13 -15
- 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 +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +47 -11
- package/types/sap.insights.d.ts +130 -2
- package/types/sap.m.d.ts +722 -282
- 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 +118 -5
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +41 -5
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +5 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +16 -1
- package/types/sap.ui.core.d.ts +531 -163
- package/types/sap.ui.dt.d.ts +202 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +8 -13
- 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 +13 -13
- package/types/sap.ui.layout.d.ts +63 -47
- package/types/sap.ui.mdc.d.ts +77 -25
- package/types/sap.ui.richtexteditor.d.ts +309 -9
- 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 +585 -4
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +55 -3
- 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 +438 -6
- 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 +41 -8
- package/types/sap.ushell_abap.d.ts +7 -1
- package/types/sap.uxap.d.ts +1 -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.dt.d.ts
CHANGED
|
@@ -1,4 +1,205 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.141.0
|
|
2
|
+
|
|
3
|
+
declare module "sap/ui/dt/library" {
|
|
4
|
+
export namespace designtime {
|
|
5
|
+
namespace DesignTimeMetadata {
|
|
6
|
+
/**
|
|
7
|
+
* Object containing the aggregation configuration
|
|
8
|
+
*/
|
|
9
|
+
type Aggregation = {
|
|
10
|
+
/**
|
|
11
|
+
* Used to ignore the aggregation (and all its children) at design time. For example, this can be used to
|
|
12
|
+
* ignore deprecated or duplicated aggregations as well as aggregations irrelevant during the design time
|
|
13
|
+
* (such as dependents). If the value is true, then no overlays will be created for the aggregation and
|
|
14
|
+
* its children. For more options on how to disable actions in design time please refer to the UI5 Demo
|
|
15
|
+
* Kit.
|
|
16
|
+
*/
|
|
17
|
+
ignore?: boolean | Function;
|
|
18
|
+
/**
|
|
19
|
+
* Defines the DOM reference of the aggregation. The DOM reference is used to calculate the dimension of
|
|
20
|
+
* the aggregation at design time. This is needed, for instance, to make drag&drop possible. If no domRef
|
|
21
|
+
* property is given, a heuristic is used to calculate the dimension of the aggregation from its children
|
|
22
|
+
* during the design time.
|
|
23
|
+
*/
|
|
24
|
+
domRef?: string | Function;
|
|
25
|
+
/**
|
|
26
|
+
* Provide or compute name for the controls inside the aggregation which is understandable for the key user.
|
|
27
|
+
* This is needed for the "addODataProperty" and "createContainer" action to show the names in the context
|
|
28
|
+
* menu (Add , Available ). Name the control based on the general UI concept and follow
|
|
29
|
+
* the guidance from https://experience.sap.com/fiori-design/. The key user doesn't care about the difference
|
|
30
|
+
* between a smart, mobile, or responsive version of a form, it's just a form.
|
|
31
|
+
*/
|
|
32
|
+
childNames?:
|
|
33
|
+
| {
|
|
34
|
+
/**
|
|
35
|
+
* i18n key from library's design-time resource bundle or function returning the translated text
|
|
36
|
+
*/
|
|
37
|
+
singular: string | Function;
|
|
38
|
+
/**
|
|
39
|
+
* i18n key from library's design-time resource bundle or function returning the translated text
|
|
40
|
+
*/
|
|
41
|
+
plural: string | Function;
|
|
42
|
+
}
|
|
43
|
+
| Function;
|
|
44
|
+
/**
|
|
45
|
+
* Actions that can be performed on the aggregation (e.g. move).
|
|
46
|
+
*/
|
|
47
|
+
actions?: object;
|
|
48
|
+
/**
|
|
49
|
+
* Returns DesignTime-Metadata object which extends or overrides existing metadata of a successor control.
|
|
50
|
+
* In the negative case it returns the boolean "false" value. The propagateMetadata function gets 2 parameters
|
|
51
|
+
* passed through during execution: oControl and oRelevantContainerControl. The second parameter is the
|
|
52
|
+
* control which has defined this propagation function. It can be used if you need to know the relevantContainer
|
|
53
|
+
* during the execution of the function.
|
|
54
|
+
*/
|
|
55
|
+
propagateMetadata?: Function;
|
|
56
|
+
/**
|
|
57
|
+
* Defines the relevant container control for the actions which belong to successor controls.
|
|
58
|
+
*/
|
|
59
|
+
propagateRelevantContainer?: boolean | Function;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Object containing the association configuration
|
|
64
|
+
*/
|
|
65
|
+
type Association = {
|
|
66
|
+
/**
|
|
67
|
+
* Can be used to tell the design time that it should follow the association hierarchy. This is used by
|
|
68
|
+
* controls like e.g. the componentContainer that should allow to follow the association component, which
|
|
69
|
+
* defines the control hierarchy but is not a real aggregation (more isolation, regarding model propagation/rendering/eventing/...).
|
|
70
|
+
*/
|
|
71
|
+
aggregationLike: boolean;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Object containing the aggregation configuration
|
|
76
|
+
*/
|
|
77
|
+
type Property = {
|
|
78
|
+
/**
|
|
79
|
+
* Used to ignore the property at design time. For example, this can be used to ignore deprecated properties
|
|
80
|
+
* or properties that shall not be changed during design time.
|
|
81
|
+
*/
|
|
82
|
+
ignore?: boolean | Function;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Object containing a sample design time configuration
|
|
88
|
+
*/
|
|
89
|
+
type DesignTimeMetadata = {
|
|
90
|
+
/**
|
|
91
|
+
* Specify or calculate a speaking name for the control (which is understandable to key users). This is
|
|
92
|
+
* needed for the "reveal" action to show the names in the context menu (Add and Available
|
|
93
|
+
* ). Name your control based on the general UI concept and follow the guidance from https://experience.sap.com/fiori-design/.
|
|
94
|
+
* Example: Key users don't care about the difference between a smart, mobile or responsive version of a
|
|
95
|
+
* form, it's just a form.
|
|
96
|
+
*/
|
|
97
|
+
name:
|
|
98
|
+
| {
|
|
99
|
+
/**
|
|
100
|
+
* i18n key from library's design-time resource bundle or function returning the translated text
|
|
101
|
+
*/
|
|
102
|
+
singular: string | Function;
|
|
103
|
+
/**
|
|
104
|
+
* i18n key from library's design-time resource bundle or function returning the translated text
|
|
105
|
+
*/
|
|
106
|
+
plural: string | Function;
|
|
107
|
+
}
|
|
108
|
+
| Function;
|
|
109
|
+
/**
|
|
110
|
+
* Allows to provide a customized getter for the control label that is used in outlines, context menus and
|
|
111
|
+
* actions like "reveal" or "rename". The default implementation tries to get the following properties in
|
|
112
|
+
* that order: `text`, `labelText`, `label`, `title`, `heading`, `dataSourceLabel`
|
|
113
|
+
*/
|
|
114
|
+
getLabel?: Function;
|
|
115
|
+
/**
|
|
116
|
+
* Defines the DOM reference of the control
|
|
117
|
+
*/
|
|
118
|
+
domRef?: string | Function;
|
|
119
|
+
/**
|
|
120
|
+
* Needed for Elements that are not derived from sap.ui.core.Control. The function should return the visibility
|
|
121
|
+
* of the Element as a boolean (true = visible). This function can be called before the DOM is ready.
|
|
122
|
+
*/
|
|
123
|
+
isVisible: Function;
|
|
124
|
+
/**
|
|
125
|
+
* Palette settings for the control.
|
|
126
|
+
*/
|
|
127
|
+
palette:
|
|
128
|
+
| {
|
|
129
|
+
/**
|
|
130
|
+
* Possible values: "ACTION", "DISPLAY", "LAYOUT", "LIST", "INPUT", "CONTAINER", "CHART", "TILE"
|
|
131
|
+
*/
|
|
132
|
+
group: string | Function;
|
|
133
|
+
/**
|
|
134
|
+
* Preferable as SVG as this icon scales
|
|
135
|
+
*/
|
|
136
|
+
icon: string | Function;
|
|
137
|
+
}
|
|
138
|
+
| Function;
|
|
139
|
+
/**
|
|
140
|
+
* Create template will not be inherited, they are special to the current type.
|
|
141
|
+
*/
|
|
142
|
+
templates: {
|
|
143
|
+
/**
|
|
144
|
+
* Path to the template file
|
|
145
|
+
*/
|
|
146
|
+
create: string;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* RTA specific actions that can be performed on the control.
|
|
150
|
+
*/
|
|
151
|
+
actions: object;
|
|
152
|
+
/**
|
|
153
|
+
* Configuration for the properties of the control. See sap.ui.dt.DesignTimeMetadata.Property
|
|
154
|
+
*/
|
|
155
|
+
properties: object;
|
|
156
|
+
/**
|
|
157
|
+
* Configuration for the aggregations of the control. See sap.ui.dt.DesignTimeMetadata.Aggregation
|
|
158
|
+
*/
|
|
159
|
+
aggregations: object;
|
|
160
|
+
/**
|
|
161
|
+
* Describes the associations of the control. Per default no association is followed as overlays should
|
|
162
|
+
* match the control hierarchy. No actions are supported for associations. See sap.ui.dt.DesignTimeMetadata.Association
|
|
163
|
+
*/
|
|
164
|
+
associations: object;
|
|
165
|
+
/**
|
|
166
|
+
* Describes the OData annotations that are actively used by your control. This section needs to be filled
|
|
167
|
+
* for controls evaluating annotations. It can be used for documentation purposes, but is also evaluated
|
|
168
|
+
* by UI adaptation at design time.
|
|
169
|
+
*/
|
|
170
|
+
annotations: object;
|
|
171
|
+
/**
|
|
172
|
+
* Describes the scroll containers of the control. This is needed when there are more than one aggregation
|
|
173
|
+
* in one scroll container (e.g. ObjectPageLayout: Header + Sections).
|
|
174
|
+
*/
|
|
175
|
+
scrollContainers: Array<{
|
|
176
|
+
/**
|
|
177
|
+
* Defines the DOM reference for the scroll wrapper
|
|
178
|
+
*/
|
|
179
|
+
domRef: string | Function;
|
|
180
|
+
/**
|
|
181
|
+
* Names of the aggregations inside the scroll wrapper. Two arguments are passed to the function: the control
|
|
182
|
+
* instance and an update function that can be called if the aggregations change.
|
|
183
|
+
*/
|
|
184
|
+
aggregations: string[] | Function;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* This object defines hooks that are being called when a tool, e.g. Runtime Adaptation, is started and
|
|
188
|
+
* stopped. The functions are being called with the control instance as parameter.
|
|
189
|
+
*/
|
|
190
|
+
tool: {
|
|
191
|
+
/**
|
|
192
|
+
* Called when the tool is started
|
|
193
|
+
*/
|
|
194
|
+
start: Function;
|
|
195
|
+
/**
|
|
196
|
+
* Called when the tool is stopped
|
|
197
|
+
*/
|
|
198
|
+
stop: Function;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
}
|
|
2
203
|
|
|
3
204
|
declare namespace sap {
|
|
4
205
|
interface IUI5DefineDependencyNames {
|
package/types/sap.ui.export.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.141.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/fl/library" {}
|
|
4
4
|
|
|
@@ -12,10 +12,11 @@ declare module "sap/ui/fl/apply/api/ControlVariantApplyAPI" {
|
|
|
12
12
|
*/
|
|
13
13
|
interface ControlVariantApplyAPI {
|
|
14
14
|
/**
|
|
15
|
-
* Activates the passed variant applicable to the passed control/component.
|
|
16
|
-
*
|
|
17
|
-
* is
|
|
18
|
-
* the
|
|
15
|
+
* Activates the passed variant applicable to the passed control/component. The corresponding variant management
|
|
16
|
+
* control must be available when this function is called. If the variant is not found and the backend supports
|
|
17
|
+
* lazy loading, a backend request is made to fetch the variant. If the flag standardVariant is set to true,
|
|
18
|
+
* the standard variant is activated and the variantReference is ignored: in this scenario, the passed element
|
|
19
|
+
* must be the variant management control.
|
|
19
20
|
*
|
|
20
21
|
*
|
|
21
22
|
* @returns Resolves after the variant is activated or rejects if an error occurs
|
|
@@ -1605,8 +1606,6 @@ declare namespace sap {
|
|
|
1605
1606
|
|
|
1606
1607
|
"sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantManagementState": undefined;
|
|
1607
1608
|
|
|
1608
|
-
"sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger": undefined;
|
|
1609
|
-
|
|
1610
1609
|
"sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher": undefined;
|
|
1611
1610
|
|
|
1612
1611
|
"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState": undefined;
|
|
@@ -1619,14 +1618,10 @@ declare namespace sap {
|
|
|
1619
1618
|
|
|
1620
1619
|
"sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions": undefined;
|
|
1621
1620
|
|
|
1622
|
-
"sap/ui/fl/apply/_internal/flexState/Loader": undefined;
|
|
1623
|
-
|
|
1624
1621
|
"sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState": undefined;
|
|
1625
1622
|
|
|
1626
1623
|
"sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks": undefined;
|
|
1627
1624
|
|
|
1628
|
-
"sap/ui/fl/apply/_internal/preprocessors/ControllerExtension": undefined;
|
|
1629
|
-
|
|
1630
1625
|
"sap/ui/fl/apply/api/AnnotationChangeHandlerAPI": undefined;
|
|
1631
1626
|
|
|
1632
1627
|
"sap/ui/fl/apply/api/ControlVariantApplyAPI": undefined;
|
|
@@ -1671,6 +1666,8 @@ declare namespace sap {
|
|
|
1671
1666
|
|
|
1672
1667
|
"sap/ui/fl/initial/_internal/connectors/Utils": undefined;
|
|
1673
1668
|
|
|
1669
|
+
"sap/ui/fl/initial/_internal/preprocessors/ControllerExtension": undefined;
|
|
1670
|
+
|
|
1674
1671
|
"sap/ui/fl/initial/_internal/Settings": undefined;
|
|
1675
1672
|
|
|
1676
1673
|
"sap/ui/fl/initial/_internal/Storage": undefined;
|
|
@@ -1747,8 +1744,6 @@ declare namespace sap {
|
|
|
1747
1744
|
|
|
1748
1745
|
"sap/ui/fl/write/_internal/flexState/changes/UIChangeManager": undefined;
|
|
1749
1746
|
|
|
1750
|
-
"sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState": undefined;
|
|
1751
|
-
|
|
1752
1747
|
"sap/ui/fl/write/_internal/flexState/FlexObjectManager": undefined;
|
|
1753
1748
|
|
|
1754
1749
|
"sap/ui/fl/write/_internal/flexState/UI2Personalization/UI2PersonalizationState": undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.141.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/integration/library" {
|
|
4
4
|
import { URI } from "sap/ui/core/library";
|
|
@@ -3115,7 +3115,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsBoolean" {
|
|
|
3115
3115
|
* Validates if the provided value is a boolean or binding string.
|
|
3116
3116
|
*
|
|
3117
3117
|
* @since 1.81
|
|
3118
|
-
* @experimental 1.81
|
|
3118
|
+
* @experimental As of version 1.81.
|
|
3119
3119
|
*/
|
|
3120
3120
|
interface IsBoolean {
|
|
3121
3121
|
/**
|
|
@@ -3140,7 +3140,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsDate" {
|
|
|
3140
3140
|
* Validates if the provided value can be parsed to a valid date.
|
|
3141
3141
|
*
|
|
3142
3142
|
* @since 1.81
|
|
3143
|
-
* @experimental 1.81
|
|
3143
|
+
* @experimental As of version 1.81.
|
|
3144
3144
|
*/
|
|
3145
3145
|
interface IsDate {
|
|
3146
3146
|
/**
|
|
@@ -3165,7 +3165,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsInteger" {
|
|
|
3165
3165
|
* Validates if the provided value is an integer or binding string.
|
|
3166
3166
|
*
|
|
3167
3167
|
* @since 1.81
|
|
3168
|
-
* @experimental 1.81
|
|
3168
|
+
* @experimental As of version 1.81.
|
|
3169
3169
|
*/
|
|
3170
3170
|
interface IsInteger {
|
|
3171
3171
|
/**
|
|
@@ -3190,7 +3190,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsNumber" {
|
|
|
3190
3190
|
* Validates if the provided value is a number or binding string.
|
|
3191
3191
|
*
|
|
3192
3192
|
* @since 1.81
|
|
3193
|
-
* @experimental 1.81
|
|
3193
|
+
* @experimental As of version 1.81.
|
|
3194
3194
|
*/
|
|
3195
3195
|
interface IsNumber {
|
|
3196
3196
|
/**
|
|
@@ -3215,7 +3215,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey
|
|
|
3215
3215
|
* Validates if the provided value is one of the given keys.
|
|
3216
3216
|
*
|
|
3217
3217
|
* @since 1.81
|
|
3218
|
-
* @experimental 1.81
|
|
3218
|
+
* @experimental As of version 1.81.
|
|
3219
3219
|
*/
|
|
3220
3220
|
interface IsSelectedKey {
|
|
3221
3221
|
/**
|
|
@@ -3249,7 +3249,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsStringList"
|
|
|
3249
3249
|
* Validates if none of the provided values is an invalid binding.
|
|
3250
3250
|
*
|
|
3251
3251
|
* @since 1.81
|
|
3252
|
-
* @experimental 1.81
|
|
3252
|
+
* @experimental As of version 1.81.
|
|
3253
3253
|
*/
|
|
3254
3254
|
interface IsStringList {
|
|
3255
3255
|
/**
|
|
@@ -3274,7 +3274,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey"
|
|
|
3274
3274
|
* Validates if the provided key is unique in a list of given keys.
|
|
3275
3275
|
*
|
|
3276
3276
|
* @since 1.81
|
|
3277
|
-
* @experimental 1.81
|
|
3277
|
+
* @experimental As of version 1.81.
|
|
3278
3278
|
*/
|
|
3279
3279
|
interface IsUniqueKey {
|
|
3280
3280
|
/**
|
|
@@ -3312,7 +3312,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsUniqueList"
|
|
|
3312
3312
|
* Validates if the provided list contains no duplicates.
|
|
3313
3313
|
*
|
|
3314
3314
|
* @since 1.81
|
|
3315
|
-
* @experimental 1.81
|
|
3315
|
+
* @experimental As of version 1.81.
|
|
3316
3316
|
*/
|
|
3317
3317
|
interface IsUniqueList {
|
|
3318
3318
|
/**
|
|
@@ -3337,7 +3337,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsValidBindin
|
|
|
3337
3337
|
* Validates if the provided value is a valid binding.
|
|
3338
3338
|
*
|
|
3339
3339
|
* @since 1.81
|
|
3340
|
-
* @experimental 1.81
|
|
3340
|
+
* @experimental As of version 1.81.
|
|
3341
3341
|
*/
|
|
3342
3342
|
interface IsValidBinding {
|
|
3343
3343
|
/**
|
|
@@ -3371,7 +3371,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/MaxLength" {
|
|
|
3371
3371
|
* Validates if the provided value doesn't exceed the maximum length.
|
|
3372
3372
|
*
|
|
3373
3373
|
* @since 1.81
|
|
3374
|
-
* @experimental 1.81
|
|
3374
|
+
* @experimental As of version 1.81.
|
|
3375
3375
|
*/
|
|
3376
3376
|
interface MaxLength {
|
|
3377
3377
|
/**
|
|
@@ -3396,7 +3396,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/NotABinding"
|
|
|
3396
3396
|
* Validates if the provided value doesn't contain a binding.
|
|
3397
3397
|
*
|
|
3398
3398
|
* @since 1.81
|
|
3399
|
-
* @experimental 1.81
|
|
3399
|
+
* @experimental As of version 1.81.
|
|
3400
3400
|
*/
|
|
3401
3401
|
interface NotABinding {
|
|
3402
3402
|
/**
|
|
@@ -4849,7 +4849,7 @@ declare namespace sap {
|
|
|
4849
4849
|
* Validates if the provided value belongs to the icon pool.
|
|
4850
4850
|
*
|
|
4851
4851
|
* @since 1.81
|
|
4852
|
-
* @experimental 1.81
|
|
4852
|
+
* @experimental As of version 1.81.
|
|
4853
4853
|
*/
|
|
4854
4854
|
namespace IsInIconPool {
|
|
4855
4855
|
/**
|
package/types/sap.ui.layout.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.141.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/layout/library" {
|
|
4
4
|
import Control from "sap/ui/core/Control";
|
|
@@ -6516,23 +6516,27 @@ declare module "sap/ui/layout/form/Form" {
|
|
|
6516
6516
|
* A `Form` control arranges labels and fields (like input fields) into groups and rows. There are different
|
|
6517
6517
|
* ways to visualize forms for different screen sizes.
|
|
6518
6518
|
*
|
|
6519
|
-
* A `Form` is structured into `FormContainers`. Each
|
|
6520
|
-
* consists of
|
|
6521
|
-
*
|
|
6522
|
-
*
|
|
6519
|
+
* A `Form` is structured into `FormContainers`. Each {@link sap.ui.layout.form.FormContainer FormContainer }
|
|
6520
|
+
* consists of `FormElements`. The {@link sap.ui.layout.form.FormElement FormElement} consists of a label
|
|
6521
|
+
* and the form fields. A `Form` doesn't render its content on its own. The rendering is done by the assigned
|
|
6522
|
+
* {@link sap.ui.layout.form.FormLayout FormLayout}. This is so that the rendering can be adopted to new
|
|
6523
|
+
* UI requirements without changing the `Form` itself.
|
|
6523
6524
|
*
|
|
6524
|
-
* For the content of a `Form`,
|
|
6525
|
-
* `LayoutData` on the content can be used to overwrite the
|
|
6525
|
+
* For the content of a `Form`, {@link sap.ui.core.VariantLayoutData VariantLayoutData} are supported to
|
|
6526
|
+
* allow simple switching of the `FormLayout`. `LayoutData` on the content can be used to overwrite the
|
|
6527
|
+
* default layout of the `Form`.
|
|
6526
6528
|
*
|
|
6527
6529
|
* The `Form` (and its sub-controls) automatically add label and field assignment to enable screen reader
|
|
6528
6530
|
* support. It also adds keyboard support to navigate between the fields and groups inside the form.
|
|
6529
6531
|
*
|
|
6530
|
-
* **Warning:** Do not put any layout or other container controls into the
|
|
6531
|
-
* not supported. This could damage the visual layout, keyboard support and screen-reader
|
|
6532
|
+
* **Warning:** Do not put any layout or other container controls into the {@link sap.ui.layout.form.FormElement FormElement}.
|
|
6533
|
+
* Views are also not supported. This could damage the visual layout, keyboard support and screen-reader
|
|
6534
|
+
* support.
|
|
6532
6535
|
*
|
|
6533
6536
|
* If editable controls are used as content, the `editable` property must be set to `true`, otherwise to
|
|
6534
6537
|
* `false`. If the `editable` property is set incorrectly, there will be visual issues like wrong label
|
|
6535
|
-
* alignment or wrong spacing between the controls.
|
|
6538
|
+
* alignment or wrong spacing between the controls. In addition to that, wrong screen reader announcements
|
|
6539
|
+
* might occur.
|
|
6536
6540
|
*
|
|
6537
6541
|
* @since 1.16.0
|
|
6538
6542
|
*/
|
|
@@ -6673,7 +6677,8 @@ declare module "sap/ui/layout/form/Form" {
|
|
|
6673
6677
|
*
|
|
6674
6678
|
* **Warning:** If this property is wrongly set, this might lead to visual issues. The labels and fields
|
|
6675
6679
|
* might be misaligned, the labels might be rendered in the wrong mode, and the spacing between the single
|
|
6676
|
-
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly.
|
|
6680
|
+
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly. In addition
|
|
6681
|
+
* to that, wrong screen reader announcements might occur.
|
|
6677
6682
|
*
|
|
6678
6683
|
* Default value is `false`.
|
|
6679
6684
|
*
|
|
@@ -6817,7 +6822,8 @@ declare module "sap/ui/layout/form/Form" {
|
|
|
6817
6822
|
*
|
|
6818
6823
|
* **Warning:** If this property is wrongly set, this might lead to visual issues. The labels and fields
|
|
6819
6824
|
* might be misaligned, the labels might be rendered in the wrong mode, and the spacing between the single
|
|
6820
|
-
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly.
|
|
6825
|
+
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly. In addition
|
|
6826
|
+
* to that, wrong screen reader announcements might occur.
|
|
6821
6827
|
*
|
|
6822
6828
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
6823
6829
|
*
|
|
@@ -6908,7 +6914,8 @@ declare module "sap/ui/layout/form/Form" {
|
|
|
6908
6914
|
*
|
|
6909
6915
|
* **Warning:** If this property is wrongly set, this might lead to visual issues. The labels and fields
|
|
6910
6916
|
* might be misaligned, the labels might be rendered in the wrong mode, and the spacing between the single
|
|
6911
|
-
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly.
|
|
6917
|
+
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly. In addition
|
|
6918
|
+
* to that, wrong screen reader announcements might occur.
|
|
6912
6919
|
*
|
|
6913
6920
|
* @since 1.20.0
|
|
6914
6921
|
*/
|
|
@@ -9528,7 +9535,7 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9528
9535
|
* a `{@link sap.ui.layout.form.Form Form}` control is created along with its `{@link sap.ui.layout.form.FormContainer FormContainer}`
|
|
9529
9536
|
* elements and `{@link sap.ui.layout.form.FormElement FormElement}` elements, but the complexity in the
|
|
9530
9537
|
* API is not exposed to the user.
|
|
9531
|
-
* - A new
|
|
9538
|
+
* - A new {@link sap.ui.core.Title Title} element or `Toolbar` control starts a new group (`{@link sap.ui.layout.form.FormContainer FormContainer}`)
|
|
9532
9539
|
* in the form.
|
|
9533
9540
|
* - A new `Label` control starts a new row (`{@link sap.ui.layout.form.FormElement FormElement}`) in
|
|
9534
9541
|
* the form.
|
|
@@ -9784,7 +9791,7 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9784
9791
|
* Gets content of aggregation {@link #getContent content}.
|
|
9785
9792
|
*
|
|
9786
9793
|
* The content of the form is structured in the following way:
|
|
9787
|
-
* - Add a
|
|
9794
|
+
* - Add a {@link sap.ui.core.Title Title} element or `Toolbar` control to start a new group (`{@link sap.ui.layout.form.FormContainer FormContainer}`).
|
|
9788
9795
|
*
|
|
9789
9796
|
* - Add a `Label` control to start a new row (`{@link sap.ui.layout.form.FormElement FormElement}`).
|
|
9790
9797
|
*
|
|
@@ -9792,26 +9799,28 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9792
9799
|
* - Use `LayoutData` to influence the layout for special cases in the single controls. For example, if
|
|
9793
9800
|
* a `ColumnLayout` is used as a layout, the form content is weighted using 4 cells for the labels and 8
|
|
9794
9801
|
* cells for the field part, for large size. If there is only little space, the labels are above the fields
|
|
9795
|
-
* and each field uses 12 cells. If your input controls should influence their width, you can add
|
|
9796
|
-
* to them via
|
|
9797
|
-
* not more than 12, as this is the total
|
|
9798
|
-
*
|
|
9802
|
+
* and each field uses 12 cells. If your input controls should influence their width, you can add {@link sap.ui.layout.form.ColumnElementData ColumnElementData }
|
|
9803
|
+
* to them via the {@link #setLayoutData setLayoutData} method. Ensure that the sum of the weights in the
|
|
9804
|
+
* {@link sap.ui.layout.form.ColumnElementData ColumnElementData} is not more than 12, as this is the total
|
|
9805
|
+
* width of the input control part of each form row. Example for a row where the {@link sap.m.Input Input }
|
|
9806
|
+
* uses 6 cells and the second {@link sap.m.Input Input} uses 2 cells (using {@link sap.ui.layout.form.ColumnElementData ColumnElementData}):
|
|
9799
9807
|
*
|
|
9800
9808
|
* ```javascript
|
|
9801
9809
|
*
|
|
9802
9810
|
* new sap.m.Label({text:"Label"});
|
|
9803
|
-
* new sap.m.Input({value:"6 cells", layoutData: new sap.ui.layout.ColumnElementData({cellsLarge: 6, cellsSmall: 8})}),
|
|
9804
|
-
* new sap.m.Input({value:"2 cells", layoutData: new sap.ui.layout.ColumnElementData({cellsLarge: 2, cellsSmall: 4})}),
|
|
9811
|
+
* new sap.m.Input({value:"6 cells", layoutData: new sap.ui.layout.form.ColumnElementData({cellsLarge: 6, cellsSmall: 8})}),
|
|
9812
|
+
* new sap.m.Input({value:"2 cells", layoutData: new sap.ui.layout.form.ColumnElementData({cellsLarge: 2, cellsSmall: 4})}),
|
|
9805
9813
|
* ```
|
|
9806
9814
|
*
|
|
9807
9815
|
*
|
|
9808
|
-
* For example, if a
|
|
9809
|
-
* on the screen size the labels use the defined `labelSpan`. The
|
|
9810
|
-
* (and `emptySpan` if defined). The available cells are distributed
|
|
9811
|
-
* should use a fixed number of cells you can add
|
|
9812
|
-
*
|
|
9813
|
-
*
|
|
9814
|
-
* 2 cells on larger screens
|
|
9816
|
+
* For example, if a {@link sap.ui.layout.ResponsiveGridLayout ResponsiveGridLayout} is used as a layout,
|
|
9817
|
+
* there are 12 cells in one row. Depending on the screen size the labels use the defined `labelSpan`. The
|
|
9818
|
+
* remaining cells are used for the fields (and `emptySpan` if defined). The available cells are distributed
|
|
9819
|
+
* to all fields in the row. If one field should use a fixed number of cells you can add {@link sap.ui.layout.GridData GridData }
|
|
9820
|
+
* to them via the {@link #setLayoutData setLayoutData} method. If there are additional fields in the row
|
|
9821
|
+
* they will get the remaining cells. Example for a row with two {@link sap.m.Input Input} controls
|
|
9822
|
+
* where one uses four cells on small screens, one cell on medium screens and 2 cells on larger screens
|
|
9823
|
+
* (using {@link sap.ui.layout.ResponsiveGridLayout ResponsiveGridLayout}):
|
|
9815
9824
|
* ```javascript
|
|
9816
9825
|
*
|
|
9817
9826
|
* new sap.m.Label({text:"Label"});
|
|
@@ -9826,7 +9835,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9826
9835
|
*
|
|
9827
9836
|
* If editable controls are used as content, the `editable` property must be set to `true`, otherwise to
|
|
9828
9837
|
* `false`. If the `editable` property is set incorrectly, there will be visual issues like wrong label
|
|
9829
|
-
* alignment or wrong spacing between the controls.
|
|
9838
|
+
* alignment or wrong spacing between the controls. In addition to that, wrong screen reader announcements
|
|
9839
|
+
* might occur.
|
|
9830
9840
|
*/
|
|
9831
9841
|
getContent(): UI5Element[];
|
|
9832
9842
|
/**
|
|
@@ -9843,7 +9853,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9843
9853
|
*
|
|
9844
9854
|
* **Warning:** If this property is wrongly set, this might lead to visual issues. The labels and fields
|
|
9845
9855
|
* might be misaligned, the labels might be rendered in the wrong mode, and the spacing between the single
|
|
9846
|
-
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly.
|
|
9856
|
+
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly. In addition
|
|
9857
|
+
* to that, wrong screen reader announcements might occur.
|
|
9847
9858
|
*
|
|
9848
9859
|
* Default value is `false`.
|
|
9849
9860
|
*
|
|
@@ -10364,7 +10375,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
10364
10375
|
*
|
|
10365
10376
|
* **Warning:** If this property is wrongly set, this might lead to visual issues. The labels and fields
|
|
10366
10377
|
* might be misaligned, the labels might be rendered in the wrong mode, and the spacing between the single
|
|
10367
|
-
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly.
|
|
10378
|
+
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly. In addition
|
|
10379
|
+
* to that, wrong screen reader announcements might occur.
|
|
10368
10380
|
*
|
|
10369
10381
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
10370
10382
|
*
|
|
@@ -10771,7 +10783,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
10771
10783
|
*
|
|
10772
10784
|
* **Warning:** If this property is wrongly set, this might lead to visual issues. The labels and fields
|
|
10773
10785
|
* might be misaligned, the labels might be rendered in the wrong mode, and the spacing between the single
|
|
10774
|
-
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly.
|
|
10786
|
+
* controls might be wrong. Also, controls that do not fit the mode might be rendered incorrectly. In addition
|
|
10787
|
+
* to that, wrong screen reader announcements might occur.
|
|
10775
10788
|
*/
|
|
10776
10789
|
editable?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
10777
10790
|
|
|
@@ -10987,7 +11000,7 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
10987
11000
|
|
|
10988
11001
|
/**
|
|
10989
11002
|
* The content of the form is structured in the following way:
|
|
10990
|
-
* - Add a
|
|
11003
|
+
* - Add a {@link sap.ui.core.Title Title} element or `Toolbar` control to start a new group (`{@link sap.ui.layout.form.FormContainer FormContainer}`).
|
|
10991
11004
|
*
|
|
10992
11005
|
* - Add a `Label` control to start a new row (`{@link sap.ui.layout.form.FormElement FormElement}`).
|
|
10993
11006
|
*
|
|
@@ -10995,26 +11008,28 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
10995
11008
|
* - Use `LayoutData` to influence the layout for special cases in the single controls. For example, if
|
|
10996
11009
|
* a `ColumnLayout` is used as a layout, the form content is weighted using 4 cells for the labels and 8
|
|
10997
11010
|
* cells for the field part, for large size. If there is only little space, the labels are above the fields
|
|
10998
|
-
* and each field uses 12 cells. If your input controls should influence their width, you can add
|
|
10999
|
-
* to them via
|
|
11000
|
-
* not more than 12, as this is the total
|
|
11001
|
-
*
|
|
11011
|
+
* and each field uses 12 cells. If your input controls should influence their width, you can add {@link sap.ui.layout.form.ColumnElementData ColumnElementData }
|
|
11012
|
+
* to them via the {@link #setLayoutData setLayoutData} method. Ensure that the sum of the weights in the
|
|
11013
|
+
* {@link sap.ui.layout.form.ColumnElementData ColumnElementData} is not more than 12, as this is the total
|
|
11014
|
+
* width of the input control part of each form row. Example for a row where the {@link sap.m.Input Input }
|
|
11015
|
+
* uses 6 cells and the second {@link sap.m.Input Input} uses 2 cells (using {@link sap.ui.layout.form.ColumnElementData ColumnElementData}):
|
|
11002
11016
|
*
|
|
11003
11017
|
* ```javascript
|
|
11004
11018
|
*
|
|
11005
11019
|
* new sap.m.Label({text:"Label"});
|
|
11006
|
-
* new sap.m.Input({value:"6 cells", layoutData: new sap.ui.layout.ColumnElementData({cellsLarge: 6, cellsSmall: 8})}),
|
|
11007
|
-
* new sap.m.Input({value:"2 cells", layoutData: new sap.ui.layout.ColumnElementData({cellsLarge: 2, cellsSmall: 4})}),
|
|
11020
|
+
* new sap.m.Input({value:"6 cells", layoutData: new sap.ui.layout.form.ColumnElementData({cellsLarge: 6, cellsSmall: 8})}),
|
|
11021
|
+
* new sap.m.Input({value:"2 cells", layoutData: new sap.ui.layout.form.ColumnElementData({cellsLarge: 2, cellsSmall: 4})}),
|
|
11008
11022
|
* ```
|
|
11009
11023
|
*
|
|
11010
11024
|
*
|
|
11011
|
-
* For example, if a
|
|
11012
|
-
* on the screen size the labels use the defined `labelSpan`. The
|
|
11013
|
-
* (and `emptySpan` if defined). The available cells are distributed
|
|
11014
|
-
* should use a fixed number of cells you can add
|
|
11015
|
-
*
|
|
11016
|
-
*
|
|
11017
|
-
* 2 cells on larger screens
|
|
11025
|
+
* For example, if a {@link sap.ui.layout.ResponsiveGridLayout ResponsiveGridLayout} is used as a layout,
|
|
11026
|
+
* there are 12 cells in one row. Depending on the screen size the labels use the defined `labelSpan`. The
|
|
11027
|
+
* remaining cells are used for the fields (and `emptySpan` if defined). The available cells are distributed
|
|
11028
|
+
* to all fields in the row. If one field should use a fixed number of cells you can add {@link sap.ui.layout.GridData GridData }
|
|
11029
|
+
* to them via the {@link #setLayoutData setLayoutData} method. If there are additional fields in the row
|
|
11030
|
+
* they will get the remaining cells. Example for a row with two {@link sap.m.Input Input} controls
|
|
11031
|
+
* where one uses four cells on small screens, one cell on medium screens and 2 cells on larger screens
|
|
11032
|
+
* (using {@link sap.ui.layout.ResponsiveGridLayout ResponsiveGridLayout}):
|
|
11018
11033
|
* ```javascript
|
|
11019
11034
|
*
|
|
11020
11035
|
* new sap.m.Label({text:"Label"});
|
|
@@ -11029,7 +11044,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
11029
11044
|
*
|
|
11030
11045
|
* If editable controls are used as content, the `editable` property must be set to `true`, otherwise to
|
|
11031
11046
|
* `false`. If the `editable` property is set incorrectly, there will be visual issues like wrong label
|
|
11032
|
-
* alignment or wrong spacing between the controls.
|
|
11047
|
+
* alignment or wrong spacing between the controls. In addition to that, wrong screen reader announcements
|
|
11048
|
+
* might occur.
|
|
11033
11049
|
*/
|
|
11034
11050
|
content?:
|
|
11035
11051
|
| UI5Element[]
|