@openui5/types 1.115.1 → 1.117.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/README.md +6 -5
- package/package.json +1 -1
- package/types/index.d.ts +9 -3
- package/types/sap.f.d.ts +196 -276
- package/types/sap.m.d.ts +2202 -2899
- package/types/sap.tnt.d.ts +64 -29
- package/types/sap.ui.codeeditor.d.ts +11 -17
- package/types/sap.ui.commons.d.ts +278 -422
- package/types/sap.ui.core.d.ts +1160 -1090
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +24 -74
- package/types/sap.ui.integration.d.ts +192 -100
- package/types/sap.ui.layout.d.ts +100 -69
- package/types/sap.ui.mdc.d.ts +1100 -913
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +9 -15
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +140 -192
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +277 -501
- package/types/sap.ui.ux3.d.ts +263 -504
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +864 -342
- package/types/sap.ui.webc.main.d.ts +4337 -1135
- package/types/sap.uxap.d.ts +51 -91
package/types/sap.ui.layout.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.117.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/layout/library" {
|
|
4
4
|
import Control from "sap/ui/core/Control";
|
|
@@ -3621,9 +3621,7 @@ declare module "sap/ui/layout/cssgrid/GridResponsiveLayout" {
|
|
|
3621
3621
|
/**
|
|
3622
3622
|
* Fired when the currently active GridSettings changes
|
|
3623
3623
|
*/
|
|
3624
|
-
layoutChange?: (
|
|
3625
|
-
oEvent: Event<GridResponsiveLayout$LayoutChangeEventParameters>
|
|
3626
|
-
) => void;
|
|
3624
|
+
layoutChange?: (oEvent: GridResponsiveLayout$LayoutChangeEvent) => void;
|
|
3627
3625
|
}
|
|
3628
3626
|
|
|
3629
3627
|
export interface GridResponsiveLayout$LayoutChangeEventParameters {
|
|
@@ -3633,13 +3631,10 @@ declare module "sap/ui/layout/cssgrid/GridResponsiveLayout" {
|
|
|
3633
3631
|
layout?: string;
|
|
3634
3632
|
}
|
|
3635
3633
|
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
export type $GridResponsiveLayoutLayoutChangeEventParameters = GridResponsiveLayout$LayoutChangeEventParameters;
|
|
3641
|
-
|
|
3642
|
-
export type GridResponsiveLayout$LayoutChangeEvent = Event<GridResponsiveLayout$LayoutChangeEventParameters>;
|
|
3634
|
+
export type GridResponsiveLayout$LayoutChangeEvent = Event<
|
|
3635
|
+
GridResponsiveLayout$LayoutChangeEventParameters,
|
|
3636
|
+
GridResponsiveLayout
|
|
3637
|
+
>;
|
|
3643
3638
|
}
|
|
3644
3639
|
|
|
3645
3640
|
declare module "sap/ui/layout/cssgrid/GridSettings" {
|
|
@@ -4319,9 +4314,7 @@ declare module "sap/ui/layout/cssgrid/ResponsiveColumnLayout" {
|
|
|
4319
4314
|
/**
|
|
4320
4315
|
* Fired when the currently active layout changes
|
|
4321
4316
|
*/
|
|
4322
|
-
layoutChange?: (
|
|
4323
|
-
oEvent: Event<ResponsiveColumnLayout$LayoutChangeEventParameters>
|
|
4324
|
-
) => void;
|
|
4317
|
+
layoutChange?: (oEvent: ResponsiveColumnLayout$LayoutChangeEvent) => void;
|
|
4325
4318
|
}
|
|
4326
4319
|
|
|
4327
4320
|
export interface ResponsiveColumnLayout$LayoutChangeEventParameters {
|
|
@@ -4331,13 +4324,10 @@ declare module "sap/ui/layout/cssgrid/ResponsiveColumnLayout" {
|
|
|
4331
4324
|
layout?: string;
|
|
4332
4325
|
}
|
|
4333
4326
|
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
export type $ResponsiveColumnLayoutLayoutChangeEventParameters = ResponsiveColumnLayout$LayoutChangeEventParameters;
|
|
4339
|
-
|
|
4340
|
-
export type ResponsiveColumnLayout$LayoutChangeEvent = Event<ResponsiveColumnLayout$LayoutChangeEventParameters>;
|
|
4327
|
+
export type ResponsiveColumnLayout$LayoutChangeEvent = Event<
|
|
4328
|
+
ResponsiveColumnLayout$LayoutChangeEventParameters,
|
|
4329
|
+
ResponsiveColumnLayout
|
|
4330
|
+
>;
|
|
4341
4331
|
}
|
|
4342
4332
|
|
|
4343
4333
|
declare module "sap/ui/layout/DynamicSideContent" {
|
|
@@ -5023,7 +5013,7 @@ declare module "sap/ui/layout/DynamicSideContent" {
|
|
|
5023
5013
|
* Fires when the current breakpoint has been changed.
|
|
5024
5014
|
*/
|
|
5025
5015
|
breakpointChanged?: (
|
|
5026
|
-
oEvent:
|
|
5016
|
+
oEvent: DynamicSideContent$BreakpointChangedEvent
|
|
5027
5017
|
) => void;
|
|
5028
5018
|
}
|
|
5029
5019
|
|
|
@@ -5031,13 +5021,10 @@ declare module "sap/ui/layout/DynamicSideContent" {
|
|
|
5031
5021
|
currentBreakpoint?: string;
|
|
5032
5022
|
}
|
|
5033
5023
|
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
export type $DynamicSideContentBreakpointChangedEventParameters = DynamicSideContent$BreakpointChangedEventParameters;
|
|
5039
|
-
|
|
5040
|
-
export type DynamicSideContent$BreakpointChangedEvent = Event<DynamicSideContent$BreakpointChangedEventParameters>;
|
|
5024
|
+
export type DynamicSideContent$BreakpointChangedEvent = Event<
|
|
5025
|
+
DynamicSideContent$BreakpointChangedEventParameters,
|
|
5026
|
+
DynamicSideContent
|
|
5027
|
+
>;
|
|
5041
5028
|
}
|
|
5042
5029
|
|
|
5043
5030
|
declare module "sap/ui/layout/FixFlex" {
|
|
@@ -7025,22 +7012,6 @@ declare module "sap/ui/layout/form/FormElement" {
|
|
|
7025
7012
|
* @returns Metadata object describing this class
|
|
7026
7013
|
*/
|
|
7027
7014
|
static getMetadata(): ElementMetadata;
|
|
7028
|
-
/**
|
|
7029
|
-
* @since 1.74.0
|
|
7030
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7031
|
-
*
|
|
7032
|
-
* Sets the editable state of the `FormElement`.
|
|
7033
|
-
*
|
|
7034
|
-
* This must only be called from the `Form` and it's `FormContainers`.
|
|
7035
|
-
*
|
|
7036
|
-
* Labels inside of a `Form` must be invalidated if `editable` changed on `Form`.
|
|
7037
|
-
*/
|
|
7038
|
-
_setEditable(
|
|
7039
|
-
/**
|
|
7040
|
-
* Editable state of the `Form`
|
|
7041
|
-
*/
|
|
7042
|
-
bEditable: boolean
|
|
7043
|
-
): void;
|
|
7044
7015
|
/**
|
|
7045
7016
|
* Adds some field to the aggregation {@link #getFields fields}.
|
|
7046
7017
|
*
|
|
@@ -7223,6 +7194,8 @@ declare module "sap/ui/layout/form/FormLayout" {
|
|
|
7223
7194
|
|
|
7224
7195
|
import { BackgroundDesign } from "sap/ui/layout/library";
|
|
7225
7196
|
|
|
7197
|
+
import LayoutData from "sap/ui/core/LayoutData";
|
|
7198
|
+
|
|
7226
7199
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
7227
7200
|
|
|
7228
7201
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -7310,6 +7283,55 @@ declare module "sap/ui/layout/form/FormLayout" {
|
|
|
7310
7283
|
* @returns Value of property `backgroundDesign`
|
|
7311
7284
|
*/
|
|
7312
7285
|
getBackgroundDesign(): BackgroundDesign | keyof typeof BackgroundDesign;
|
|
7286
|
+
/**
|
|
7287
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7288
|
+
*
|
|
7289
|
+
* In {@link sap.ui.layout.SemanticFormElement SemanticFormElement}, delimiters are rendered. They should
|
|
7290
|
+
* use only a small space. So `Layout`-dependent `LayoutData` are needed.
|
|
7291
|
+
*
|
|
7292
|
+
* This function needs to be implemented by the specific `Layout`.
|
|
7293
|
+
*
|
|
7294
|
+
* @returns LayoutData or promise retuning LayoutData
|
|
7295
|
+
*/
|
|
7296
|
+
getLayoutDataForDelimiter(): LayoutData | Promise<any>;
|
|
7297
|
+
/**
|
|
7298
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7299
|
+
*
|
|
7300
|
+
* In {@link sap.ui.layout.SemanticFormElement SemanticFormElement}, delimiters are rendered. The fields
|
|
7301
|
+
* should be rendered per default in a way, the field and the corresponding delimiter filling one row in
|
|
7302
|
+
* phone mode. In desktop mode they should all be in one row.
|
|
7303
|
+
*
|
|
7304
|
+
* This function needs to be implemented by the specific `Layout`.
|
|
7305
|
+
*
|
|
7306
|
+
* @returns LayoutData or promise retuning LayoutData
|
|
7307
|
+
*/
|
|
7308
|
+
getLayoutDataForSemanticField(
|
|
7309
|
+
/**
|
|
7310
|
+
* Number of field in the `SemanticFormElement`
|
|
7311
|
+
*/
|
|
7312
|
+
iFields: int,
|
|
7313
|
+
/**
|
|
7314
|
+
* Index of field in the `SemanticFormElement`
|
|
7315
|
+
*/
|
|
7316
|
+
iIndex: int,
|
|
7317
|
+
/**
|
|
7318
|
+
* existing `LayoutData` that might be just changed
|
|
7319
|
+
*/
|
|
7320
|
+
oLayoutData?: LayoutData
|
|
7321
|
+
): LayoutData | Promise<any>;
|
|
7322
|
+
/**
|
|
7323
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7324
|
+
*
|
|
7325
|
+
* For {@link sap.ui.layout.SemanticFormElement SemanticFormElement}, all text-based controls should be
|
|
7326
|
+
* concatenated in display mode. If the `Layout` supports rendering of single controls, they are rendered
|
|
7327
|
+
* divided by delimiters. If the `Layout` doesn't support this, one concatenated text is rendered. Here
|
|
7328
|
+
* only text is supported, no links or other special rendering.
|
|
7329
|
+
*
|
|
7330
|
+
* This function needs to be implemented by the specific `Layout`.
|
|
7331
|
+
*
|
|
7332
|
+
* @returns `true` if layout allows to render single controls for {@link sap.ui.layout.SemanticFormElement SemanticFormElement}
|
|
7333
|
+
*/
|
|
7334
|
+
renderControlsForSemanticElement(): boolean;
|
|
7313
7335
|
/**
|
|
7314
7336
|
* @since 1.36.0
|
|
7315
7337
|
*
|
|
@@ -9291,6 +9313,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9291
9313
|
*/
|
|
9292
9314
|
getEmptySpanXL(): int;
|
|
9293
9315
|
/**
|
|
9316
|
+
* @deprecated (since 1.93) - use another `Layout`
|
|
9317
|
+
*
|
|
9294
9318
|
* Gets current value of property {@link #getLabelMinWidth labelMinWidth}.
|
|
9295
9319
|
*
|
|
9296
9320
|
* Specifies the min-width in pixels of the label in all form rows.
|
|
@@ -9378,10 +9402,11 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9378
9402
|
* **Note** If possible, set the `layout` before adding content to prevent calculations for the default
|
|
9379
9403
|
* layout.
|
|
9380
9404
|
*
|
|
9381
|
-
* **Note** The `ResponsiveLayout` has been deprecated and must no longer be used.
|
|
9382
|
-
* the default could not be changed.
|
|
9405
|
+
* **Note** The `ResponsiveLayout` has been deprecated and must no longer be used.
|
|
9383
9406
|
*
|
|
9384
|
-
*
|
|
9407
|
+
* **Note** As of version 1.117, the `ResponsiveGridLayout` is used as default.
|
|
9408
|
+
*
|
|
9409
|
+
* Default value is `ResponsiveGridLayout`.
|
|
9385
9410
|
*
|
|
9386
9411
|
* @returns Value of property `layout`
|
|
9387
9412
|
*/
|
|
@@ -9401,6 +9426,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9401
9426
|
*/
|
|
9402
9427
|
getMaxContainerCols(): int;
|
|
9403
9428
|
/**
|
|
9429
|
+
* @deprecated (since 1.93) - use another `Layout`
|
|
9430
|
+
*
|
|
9404
9431
|
* Gets current value of property {@link #getMinWidth minWidth}.
|
|
9405
9432
|
*
|
|
9406
9433
|
* The overall minimum width in pixels that is used for the `SimpleForm`.
|
|
@@ -9826,6 +9853,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9826
9853
|
iEmptySpanXL?: int
|
|
9827
9854
|
): this;
|
|
9828
9855
|
/**
|
|
9856
|
+
* @deprecated (since 1.93) - use another `Layout`
|
|
9857
|
+
*
|
|
9829
9858
|
* Sets a new value for property {@link #getLabelMinWidth labelMinWidth}.
|
|
9830
9859
|
*
|
|
9831
9860
|
* Specifies the min-width in pixels of the label in all form rows.
|
|
@@ -9948,12 +9977,13 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9948
9977
|
* **Note** If possible, set the `layout` before adding content to prevent calculations for the default
|
|
9949
9978
|
* layout.
|
|
9950
9979
|
*
|
|
9951
|
-
* **Note** The `ResponsiveLayout` has been deprecated and must no longer be used.
|
|
9952
|
-
*
|
|
9980
|
+
* **Note** The `ResponsiveLayout` has been deprecated and must no longer be used.
|
|
9981
|
+
*
|
|
9982
|
+
* **Note** As of version 1.117, the `ResponsiveGridLayout` is used as default.
|
|
9953
9983
|
*
|
|
9954
9984
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
9955
9985
|
*
|
|
9956
|
-
* Default value is `
|
|
9986
|
+
* Default value is `ResponsiveGridLayout`.
|
|
9957
9987
|
*
|
|
9958
9988
|
* @returns Reference to `this` in order to allow method chaining
|
|
9959
9989
|
*/
|
|
@@ -9985,6 +10015,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
9985
10015
|
iMaxContainerCols?: int
|
|
9986
10016
|
): this;
|
|
9987
10017
|
/**
|
|
10018
|
+
* @deprecated (since 1.93) - use another `Layout`
|
|
10019
|
+
*
|
|
9988
10020
|
* Sets a new value for property {@link #getMinWidth minWidth}.
|
|
9989
10021
|
*
|
|
9990
10022
|
* The overall minimum width in pixels that is used for the `SimpleForm`.
|
|
@@ -10089,6 +10121,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
10089
10121
|
maxContainerCols?: int | PropertyBindingInfo | `{${string}}`;
|
|
10090
10122
|
|
|
10091
10123
|
/**
|
|
10124
|
+
* @deprecated (since 1.93) - use another `Layout`
|
|
10125
|
+
*
|
|
10092
10126
|
* The overall minimum width in pixels that is used for the `SimpleForm`.
|
|
10093
10127
|
*
|
|
10094
10128
|
* If the available width is below the given `minWidth` the `SimpleForm` will create a new row for the next
|
|
@@ -10124,6 +10158,8 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
10124
10158
|
editable?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
10125
10159
|
|
|
10126
10160
|
/**
|
|
10161
|
+
* @deprecated (since 1.93) - use another `Layout`
|
|
10162
|
+
*
|
|
10127
10163
|
* Specifies the min-width in pixels of the label in all form rows.
|
|
10128
10164
|
*
|
|
10129
10165
|
* **Note:** This property is only used if a `ResponsiveLayout` is used as a layout.
|
|
@@ -10139,8 +10175,9 @@ declare module "sap/ui/layout/form/SimpleForm" {
|
|
|
10139
10175
|
* **Note** If possible, set the `layout` before adding content to prevent calculations for the default
|
|
10140
10176
|
* layout.
|
|
10141
10177
|
*
|
|
10142
|
-
* **Note** The `ResponsiveLayout` has been deprecated and must no longer be used.
|
|
10143
|
-
*
|
|
10178
|
+
* **Note** The `ResponsiveLayout` has been deprecated and must no longer be used.
|
|
10179
|
+
*
|
|
10180
|
+
* **Note** As of version 1.117, the `ResponsiveGridLayout` is used as default.
|
|
10144
10181
|
*/
|
|
10145
10182
|
layout?:
|
|
10146
10183
|
| (form.SimpleFormLayout | keyof typeof form.SimpleFormLayout)
|
|
@@ -12508,7 +12545,7 @@ declare module "sap/ui/layout/PaneContainer" {
|
|
|
12508
12545
|
/**
|
|
12509
12546
|
* Fired when contents are resized.
|
|
12510
12547
|
*/
|
|
12511
|
-
resize?: (oEvent:
|
|
12548
|
+
resize?: (oEvent: PaneContainer$ResizeEvent) => void;
|
|
12512
12549
|
}
|
|
12513
12550
|
|
|
12514
12551
|
export interface PaneContainer$ResizeEventParameters {
|
|
@@ -12523,13 +12560,10 @@ declare module "sap/ui/layout/PaneContainer" {
|
|
|
12523
12560
|
newSizes?: float[];
|
|
12524
12561
|
}
|
|
12525
12562
|
|
|
12526
|
-
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
|
-
export type $PaneContainerResizeEventParameters = PaneContainer$ResizeEventParameters;
|
|
12531
|
-
|
|
12532
|
-
export type PaneContainer$ResizeEvent = Event<PaneContainer$ResizeEventParameters>;
|
|
12563
|
+
export type PaneContainer$ResizeEvent = Event<
|
|
12564
|
+
PaneContainer$ResizeEventParameters,
|
|
12565
|
+
PaneContainer
|
|
12566
|
+
>;
|
|
12533
12567
|
}
|
|
12534
12568
|
|
|
12535
12569
|
declare module "sap/ui/layout/ResponsiveFlowLayout" {
|
|
@@ -13894,7 +13928,7 @@ declare module "sap/ui/layout/Splitter" {
|
|
|
13894
13928
|
/**
|
|
13895
13929
|
* Event is fired when contents are resized.
|
|
13896
13930
|
*/
|
|
13897
|
-
resize?: (oEvent:
|
|
13931
|
+
resize?: (oEvent: Splitter$ResizeEvent) => void;
|
|
13898
13932
|
}
|
|
13899
13933
|
|
|
13900
13934
|
export interface Splitter$ResizeEventParameters {
|
|
@@ -13915,13 +13949,10 @@ declare module "sap/ui/layout/Splitter" {
|
|
|
13915
13949
|
newSizes?: int[];
|
|
13916
13950
|
}
|
|
13917
13951
|
|
|
13918
|
-
|
|
13919
|
-
|
|
13920
|
-
|
|
13921
|
-
|
|
13922
|
-
export type $SplitterResizeEventParameters = Splitter$ResizeEventParameters;
|
|
13923
|
-
|
|
13924
|
-
export type Splitter$ResizeEvent = Event<Splitter$ResizeEventParameters>;
|
|
13952
|
+
export type Splitter$ResizeEvent = Event<
|
|
13953
|
+
Splitter$ResizeEventParameters,
|
|
13954
|
+
Splitter
|
|
13955
|
+
>;
|
|
13925
13956
|
}
|
|
13926
13957
|
|
|
13927
13958
|
declare module "sap/ui/layout/SplitterLayoutData" {
|