@openui5/types 1.120.2 → 1.120.4
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 +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.m.d.ts +57 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +22 -11
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +183 -49
- 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 +31 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.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.uxap.d.ts +1 -1
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* Copyright 2009-
|
|
3
|
+
* Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
* you may not use this file except in compliance with the License.
|
package/types/sap.f.d.ts
CHANGED
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.4
|
|
2
2
|
|
|
3
3
|
declare module "sap/f/library" {
|
|
4
4
|
export interface IShellBar {
|
|
@@ -79344,6 +79344,24 @@ declare module "sap/m/PDFViewer" {
|
|
|
79344
79344
|
* @returns Value of property `height`
|
|
79345
79345
|
*/
|
|
79346
79346
|
getHeight(): CSSSize;
|
|
79347
|
+
/**
|
|
79348
|
+
* @since 1.121.0
|
|
79349
|
+
*
|
|
79350
|
+
* Gets current value of property {@link #getIsTrustedSource isTrustedSource}.
|
|
79351
|
+
*
|
|
79352
|
+
* Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
|
|
79353
|
+
* can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
|
|
79354
|
+
* "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
|
|
79355
|
+
* Set this property to true only when the PDF is generated by the application or the PDF is scanned for
|
|
79356
|
+
* viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
|
|
79357
|
+
* desktop devices, which overrides any configuration that has been provided by the application for the
|
|
79358
|
+
* property displayType. This means that the PDFViewer appears as a toolbar with a download button.
|
|
79359
|
+
*
|
|
79360
|
+
* Default value is `false`.
|
|
79361
|
+
*
|
|
79362
|
+
* @returns Value of property `isTrustedSource`
|
|
79363
|
+
*/
|
|
79364
|
+
getIsTrustedSource(): boolean;
|
|
79347
79365
|
/**
|
|
79348
79366
|
* Gets content of aggregation {@link #getPopupButtons popupButtons}.
|
|
79349
79367
|
*
|
|
@@ -79550,6 +79568,31 @@ declare module "sap/m/PDFViewer" {
|
|
|
79550
79568
|
*/
|
|
79551
79569
|
sHeight?: CSSSize
|
|
79552
79570
|
): this;
|
|
79571
|
+
/**
|
|
79572
|
+
* @since 1.121.0
|
|
79573
|
+
*
|
|
79574
|
+
* Sets a new value for property {@link #getIsTrustedSource isTrustedSource}.
|
|
79575
|
+
*
|
|
79576
|
+
* Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
|
|
79577
|
+
* can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
|
|
79578
|
+
* "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
|
|
79579
|
+
* Set this property to true only when the PDF is generated by the application or the PDF is scanned for
|
|
79580
|
+
* viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
|
|
79581
|
+
* desktop devices, which overrides any configuration that has been provided by the application for the
|
|
79582
|
+
* property displayType. This means that the PDFViewer appears as a toolbar with a download button.
|
|
79583
|
+
*
|
|
79584
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
79585
|
+
*
|
|
79586
|
+
* Default value is `false`.
|
|
79587
|
+
*
|
|
79588
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
79589
|
+
*/
|
|
79590
|
+
setIsTrustedSource(
|
|
79591
|
+
/**
|
|
79592
|
+
* New value for property `isTrustedSource`
|
|
79593
|
+
*/
|
|
79594
|
+
bIsTrustedSource?: boolean
|
|
79595
|
+
): this;
|
|
79553
79596
|
/**
|
|
79554
79597
|
* @deprecated (since 1.50.0) - replaced by {@link sap.m.PDFViewer#getTitle}.
|
|
79555
79598
|
*
|
|
@@ -79706,6 +79749,19 @@ declare module "sap/m/PDFViewer" {
|
|
|
79706
79749
|
| PropertyBindingInfo
|
|
79707
79750
|
| `{${string}}`;
|
|
79708
79751
|
|
|
79752
|
+
/**
|
|
79753
|
+
* @since 1.121.0
|
|
79754
|
+
*
|
|
79755
|
+
* Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
|
|
79756
|
+
* can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
|
|
79757
|
+
* "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
|
|
79758
|
+
* Set this property to true only when the PDF is generated by the application or the PDF is scanned for
|
|
79759
|
+
* viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
|
|
79760
|
+
* desktop devices, which overrides any configuration that has been provided by the application for the
|
|
79761
|
+
* property displayType. This means that the PDFViewer appears as a toolbar with a download button.
|
|
79762
|
+
*/
|
|
79763
|
+
isTrustedSource?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
79764
|
+
|
|
79709
79765
|
/**
|
|
79710
79766
|
* A custom control that can be used instead of the error message specified by the errorPlaceholderMessage
|
|
79711
79767
|
* property.
|
package/types/sap.tnt.d.ts
CHANGED
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -280,7 +280,7 @@ declare namespace sap {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// For Library Version: 1.120.
|
|
283
|
+
// For Library Version: 1.120.4
|
|
284
284
|
|
|
285
285
|
declare module "sap/base/assert" {
|
|
286
286
|
/**
|
|
@@ -1399,7 +1399,7 @@ declare module "sap/base/i18n/ResourceBundle" {
|
|
|
1399
1399
|
* An empty string (`""`) represents the 'raw' bundle. **Note:** The given language tags can use modern
|
|
1400
1400
|
* or legacy ISO639 language codes. Whatever language code is used in the list of supported locales will
|
|
1401
1401
|
* also be used when requesting a file from the server. If the `locale` contains a legacy language code
|
|
1402
|
-
* like "
|
|
1402
|
+
* like "iw" and the `supportedLocales` contains [...,"he",...], "he" will be used in the URL. This mapping
|
|
1403
1403
|
* works in both directions.
|
|
1404
1404
|
*/
|
|
1405
1405
|
supportedLocales?: string[];
|
|
@@ -1528,7 +1528,7 @@ declare module "sap/base/i18n/ResourceBundle" {
|
|
|
1528
1528
|
* An empty string (`""`) represents the 'raw' bundle. **Note:** The given language tags can use modern
|
|
1529
1529
|
* or legacy ISO639 language codes. Whatever language code is used in the list of supported locales will
|
|
1530
1530
|
* also be used when requesting a file from the server. If the `locale` contains a legacy language code
|
|
1531
|
-
* like "
|
|
1531
|
+
* like "iw" and the `supportedLocales` contains [...,"he",...], "he" will be used in the URL. This mapping
|
|
1532
1532
|
* works in both directions.
|
|
1533
1533
|
*/
|
|
1534
1534
|
supportedLocales?: string[];
|
|
@@ -1575,7 +1575,7 @@ declare module "sap/base/i18n/ResourceBundle" {
|
|
|
1575
1575
|
* An empty string (`""`) represents the 'raw' bundle. **Note:** The given language tags can use modern
|
|
1576
1576
|
* or legacy ISO639 language codes. Whatever language code is used in the list of supported locales will
|
|
1577
1577
|
* also be used when requesting a file from the server. If the `locale` contains a legacy language code
|
|
1578
|
-
* like "
|
|
1578
|
+
* like "iw" and the `supportedLocales` contains [...,"he",...], "he" will be used in the URL. This mapping
|
|
1579
1579
|
* works in both directions.
|
|
1580
1580
|
*/
|
|
1581
1581
|
supportedLocales?: string[];
|
|
@@ -16145,7 +16145,7 @@ declare module "sap/ui/core/Configuration" {
|
|
|
16145
16145
|
*
|
|
16146
16146
|
* The return value of config method is especially useful for an HTTP `Accept-Language` header.
|
|
16147
16147
|
*
|
|
16148
|
-
* Retrieves the modern locale, e.g. sr-Latn (Serbian (
|
|
16148
|
+
* Retrieves the modern locale, e.g. sr-Latn (Serbian (Latin)), he (Hebrew), yi (Yiddish)
|
|
16149
16149
|
*
|
|
16150
16150
|
* @returns The language tag for the current language, conforming to BCP47
|
|
16151
16151
|
*/
|
|
@@ -28435,6 +28435,11 @@ declare module "sap/ui/core/Lib" {
|
|
|
28435
28435
|
* in `mSettings` and will evaluate the descriptor file instead. Library developers therefore must keep
|
|
28436
28436
|
* the information in both files in sync if the `manifest.json` file is maintained manually.
|
|
28437
28437
|
*
|
|
28438
|
+
* Library API-Version 2:
|
|
28439
|
+
*
|
|
28440
|
+
* The Library API Version 2 has been introduced to avoid access to the global namespace when retrieving
|
|
28441
|
+
* enum types. With Library API Version 2 a library must declare its enum types via {@link module:sap/ui/base/DataType.registerEnum DataType.registerEnum}.
|
|
28442
|
+
*
|
|
28438
28443
|
* @returns Returns the library namespace, based on the given library name.
|
|
28439
28444
|
*/
|
|
28440
28445
|
static init(
|
|
@@ -28450,6 +28455,10 @@ declare module "sap/ui/core/Lib" {
|
|
|
28450
28455
|
* Version of the library
|
|
28451
28456
|
*/
|
|
28452
28457
|
version?: string;
|
|
28458
|
+
/**
|
|
28459
|
+
* The library's API version; supported values are 1, 2 and `undefined` (defaults to 1).
|
|
28460
|
+
*/
|
|
28461
|
+
apiVersion?: int;
|
|
28453
28462
|
/**
|
|
28454
28463
|
* List of libraries that this library depends on; names are in dot notation (e.g. "sap.ui.core")
|
|
28455
28464
|
*/
|
|
@@ -70308,11 +70317,12 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
70308
70317
|
* "@@.AH.isMultiple" or "@@.isMultiple", represent computed annotations. Their name without the "@@" prefix
|
|
70309
70318
|
* must refer to a function in `mParameters.scope` in case of a relative name starting with a dot, which
|
|
70310
70319
|
* is stripped before lookup; see the `<template:alias>` instruction for XML Templating. In case of an
|
|
70311
|
-
* absolute name, it is searched in `mParameters.scope` first and then in the global namespace.
|
|
70312
|
-
*
|
|
70313
|
-
* resp. if not present in `mParameters.scope`.
|
|
70314
|
-
*
|
|
70315
|
-
* details are given as an object with the
|
|
70320
|
+
* absolute name, it is searched in `mParameters.scope` first and then in the global namespace. (Using the
|
|
70321
|
+
* global namespace is @deprecated as of version 1.120.3). The names "requestCurrencyCodes" and "requestUnitsOfMeasure"
|
|
70322
|
+
* default to {@link #requestCurrencyCodes} and {@link #requestUnitsOfMeasure} resp. if not present in `mParameters.scope`.
|
|
70323
|
+
* This function is called with the current object (or primitive value) and additional details and returns
|
|
70324
|
+
* the result of this {@link #requestObject} call. The additional details are given as an object with the
|
|
70325
|
+
* following properties:
|
|
70316
70326
|
* `{boolean} $$valueAsPromise` Whether the computed annotation may return a `Promise` resolving with
|
|
70317
70327
|
* its value (since 1.57.0) `{@link sap.ui.model.Context} context` Points to the current object
|
|
70318
70328
|
* `{object} overload` In case of annotations of an operation or a parameter, if filtering by binding parameter
|
|
@@ -70413,7 +70423,8 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
70413
70423
|
*/
|
|
70414
70424
|
mParameters?: {
|
|
70415
70425
|
/**
|
|
70416
|
-
*
|
|
70426
|
+
* Scope for lookup of aliases for computed annotations (since 1.43.0). Since 1.120.3 looking up a computed
|
|
70427
|
+
* annotation via its global name is deprecated; always use this scope instead.
|
|
70417
70428
|
*/
|
|
70418
70429
|
scope?: object;
|
|
70419
70430
|
}
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
package/types/sap.ui.layout.d.ts
CHANGED
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.4
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -40,7 +40,7 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
40
40
|
/**
|
|
41
41
|
* Instance of an `sap.ui.mdc.Control`
|
|
42
42
|
*/
|
|
43
|
-
oControl: Control,
|
|
43
|
+
oControl: Control | Element,
|
|
44
44
|
/**
|
|
45
45
|
* The name of the property info object/JSON
|
|
46
46
|
*/
|
|
@@ -50,19 +50,6 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
50
50
|
*/
|
|
51
51
|
mPropertyBag?: Object
|
|
52
52
|
): Promise<any>;
|
|
53
|
-
/**
|
|
54
|
-
* A validator to evaluate the state of an MDC control.
|
|
55
|
-
*/
|
|
56
|
-
determineValidationState(
|
|
57
|
-
/**
|
|
58
|
-
* Instance of a MDC control
|
|
59
|
-
*/
|
|
60
|
-
oControl: Control,
|
|
61
|
-
/**
|
|
62
|
-
* Object Describing the validation result
|
|
63
|
-
*/
|
|
64
|
-
mValidation?: Record<string, any>
|
|
65
|
-
): void;
|
|
66
53
|
/**
|
|
67
54
|
* Retrieves the relevant metadata for a given payload and returns the property info array.
|
|
68
55
|
*
|
|
@@ -80,9 +67,9 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
80
67
|
*/
|
|
81
68
|
onAfterXMLChangeProcessing(
|
|
82
69
|
/**
|
|
83
|
-
*
|
|
70
|
+
* XML node of a mdc control
|
|
84
71
|
*/
|
|
85
|
-
oControl:
|
|
72
|
+
oControl: Element,
|
|
86
73
|
/**
|
|
87
74
|
* Property bag from SAPUI5 flexibility
|
|
88
75
|
*/
|
|
@@ -101,9 +88,9 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
101
88
|
*/
|
|
102
89
|
removeItem(
|
|
103
90
|
/**
|
|
104
|
-
* Instance of
|
|
91
|
+
* Instance of a `sap.ui.mdc.Control`
|
|
105
92
|
*/
|
|
106
|
-
oControl: Control,
|
|
93
|
+
oControl: Control | Element,
|
|
107
94
|
/**
|
|
108
95
|
* The control instance that was removed
|
|
109
96
|
*/
|
|
@@ -113,34 +100,6 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
113
100
|
*/
|
|
114
101
|
mPropertyBag?: Object
|
|
115
102
|
): Promise<any>;
|
|
116
|
-
/**
|
|
117
|
-
* A validator to evaluate the theoretical control state.
|
|
118
|
-
*
|
|
119
|
-
* @returns An object that must contain at least the `validation` attribute {@link sap.ui.core.MessageType MessageType}.
|
|
120
|
-
* If `warning` or `error` state types have been provided, the `message` is shown in addition.
|
|
121
|
-
*/
|
|
122
|
-
validateState(
|
|
123
|
-
/**
|
|
124
|
-
* Instance of an `sap.ui.mdc.Control`
|
|
125
|
-
*/
|
|
126
|
-
oControl: Control,
|
|
127
|
-
/**
|
|
128
|
-
* The theoretical external state representation of an MDC control. The representation of this format is
|
|
129
|
-
* similar as processed by {@link sap.ui.mdc.p13n.StateUtil StateUtil}
|
|
130
|
-
*/
|
|
131
|
-
oState: Object
|
|
132
|
-
): Object;
|
|
133
|
-
/**
|
|
134
|
-
* Visualizes the validation state of an MDC control.
|
|
135
|
-
*
|
|
136
|
-
* @returns mValidation Describes the validation result.
|
|
137
|
-
*/
|
|
138
|
-
visualizeValidationState(
|
|
139
|
-
/**
|
|
140
|
-
* Instance of a MDC control
|
|
141
|
-
*/
|
|
142
|
-
oControl: Record<string, Control>
|
|
143
|
-
): Record<string, any>;
|
|
144
103
|
}
|
|
145
104
|
const AggregationBaseDelegate: AggregationBaseDelegate;
|
|
146
105
|
export default AggregationBaseDelegate;
|
|
@@ -1144,6 +1103,179 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1144
1103
|
};
|
|
1145
1104
|
}
|
|
1146
1105
|
|
|
1106
|
+
declare module "sap/ui/mdc/FilterBarDelegate" {
|
|
1107
|
+
import AggregationBaseDelegate from "sap/ui/mdc/AggregationBaseDelegate";
|
|
1108
|
+
|
|
1109
|
+
import { default as FilterBar, PropertyInfo } from "sap/ui/mdc/FilterBar";
|
|
1110
|
+
|
|
1111
|
+
import FilterField from "sap/ui/mdc/FilterField";
|
|
1112
|
+
|
|
1113
|
+
import FilterBarValidationStatus from "sap/ui/mdc/enums/FilterBarValidationStatus";
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* @since 1.61.0
|
|
1117
|
+
*
|
|
1118
|
+
* Base Delegate for {@link sap.ui.mdc.FilterBar FilterBar}. Extend this object in your project to use all
|
|
1119
|
+
* functionalities of the {@link sap.ui.mdc.FilterBar FilterBar}. This class provides method calls, which
|
|
1120
|
+
* are called by the `FilterBar` at specific operations and allows to overwrite an internal behaviour..
|
|
1121
|
+
*/
|
|
1122
|
+
interface FilterBarDelegate extends AggregationBaseDelegate {
|
|
1123
|
+
/**
|
|
1124
|
+
* This method is called during the appliance of the add condition change. The intention is to update the
|
|
1125
|
+
* {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
|
|
1126
|
+
*
|
|
1127
|
+
* @returns `Promise` that is resolved once the propertyInfo property has been updated
|
|
1128
|
+
*/
|
|
1129
|
+
addCondition(
|
|
1130
|
+
/**
|
|
1131
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1132
|
+
*/
|
|
1133
|
+
oFilterBar: FilterBar,
|
|
1134
|
+
/**
|
|
1135
|
+
* The name of a property
|
|
1136
|
+
*/
|
|
1137
|
+
sPropertyName: string,
|
|
1138
|
+
/**
|
|
1139
|
+
* Instance of a property bag from the SAPUI5 flexibility change API
|
|
1140
|
+
*/
|
|
1141
|
+
mPropertyBag: Object
|
|
1142
|
+
): Promise<any>;
|
|
1143
|
+
/**
|
|
1144
|
+
* Creates an instance of a filter field control. **Note:** The `addItem` hook can be used during the processing
|
|
1145
|
+
* of an SAPUI5 flexibility change. Consequently the parameter `mPropertyBag` is only passed during preprocessing.
|
|
1146
|
+
* In runtime scenarios (such as opening a personalization dialog), this method might be called without
|
|
1147
|
+
* the parameter `mPropertyBag`.
|
|
1148
|
+
*
|
|
1149
|
+
* @returns `Promise` that resolves with an instance of the implementing {@link sap.ui.mdc.FilterField Control}.
|
|
1150
|
+
* **Note:** This method always requires a return value once it has been called. If an item for a given
|
|
1151
|
+
* property `sPropertyName` has already been created, it must to either return the existing instance or
|
|
1152
|
+
* create a new instance.
|
|
1153
|
+
*/
|
|
1154
|
+
addItem(
|
|
1155
|
+
/**
|
|
1156
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1157
|
+
*/
|
|
1158
|
+
oFilterBar: FilterBar,
|
|
1159
|
+
/**
|
|
1160
|
+
* The name of the property info object/JSON
|
|
1161
|
+
*/
|
|
1162
|
+
sPropertyName: string,
|
|
1163
|
+
/**
|
|
1164
|
+
* Instance of property bag from SAPUI5 flexibility change API
|
|
1165
|
+
*/
|
|
1166
|
+
mPropertyBag?: Object
|
|
1167
|
+
): Promise<FilterField>;
|
|
1168
|
+
/**
|
|
1169
|
+
* This method is called when the Clear button is pressed.
|
|
1170
|
+
*
|
|
1171
|
+
* @returns `Promise` that is resolved once the action has been completed
|
|
1172
|
+
*/
|
|
1173
|
+
clearFilters(
|
|
1174
|
+
/**
|
|
1175
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1176
|
+
*/
|
|
1177
|
+
oFilterBar: FilterBar
|
|
1178
|
+
): Promise<any>;
|
|
1179
|
+
/**
|
|
1180
|
+
* A validator to evaluate the `FilterBar` state.
|
|
1181
|
+
*
|
|
1182
|
+
* @returns The inner `FilterBar` state
|
|
1183
|
+
*/
|
|
1184
|
+
determineValidationState(
|
|
1185
|
+
/**
|
|
1186
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1187
|
+
*/
|
|
1188
|
+
oFilterBar: FilterBar,
|
|
1189
|
+
/**
|
|
1190
|
+
* Object describing the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
|
|
1191
|
+
*/
|
|
1192
|
+
mValidation?: {
|
|
1193
|
+
/**
|
|
1194
|
+
* Status of the validation {@link sap.ui.mdc.enums.FilterBarValidationStatus}
|
|
1195
|
+
*/
|
|
1196
|
+
status?: string;
|
|
1197
|
+
}
|
|
1198
|
+
): FilterBarValidationStatus;
|
|
1199
|
+
/**
|
|
1200
|
+
* Retrieves the relevant metadata for a given payload and returns the property info array.
|
|
1201
|
+
*
|
|
1202
|
+
* @returns `Promise` that resolves into an array of property info objects
|
|
1203
|
+
*/
|
|
1204
|
+
fetchProperties(
|
|
1205
|
+
/**
|
|
1206
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1207
|
+
*/
|
|
1208
|
+
oFilterBar: FilterBar
|
|
1209
|
+
): Promise<PropertyInfo[]>;
|
|
1210
|
+
/**
|
|
1211
|
+
* propertyInfo This method is called during the appliance of the remove condition change. The intention
|
|
1212
|
+
* is to update the {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
|
|
1213
|
+
*
|
|
1214
|
+
* @returns `Promise` that is resolved once the {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo }
|
|
1215
|
+
* property has been updated
|
|
1216
|
+
*/
|
|
1217
|
+
removeCondition(
|
|
1218
|
+
/**
|
|
1219
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1220
|
+
*/
|
|
1221
|
+
oFilterBar: FilterBar,
|
|
1222
|
+
/**
|
|
1223
|
+
* The name of a property
|
|
1224
|
+
*/
|
|
1225
|
+
sPropertyName: string,
|
|
1226
|
+
/**
|
|
1227
|
+
* Instance of a property bag from the SAPUI5 flexibility change API
|
|
1228
|
+
*/
|
|
1229
|
+
mPropertyBag: Object
|
|
1230
|
+
): Promise<any>;
|
|
1231
|
+
/**
|
|
1232
|
+
* Triggers any necessary follow-up steps that need to be taken after the removal of created items via `removeItem`.
|
|
1233
|
+
* The returned Boolean value inside the `Promise` can be used to prevent the default follow-up behavior
|
|
1234
|
+
* of the SAPUI5 flexibility handling.
|
|
1235
|
+
*
|
|
1236
|
+
* **Note:**The `removeItem` hook can be used during the processing of an SAPUI5 flexibility change. Consequently
|
|
1237
|
+
* the parameter `mPropertyBag` is only passed during preprocessing. In runtime scenarios (such as opening
|
|
1238
|
+
* a personalization dialog), this method can be called without the parameter `mPropertyBag`.
|
|
1239
|
+
*
|
|
1240
|
+
* @returns `Promise` that resolved with `true`, `false` to allow/prevent default behavior of the change
|
|
1241
|
+
*/
|
|
1242
|
+
removeItem(
|
|
1243
|
+
/**
|
|
1244
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1245
|
+
*/
|
|
1246
|
+
oFilterBar: FilterBar,
|
|
1247
|
+
/**
|
|
1248
|
+
* The filter field instance that was removed
|
|
1249
|
+
*/
|
|
1250
|
+
oFilterField: FilterField,
|
|
1251
|
+
/**
|
|
1252
|
+
* Instance of property bag from SAPUI5 flexibility
|
|
1253
|
+
*/
|
|
1254
|
+
mPropertyBag?: Object
|
|
1255
|
+
): Promise<boolean>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Visualizes the `FilterBar` validation state.
|
|
1258
|
+
*/
|
|
1259
|
+
visualizeValidationState(
|
|
1260
|
+
/**
|
|
1261
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1262
|
+
*/
|
|
1263
|
+
oFilterBar: FilterBar,
|
|
1264
|
+
/**
|
|
1265
|
+
* Describes the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
|
|
1266
|
+
*/
|
|
1267
|
+
mValidation: {
|
|
1268
|
+
/**
|
|
1269
|
+
* Status of the validation as returned via {@link sap.ui.mdc.filterbar.FilterBarBase#checkValidationState checkValidationState}
|
|
1270
|
+
*/
|
|
1271
|
+
status: FilterBarValidationStatus;
|
|
1272
|
+
}
|
|
1273
|
+
): void;
|
|
1274
|
+
}
|
|
1275
|
+
const FilterBarDelegate: FilterBarDelegate;
|
|
1276
|
+
export default FilterBarDelegate;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1147
1279
|
declare module "sap/ui/mdc/LinkDelegate" {
|
|
1148
1280
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
1149
1281
|
|
|
@@ -11596,7 +11728,7 @@ declare module "sap/ui/mdc/filterbar/vh/FilterBar" {
|
|
|
11596
11728
|
*
|
|
11597
11729
|
* **Note:** This must only be used by the corresponding value help, not from outside.
|
|
11598
11730
|
*
|
|
11599
|
-
* @returns
|
|
11731
|
+
* @returns Reference to `this` to allow method chaining
|
|
11600
11732
|
*/
|
|
11601
11733
|
destroyCollectiveSearch(): this;
|
|
11602
11734
|
/**
|
|
@@ -11661,7 +11793,7 @@ declare module "sap/ui/mdc/filterbar/vh/FilterBar" {
|
|
|
11661
11793
|
* Instance of the {@link sap.ui.mdc.filterbar.vh.CollectiveSearchSelect CollectiveSearchSelect} control
|
|
11662
11794
|
*/
|
|
11663
11795
|
oCollectiveSearch: /* was: sap.ui.mdc.filterbar.vh.CollectiveSearchSelect */ any
|
|
11664
|
-
):
|
|
11796
|
+
): this;
|
|
11665
11797
|
/**
|
|
11666
11798
|
* @experimental
|
|
11667
11799
|
*
|
|
@@ -24470,6 +24602,8 @@ declare namespace sap {
|
|
|
24470
24602
|
|
|
24471
24603
|
"sap/ui/mdc/filterbar/vh/FilterBar": undefined;
|
|
24472
24604
|
|
|
24605
|
+
"sap/ui/mdc/FilterBarDelegate": undefined;
|
|
24606
|
+
|
|
24473
24607
|
"sap/ui/mdc/FilterField": undefined;
|
|
24474
24608
|
|
|
24475
24609
|
"sap/ui/mdc/library": undefined;
|
package/types/sap.ui.rta.d.ts
CHANGED
package/types/sap.ui.suite.d.ts
CHANGED
package/types/sap.ui.table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.4
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/table/library" {
|
|
4
4
|
import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
|
|
@@ -2865,6 +2865,10 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2865
2865
|
SelectionPlugin$SelectionChangeEventParameters,
|
|
2866
2866
|
} from "sap/ui/table/plugins/SelectionPlugin";
|
|
2867
2867
|
|
|
2868
|
+
import Table from "sap/ui/table/Table";
|
|
2869
|
+
|
|
2870
|
+
import UI5Element from "sap/ui/core/Element";
|
|
2871
|
+
|
|
2868
2872
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
2869
2873
|
|
|
2870
2874
|
import { SelectionMode } from "sap/ui/table/library";
|
|
@@ -2923,6 +2927,18 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2923
2927
|
*/
|
|
2924
2928
|
FNMetaImpl?: Function
|
|
2925
2929
|
): Function;
|
|
2930
|
+
/**
|
|
2931
|
+
* Searches a plugin of the corresponding type in the aggregations of the given `Table` instance. The first
|
|
2932
|
+
* plugin that is found is returned.
|
|
2933
|
+
*
|
|
2934
|
+
* @returns The found plugin instance or `undefined` if not found
|
|
2935
|
+
*/
|
|
2936
|
+
static findOn(
|
|
2937
|
+
/**
|
|
2938
|
+
* The `Table` instance to check for
|
|
2939
|
+
*/
|
|
2940
|
+
oTable: Table
|
|
2941
|
+
): UI5Element | undefined;
|
|
2926
2942
|
/**
|
|
2927
2943
|
* Returns a metadata object for class sap.ui.table.plugins.MultiSelectionPlugin.
|
|
2928
2944
|
*
|
|
@@ -3346,6 +3362,8 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
|
|
|
3346
3362
|
|
|
3347
3363
|
import Event from "sap/ui/base/Event";
|
|
3348
3364
|
|
|
3365
|
+
import Table from "sap/ui/table/Table";
|
|
3366
|
+
|
|
3349
3367
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
3350
3368
|
|
|
3351
3369
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -3394,6 +3412,18 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
|
|
|
3394
3412
|
*/
|
|
3395
3413
|
FNMetaImpl?: Function
|
|
3396
3414
|
): Function;
|
|
3415
|
+
/**
|
|
3416
|
+
* Searches a plugin of the corresponding type in the aggregations of the given `Table` instance. The first
|
|
3417
|
+
* plugin that is found is returned.
|
|
3418
|
+
*
|
|
3419
|
+
* @returns The found plugin instance or `undefined` if not found
|
|
3420
|
+
*/
|
|
3421
|
+
static findOn(
|
|
3422
|
+
/**
|
|
3423
|
+
* The `Table` instance to check for
|
|
3424
|
+
*/
|
|
3425
|
+
oTable: Table
|
|
3426
|
+
): UI5Element | undefined;
|
|
3397
3427
|
/**
|
|
3398
3428
|
* Returns a metadata object for class sap.ui.table.plugins.SelectionPlugin.
|
|
3399
3429
|
*
|
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.uxap.d.ts
CHANGED